/* ============================
   RGL TOURNAMENT – LANDING CSS
   Real Gamers League | 2026
   ============================ */

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

:root {
  --bg-dark:    #06060f;
  --bg-card:    #0e0e1f;
  --bg-card2:   #12122a;
  --primary:    #6366f1;
  --primary2:   #818cf8;
  --gold:       #f59e0b;
  --green:      #10b981;
  --orange:     #f97316;
  --red:        #ef4444;
  --text:       #f1f5f9;
  --text-muted: #94a3b8;
  --border:     rgba(99,102,241,0.18);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ---- PARTICLES ---- */
.particles {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(6,6,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img  { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.logo-text { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; }
.logo-highlight { color: var(--primary2); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.btn-nav {
  background: var(--primary); color: #fff !important;
  padding: 8px 20px; border-radius: 8px;
  font-weight: 600 !important; transition: background 0.2s, transform 0.2s !important;
}
.btn-nav:hover { background: var(--primary2) !important; transform: translateY(-2px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between;
  padding: 100px 60px 60px;
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1; gap: 40px;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3);
  color: var(--green); padding: 6px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 22px;
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.4); }
}
.hero-title {
  font-family: 'Orbitron', sans-serif;
  line-height: 1.05;
  margin-bottom: 18px;
}
.line1 { display: block; font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.line2 { display: block; font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #f59e0b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 28px; }
.hero-stats { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 900; color: var(--primary2); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; padding: 14px 28px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(99,102,241,0.5); }
.btn-outline {
  display: inline-flex; align-items: center;
  border: 2px solid var(--border); color: var(--text);
  padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary2); transform: translateY(-3px); }
.coin-row { display: flex; align-items: center; gap: 10px; }
.coin-spin { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; animation: spin-slow 4s linear infinite; }
@keyframes spin-slow { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.coin-text { font-size: 0.9rem; color: var(--gold); font-weight: 600; }

.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-glow {
  position: absolute; width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
  border-radius: 50%; filter: blur(30px);
}
.hero-banner-img {
  max-width: 420px; width: 100%; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(99,102,241,0.3);
  position: relative; z-index: 1;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ---- SECTION COMMONS ---- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--primary2); text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 1rem; }

/* ---- GAMES SECTION ---- */
.games-section {
  padding: 80px 40px;
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
}
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.game-card:hover { transform: translateY(-8px); }
.card-glow {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.3s; border-radius: 20px;
}
.game-card:hover .card-glow { opacity: 1; }
.bgmi-glow  { box-shadow: inset 0 0 40px rgba(239,68,68,0.15); }
.ludo-glow  { box-shadow: inset 0 0 40px rgba(99,102,241,0.2); }
.ff-glow    { box-shadow: inset 0 0 40px rgba(249,115,22,0.15); }

.featured-card {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 0 24px rgba(99,102,241,0.15);
  transform: scale(1.02);
}
.featured-card:hover { transform: scale(1.02) translateY(-8px); }
.featured-ribbon {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 20px; z-index: 10;
  white-space: nowrap; letter-spacing: 0.04em;
}
.game-img-wrap { position: relative; height: 200px; overflow: hidden; }
.game-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.game-card:hover .game-img { transform: scale(1.06); }
.game-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,31,0.95) 0%, transparent 60%);
}
.ludo-overlay  { background: linear-gradient(to top, rgba(14,14,31,0.95) 0%, rgba(99,102,241,0.1) 100%); }
.ff-overlay    { background: linear-gradient(to top, rgba(14,14,31,0.95) 0%, rgba(249,115,22,0.1) 100%); }
.live-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  border-radius: 20px; padding: 4px 10px;
  font-size: 0.72rem; font-weight: 700; color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.card-content { padding: 18px 20px 22px; }
.game-icon { font-size: 1.6rem; margin-bottom: 8px; }
.game-name { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.game-full { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 10px; }
.game-desc { font-size: 0.85rem; color: #cbd5e1; line-height: 1.6; margin-bottom: 14px; }
.game-meta { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.prize-tag, .players-tag { font-size: 0.78rem; color: var(--text-muted); }
.prize-tag { color: var(--gold); font-weight: 600; }
.btn-game {
  display: inline-block; padding: 10px 20px; border-radius: 10px;
  font-weight: 700; font-size: 0.88rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-game:hover { transform: translateY(-2px); }
.bgmi-btn { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; box-shadow: 0 4px 14px rgba(239,68,68,0.3); }
.ludo-btn { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; box-shadow: 0 4px 14px rgba(99,102,241,0.4); }
.ff-btn   { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; box-shadow: 0 4px 14px rgba(249,115,22,0.3); }

/* ---- FEATURES ---- */
.features-section {
  padding: 80px 40px;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04) 50%, transparent);
  position: relative; z-index: 1;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,0.4); }
.feat-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ---- HOW IT WORKS ---- */
.how-section { padding: 80px 40px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.steps-container { display: flex; align-items: stretch; gap: 0; }
.step-card {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 24px; text-align: center; position: relative;
  transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-6px); }
.step-num {
  font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 900;
  color: rgba(99,102,241,0.15); position: absolute; top: 12px; right: 16px;
}
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step-card h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  display: flex; align-items: center; padding: 0 8px;
  font-size: 1.5rem; color: var(--primary); flex-shrink: 0;
}

/* ---- COIN SECTION ---- */
.coin-section {
  padding: 80px 40px; position: relative; z-index: 1;
  background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, transparent 60%);
}
.coin-showcase {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 60px;
}
.coin-info { flex: 1; }
.coin-info .section-tag { text-align: left; margin-bottom: 10px; }
.coin-info .section-title { text-align: left; margin-bottom: 16px; }
.coin-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
.coin-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.coin-perks li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #e2e8f0; }
.check { font-size: 1rem; }

