/* ===============================
   FONTS
================================ */
@font-face { font-family: fanta; src: url(font.ttf); }
@font-face { font-family: fanta1; src: url(font1.ttf); }
@font-face { font-family: fanta2; src: url(font2.ttf); }
@font-face { font-family: x; src: url(x.woff); }

/* ===============================
   RESET OVERRIDES
================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #05070c;
  color: #fff;
  font-family: 'Open Sans', system-ui, sans-serif;
  overflow: hidden;
  user-select: none;
}

/* ===============================
   BACKGROUND VIDEO
================================ */
video.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: contrast(1.05) brightness(.9);
}

/* ===============================
   OVERLAY (CINEMATIC)
================================ */
#overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top,
      rgba(0,234,255,.15),
      rgba(0,0,0,.85));
  z-index: -1;
}

/* ===============================
   MAIN LAYOUT
================================ */
#main {
  position: relative;
  height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
}

/* ===============================
   HERO TITLE (HAKER333)
================================ */
.copy {
  font-family: fanta1;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #00eaff;
  text-shadow:
    0 0 12px rgba(0,234,255,.6),
    0 0 40px rgba(0,234,255,.25);
}

/* ===============================
   COLOR FLOW ANIMATION
================================ */
@keyframes colorFlow {
  0%   { color: DeepSkyBlue; }
  30%  { color: #00eaff; }
  60%  { color: #ff3c78; }
  100% { color: DeepSkyBlue; }
}

.inner span {
  animation: colorFlow 4s infinite ease-in-out;
}

/* ===============================
   HEADER / NAV
================================ */
#header {
  margin-top: 1.5rem;
}

nav ul {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style: none;
}

nav a,
#unmutevideo {
  font-size: 1.4rem;
  color: #9beeff;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform .3s ease, text-shadow .3s ease;
}

nav a:hover,
#unmutevideo:hover {
  transform: translateY(-4px) scale(1.05);
  text-shadow: 0 0 14px rgba(0,234,255,.9);
}

/* ===============================
   TIME (BOTTOM RIGHT)
================================ */
.time {
  position: fixed;
  bottom: 24px;
  right: 32px;
  font-family: fanta;
  font-size: .95rem;
  letter-spacing: .15em;
  opacity: .75;
}

/* ===============================
   INTRO FIX
================================ */
#intro {
  background: #05070c;
}

#intro.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .8s ease;
}
