/* ==========================================================================
   Mumbai Street Heroes - Modern Cyber-Desi Landing Page & Legal Styles
   ========================================================================== */

:root {
  --bg-primary: #07090E;
  --bg-secondary: #0D121D;
  --bg-card: rgba(16, 22, 35, 0.85);
  --bg-card-hover: rgba(24, 32, 50, 0.95);
  
  --primary-gold: #FFB703;
  --primary-orange: #FB8500;
  --accent-cyan: #00F0FF;
  --accent-red: #E63946;
  --accent-green: #2EC4B6;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 183, 3, 0.35);
  --border-cyan: rgba(0, 240, 255, 0.4);

  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-gold: 0 0 25px rgba(255, 183, 3, 0.25);
  --shadow-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(255, 183, 3, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(0, 240, 255, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--primary-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo:hover {
  text-shadow: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--primary-gold);
  box-shadow: 0 0 12px rgba(255, 183, 3, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-gold);
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-orange) 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 18px rgba(251, 133, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 183, 3, 0.5);
  color: var(--text-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 15px;
  border-radius: 8px;
}

.btn-icon {
  font-size: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 183, 3, 0.12);
  color: var(--primary-gold);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #FF6B35 70%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-gold);
  line-height: 1;
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Showcase Card */
.hero-showcase {
  position: relative;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), var(--shadow-gold);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.showcase-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
}

.showcase-overlay {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: rgba(10, 14, 22, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-info h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #fff;
}

.showcase-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #10B981;
}

.live-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-header .badge {
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 183, 3, 0.15);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(255, 183, 3, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 183, 3, 0.25);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   Gameplay & Media Showcase
   ========================================================================== */
.media-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-gold);
  color: var(--text-dark);
  border-color: var(--primary-gold);
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-item {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.media-item:hover {
  border-color: var(--accent-cyan);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), var(--shadow-cyan);
}

.media-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.media-caption {
  padding: 16px;
}

.media-caption h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: #fff;
  margin-bottom: 4px;
}

.media-caption p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Controls & Guides
   ========================================================================== */
.controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
}

.controls-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.control-row:last-child {
  border-bottom: none;
}

.key-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: monospace;
  font-size: 13px;
  color: #fff;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 22px;
  color: var(--primary-gold);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-item.open .faq-answer {
  padding: 0 24px 20px;
}

/* ==========================================================================
   Download / Call to Action Section
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.15) 0%, rgba(251, 133, 0, 0.08) 50%, rgba(0, 240, 255, 0.1) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--shadow-gold);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.playstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000;
  border: 1.5px solid var(--border-gold);
  border-radius: 12px;
  padding: 12px 24px;
  color: #fff;
  transition: var(--transition);
}

.playstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.4);
}

.playstore-icon {
  width: 32px;
  height: 32px;
}

.playstore-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.playstore-sub {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  line-height: 1;
}

.playstore-main {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   Legal Page Specifics
   ========================================================================== */
.legal-main {
  padding: 60px 24px 80px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 6px;
}

.effective-date {
  color: var(--primary-gold);
  font-size: 14px;
  font-weight: 500;
}

.legal-content section {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content section:last-child {
  border-bottom: none;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary-gold);
  margin-bottom: 14px;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #fff;
  margin: 16px 0 8px;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

th, td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
}

th {
  background: rgba(255, 183, 3, 0.1);
  color: var(--primary-gold);
  font-family: var(--font-heading);
  font-size: 16px;
}

td {
  color: var(--text-muted);
}

code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-gold);
  font-size: 13px;
}

.contact-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.contact-box p {
  margin-bottom: 6px;
}

.legal-footer-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #05070A;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge-group,
  .hero-cta-group,
  .hero-stats {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid,
  .media-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 38px;
  }

  .features-grid,
  .media-gallery {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 24px;
  }
}
