
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
ahtml,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}

/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */
.chat-box {
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  border: 1px solid #444;
  padding: 5px;
  background: #222;
  font-family: monospace;
}


html,body{ 
	width:100%;
	height:100%;
	background:#0f0f0f;
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
  font:normal 75% Arial, Helvetica, sans-serif;
}

canvas{
  display:block;
  vertical-align:bottom;
}

/* ---- stats.js ---- */

.count-particles{
  background: #000022;
  position: absolute;
  top: 10px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles{
  font-size: 1.1em;
}

#stats,
.count-particles{
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats{
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles{
  border-radius: 0 0 3px 3px;
}

/* ---- particles.js container ---- */

#particles-js{
  width: 100%;
  height: 100%;
  background-color: #000000;
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

/* Center the text over the particles */
.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; /* Adjust for contrast */
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Style for highlighted text */
.highlight {
    background-color: white; /* White background */
    color: black; /* Black text color */
    padding: 4px 8px; /* Add spacing inside */
    border-radius: 4px; /* Rounded corners */
}
a {
    color: cyan; /* Change to your desired color */
    text-decoration: none; /* Optional: Removes the underline */
}
/* Base layout */
#chatPopup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  height: 500px;
  display: none;
  flex-direction: column;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  z-index: 99999;
}

#chatHeader {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 8px;
  cursor: move;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#chatMessages {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
  background: var(--msg-bg);
  color: var(--msg-text);
  font-size: 14px;
}

#chatInput {
  width: 100%;
  border: none;
  outline: none;
  padding: 8px;
  font-size: 14px;
  border-top: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--input-text);
}

#send-chat-btn,
#gif-btn {
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  margin: 4px;
  border-radius: 4px;
}

#open-chat-btn {
  position: fixed;
  bottom: 20px;
  right: 390px;
  padding: 8px 12px;
  background: var(--border);
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* Message styling */
.chat-msg {
  margin-bottom: 10px;
  padding: 6px;
  border-radius: 6px;
  background: var(--bubble-bg);
  word-wrap: break-word;
}

.chat-msg strong {
  font-weight: bold;
}

.chat-body img {
  max-width: 200px;
  border-radius: 6px;
}

/* Reactions */
.reactions {
  margin-top: 4px;
  font-size: 12px;
  color: yellow;
}

.react-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Themes */
.theme-default {
  --bg: #111;
  --border: #00ffff;
  --header-bg: #222;
  --header-text: #00ffff;
  --msg-bg: #111;
  --msg-text: #eee;
  --bubble-bg: #1a1a1a;
  --input-bg: #222;
  --input-text: #fff;
}

.theme-light {
  --bg: #fff;
  --border: #888;
  --header-bg: #f0f0f0;
  --header-text: #000;
  --msg-bg: #fff;
  --msg-text: #000;
  --bubble-bg: #f9f9f9;
  --input-bg: #f0f0f0;
  --input-text: #000;
}

.theme-dark {
  --bg: #000;
  --border: #555;
  --header-bg: #111;
  --header-text: #fff;
  --msg-bg: #000;
  --msg-text: #eee;
  --bubble-bg: #111;
  --input-bg: #111;
  --input-text: #eee;
}

.theme-blue {
  --bg: #0a0f2c;
  --border: #1e90ff;
  --header-bg: #102040;
  --header-text: #1e90ff;
  --msg-bg: #0a0f2c;
  --msg-text: #cce4ff;
  --bubble-bg: #152850;
  --input-bg: #1b2b55;
  --input-text: #cce4ff;
}

.theme-green {
  --bg: #102418;
  --border: #2ecc71;
  --header-bg: #13301d;
  --header-text: #2ecc71;
  --msg-bg: #102418;
  --msg-text: #d2f7de;
  --bubble-bg: #184d2d;
  --input-bg: #1c5632;
  --input-text: #d2f7de;
}

.theme-purple {
  --bg: #1b1024;
  --border: #a569bd;
  --header-bg: #281a34;
  --header-text: #a569bd;
  --msg-bg: #1b1024;
  --msg-text: #eed9f5;
  --bubble-bg: #2c1d40;
  --input-bg: #35224d;
  --input-text: #eed9f5;
}

.theme-red {
  --bg: #240a0a;
  --border: #e74c3c;
  --header-bg: #3a1111;
  --header-text: #e74c3c;
  --msg-bg: #240a0a;
  --msg-text: #fdd;
  --bubble-bg: #3a1c1c;
  --input-bg: #441919;
  --input-text: #fdd;
}

/* Modal */
#nicknameModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

#nicknameModal .modal-content {
  background: var(--bg);
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

/* Close button (X) */
#closeChatBtn {
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--header-text);
}

