/* ═══════════════════════════════════════
   SCOREKHATA LIVE - DESIGN SYSTEM
   Professional Cricket Scoring Platform
   Style: Glassmorphism / TV Broadcast
   ═══════════════════════════════════════ */

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

:root {
    /* Brand Colors - Dark Theme (Default) */
    --bg-dark: #081420;
    --bg-dark-sec: #0c1c2c;
    --bg-card: rgba(12, 28, 44, 0.65);
    --bg-card-hover: rgba(21, 101, 192, 0.15);
    --primary: #1565C0;
    --primary-hover: #1e88e5;
    --accent: #FFC107;
    --accent-hover: #ffca28;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 193, 7, 0.20);
    
    /* Glows & Gradients */
    --glow-primary: rgba(21, 101, 192, 0.35);
    --glow-accent: rgba(255, 193, 7, 0.25);
    --gradient-brand: linear-gradient(135deg, #1565C0 0%, #0d47a1 100%);
    --gradient-accent: linear-gradient(135deg, #FFC107 0%, #ff8f00 100%);
    --gradient-dark: linear-gradient(185deg, #081420 0%, #040910 100%);
    
    /* Layout Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
body.light-theme {
    --bg-dark: #f1f5f9;
    --bg-dark-sec: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(21, 101, 192, 0.08);
    --text-light: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-accent: rgba(21, 101, 192, 0.15);
    --glow-primary: rgba(21, 101, 192, 0.15);
    --glow-accent: rgba(255, 193, 7, 0.12);
    --gradient-dark: linear-gradient(185deg, #f1f5f9 0%, #e2e8f0 100%);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    background-image: var(--gradient-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s, color 0.4s;
}

body.overlay-mode {
    background: transparent !important;
    background-image: none !important;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Background glows */
.glow-spot {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}
.glow-spot-1 { top: 10%; left: -200px; }
.glow-spot-2 { top: 40%; right: -200px; background: radial-gradient(circle, var(--glow-accent) 0%, transparent 70%); }
.glow-spot-3 { bottom: 10%; left: 10%; }

/* Navigation Header */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

header.site-header.scrolled {
    background-color: rgba(8, 20, 32, 0.85);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

body.light-theme header.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-light);
}

.logo-link span {
    color: var(--accent);
}

.logo-badge {
    background: var(--gradient-brand);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-link-item {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.nav-link-item:hover, .nav-link-item.active {
    color: var(--accent);
}

body.light-theme .nav-link-item:hover,
body.light-theme .nav-link-item.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Switcher Button */
.theme-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}

/* Auth Profile UI */
.nav-auth-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-auth-btn:hover {
    background: var(--primary);
    box-shadow: 0 4px 15px var(--glow-primary);
    transform: translateY(-1px);
}

.user-profile-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 30px;
}

.user-email-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

body.light-theme .user-email-text {
    color: var(--primary);
}

.btn-console-link {
    background: var(--primary);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-console-link:hover {
    background: var(--primary-hover);
}

.btn-nav-logout {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.btn-nav-logout:hover {
    text-decoration: underline;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Main layouts */
main.site-content {
    position: relative;
    z-index: 10;
}

.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 80px 24px;
}

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

.section-badge {
    display: inline-block;
    background: rgba(21, 101, 192, 0.15);
    color: var(--primary);
    border: 1px solid rgba(21, 101, 192, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

body.light-theme .section-badge {
    background: rgba(21, 101, 192, 0.08);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
section.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    background-image: radial-gradient(circle at top, rgba(21, 101, 192, 0.25) 0%, transparent 60%), url('images/stadium.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-color);
}

section.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 20, 32, 0.85); /* darken stadium image */
    z-index: 1;
}

body.light-theme section.hero-section::before {
    background: rgba(241, 245, 249, 0.90);
}

.hero-grid {
    position: relative;
    z-index: 5;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.15);
    color: var(--accent);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-headline span {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheading {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Premium Buttons Styling */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-gold {
    background: var(--gradient-accent);
    color: #081420;
    box-shadow: 0 4px 20px var(--glow-accent);
    border: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.45);
}

.btn-blue {
    background: var(--gradient-brand);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--glow-primary);
    border: none;
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(21, 101, 192, 0.55);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

/* Hero Scoreboard Mockup (TV Broadcast Style) */
.hero-mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.live-scoreboard-mockup {
    width: 100%;
    max-width: 480px;
    background: rgba(8, 20, 32, 0.85);
    border: 2px solid var(--border-accent);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 193, 7, 0.15);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    animation: floatingEffect 6s ease-in-out infinite;
}

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

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.mockup-brand {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-live-indicator {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 10px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mockup-live-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

.mockup-scoreboard-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-teams {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mockup-team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-team-logo {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mockup-team-logo.team2 {
    background: #e53935;
}

.mockup-team-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.mockup-numbers {
    text-align: right;
}

.mockup-runs-wkt {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
}

.mockup-overs {
    font-size: 13px;
    color: var(--text-muted);
}

.mockup-extra-stats {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 12px;
}

.mockup-stat-item span {
    color: var(--text-muted);
}

.mockup-stat-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
}

.mockup-batsmen {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 12px;
}

.mockup-batsman {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.mockup-batsman.striker {
    color: var(--accent);
    font-weight: 700;
}

/* ═══════════════════════════════════════
   TRUSTED STATISTICS SECTION
   ═══════════════════════════════════════ */
.stats-section {
    background: var(--bg-dark-sec);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.1);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.stat-counter {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff8f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

/* ═══════════════════════════════════════
   OVERLAY GALLERY SECTION
   ═══════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.overlay-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.overlay-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.12), 0 0 20px rgba(21, 101, 192, 0.08);
}

.overlay-preview {
    height: 200px;
    background: linear-gradient(135deg, #07111c 0%, #0d2844 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

/* Fake design graphics elements */
.overlay-preview-gfx {
    position: absolute;
    width: 80%;
    height: 50px;
    background: #020810;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.overlay-preview-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent) 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.overlay-badge-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-brand);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.overlay-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.overlay-name {
    font-size: 20px;
    color: var(--text-light);
}

.overlay-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.overlay-feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.overlay-f-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
}

.overlay-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.btn-card-demo {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
}

.btn-card-demo:hover {
    background: var(--accent);
    color: #081420;
    border-color: var(--accent);
}

.btn-card-gen {
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.btn-card-gen:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px var(--glow-primary);
}

/* ═══════════════════════════════════════
   VIDEO SHOWCASE
   ═══════════════════════════════════════ */
.video-showcase-section {
    background: var(--bg-dark-sec);
    border-bottom: 1px solid var(--border-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-meta {
    padding: 20px;
}

.video-title {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.video-duration {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.btn-watch-yt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #ef4444;
}

.btn-watch-yt:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════
   FEATURES GRID SECTION
   ═══════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px var(--glow-primary);
}

.feature-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: rgba(21, 101, 192, 0.15);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(21, 101, 192, 0.25);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 8px;
}

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

/* ═══════════════════════════════════════
   SCREENSHOT CAROUSEL (ANDROID MOCKUPS)
   ═══════════════════════════════════════ */
.carousel-section {
    background: var(--bg-dark-sec);
    border-bottom: 1px solid var(--border-color);
}

.carousel-outer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.mockup-carousel-container {
    width: 100%;
    max-width: 850px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 480px;
    overflow: hidden;
}

/* Android Mockup Frame styling */
.android-phone-mockup {
    width: 230px;
    height: 440px;
    background: #0d121c;
    border: 8px solid #334155;
    border-radius: 36px;
    position: absolute;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Screen reflection / camera details */
.android-phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 18px;
    background: #334155;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 100;
}

.android-screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0c1a30 0%, #050d18 100%);
    display: flex;
    flex-direction: column;
    padding: 24px 16px 16px 16px;
    color: white;
}

.mockup-screen-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 6px;
}

.mockup-screen-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
    font-size: 11px;
}

.mockup-screen-icon {
    font-size: 32px;
}

/* Slide position rules */
.android-phone-mockup.prev {
    transform: translateX(-240px) scale(0.85);
    opacity: 0.5;
    z-index: 5;
    pointer-events: auto;
}

.android-phone-mockup.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(21, 101, 192, 0.25), 0 0 20px rgba(21, 101, 192, 0.15);
}

.android-phone-mockup.next {
    transform: translateX(240px) scale(0.85);
    opacity: 0.5;
    z-index: 5;
    pointer-events: auto;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

.carousel-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-card-hover);
}

.carousel-indicator-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ═══════════════════════════════════════
   WHY CHOOSE SCOREKHATA LIVE
   ═══════════════════════════════════════ */
.why-choose-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comp-column {
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.03);
}

.comp-column.scorekhata {
    border-color: var(--border-accent);
    background: rgba(21, 101, 192, 0.05);
}

.comp-column h3 {
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-column.scorekhata h3 {
    color: var(--accent);
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comp-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.comp-column.scorekhata .comp-item {
    color: var(--text-light);
}

.comp-check {
    color: #10b981;
    font-weight: bold;
}

.comp-cross {
    color: #ef4444;
    font-weight: bold;
}

/* ═══════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════ */
.pricing-section {
    background: var(--bg-dark-sec);
    border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 400px));
    gap: 40px;
    justify-content: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.pricing-card.premium {
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.15), 0 0 25px rgba(21, 101, 192, 0.1);
}

.pricing-card.premium::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #081420;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.price-header {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.price-plan-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card.premium .price-plan-name {
    color: var(--accent);
}

.price-cost {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 800;
    color: var(--text-light);
}

.price-cost span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
    flex: 1;
}

.price-feature-item {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.price-feature-item.checked {
    color: var(--text-light);
}

.price-feature-item span {
    color: var(--accent);
    font-weight: bold;
}

.btn-pricing {
    width: 100%;
}

/* ═══════════════════════════════════════
   TUTORIALS SECTION
   ═══════════════════════════════════════ */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tutorial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.tutorial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.tutorial-thumb {
    height: 160px;
    background: linear-gradient(135deg, #0d1e33 0%, #06101c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.tutorial-play-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
    transition: var(--transition-smooth);
}

.tutorial-card:hover .tutorial-play-icon {
    background: var(--accent);
    color: #081420;
    transform: scale(1.1);
}

.tutorial-body {
    padding: 16px 20px 20px 20px;
}

.tutorial-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.tutorial-channel {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════
   CUSTOMER REVIEWS (TESTIMONIALS)
   ═══════════════════════════════════════ */
.reviews-section {
    background: var(--bg-dark-sec);
    border-bottom: 1px solid var(--border-color);
}

.testimonial-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.testimonial-slide-box {
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--accent);
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-light);
}

.testimonial-rating {
    color: var(--accent);
    font-size: 11px;
    margin-top: 2px;
}

/* ═══════════════════════════════════════
   FAQ SECTION (ACCORDION)
   ═══════════════════════════════════════ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-light);
    text-align: left;
    outline: none;
}

.faq-icon {
    font-size: 18px;
    color: var(--accent);
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    border-top: 1px solid transparent;
}

.faq-content-inner {
    padding: 0 24px 20px 24px;
    color: var(--text-muted);
    font-size: 14.5px;
}

/* Open states */
.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.faq-item.active .faq-content {
    border-top-color: rgba(255,255,255,0.05);
}

/* ═══════════════════════════════════════
   DOWNLOAD BANNER (CTA)
   ═══════════════════════════════════════ */
.cta-banner-section {
    position: relative;
    overflow: hidden;
}

.cta-glass-banner {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.25) 0%, rgba(12, 27, 44, 0.8) 100%);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 5;
}

.cta-banner-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-banner-title span {
    color: var(--accent);
}

.cta-banner-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-size: 16px;
}

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

/* Floating Cricket Ball Animation */
.floating-ball {
    position: absolute;
    background: radial-gradient(circle at 35% 35%, #ff5252, #d32f2f 70%, #9a0007 100%);
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.5), 0 10px 20px rgba(0,0,0,0.4), 0 0 15px rgba(255,82,82,0.3);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* seam stitch */
.floating-ball::after {
    content: '';
    width: 100%;
    height: 4px;
    border-top: 1px dashed white;
    border-bottom: 1px dashed white;
    transform: rotate(35deg);
    opacity: 0.7;
}

.ball-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 8%;
    animation: floatingBall1 12s ease-in-out infinite;
}

.ball-2 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 6%;
    animation: floatingBall2 9s ease-in-out infinite;
}

