@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --bg-primary: #090B0F;
  --bg-secondary: #151A21;
  --surface-elevated: rgba(255, 255, 255, 0.045);
  --surface-glass: rgba(21, 26, 33, 0.65);
  --champ-blue: #1D4ED8;
  --victory-gold: #D6A63C;
  --emerald-vic: #16A34A;
  --titanium: #C9D2DA;
  --ice-white: #F8FAFC;
  --dark-slate: #475569;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  /* Shadows & Glows */
  --glow-blue: 0 0 30px rgba(29, 78, 216, 0.25);
  --glow-gold: 0 0 20px rgba(214, 166, 60, 0.2);
  --shadow-elevation: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--ice-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--ice-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--victory-gold) 0%, var(--champ-blue) 100%);
  color: var(--ice-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-elevation);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  color: var(--ice-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
  border: 1px solid var(--titanium);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

/* Announcement Ribbon */
.announcement-ribbon {
  background-color: var(--champ-blue);
  color: var(--ice-white);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  text-transform: uppercase;
}

/* Minimal Header */
.main-header {
  position: fixed;
  top: 40px; /* Below ribbon */
  left: 120px; /* Right of nav tower */
  right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  z-index: 900;
  pointer-events: none; /* Let clicks pass through empty space */
}

.main-header > * {
  pointer-events: auto; /* Re-enable clicks on children */
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ice-white);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.brand-logo span {
  color: var(--victory-gold);
}

/* Stadium Navigation Tower */
.nav-tower {
  position: fixed;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  width: 72px;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 210, 218, 0.2);
  border-radius: 36px;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  z-index: 950;
  box-shadow: 20px 0 40px rgba(0,0,0,0.3);
}

.nav-tower::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--victory-gold);
  border-radius: 2px;
}

.nav-item {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--titanium);
  transition: var(--transition-smooth);
}

.nav-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item:hover {
  color: var(--victory-gold);
  background: var(--surface-elevated);
  transform: translateY(-2px);
}

.nav-item.active {
  background: var(--champ-blue);
  color: var(--ice-white);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--victory-gold);
  border-radius: 0 4px 4px 0;
}

.nav-tooltip {
  position: absolute;
  left: 60px;
  background: var(--bg-secondary);
  color: var(--ice-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
  white-space: nowrap;
  border: 1px solid rgba(201, 210, 218, 0.1);
}

.nav-item:hover .nav-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Main Layout Wrapper */
.main-content {
  margin-left: 130px; /* Space for nav tower */
  padding-top: 40px; /* Space for ribbon */
}

/* Page Containers for inner pages */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 60px;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 3rem;
  color: var(--victory-gold);
  margin-bottom: 20px;
}

.content-box {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-elevation);
}

.content-box h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--titanium);
}

.content-box p, .content-box ul {
  margin-bottom: 20px;
  color: var(--ice-white);
  opacity: 0.8;
}

.content-box ul {
  padding-left: 20px;
  list-style: disc;
}

/* Hero Section - Champions Plaza */
.hero-plaza {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 40px 60px 40px;
  background-image: linear-gradient(to right, var(--bg-primary) 30%, transparent 100%), 
                    url('assets/images/olympic-stadium-architecture-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-plaza::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  gap: 40px;
  z-index: 2;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-content h1 span {
  color: var(--victory-gold);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--titanium);
  margin-bottom: 40px;
  max-width: 90%;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--titanium);
  font-weight: 600;
  text-transform: uppercase;
}

.stat-item svg {
  width: 18px;
  height: 18px;
  fill: var(--victory-gold);
}

/* Hero Game Showcase */
.hero-game-showcase {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 aspect */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), var(--glow-blue);
  border: 2px solid rgba(214, 166, 60, 0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition-smooth);
}

.hero-game-showcase:hover {
  transform: perspective(1000px) rotateY(0deg);
  border-color: var(--victory-gold);
}

.hero-game-showcase img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(9, 11, 15, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.hero-game-showcase:hover .play-overlay {
  opacity: 1;
}

/* Sections Common */
.stadium-section {
  padding: 100px 40px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--victory-gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 3rem;
  color: var(--ice-white);
}

/* Main Arena (Featured Game) */
#sport-slot {
  background: var(--bg-secondary);
  background-image: repeating-linear-gradient(45deg, rgba(9,11,15,0.5) 0, rgba(9,11,15,0.5) 2px, transparent 2px, transparent 8px);
}

