/* ===============================
   PRO STYLE — HAKER333 (FIXED)
=============================== */

/* === RESET OVERRIDES === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

/* ===============================
   BACKGROUND VIDEO
=============================== */
video.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(.85) contrast(1.05);
  pointer-events: none;
}

/* ===============================
   OVERLAY
=============================== */
#overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,255,255,.12), transparent 55%),
    rgba(0,0,0,.55);
  z-index: -1;
  pointer-events: none;
}

/* ===============================
   MAIN CENTERING
=============================== */
#main {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* 🔥 ФИКС КЛИКОВ */
  pointer-events: none;
}

/* ===============================
   RGB TITLE
=============================== */
.copy {
  font-family: fanta1, sans-serif;
  font-size: clamp(3.8rem, 8vw, 6.8rem);
  letter-spacing: .45em;
  margin-bottom: 42px;
  text-transform: uppercase;
  animation: rgbGlow 6s linear infinite;
  transition: color .2s, text-shadow .2s;
}

@keyframes rgbGlow {
  0%   { color:#00f6ff; text-shadow:0 0 18px #00f6ff; }
  33%  { color:#ff3cff; text-shadow:0 0 22px #ff3cff; }
  66%  { color:#00ff88; text-shadow:0 0 22px #00ff88; }
  100% { color:#00f6ff; text-shadow:0 0 18px #00f6ff; }
}

/* ===============================
   SOCIAL BLOCK
=============================== */
#header {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

#header nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  padding: 0;
  margin: 0;
}

/* ===============================
   BIG BUTTON BASE
=============================== */
#header nav a,
#unmutevideo {
  width: 72px;
  height: 72px;
  font-size: 30px;
  border-radius: 18px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    color .25s ease;
  pointer-events: auto;
}

#header nav a:hover,
#unmutevideo:hover {
  transform: translateY(-6px) scale(1.05);
}

/* ===============================
   VK
=============================== */
.icon-social-vkontakte {
  color: #4c75a3;
  box-shadow: 0 0 22px rgba(76,117,163,.6);
}
.icon-social-vkontakte:hover {
  box-shadow: 0 0 42px rgba(76,117,163,1);
}

/* ===============================
   DISCORD
=============================== */
.fa-discord {
  color: #e8f0ff;
  box-shadow: 0 0 24px rgba(88,101,242,.65);
}
.fa-discord:hover {
  box-shadow: 0 0 44px rgba(88,101,242,1);
}

/* ===============================
   YOUTUBE
=============================== */
.fa-youtube {
  color: #ff2d2d;
  box-shadow: 0 0 26px rgba(255,45,45,.8);
}
.fa-youtube:hover {
  box-shadow: 0 0 48px rgba(255,45,45,1);
}

/* ===============================
   SOUND BUTTON
=============================== */
#unmutevideo {
  border: none;
  background: rgba(0,0,0,.45);
}

/* SOUND ON */
#unmutevideo.sound-on {
  color: #b86bff;
  box-shadow: 0 0 26px rgba(184,107,255,.8);
}

/* SOUND OFF */
#unmutevideo.sound-off {
  color: #ff3c3c;
  box-shadow: 0 0 30px rgba(255,60,60,.95);
  text-decoration: line-through;
}

/* ===============================
   TIME (BOTTOM)
=============================== */
.time {
  position: fixed;
  bottom: 18px;
  right: 24px;
  font-size: .95rem;
  opacity: .8;
  font-family: fanta, monospace;
  pointer-events: none;
}

/* ===============================
   INTRO FIX
=============================== */
#intro {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity .8s ease, visibility .8s ease;
}

#intro.hide {
  opacity: 0;
  visibility: hidden;
}

.intro-logo {
  font-family: fanta1;
  font-size: 3rem;
  color: #00f6ff;
  text-shadow: 0 0 18px #00f6ff;
}

/* ===============================
   SOCIAL BUTTONS
=============================== */
.social-btn {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  transition: transform .25s, box-shadow .25s;
  box-shadow: inset 0 0 12px rgba(255,255,255,.04);
  pointer-events: auto;
}

.social-btn:hover {
  transform: translateY(-6px) scale(1.08);
}

/* ===============================
   TELEGRAM SOCIAL
=============================== */
.social-btn.telegram {
  color: #2aa9e0;
  box-shadow:
    0 0 12px rgba(42,169,224,.35),
    inset 0 0 10px rgba(42,169,224,.15);
}

.social-btn.telegram:hover {
  box-shadow:
    0 0 22px rgba(42,169,224,.75),
    inset 0 0 14px rgba(42,169,224,.25);
  color: #7fd6ff;
}

/* ===============================
   WAVES
=============================== */
.wave {
  position: absolute;
  bottom: -22px;
  display: flex;
  gap: 4px;
  pointer-events: none;
}

.wave span {
  width: 6px;
  height: 12px;
  border-radius: 4px;
  background: cyan;
  transition: height .1s linear;
}

/* ===============================
   TELEGRAM CHAT BUTTON
=============================== */
#tg-chat-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #00ffb3;
  border-radius: 50%;
  box-shadow: 0 0 20px #00ffb3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 26px;

  z-index: 100000;
  pointer-events: auto;
}

/* ===============================
   TELEGRAM CHAT BOX
=============================== */
#tg-chat-box {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 330px;
  height: 460px;
  background: #050505;
  border-radius: 18px;
  display: none;
  box-shadow: 0 0 30px #00ffb3;
  overflow: hidden;

  z-index: 99999;
  pointer-events: auto;
}

#tg-chat-box.open {
  display: block;
}

#tg-chat-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.tg-chat-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  font-family: fanta1;
}

.tg-chat-inner a {
  padding: 12px 22px;
  border-radius: 14px;
  background: #00ffb3;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 20px #00ffb3;
}

/* ===============================
   PARALLAX LAYERS
=============================== */

video.bg {
  will-change: transform;
  transition: transform 0.08s linear;
}

.copy {
  will-change: transform;
}

#header {
  will-change: transform;
}

/* ===============================
   RGB DEV PANEL (SECRET)
=============================== */

#rgb-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 260px;
  padding: 18px;
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(0,255,255,.35);
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0,255,255,.35);
  font-family: fanta1, monospace;
  color: #00f6ff;
  z-index: 200000;
  display: none;
  backdrop-filter: blur(12px);
}

#rgb-panel h3 {
  margin: 0 0 14px;
  text-align: center;
  letter-spacing: .15em;
}

#rgb-panel label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
}

#rgb-panel input[type="range"] {
  width: 100%;
}

#rgb-panel button {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  background: #00f6ff;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 18px #00f6ff;
}