#closeChatBtn:hover {
  color: red;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.3s forwards;
}
.fade-out {
  animation: fadeOut 0.3s forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

/* Change the color of visited links */
a:visited {
    color: cyan; /* Ensure visited links match normal links */
}
t
/* Change the color of links when hovered */
a:hover {
    color: lightblue; /* Change to a different color on hover */
}
a {
    font-size: 14px; /* Adjust size as needed */
}
/*








				This is the end for this css code next will be for the tab









*/
#tab-bar {
    position: fixed;
    top: 20px; /* Kept it 20px lower as you requested */
    left: 6.6%; /* Start from the center */
    transform: translateX(-59%); /* Ensure equal spacing on both sides */
    width: 85%; /* Adjusted width to avoid touching the sides */
    max-width: 1100px; /* Prevent stretching on large screens */
    background-color: rgba(0, 0, 0, 0.85);
    padding: 15px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


/* 🔥 3. Icon Styling (Inside the Red Circle) */
#tab-icon {
    height: 35px; /* Smaller icon */
    width: auto;
    position: absolute;
    left: 15px; /* Push it inside the tab */
    top: 50%;
    transform: translateY(-50%); /* Center it vertically */
}

/* 🔥 4. Adjust the links so they don't overlap the icon */
#tab-bar a {
    margin-left: 50px; /* Push text away from the icon */
    font-size: 14px; /* Make links smaller */
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

#tab-bar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#tab-icon {
    height: 40px; /* Adjust size */
    width: auto;
    vertical-align: middle;
    margin-right: 15px; /* Space from links */
}
/*





				Fade in tab is next
				And tab stand out







																*/
#tab-bar {
    opacity: 1;
    transform: translateY(-20px); /* Start slightly higher */
    animation: fadeInTab 0.5s ease-out forwards;
}

@keyframes fadeInTab {
    from {
        opacity: 1;
        transform: translateY(-20px);
    }
    to {
        opacity: 2;
        transform: translateY(0);
    }
}
#tab-bar:hover {
    box-shadow: 0px 6px 20px rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.95); /* Slightly darker */
    transition: all 0.3s ease;
}
#tab-bar {
    transition: all 0.3s ease;
}

/* Hover Effect */
#tab-bar:hover {
    box-shadow: 0px 6px 20px rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.95);
    transform: scale(1.02); /* Slightly bigger on hover */
}

/* 🔥 New Animation - Hover-Out Effect */
#tab-bar:not(:hover) {
    transition: all 0.4s ease;
    transform: scale(1); /* Shrinks back to normal */
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.2);
}
#tab-bar {
    transition: top 0.4s ease-in-out;
}
@media (max-width: 768px) {
    #tab-bar {
        width: 50px;
        height: 50px;
        overflow: hidden;
        border-radius: 50px;
        padding: 10px;
        transition: all 0.3s ease;
        justify-content: center;
    }

    #tab-bar:hover {
        width: 90%;
        height: auto;
        border-radius: 15px;
    }

    #tab-bar a {
        display: none; /* Hide links */
    }

    #tab-bar:hover a {
        display: inline-block; /* Show links when hovered */
    }
}
#tab-bar a {
    transition: transform 0.2s ease, background-color 0.3s ease;
}

#tab-bar a:active {
    transform: scale(0.95); /* Shrinks slightly when clicked */
}
#tab-bar:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}
#tab-bar:hover {
    box-shadow: 0px 6px 20px rgba(128, 0, 0, 0.5); /* Cyan glow effect */
    transition: all 0.3s ease-in-out;