.arena-platform {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
}

.arena-platform::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--champ-blue), var(--victory-gold));
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 2px);
  opacity: 0.3;
}

.iframe-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  position: relative;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.game-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px;
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
}

.game-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--ice-white);
}

/* Sports Gallery */
.sports-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sports-card {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 210, 218, 0.3);
  box-shadow: var(--shadow-elevation);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  background: var(--bg-secondary);
}

.sports-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(214, 166, 60, 0.15), var(--shadow-elevation);
  border-color: var(--victory-gold);
}

.sports-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 0;
}

.sports-card:hover img {
  transform: scale(1.05);
}

.sports-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 65%;
  padding: 60px 32px 32px;
  background: linear-gradient(to top, rgba(9, 11, 15, 0.95) 0%, rgba(9, 11, 15, 0.8) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sport-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--victory-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--victory-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.sports-overlay h3 {
  font-size: 1.6rem;
  color: var(--ice-white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--titanium);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Training Center */
.training-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.training-row:nth-child(even) {
  flex-direction: row-reverse;
}

.training-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevation);
}

.training-image img {
  width: 100%;
  height: auto;
  display: block;
}

.training-content {
  flex: 1;
}

.training-content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--ice-white);
}

.training-content p {
  color: var(--titanium);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Champions Wall (Timeline) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--victory-gold), transparent);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-plaque {
  width: 80%;
  background: var(--surface-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: var(--radius-md);
  position: relative;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.timeline-plaque:hover {
  border-color: var(--victory-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-5px);
}

.timeline-item:nth-child(odd) .timeline-plaque {
  margin-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-plaque {
  margin-left: 40px;
}

.plaque-dot {
  position: absolute;
  top: 50%;
  width: 20px; height: 20px;
  background: var(--bg-primary);
  border: 4px solid var(--victory-gold);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: var(--glow-gold);
}

.timeline-item:nth-child(odd) .plaque-dot { right: -10px; }
.timeline-item:nth-child(even) .plaque-dot { left: -10px; }

.timeline-plaque h4 {
  color: var(--victory-gold);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.timeline-plaque p {
  color: var(--titanium);
  font-size: 0.95rem;
}

/* Community Lounge */
.lounge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.journal-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.journal-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 30px;
  font-family: var(--font-heading);
  font-size: 6rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}

.journal-text {
  font-size: 1.1rem;
  color: var(--ice-white);
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.journal-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--champ-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
}

.author-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--titanium);
  text-transform: uppercase;
}

/* Responsible Gaming Section */
.rg-banner {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid var(--champ-blue);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rg-icon {
  width: 80px; height: 80px;
  margin: 0 auto 30px;
  background: rgba(29, 78, 216, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champ-blue);
}

.rg-icon svg {
  width: 40px; height: 40px;
}

/* Footer */
.main-footer {
  background: var(--bg-secondary);
  padding: 80px 40px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--titanium);
  margin-top: 20px;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--ice-white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-col a {
  color: var(--titanium);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--victory-gold);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  color: var(--dark-slate);
  font-size: 0.85rem;
}

.disclaimer {
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--titanium);
}

.form-group input, .form-group textarea {
  padding: 15px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--ice-white);
  font-family: var(--font-body);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--champ-blue);
  box-shadow: var(--glow-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-desc {
    margin: 0 auto 40px;
  }
  
  .hero-actions, .hero-stats {
    justify-content: center;
  }
  
  .sports-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .training-row, .training-row:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
    padding-bottom: 90px; /* Space for bottom nav */
  }
  
  .main-header {
    left: 20px;
    right: 20px;
  }
  
  /* Transform Side Nav to Bottom Dock */
  .nav-tower {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 70px;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 10px;
    border-radius: 20px 20px 0 0;
    border: none;
    border-top: 1px solid rgba(201, 210, 218, 0.2);
    z-index: 1000;
  }
  
  .nav-tower::before {
    display: none;
  }
  
  .nav-tooltip {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .sports-gallery {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start !important;
    padding-left: 80px !important;
    padding-right: 0 !important;
  }
  
  .timeline-plaque {
    width: 100%;
    text-align: left !important;
    margin: 0 !important;
  }
  
  .plaque-dot {
    left: -54px !important;
    right: auto !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand p {
    margin: 20px auto;
  }
}