/* ============================================
   LEAGUE OF DEGENS — Landing Page Styles
   Dark Fantasy LoL Client Aesthetic
   ============================================ */

/* === FONT FACES === */
@font-face {
  font-family: 'BeaufortforLOL';
  src: url('layout/font/beaufort-for-lol/BeaufortforLOL-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'BeaufortforLOL';
  src: url('layout/font/beaufort-for-lol/BeaufortforLOL-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'BeaufortforLOL';
  src: url('layout/font/beaufort-for-lol/BeaufortforLOL-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'BeaufortforLOL';
  src: url('layout/font/beaufort-for-lol/BeaufortforLOL-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'BeaufortforLOL';
  src: url('layout/font/beaufort-for-lol/BeaufortforLOL-Heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'BeaufortforLOL';
  src: url('layout/font/beaufort-for-lol/BeaufortforLOL-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'BeaufortforLOL';
  src: url('layout/font/beaufort-for-lol/BeaufortforLOL-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* === CSS VARIABLES === */
:root {
  --bg-primary: #010A13;
  --bg-secondary: #0A1428;
  --bg-panel: #0D1B2A;
  --bg-panel-inner: #091520;
  --gold: #C8AA6E;
  --gold-light: #F0E6D2;
  --gold-dark: #785A28;
  --gold-darker: #463714;
  --gold-glow: rgba(200, 170, 110, 0.4);
  --teal: #0AC8B9;
  --teal-dark: #005A4E;
  --teal-glow: rgba(10, 200, 185, 0.4);
  --text: #A09B8C;
  --text-bright: #F0E6D2;
  --text-dim: #5B5A56;
  --border-gold: #32281E;
  --panel-border: #1E2328;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'BeaufortforLOL', 'Times New Roman', serif;
  background: var(--bg-primary);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--gold-dark);
  color: var(--gold-light);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* === PARTICLE CANVAS === */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* === NAVBAR === */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: linear-gradient(180deg, #010A13 0%, rgba(1, 10, 19, 0.95) 100%);
  border-bottom: 1px solid var(--gold-darker);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(1, 10, 19, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 1px 0 var(--gold-dark);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
  margin-right: 1rem;
  transition: border-color 0.3s ease;
}

.nav-logo:hover {
  border-color: var(--gold);
}

.nav-link {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--gold-glow);
}

.nav-link:hover::after {
  width: 70%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-twitter {
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--gold-darker);
  border-radius: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0;
}

.nav-twitter:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* === MOBILE NAV TOGGLE === */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

/* === HERO SECTION === */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(1, 10, 19, 0.3) 0%, rgba(1, 10, 19, 0.7) 60%, rgba(1, 10, 19, 0.95) 100%),
    linear-gradient(180deg, rgba(1, 10, 19, 0.6) 0%, transparent 20%, transparent 80%, rgba(1, 10, 19, 1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: fadeInUp 1.2s ease-out;
}

.hero-logo {
  width: min(500px, 80vw);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(200, 170, 110, 0.3));
  animation: float 4s ease-in-out infinite;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* === BUTTONS === */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.5rem;
  font-family: 'BeaufortforLOL', serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(8% 0%, 92% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.btn-gold {
  color: var(--gold-light);
  border-color: var(--gold-dark);
  background: linear-gradient(180deg, rgba(120, 90, 40, 0.4) 0%, rgba(70, 55, 20, 0.6) 100%);
}

.btn-gold:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow), inset 0 0 20px rgba(200, 170, 110, 0.1);
  color: #fff;
}

.btn-teal {
  color: var(--teal);
  border-color: var(--teal-dark);
  background: linear-gradient(180deg, rgba(10, 200, 185, 0.15) 0%, rgba(0, 90, 78, 0.3) 100%);
}

.btn-teal:hover {
  border-color: var(--teal);
  box-shadow: 0 0 20px var(--teal-glow), inset 0 0 20px rgba(10, 200, 185, 0.1);
  color: #fff;
}

.btn-outline {
  color: var(--text);
  border-color: var(--panel-border);
  background: transparent;
  clip-path: none;
  border-radius: 2px;
  padding: 0.8rem 1.8rem;
}

.btn-outline:hover {
  color: var(--gold-light);
  border-color: var(--gold-dark);
  box-shadow: 0 0 15px rgba(200, 170, 110, 0.15);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1rem;
  letter-spacing: 3px;
}

/* === SECTIONS === */
.section {
  position: relative;
  z-index: 2;
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* === SECTION PANELS (LoL Client Style Boxes) === */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-panel-inner) 100%);
  border: 1px solid var(--gold-darker);
  padding: 3rem;
  margin-bottom: 2rem;
  overflow: hidden;
  animation: panelFadeIn 0.8s ease-out;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
}

.panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-darker), transparent);
}

.panel-glow {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: var(--gold);
  filter: blur(8px);
  opacity: 0.5;
}

/* === CORNER DECORATIONS === */
.panel .corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold-dark);
  border-style: solid;
}

