﻿:root {
  --text-main: #f5f5f5;
  --text-soft: #cfcfcf;
  --ink: #060606;
  --panel: rgba(0, 0, 0, 0.52);
  --line: rgba(255, 255, 255, 0.2);
  --accent: #ffd299;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.78) 100%),
    url("image/background.jpg") center/cover no-repeat fixed;
  position: relative;
  isolation: isolate;
}

.topbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(96vw, 1320px);
  z-index: 6;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-radius: 16px;
  animation: slideIn 0.9s ease-out both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  z-index: 4;
  width: min(96vw, 1320px);
  height: 100%;
  margin: 0 auto;
  padding-top: 6.8rem;
  padding-bottom: 4.6rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

.hero-main {
  max-width: 760px;
  display: grid;
  gap: 0.95rem;
  align-content: center;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(0.62rem, 1.1vw, 0.9rem);
  color: #e9e9e9;
  opacity: 0;
  animation: fadeUp 0.7s 0.22s ease-out forwards;
}

h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(4.2rem, 11vw, 10rem);
  line-height: 0.86;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: fadeUp 0.9s 0.36s ease-out forwards;
}

.tagline {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.8vw, 1.28rem);
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #f4f4f4;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease-out forwards;
}

.description {
  margin: 0;
  max-width: 640px;
  font-size: clamp(0.9rem, 1.4vw, 1.03rem);
  line-height: 1.6;
  color: var(--text-soft);
  opacity: 0;
  animation: fadeUp 0.9s 0.64s ease-out forwards;
}

.hero-actions {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.68rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.78s ease-out forwards;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.76rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.cta-main {
  background: linear-gradient(100deg, rgba(255, 210, 153, 0.22), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 210, 153, 0.45);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.hero-side {
  justify-self: end;
  width: min(100%, 420px);
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.34));
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: fadeUp 0.95s 0.88s ease-out forwards;
}

.hero-side p {
  margin: 0;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.23em;
  color: #e8e8e8;
}

.hero-side h2 {
  margin: 0.72rem 0 0;
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

.hero-side ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.hero-side li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  padding: 0.55rem 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.24);
}

.ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 2.1rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.ticker-track {
  height: 100%;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 0 1rem;
  animation: tickerLoop 24s linear infinite;
}

.ticker-track span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #efefef;
  opacity: 0.85;
  white-space: nowrap;
}

.noise,
.vignette,
.particles,
.sun-glow,
.diagonal {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sun-glow {
  z-index: 1;
  background: radial-gradient(circle at 75% 35%, rgba(255, 181, 92, 0.34) 0%, rgba(255, 181, 92, 0.1) 28%, transparent 52%);
}

.diagonal {
  z-index: 2;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 43%, transparent 44%),
    linear-gradient(112deg, transparent 0 58%, rgba(255, 255, 255, 0.08) 59%, transparent 60%);
  opacity: 0.72;
}

.vignette {
  z-index: 3;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.62) 100%);
}

.noise {
  z-index: 2;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16) 0.55px, transparent 0.7px),
    radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.1) 0.5px, transparent 0.6px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0.5px, transparent 0.6px);
  background-size: 3px 3px, 4px 4px, 5px 5px;
}

.particles {
  z-index: 4;
  overflow: hidden;
}

.particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  animation: snow linear infinite;
}

.particles span:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: -2s; }
.particles span:nth-child(2) { left: 13%; animation-duration: 9s; animation-delay: -1s; }
.particles span:nth-child(3) { left: 21%; animation-duration: 11s; animation-delay: -3s; }
.particles span:nth-child(4) { left: 29%; animation-duration: 8s; animation-delay: -4s; }
.particles span:nth-child(5) { left: 37%; animation-duration: 13s; animation-delay: -5s; }
.particles span:nth-child(6) { left: 45%; animation-duration: 7s; animation-delay: -2.5s; }
.particles span:nth-child(7) { left: 53%; animation-duration: 10s; animation-delay: -6s; }
.particles span:nth-child(8) { left: 61%; animation-duration: 12s; animation-delay: -2.2s; }
.particles span:nth-child(9) { left: 69%; animation-duration: 9s; animation-delay: -4.4s; }
.particles span:nth-child(10) { left: 77%; animation-duration: 11s; animation-delay: -1.8s; }
.particles span:nth-child(11) { left: 85%; animation-duration: 14s; animation-delay: -4.9s; }
.particles span:nth-child(12) { left: 93%; animation-duration: 8.8s; animation-delay: -0.5s; }

@keyframes slideIn {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

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

@keyframes tickerLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes snow {
  from {
    transform: translate3d(0, -12vh, 0);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  92% {
    opacity: 0.8;
  }
  to {
    transform: translate3d(-2vw, 110vh, 0);
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: start;
    gap: 1rem;
    padding-top: 8.2rem;
  }

  .hero-side {
    justify-self: start;
    width: min(100%, 520px);
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 0.5rem;
    width: 96vw;
    border-radius: 14px;
    padding: 0.55rem 0.6rem;
    flex-direction: column;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .hero {
    width: 92vw;
    padding-top: 10.1rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 5.1rem);
  }

  .hero-side {
    padding: 1rem;
  }

  .ticker {
    height: 1.9rem;
  }
}