@keyframes floatingBall1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

@keyframes floatingBall2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(25px, -25px) rotate(-180deg); }
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer.site-footer {
    background-color: #040910;
    border-top: 1px solid var(--border-color);
    padding: 80px 20px 30px 20px;
    position: relative;
    z-index: 10;
}

.footer-top {
    max-width: 1240px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-brand-col {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about-text {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    margin-bottom: 24px;
    border-left: 3px solid var(--accent);
    padding-left: 10px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-anchor {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-link-anchor:hover {
    color: var(--accent);
    padding-left: 4px;
}

/* Social icons layout */
.footer-social-row {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.social-circle-btn:hover {
    background: var(--accent);
    color: #081420;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-bottom-bar {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #475569;
    font-size: 13px;
}

/* ═══════════════════════════════════════
   APP ROUTER / DYNAMIC VIEWS CUSTOM STYLING
   ═══════════════════════════════════════ */
.view-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Live indicators */
.live-indicator-strip {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    padding: 4px 12px;
    border-radius: 4px;
    color: #ef4444;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ═══════════════════════════════════════ */
@media (max-width: 990px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-headline {
        font-size: 42px;
    }
    
    .hero-btn-group {
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* simple hidden for mobile, toggled dynamically */
    }
    
    .mobile-toggle {
        display: block;
        color: var(--text-light);
    }
    
    .section-container {
        padding: 60px 16px;
    }
}

/* ═══════════════════════════════════════
   BROADCAST LIVE SCOREBOARD OVERLAY LAYOUT
   ═══════════════════════════════════════ */
.overlay-wrap {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 950px;
    height: 90px;
    background: #04091a;
    border-left: 6px solid var(--accent);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: var(--font-heading);
    border: 1.5px solid var(--border-color);
    box-sizing: border-box;
}

.overlay-team-block {
    display: flex;
    flex-direction: column;
    width: 150px;
}

.overlay-team-name {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
}

.overlay-team-sub {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.overlay-score-block {
    flex: 1;
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.overlay-overs {
    font-size: 18px;
    color: white;
    margin-left: 15px;
}

.overlay-batsmen {
    display: flex;
    gap: 20px;
    font-size: 14px;
    width: 300px;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 20px;
}

.overlay-batsman {
    display: flex;
    flex-direction: column;
    color: var(--text-muted);
}

.overlay-batsman.strike {
    color: #22d3ee;
    font-weight: 700;
}

.overlay-alert-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 193, 7, 0.95);
    color: black;
    font-size: 100px;
    font-weight: 900;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    z-index: 100000;
    font-family: var(--font-heading);
    letter-spacing: 5px;
}

.overlay-alert-screen.wicket {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

/* ═══════════════════════════════════════
   AUTHENTICATION & GENERATOR MODALS
   ═══════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal-container {
    background: var(--bg-dark-sec);
    border: 1.5px solid var(--border-color);
    width: 90%;
    max-width: 480px;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-close-modal:hover {
    color: white;
}

.modal-tabs {
    display: flex;
    border-bottom: 1.5px solid var(--border-color);
    margin-bottom: 30px;
}

.modal-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.modal-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.auth-form.active {
    display: flex;
}

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

.input-group label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.input-group input {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    outline: none;
    transition: var(--transition-smooth);
}

.input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.15);
}

.auth-error {
    color: #ef4444;
    font-size: 13px;
    text-align: center;
    background: rgba(239, 68, 68, 0.08);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* Animations */
@keyframes alertZoom {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