.panel .corner-tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.panel .corner-tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.panel .corner-bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.panel .corner-br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.panel:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(200, 170, 110, 0.03);
}

.panel:hover .corner {
  border-color: var(--gold);
}

/* === SECTION HEADINGS === */
.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-tag::before {
  content: '✦';
  font-size: 0.6rem;
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.section-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  font-weight: 400;
}

.section-text strong,
.section-text .highlight {
  color: var(--gold);
  font-weight: 700;
}

.section-text .teal {
  color: var(--teal);
  font-weight: 700;
}

/* === QUOTE DIVIDERS === */
.quote-divider {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.quote-divider::before,
.quote-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.quote-divider::before { top: 0; }
.quote-divider::after { bottom: 0; }

.quote-divider p {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 2px;
  text-shadow: 0 0 30px var(--gold-glow);
  max-width: 700px;
  margin: 0 auto;
}

/* === UTILITY GRID === */
.utility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.utility-item {
  background: rgba(10, 20, 40, 0.6);
  border: 1px solid var(--border-gold);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.utility-item:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 0 15px rgba(200, 170, 110, 0.1);
}

.utility-item h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.utility-item p {
  color: var(--text);
  font-size: 0.95rem;
}

/* === REVENUE SECTION === */
.revenue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.revenue-col h3 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold-darker);
}

.revenue-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.revenue-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.revenue-item .teal-dot {
  background: var(--teal);
}

.revenue-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.revenue-bar .bar-track {
  flex: 1;
  height: 4px;
  background: var(--border-gold);
  border-radius: 2px;
  overflow: hidden;
}

.revenue-bar .bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.5s ease-out;
}

.revenue-bar .bar-fill.gold { background: var(--gold); }
.revenue-bar .bar-fill.teal { background: var(--teal); }

.revenue-bar .bar-label {
  color: var(--text);
  font-size: 0.85rem;
  min-width: 200px;
}

.revenue-bar .bar-pct {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 40px;
  text-align: right;
}

/* === PLAY TABS === */
.play-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--gold-darker);
}

.play-tab {
  flex: 1;
  padding: 1rem 2rem;
  font-family: 'BeaufortforLOL', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(10, 20, 40, 0.3);
  border: 1px solid var(--border-gold);
  border-bottom: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.play-tab:first-child {
  border-right: none;
}

.play-tab:hover {
  color: var(--gold);
  background: rgba(10, 20, 40, 0.5);
}

.play-tab.active {
  color: var(--gold-light);
  background: var(--bg-panel);
  border-color: var(--gold-dark);
}

.play-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* === PLAY IN BROWSER — animated lure tab === */
.play-tab-new {
  animation: tab-pulse 2.8s ease-in-out infinite;
}

.play-tab-new:not(.active) {
  color: var(--teal);
  border-color: var(--teal-dark);
}

.play-tab-new:not(.active):hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(10, 200, 185, 0.06);
}

.play-tab-new.active {
  color: var(--teal);
  border-color: var(--teal);
  animation: none;
}

.play-tab-new.active::after {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal-glow);
}

@keyframes tab-pulse {
  0%, 100% {
    box-shadow: none;
    background: rgba(10, 20, 40, 0.3);
  }
  50% {
    box-shadow: inset 0 0 20px rgba(10, 200, 185, 0.12), 0 0 12px rgba(10, 200, 185, 0.15);
    background: rgba(10, 200, 185, 0.06);
  }
}

/* NEW badge */
.tab-badge {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bg-primary);
  background: var(--teal);
  vertical-align: middle;
  animation: badge-pop 2.8s ease-in-out infinite;
}