.coin-visual { flex: 0 0 300px; display: flex; justify-content: center; align-items: center; }
.coin-orbit { position: relative; width: 220px; height: 220px; display: flex; justify-content: center; align-items: center; }
.big-coin {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 40px rgba(245,158,11,0.5);
  animation: spin-slow 6s linear infinite; z-index: 2; position: relative;
}
.orbit-ring {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(99,102,241,0.25);
}
.ring1 { width: 170px; height: 170px; animation: orbit-rotate 6s linear infinite; }
.ring2 { width: 220px; height: 220px; animation: orbit-rotate 10s linear infinite reverse; }
@keyframes orbit-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.orbit-dot {
  position: absolute; width: 10px; height: 10px;
  border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
.dot1 { top: 10px; left: 50%; animation: orbit-dot1 6s linear infinite; }
.dot2 { bottom: 20px; right: 10px; animation: orbit-dot2 8s linear infinite; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.dot3 { top: 50%; left: 8px; animation: orbit-dot3 7s linear infinite; background: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes orbit-dot1 { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(5px)} }
@keyframes orbit-dot2 { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }
@keyframes orbit-dot3 { 0%,100%{transform:translateY(-50%) translateX(0)} 50%{transform:translateY(-50%) translateX(5px)} }

/* ---- DOWNLOAD ---- */
.download-section {
  padding: 100px 40px; text-align: center; position: relative; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.1) 0%, transparent 70%);
}
.dl-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 14px; }
.dl-sub  { color: var(--text-muted); font-size: 1rem; margin-bottom: 36px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; padding: 18px 36px; border-radius: 16px;
  text-decoration: none; font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 12px 40px rgba(99,102,241,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 14px;
}
.btn-download:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(99,102,241,0.55); }
.dl-icon { font-size: 2rem; }
.dl-text { display: flex; flex-direction: column; text-align: left; }
.dl-small { font-size: 0.75rem; opacity: 0.75; font-weight: 500; }
.dl-big   { font-size: 1.2rem; font-weight: 700; }
.dl-note  { color: var(--text-muted); font-size: 0.82rem; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 40px 40px; text-align: center; position: relative; z-index: 1;
}
.footer-content { max-width: 700px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.footer-logo   { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.footer-name   { font-family: 'Orbitron', sans-serif; font-size: 0.95rem; color: #fff; font-weight: 700; }
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 18px; }
.footer-links  { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 16px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary2); }
.footer-copy   { color: #475569; font-size: 0.78rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 90px 24px 60px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .coin-row { justify-content: center; }
  .hero-visual { width: 100%; max-width: 340px; }
  .hero-banner-img { max-width: 100%; }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps-container { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .coin-showcase { flex-direction: column; text-align: center; }
  .coin-info .section-tag, .coin-info .section-title { text-align: center; }
  .coin-perks { align-items: center; }
  .games-section, .features-section, .how-section, .coin-section { padding: 60px 20px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(6,6,15,0.97); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
}
