* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
}

#bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  opacity: 0.92;
  pointer-events: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.28)
    );
}

.overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top,
      rgba(0, 229, 255, 0.12),
      transparent 55%
    );
}

main {
  position: relative;
  z-index: 2;
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding-bottom: 60px;
  text-align: center;
}

.site-header {
  padding-top: 42px;
  padding-bottom: 18px;
  overflow: visible;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: visible;
}

.brand-text {
  position: relative;
  overflow: visible;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 3px;
  text-shadow:
    0 0 14px rgba(0, 229, 255, 0.6),
    0 0 30px rgba(0, 229, 255, 0.25);
}

.tagline {
  margin-top: 10px;
  color: #b7f4ff;
  font-size: 1rem;
  line-height: 1.6;
}

.nerd-glasses {
  position: relative;
  width: 95px;
  height: 44px;
  animation: floatGlasses 3s ease-in-out infinite;
}

.nerd-glasses span {
  position: absolute;
  top: 6px;
  width: 34px;
  height: 26px;
  border: 5px solid #00e5ff;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.08);
  box-shadow:
    0 0 12px rgba(0, 229, 255, 0.9),
    0 0 22px rgba(0, 229, 255, 0.4);
}

.nerd-glasses span:first-child {
  left: 0;
}

.nerd-glasses span:last-child {
  right: 0;
}

.nerd-glasses::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 39px;
  width: 16px;
  height: 5px;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.9);
}

.nerd-glasses::after {
  content: "✦";
  position: absolute;
  top: -12px;
  right: -8px;
  color: #fff;
  font-size: 18px;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes floatGlasses {
  0%, 100% {
    transform: translateY(0px) rotate(-3deg);
  }

  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* Tools Dropdown */

.tools-nav {
  position: relative;
  display: inline-block;
  margin-top: 18px;
  z-index: 9999;
}

.tools-button {
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  background: rgba(5, 10, 20, 0.82);
  color: #dff9ff;
  font-size: 1rem;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.22);
}

.tools-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 245px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(5, 10, 20, 0.96);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.55);
  z-index: 10000;
}

.tools-menu a {
  display: block;
  padding: 12px 14px;
  color: #dff9ff;
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
}

.tools-menu a:hover {
  background: rgba(0, 229, 255, 0.18);
  color: #ffffff;
}

.tools-nav:hover .tools-menu,
.tools-nav:focus-within .tools-menu {
  display: block;
}

.content-box {
  width: min(900px, 92vw);
  margin: 0 auto 28px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(5, 10, 20, 0.28);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.05),
    0 0 40px rgba(0, 0, 0, 0.20);
}

.content-box p {
  margin: 0;
  line-height: 1.7;
  color: #dff9ff;
}

.player-wrap {
  margin-top: 20px;
}

iframe {
  width: min(760px, 92vw);
  height: min(430px, 52vw);
  border-radius: 22px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: #000;
  box-shadow:
    0 0 30px rgba(0, 229, 255, 0.14),
    0 0 60px rgba(0, 0, 0, 0.45);
}

.ad-section {
  margin-top: 34px;
  padding: 10px;
}

footer {
  margin-top: 40px;
  color: #9edcec;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .brand-row {
    gap: 12px;
  }

  .nerd-glasses {
    transform: scale(0.82);
  }

  .content-box {
    padding: 18px;
  }

  iframe {
    height: 54vw;
  }
}