.play-tab-new.active .tab-badge {
  animation: none;
  opacity: 0.7;
}

@keyframes badge-pop {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.92); }
}

/* === PLAY PANES === */
.play-pane {
  display: none;
}

.play-pane.active {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

/* === PLAY SECTION === */
.play-panel {
  position: relative;
  overflow: visible;
}

/* === INVITE CODE BOX === */
.invite-code-box {
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(10, 20, 40, 0.5);
  border: 1px solid var(--border-gold);
}

.invite-code-box label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.invite-code-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.invite-code-row input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  font-family: 'Consolas', 'BeaufortforLOL', monospace;
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--gold-light);
  background: var(--bg-primary);
  border: 1px solid var(--gold-darker);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.invite-code-row input::placeholder {
  color: var(--text-dim);
  letter-spacing: 3px;
}

.invite-code-row input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 12px var(--teal-glow);
}

.invite-code-row .btn {
  flex-shrink: 0;
}

/* === BROWSER CTA === */
.browser-cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.browser-cta .section-text {
  margin: 0;
  white-space: nowrap;
}

.play-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

/* === DEMO SCREENSHOTS === */
.demo-screenshots {
  position: absolute;
  top: 2rem;
  right: -20px;
  width: 280px;
  z-index: 3;
  pointer-events: none;
}

.demo-img {
  width: 240px;
  border: 2px solid var(--gold-darker);
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  pointer-events: auto;
}

.demo-img-1 {
  transform: rotate(3deg);
  position: relative;
  z-index: 2;
}

.demo-img-2 {
  transform: rotate(-2deg) translateY(-30px) translateX(30px);
  position: relative;
  z-index: 1;
}

.demo-img:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 15px var(--gold-glow);
  z-index: 10;
}

.play-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.play-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  background: rgba(120, 90, 40, 0.1);
}

.step-content h4 {
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.step-content p {
  color: var(--text);
  font-size: 0.95rem;
}

.step-content a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.step-content a:hover {
  border-bottom-color: var(--teal);
}

.step-content code {
  background: rgba(10, 200, 185, 0.1);
  border: 1px solid var(--teal-dark);
  padding: 0.15rem 0.5rem;
  font-family: 'Consolas', monospace;
  font-size: 0.85rem;
  color: var(--teal);
  border-radius: 2px;
}

/* === AIRDROP CALLOUT === */
.airdrop-callout {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(10, 200, 185, 0.08) 0%, rgba(10, 200, 185, 0.02) 100%);
  border: 1px solid var(--teal-dark);
  border-left: 3px solid var(--teal);
  animation: pulse-border 2s ease-in-out infinite;
}

.airdrop-callout p {
  color: var(--teal);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.airdrop-callout .sub {
  color: var(--text);
  font-weight: 400;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* === TOURNAMENTS === */
.tournament-panel {
  position: relative;
  overflow: visible;
}

/* === RANKED TROPHY IMAGES === */
.ranked-trophies {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
  pointer-events: none;
}

.ranked-img {
  width: 100px;
  height: 100px;
  border: 2px solid var(--gold-darker);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  pointer-events: auto;
  object-fit: cover;
}

.ranked-img-1 {
  transform: rotate(-6deg);
}

.ranked-img-2 {
  transform: rotate(8deg) translateY(-10px);
}

.ranked-img:hover {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 15px var(--gold-glow);
}

.tournament-text {
  font-size: 1.1rem;
  line-height: 2;
}

.tournament-text .dramatic {
  display: block;
  color: var(--gold-light);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1rem;
}

/* === AGENT API === */
.api-subtitle {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.api-diagram {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(10, 20, 40, 0.5);
  border: 1px solid var(--border-gold);
  overflow-x: auto;
}

.api-diagram-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 500px;
}

.api-node {
  flex: 1;
  max-width: 220px;
  padding: 1.2rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--gold-darker);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.api-node:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 0 15px rgba(200, 170, 110, 0.1);
}

.api-node-highlight {
  border-color: var(--teal-dark);
  background: linear-gradient(180deg, rgba(10, 200, 185, 0.06) 0%, rgba(10, 20, 40, 0.8) 100%);
}

.api-node-highlight:hover {
  border-color: var(--teal);
  box-shadow: 0 0 15px var(--teal-glow);
}

.api-node-label {
  display: block;
  font-family: 'BeaufortforLOL', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-light);
}

