* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #02060c;
  color: #ffffff;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

body {
  overflow-x: hidden;
  animation: subtleFlicker 6s infinite;
}

.page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at center, rgba(40, 95, 150, 0.18), transparent 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.22), #02060c 90%),
    url("assets/bg-muxcess.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  animation: backgroundShift 18s ease-in-out infinite alternate;
}

.overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
  z-index: 1;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 2px,
    transparent 5px
  );
  opacity: 0.2;
  pointer-events: none;
  z-index: 2;
}

.characters {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.character {
  position: absolute;
  bottom: -20px;
  max-height: 88vh;
  opacity: 0.28;
  filter:
    drop-shadow(0 0 22px rgba(70, 165, 255, 0.18))
    saturate(0.9);
  animation: characterFloat 8s ease-in-out infinite alternate;
}

.character-left {
  left: -180px;
  transform: scaleX(-1) scale(0.88);
}

.character-right {
  right: -220px;
  transform: scale(0.92);
  animation-delay: 1.5s;
}

.character-center {
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%) scale(1.05);
  opacity: 0.12;
  max-height: 88vh;
  filter:
    blur(1px)
    drop-shadow(0 0 26px rgba(255, 90, 50, 0.18))
    saturate(0.7);
}

.hero {
  position: relative;
  z-index: 3;
  width: min(1120px, 94%);
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: 30px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInHero 1.8s ease forwards;
}

.logo {
  width: min(520px, 92vw);
  max-height: 210px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 18px rgba(49, 156, 255, 0.48));
  transform: translateY(4px);
  animation: logoPulse 5s ease-in-out infinite;
}

.video-frame {
  width: min(500px, 86vw);
  aspect-ratio: 16 / 9;
  padding: 4px;
  border: 1px solid rgba(76, 178, 255, 0.8);
  background: rgba(0, 10, 22, 0.82);
  box-shadow:
    0 0 18px rgba(42, 149, 255, 0.28),
    0 0 60px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.video-frame:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 24px rgba(42, 149, 255, 0.36),
    0 0 72px rgba(0, 0, 0, 0.95);
}

.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  filter:
    contrast(1.08)
    saturate(1.08)
    brightness(0.92);
}

.message {
  margin-top: 24px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0 0 14px rgba(90, 174, 255, 0.34);
}

.message p {
  margin: 0;
}

.line-one {
  font-size: clamp(1.25rem, 2.6vw, 1.95rem);
  color: #f4f8ff;
  font-weight: 700;
}

.line-two {
  margin-top: 10px !important;
  font-size: clamp(0.78rem, 1.45vw, 1.02rem);
  color: #b9c8d8;
  letter-spacing: 3.4px;
}

.line-three {
  margin-top: 18px !important;
  font-size: clamp(0.84rem, 1.45vw, 1.05rem);
  color: #86c8ff;
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(82, 170, 255, 0.35);
}

.ornament {
  width: min(360px, 76vw);
  height: 18px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0.72;
}

.ornament span {
  height: 1px;
  flex: 1;
  background: linear-gradient(
    to right,
    transparent,
    rgba(89, 177, 255, 0.72),
    transparent
  );
}

.ornament i {
  width: 9px;
  height: 9px;
  display: block;
  border: 1px solid rgba(108, 190, 255, 0.9);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(89, 177, 255, 0.6);
}

.thanks {
  margin-top: 22px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3.2px;
  color: rgba(235, 242, 255, 0.72);
  font-size: clamp(0.72rem, 1.25vw, 0.92rem);
  line-height: 1.7;
}

.thanks p {
  margin: 0;
}

.xcess-card {
  margin-top: 26px;
  width: min(430px, 90vw);
  padding: 17px 26px 16px;
  border: 1px solid rgba(87, 181, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(2, 16, 32, 0.88), rgba(0, 0, 0, 0.74));
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  box-shadow:
    inset 0 0 18px rgba(56, 159, 255, 0.12),
    0 0 18px rgba(56, 159, 255, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.xcess-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 202, 255, 0.9);
  box-shadow:
    inset 0 0 24px rgba(56, 159, 255, 0.18),
    0 0 28px rgba(56, 159, 255, 0.34);
}

.xcess-card span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aac4dd;
}

.xcess-card strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.xcess-card small {
  display: block;
  margin-top: 8px;
  color: rgba(215, 230, 245, 0.56);
  font-size: 0.58rem;
  letter-spacing: 2.7px;
  text-transform: uppercase;
}

.footer {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 18px 26px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(120, 180, 255, 0.16);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer a {
  color: rgba(115, 189, 255, 0.78);
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

#music-toggle {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(120, 180, 255, 0.35);
  color: #dcecff;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

#music-toggle:hover {
  border-color: #6ec1ff;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(120, 200, 255, 0.45) 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 1px, transparent 1.6px);
  background-size: 160px 160px, 230px 230px;
  background-position: 0 0, 80px 120px;
  opacity: 0.18;
  animation: particlesMove 26s linear infinite;
}

@keyframes subtleFlicker {
  0% { opacity: 1; }
  98% { opacity: 1; }
  99% { opacity: 0.992; }
  100% { opacity: 1; }
}

@keyframes backgroundShift {
  from {
    background-position: center top;
  }

  to {
    background-position: center 22px;
  }
}

@keyframes fadeInHero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPulse {
  0% {
    filter: drop-shadow(0 0 12px rgba(49, 156, 255, 0.34));
  }

  50% {
    filter: drop-shadow(0 0 28px rgba(49, 156, 255, 0.68));
  }

  100% {
    filter: drop-shadow(0 0 12px rgba(49, 156, 255, 0.34));
  }
}

@keyframes characterFloat {
  from {
    bottom: 0;
  }

  to {
    bottom: 12px;
  }
}

@media (max-width: 900px) {
  .character {
    opacity: 0.16;
    max-height: 58vh;
  }

  .character-center {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 54px;
  }

  .logo {
    width: min(400px, 92vw);
    margin-bottom: 12px;
  }

  .message {
    letter-spacing: 3px;
  }

  .line-two {
    letter-spacing: 2px;
  }

  .line-three {
    letter-spacing: 3px;
  }

  .thanks {
    letter-spacing: 2px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  #music-toggle {
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    font-size: 10px;
  }
}

@keyframes particlesMove {
  from {
    background-position: 0 0, 80px 120px;
  }

  to {
    background-position: 160px 260px, 20px 360px;
  }
}