/* ============================================
   VALORANT — Hero Page
   Aesthetic: Tactical ESPORT / NEO-BRUTALIST
   Dark canvas, sharp geometry, aggressive type
   Accent: VALORANT red-teal gradient
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg: #0f0f11;
  --bg-2: #1a1a1e;
  --ink: #ece8e1;
  --red: #5fd068;
  --teal: #00e5c7;
  --muted: #6b6b73;
  --line: #2a2a30;
  --display: 'Oswald', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  overflow-x: hidden;
}

/* ---- scanline overlay ---- */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(255,255,255,0.012) 2px,
    rgba(255,255,255,0.012) 3px
  );
}

/* ---- noise grain ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* ---- nav ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: linear-gradient(180deg, rgba(15,15,17,0.9) 0%, transparent 100%);
  backdrop-filter: blur(4px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  animation: lineGrow 0.3s forwards;
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 10px 24px;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--red);
  color: var(--ink);
}

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 48px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.5) contrast(1.2) saturate(0.8);
  transform: scale(1.05);
  animation: zoomIn 1.5s ease-out forwards;
}

@keyframes zoomIn {
  from { transform: scale(1.15); }
  to   { transform: scale(1.05); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,17,0.85) 0%, rgba(15,15,17,0.4) 50%, rgba(255,70,85,0.1) 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, var(--bg) 100%);
  z-index: 1;
}

/* ---- hero content ---- */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 80px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
  opacity: 0;
  animation: slideIn 0.6s 0.2s forwards;
}

.tag-bar {
  width: 32px;
  height: 2px;
  background: var(--teal);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 12vw, 180px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
}

.hero h1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) skewY(5deg);
  animation: charReveal 0.5s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h1 .char:nth-child(1) { animation-delay: 0.3s; }
.hero h1 .char:nth-child(2) { animation-delay: 0.35s; }
.hero h1 .char:nth-child(3) { animation-delay: 0.4s; }
.hero h1 .char:nth-child(4) { animation-delay: 0.45s; }
.hero h1 .char:nth-child(5) { animation-delay: 0.5s; }
.hero h1 .char:nth-child(6) { animation-delay: 0.55s; }
.hero h1 .char:nth-child(7) { animation-delay: 0.6s; }
.hero h1 .char:nth-child(8) { animation-delay: 0.65s; }

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

.hero-subtag {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  animation: slideIn 0.6s 0.8s forwards;
}

.hero-subtag .divider {
  width: 40px;
  height: 1px;
  background: var(--muted);
}

.hero-subtag span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-subtag span:nth-child(3) { color: var(--red); font-weight: 700; }

.hero-desc {
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.5;
  max-width: 540px;
  color: rgba(236, 232, 225, 0.7);
  margin-bottom: 40px;
  opacity: 0;
  animation: slideIn 0.6s 1s forwards;
}

.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: slideIn 0.6s 1.2s forwards;
}

.btn {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  position: relative;
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---- side info panel ---- */
.side-info {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  animation: slideInRight 0.8s 1.4s forwards;
}

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

.stat {
  text-align: right;
}

.stat-num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.stat-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}

/* ---- bottom bar ---- */
.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: linear-gradient(0deg, rgba(15,15,17,0.6), transparent);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-cue span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-cue .line {
  width: 60px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: var(--teal);
  animation: scrollSlide 2s ease-in-out infinite;
}

@keyframes scrollSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.patch-info {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.patch-info strong {
  color: var(--teal);
  font-weight: 700;
}

/* ---- corner brackets ---- */
.bracket {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  border: 1px solid var(--muted);
  opacity: 0.3;
}

.bracket.tl { top: 80px; left: 20px; border-right: none; border-bottom: none; }
.bracket.tr { top: 80px; right: 20px; border-left: none; border-bottom: none; }
.bracket.bl { bottom: 60px; left: 20px; border-right: none; border-top: none; }
.bracket.br { bottom: 60px; right: 20px; border-left: none; border-top: none; }

/* ---- shared animations ---- */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .side-info { display: none; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { padding: 0 20px; }
  .hero-content { padding-top: 60px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .bottom-bar { padding: 16px 20px; }
  .patch-info { display: none; }
  .bracket { display: none; }
}