.api-node-highlight .api-node-label {
  color: var(--teal);
}

.api-node-sub {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.api-arrow {
  flex-shrink: 0;
  padding: 0 0.75rem;
  font-size: 1.4rem;
  color: var(--gold-dark);
}

.api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.api-item {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(120, 90, 40, 0.06) 0%, rgba(10, 20, 40, 0.4) 100%);
  border: 1px solid var(--border-gold);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.api-item:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(200, 170, 110, 0.03);
}

.api-item h4 {
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.api-item p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === ROADMAP === */
.roadmap-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.roadmap-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark), transparent);
}

.roadmap-stage {
  position: relative;
  padding-left: 70px;
  padding-bottom: 3rem;
}

.roadmap-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold);
  background: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 10px var(--gold-glow);
}

.roadmap-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.roadmap-stage.stage-2 .roadmap-dot {
  border-color: var(--teal);
  box-shadow: 0 0 10px var(--teal-glow);
}
.roadmap-stage.stage-2 .roadmap-dot::after {
  background: var(--teal);
}

.roadmap-stage.stage-3 .roadmap-dot {
  border-color: var(--gold-light);
  box-shadow: 0 0 10px rgba(240, 230, 210, 0.3);
}
.roadmap-stage.stage-3 .roadmap-dot::after {
  background: var(--gold-light);
}

.roadmap-stage h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.roadmap-stage.stage-2 h3 { color: var(--teal); }
.roadmap-stage.stage-3 h3 { color: var(--gold-light); }

.roadmap-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  background: rgba(10, 20, 40, 0.4);
  border: 1px solid var(--border-gold);
  transition: all 0.3s ease;
}

.roadmap-item:hover {
  border-color: var(--gold-dark);
  background: rgba(10, 20, 40, 0.6);
  transform: translateX(4px);
}

.roadmap-item::before {
  content: '▸';
  color: var(--gold);
  font-size: 0.8rem;
}

/* === DEV NOTE === */
.dev-note {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(200, 170, 110, 0.05) 0%, rgba(200, 170, 110, 0.01) 100%);
  border: 1px solid var(--gold-darker);
  border-left: 3px solid var(--gold-dark);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}

.dev-note strong {
  color: var(--gold);
}

/* === FOOTER === */
#footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--gold-darker);
  background: linear-gradient(180deg, transparent, rgba(1, 10, 19, 0.8));
}

.footer-logo {
  width: 120px;
  height: auto;
  opacity: 0.6;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes pulse-border {
  0%, 100% {
    border-left-color: var(--teal);
    box-shadow: 0 0 10px rgba(10, 200, 185, 0.1);
  }
  50% {
    border-left-color: var(--teal);
    box-shadow: 0 0 20px rgba(10, 200, 185, 0.25);
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  #navbar {
    padding: 0 1rem;
  }

  .nav-left {
    gap: 0;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
    letter-spacing: 1px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links-mobile {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--gold-darker);
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links-mobile.open {
    display: flex;
  }

  .hero-logo {
    width: min(350px, 85vw);
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 250px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .panel {
    padding: 2rem 1.5rem;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }

  .revenue-grid {
    grid-template-columns: 1fr;
  }

  .quote-divider {
    padding: 3rem 1.5rem;
  }

  .roadmap-stage {
    padding-left: 55px;
  }

  .demo-screenshots {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
  }

  .demo-img {
    width: 45%;
    max-width: 180px;
  }

  .demo-img-2 {
    transform: rotate(-2deg) translateY(0) translateX(0);
  }

  .ranked-trophies {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .ranked-img {
    width: 70px;
    height: 70px;
  }

  .api-grid {
    grid-template-columns: 1fr;
  }

  .api-diagram-row {
    min-width: 400px;
  }

  .play-tabs {
    flex-direction: column;
  }

  .play-tab:first-child {
    border-right: 1px solid var(--border-gold);
    border-bottom: none;
  }

  .invite-code-row {
    flex-direction: column;
  }

  .invite-code-row .btn {
    width: 100%;
  }

  .browser-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .play-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .nav-link {
    font-size: 0.65rem;
    padding: 0.3rem 0.35rem;
    letter-spacing: 0.5px;
  }

  .hero-tagline {
    letter-spacing: 3px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .quote-divider p {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}