/*













							New code 











	






*/
.chat-box {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 320px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  border-radius: 8px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.chat-box.visible {
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background-color: var(--border, #00ffff);
  color: var(--text, white);
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  user-select: none;
}

#chatInput {
  background-color: #000;
  color: cyan;
  border: 1px solid #00ffff;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

#send-chat-btn,
#gif-btn {
  background-color: #00ffff;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 10px;
  margin: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#send-chat-btn:hover,
#gif-btn:hover {
  background-color: #00ccff;
}

.chat-header button {
  background: none;
  border: none;
  color: #00ffff;
  font-size: 16px;
  cursor: pointer;
}

.chat-header button:hover {
  color: #00ccff;
}
.chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  border: 1px solid #444;
  padding: 5px;
  background: #222;
  font-family: monospace;
}
#open-chat-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: #00ffff;
  color: black;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  z-index: 9999;
  cursor: pointer;
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.theme-default { --bg: #111; --text: white; --border: #00ffff; }
.theme-light { --bg: #fff; --text: #000; --border: #00cccc; }
.theme-dark { --bg: #000; --text: #fff; --border: #444; }
.theme-blue { --bg: #001f3f; --text: #fff; --border: #00ffff; }
.theme-green { --bg: #003300; --text: #afffaf; --border: #00ff00; }
.theme-purple { --bg: #2c003e; --text: #e0ccff; --border: #8a2be2; }
.theme-red { --bg: #330000; --text: #ffcccc; --border: #ff0000; }

    .chat-box {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 320px;
  min-width: 200px;
  min-height: 200px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: #111;
  color: #fff;
  border: 2px solid cyan;
  border-radius: 8px;
  box-shadow: 0 0 10px cyan;
  resize: both;
  overflow: hidden;
  z-index: 9999;
}

.chat-header {
  background-color: #000;
  color: cyan;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  user-select: none;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  background: #222;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  font-family: monospace;
}

.chat-input-container {
  display: flex;
  padding: 10px;
  background: #111;
  border-top: 1px solid cyan;
}

#chatInput {
  flex: 1;
  padding: 8px;
  border: 1px solid cyan;
  background: #000;
  color: cyan;
}

#send-chat-btn, #gif-btn {
  background: cyan;
  color: black;
  border: none;
  border-radius: 5px;
  margin-left: 5px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.3s;
}

#send-chat-btn:hover, #gif-btn:hover {
  background: #00ccff;
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #111;
  padding: 30px;
  border-radius: 10px;
  color: white;
  text-align: center;
}
.modal-content input {
  padding: 10px;
  border: none;
  margin: 10px 0;
  width: 200px;
}
.chat-box {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 320px;
  min-width: 200px;
  min-height: 200px;
  background: #111;
  color: #fff;
  border: 2px solid cyan;
  border-radius: 8px;
  box-shadow: 0 0 10px cyan;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  resize: both;
  overflow: hidden;
}
.chat-header {
  background-color: #000;
  color: cyan;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  user-select: none;
}
.chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  border: 1px solid #444;
  padding: 5px;
  background: #222;
  font-family: monospace;
}
#chatInput {
  width: 100%;
  background-color: #000;
  color: cyan;
  border: 1px solid #00ffff;
  padding: 10px;
  box-sizing: border-box;
}
#send-chat-btn,
#gif-btn {
  background-color: cyan;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 10px;
  margin: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#send-chat-btn:hover,
#gif-btn:hover {
  background-color: #00ccff;
}
.chat-header button {
  background: none;
  border: none;
  color: cyan;
  font-size: 16px;
  cursor: pointer;
}
.chat-header button:hover {
  color: #00ccff;
}
#open-chat-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: cyan;
  color: black;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  z-index: 9999;
  cursor: pointer;
}
.home-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
}
.center-small-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  z-index: 10;
  width: 80%;
}
#tab-bar button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#tab-bar button:hover {
  background-color: #333;
  color: cyan;
}
.chat-box {
  position: fixed;
  resize: none;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 10px;
  border: 2px solid var(--border, #00ffff);
  background: var(--bg, #111);
  color: var(--text, white);
  box-shadow: 0 0 10px var(--border, #00ffff);
}

.chat-resizer {
  position: absolute;
  background: transparent;
  z-index: 10;
}

.chat-resizer.left,
.chat-resizer.right {
  top: 0;
  width: 6px;
  height: 100%;
  cursor: ew-resize;
}

.chat-resizer.top,
.chat-resizer.bottom {
  left: 0;
  height: 6px;
  width: 100%;
  cursor: ns-resize;
}

.chat-resizer.left { left: 0; }
.chat-resizer.right { right: 0; }
.chat-resizer.top { top: 0; }
.chat-resizer.bottom { bottom: 0; }
.chat-messages::-webkit-scrollbar {
  width: 8px;
}
.chat-messages::-webkit-scrollbar-track {
  background: black;
}
.chat-messages::-webkit-scrollbar-thumb {
  background-color: cyan;
  border-radius: 10px;
}

.search-label {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #3D3D3D;
  padding: 9px;
  cursor: text;
}

.search-label:hover {
  border-color: gray;
}

.search-label:focus-within {
  background: #464646;
  border-color: gray;
}

.search-label input {
  outline: none;
  width: 100%;
  border: none;
  background: none;
  color: rgb(162, 162, 162);
}

.search-label input:focus+.slash-icon,
.search-label input:valid+.slash-icon {
  display: none;
}

.search-label input:valid~.search-icon {
  display: block;
}

.search-label input:valid {
  width: calc(100% - 22px);
  transform: translateX(20px);
}

.search-label svg,
.slash-icon {
  position: absolute;
  color: #7e7e7e;
}

.search-icon {
  display: none;
  width: 12px;
  height: auto;
}

.slash-icon {
  right: 7px;
  border: 1px solid #393838;
  background: linear-gradient(-225deg, #343434, #6d6d6d);
  border-radius: 3px;
  text-align: center;
  box-shadow: inset 0 -2px 0 0 #3f3f3f, inset 0 0 1px 1px rgb(94, 93, 93), 0 1px 2px 1px rgba(28, 28, 29, 0.4);
  cursor: pointer;
  font-size: 12px;
  width: 15px;
}

.slash-icon:active {
  box-shadow: inset 0 1px 0 0 #3f3f3f, inset 0 0 1px 1px rgb(94, 93, 93), 0 1px 2px 0 rgba(28, 28, 29, 0.4);
  text-shadow: 0 1px 0 #7e7e7e;
  color: transparent;
}
