/*
Theme Name: JoinFantasy
Theme URI: https://joinfantasy.com
Author: JoinFantasy Team
Author URI: https://joinfantasy.com
Description: Join Fantasy APK Download – Play Live & Win in India
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joinfantasy
*/

/* ============================================================
   Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Exo+2:wght@600;700;800&display=swap');

/* ============================================================
   CSS Variables & Reset
   ============================================================ */
:root {
    --bg-dark: #070b19;
    --bg-card: rgba(13, 20, 38, 0.65);
    --primary-light: #ff007f;
    --primary-mid: #e63946;
    --primary-dark: #8b0032;
    --secondary-neon: #00f5d4;
    --secondary-light: #00b4d8;
    --text-main: #ffffff;
    --text-muted: #9fb3c8;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 0, 127, 0.15);
    --neon-glow: 0 0 22px rgba(255, 0, 127, 0.35);
    --font-body: 'Poppins', sans-serif;
    --font-head: 'Exo 2', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   Animated Blue Background Effects
   ============================================================ */
.ambient-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; pointer-events: none;
    background: radial-gradient(circle at 15% 30%, rgba(255, 0, 127, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(0, 245, 212, 0.06) 0%, transparent 50%);
    animation: pulse-bg 12s infinite alternate ease-in-out;
}
@keyframes pulse-bg {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
    margin-bottom: 1rem;
}
h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 2.5rem;
}
.text-gradient {
    background: linear-gradient(90deg, var(--primary-light), var(--primary-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.05rem; }

/* ============================================================
   Layout & Utilities
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem; }
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
    border-color: var(--primary-light);
}

/* ============================================================
   Buttons & Interactions
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
}
.btn-primary {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-mid));
    color: #fff;
    border: 1px solid var(--primary-light);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
    animation: pulse-btn 2s infinite;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.8);
}
.btn-primary:hover::before { left: 100%; }

.btn-outline {
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    background: transparent;
}
.btn-outline:hover {
    background: rgba(0, 198, 255, 0.1);
    color: #fff;
    box-shadow: var(--neon-glow);
}

@keyframes pulse-btn {
    0% { box-shadow: 0 0 15px rgba(0, 198, 255, 0.4); }
    50% { box-shadow: 0 0 25px rgba(0, 198, 255, 0.8); }
    100% { box-shadow: 0 0 15px rgba(0, 198, 255, 0.4); }
}

/* ============================================================
   Site Header / Navigation
   ============================================================ */

/* Reset all nav list defaults — high specificity to override WP defaults */
.site-header ul,
.site-header li,
.site-header .menu,
.site-header .menu-item,
nav.primary-nav ul,
nav.primary-nav li,
nav.primary-nav .menu,
nav.primary-nav .menu-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none;
    border: none;
    outline: none;
}
.site-header .menu::before,
.site-header .menu::after {
    content: none !important;
    display: none !important;
}
.site-header .menu-item::before {
    content: none !important;
    display: none !important;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: rgba(5, 12, 24, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s ease;
    overflow: visible;
}
.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* ---- Layer 1: Top Bar ---- */
.header-top {
    background: rgba(0, 0, 0, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
}
.header-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.follow-us-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}
.header-social-link:hover {
    color: var(--primary-light);
    background: rgba(0, 198, 255, 0.1);
}
.header-social-link svg {
    display: block;
}
.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 28px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.header-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: ctaShimmer 4s infinite linear;
}
@keyframes ctaShimmer {
    0% { left: -150%; }
    25% { left: 150%; }
    100% { left: 150%; }
}
.header-cta-download {
    background: linear-gradient(135deg, #ff3d00, #ffcf00);
    color: #08111f;
    border: 2px solid #fff176;
    box-shadow: 0 0 22px rgba(255, 207, 0, 0.55);
}
.header-cta-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(255, 207, 0, 0.75);
    color: #08111f;
}
.header-cta-join {
    background: linear-gradient(135deg, #06305f, #00c6ff);
    color: #ffffff;
    border: 2px solid #00e5ff;
}
.header-cta-join:hover {
    background: linear-gradient(135deg, #0047ff, #00e5ff);
    color: #fff;
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.65);
}

/* ---- Layer 2: Main Nav Bar ---- */
.header-main {
    padding: 12px 0;
}
.header-main-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-sizing: border-box;
}

/* Brand / Logo */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Header logo: locked size — prevents any global img rule from enlarging it */
.site-header .brand-logo,
.site-header .brand img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.brand-subtitle {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.brand .brand-highlight {
    color: #00b7ff;
}

/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
}
.primary-nav > ul,
.primary-nav .menu {
    display: flex !important;
    align-items: center;
    gap: 6px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap;
}
.primary-nav li,
.primary-nav .menu-item {
    position: relative;
    list-style: none !important;
}
.primary-nav a {
    display: flex;
    align-items: center;
    height: 38px;
    padding: 0 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
    color: #ffffff;
    background: rgba(0, 198, 255, 0.06);
    border-color: rgba(0, 198, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 198, 255, 0.12);
}

/* Desktop Dropdown Menu with spring scale animation & glassmorphism */
.primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: rgba(7, 13, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 14px;
    padding: 8px 0;
    margin-top: 8px;
    list-style: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1), 
                transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1), 
                visibility 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 198, 255, 0.06);
    z-index: 1000;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.primary-nav .sub-menu .menu-item {
    width: 100%;
}
.primary-nav .sub-menu a {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    margin: 2px 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.primary-nav .sub-menu a:hover {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(0, 198, 255, 0.12), rgba(0, 245, 212, 0.06));
    border-color: rgba(0, 198, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.08);
}
.primary-nav .menu-item-has-children > a::after {
    content: "▾";
    margin-left: 3px;
    font-size: 11px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}
.primary-nav .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: rgba(11, 15, 26, 0.6);
    border-bottom: 1px solid rgba(0, 198, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none !important;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.breadcrumb-item a:hover {
    color: var(--primary-light);
}
.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}
.breadcrumb-item:not(:last-child)::after {
    content: "›";
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
    margin-left: 0.5rem;
}

/* Mobile Hamburger Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1102;
    order: 4;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.urgency-badge {
    display: inline-block;
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
}
.stars { display: flex; gap: 4px; }
.stars svg {
    width: 18px;
    height: 18px;
    fill: #00c6ff;
    filter: drop-shadow(0 0 2px #00c6ff);
}
.live-pulse {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: livePulse 1.5s infinite;
    margin-right: 5px;
    display: inline-block;
}
@keyframes livePulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}
.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 2.5rem;
    font-size: 0.95rem;
    color: #b0c4de;
    font-weight: 500;
}
.hero-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-img-wrap img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 123, 255, 0.5));
    animation: floatApp 6s ease-in-out infinite;
    border-radius: 20px;
}
@keyframes floatApp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================================
   SEO Content (About)
   ============================================================ */
.seo-content {
    column-count: 2;
    column-gap: 3rem;
    text-align: justify;
}
.seo-content h3 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: var(--text-main);
    text-transform: none;
    margin: 1.5rem 0 0.5rem;
    border-left: 3px solid var(--primary-light);
    padding-left: 10px;
}
.seo-content strong { color: var(--primary-light); font-weight: 600; }

/* ============================================================
   Games Matrix
   ============================================================ */
.games-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}
.game-item {
    background: #121826;
    border-radius: 0;
    padding: 10px 0px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.2);
}
.game-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.4);
    border-color: #007bff;
}
.game-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 12px;
}
.game-item span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

/* ============================================================
   Features Grid
   ============================================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.feature-icon {
    width: 50px;
    height: 50px;
    fill: var(--primary-light);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.5));
}

/* ============================================================
   Download Steps (Timeline)
   ============================================================ */
.timeline {
    position: relative;
    padding-left: 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
}
.step {
    position: relative;
    margin-bottom: 2.5rem;
}
.step::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--primary-light);
    box-shadow: 0 0 15px var(--primary-light);
}
.step h3 { color: #fff; margin-bottom: 5px; }

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-wrapper { max-width: 900px; margin: 0 auto; }
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(0,0,0,0.4);
    overflow: hidden;
    transition: all 0.3s;
}
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.faq-btn:hover { background: rgba(0, 198, 255, 0.05); }
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    transition: all 0.4s ease;
    color: var(--text-muted);
    opacity: 0;
}
.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.15);
}
.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 600px;
    opacity: 1;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 10px;
    padding-top: 10px;
}
.faq-icon {
    color: var(--primary-light);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.4s;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ============================================================
   Footer & Disclaimers
   ============================================================ */
footer {
    background: #050810;
    padding: 4rem 1.5rem 6rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}
.disclaimer-box {
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    margin: 2rem auto;
    max-width: 900px;
    font-size: 0.85rem;
    color: #888;
    text-align: left;
}
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    box-shadow: inset 0 0 10px rgba(0,198,255,0.2);
}
.footer-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--primary-light);
}

/* ============================================================
   Sticky Mobile Bar
   ============================================================ */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(7, 11, 25, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 0, 127, 0.25);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6), 0 -2px 10px rgba(255, 0, 127, 0.15);
}
.mobile-cta-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
.mobile-cta-app {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.mobile-cta-app img {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}
.mobile-cta-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.mobile-cta-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-head);
    text-transform: uppercase;
}
.mobile-cta-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}
.mobile-cta-stars svg {
    width: 10px;
    height: 10px;
    fill: var(--secondary-neon);
}
.mobile-cta-rating {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 500;
}
.mobile-cta-bar .btn {
    flex-grow: 1;
    max-width: 180px;
    height: 40px;
    font-size: 13px;
    padding: 0 12px;
    border-radius: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Mobile Nav Overlay
   ============================================================ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.nav-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* ---- Nav Get App: visible as regular menu item on desktop ---- */
.nav-get-app {
    display: list-item;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .header-top-inner {
        padding: 0 20px;
    }
    .header-main-inner {
        height: auto;
        min-height: 60px;
        padding: 12px 20px;
        flex-wrap: wrap;
    }
    .site-header .brand-logo,
    .site-header .brand img {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
    }
    .brand-name {
        font-size: 18px;
    }
    .brand-subtitle {
        font-size: 9px;
    }
    .nav-toggle {
        display: flex;
    }
    /* Get App btn stays hidden on tablet — nav item is sufficient */
    .primary-nav {
        order: 5;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 8px 0 4px;
    }
    .primary-nav::-webkit-scrollbar {
        display: none;
    }
    .primary-nav > ul,
    .primary-nav .menu {
        display: flex;
        gap: 4px;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    .primary-nav a {
        height: 36px;
        padding: 0 12px;
        font-size: 14px;
    }
    /* Sub-menu inline on mobile (horizontal scroll) */
    .primary-nav .sub-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 4px;
        box-shadow: none;
        border-radius: 12px;
        min-width: 0;
        padding: 6px;
    }
    .primary-nav .menu-item-has-children.open > .sub-menu {
        display: flex;
        flex-direction: row;
        gap: 2px;
    }
    .primary-nav .sub-menu a {
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }
    .primary-nav .menu-item-has-children > a::after {
        content: "▾";
        margin-left: 4px;
        font-size: 10px;
        opacity: 0.75;
    }
}

/* Small mobile: switch to hamburger drawer */
@media (max-width: 600px) {
    /* Top bar is removed, no margin-top offset needed */

    .header-cta {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    .social-links {
        display: none;
    }
    .header-top-inner {
        padding: 0 16px;
        height: 36px;
        justify-content: flex-end;
    }
    .header-cta-btn {
        height: 34px;
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
        padding: 0 8px;
        font-size: 10px;
        letter-spacing: 0.02em;
    }

    .header-main-inner {
        min-height: 56px;
        padding: 10px 16px;
    }
    .site-header .brand-logo,
    .site-header .brand img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
    .brand-name {
        font-size: 16px;
    }
    .brand-subtitle {
        font-size: 8px;
    }
    .nav-toggle {
        display: flex;
    }
    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(8, 16, 32, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        transition: right 0.35s ease;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1102;
        order: 0;
        width: 280px;
    }
    .primary-nav.open { right: 0; }
    .primary-nav > ul,
    .primary-nav .menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        flex-wrap: nowrap;
    }
    .primary-nav .menu-item {
        width: 100%;
    }
    .primary-nav a {
        height: auto;
        padding: 0.85rem 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 15px;
    }
    .primary-nav a:hover {
        background: transparent;
        color: #fff;
    }
    .primary-nav .menu-item-has-children > a::after {
        content: "▾";
        margin-left: auto;
        font-size: 12px;
    }
    .primary-nav .sub-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0 0 0.5rem 1rem;
        min-width: 0;
    }
    .primary-nav .menu-item-has-children.open > .sub-menu {
        display: block;
    }
    .primary-nav .sub-menu a {
        height: auto;
        padding: 0.55rem 1rem;
        font-size: 14px;
        border-bottom: none;
    }
    /* Show Get App in mobile drawer */
    .nav-get-app {
        display: list-item;
    }
    .nav-get-app a {
        color: var(--primary-light) !important;
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .mobile-cta-bar { display: block; }
    footer { padding-bottom: 7rem; }
    .hero-img-wrap img { max-width: 85%; }
    .container { padding: 4rem 1rem; }
}

/* ============================================================
   Interactive Glassmorphism Download Modal (#downloadModal)
   ============================================================ */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.download-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.download-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}
.download-modal-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: linear-gradient(135deg, rgba(13, 20, 41, 0.95) 0%, rgba(7, 11, 25, 0.98) 100%);
    border: 1px solid rgba(255, 0, 127, 0.3);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 127, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100002;
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 0, 127, 0.3) transparent;
}
.download-modal.active .download-modal-content {
    transform: scale(1) translateY(0);
}
.download-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0c4de;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.download-modal-close:hover {
    background: rgba(255, 0, 127, 0.2);
    border-color: var(--primary-light);
    color: #fff;
    transform: rotate(90deg);
}
.download-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}
.modal-logo {
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.25);
}
.download-modal-header h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-head);
    letter-spacing: -0.02em;
}
.modal-subtitle {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Steps Timeline styling */
.modal-steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    margin-bottom: 24px;
}
.modal-step-item {
    display: flex;
    gap: 16px;
    opacity: 0.4;
    transition: all 0.4s ease;
}
.modal-step-item.active {
    opacity: 1;
}
.modal-step-item.completed {
    opacity: 0.95;
}
.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #b0c4de;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: var(--font-head);
    position: relative;
    transition: all 0.4s ease;
}
.modal-step-item.active .step-num {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}
.modal-step-item.completed .step-num {
    background: var(--secondary-neon);
    border-color: var(--secondary-neon);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.4);
}
.modal-step-item.completed .step-num::after {
    content: '✓';
    position: absolute;
    font-weight: 900;
}
.modal-step-item.completed .step-num {
    color: transparent; /* hide number, show checkmark */
}
.step-details {
    flex-grow: 1;
}
.step-details h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.step-details p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-muted);
}

/* Progress bar inside Modal Step 1 */
.modal-progress-bar-wrap {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}
.modal-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-neon));
    border-radius: 4px;
    box-shadow: 0 0 8px var(--primary-light);
    transition: width 0.1s linear;
}
.step-status-text {
    font-size: 0.8rem !important;
    color: var(--secondary-neon) !important;
    font-weight: 600;
    margin-top: 4px !important;
}

/* Visual Helpers */
.step-visual-helper {
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    overflow: hidden;
}
.helper-notification-bubble {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: pulseNotify 2s infinite ease-in-out;
}
@keyframes pulseNotify {
    0%, 100% { transform: translateY(0px); border-color: rgba(255, 255, 255, 0.06); }
    50% { transform: translateY(-4px); border-color: rgba(255, 0, 127, 0.3); }
}
.bubble-icon {
    font-size: 20px;
}
.bubble-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.bubble-info strong {
    font-size: 0.85rem;
    color: #fff;
}
.bubble-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.helper-toggle-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
}
.helper-toggle-panel span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}
.helper-toggle-switch {
    width: 42px;
    height: 22px;
    border-radius: 11px;
    background: rgba(255,255,255,0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
}
.helper-toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.helper-toggle-switch.active {
    background: var(--secondary-neon);
    border-color: var(--secondary-neon);
}
.helper-toggle-switch.active::before {
    left: 22px;
    background: #000;
}

/* Modal Footer */
.modal-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 10px;
}
.safe-badge {
    font-size: 0.8rem;
    color: var(--secondary-neon);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}
.modal-footer-cta .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: none;
    height: 38px;
}

/* ============================================================
   Softonic-inspired Layout & Components
   ============================================================ */

/* Global Search Section */
.search-container {
    max-width: 700px;
    margin: 2rem auto;
    position: relative;
}
.search-box {
    display: flex;
    align-items: center;
    background: rgba(13, 20, 38, 0.85);
    border: 2px solid rgba(255, 0, 127, 0.25);
    border-radius: 50px;
    padding: 6px 12px 6px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.search-box:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.4), inset 0 0 10px rgba(255, 0, 127, 0.1);
}
.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.15rem;
    font-family: var(--font-body);
    padding: 10px 0;
}
.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.search-btn {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-mid));
    border: none;
    border-radius: 50px;
    color: #fff;
    padding: 12px 28px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

/* Security Verification Bar */
.security-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.security-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.security-badge-item svg {
    fill: var(--secondary-neon);
    width: 18px;
    height: 18px;
}

/* Editor's Choice Section */
.editors-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.editor-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.editor-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 127, 0.4);
    box-shadow: var(--neon-glow);
}
.editor-card-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.editor-card-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}
.editor-card-title-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.editor-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-transform: none;
}
.editor-card-meta {
    font-size: 0.85rem;
    color: var(--secondary-neon);
    font-weight: 600;
}
.editor-rating-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #00f5d4, #00b4d8);
    color: #000;
    font-weight: 800;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.3);
}
.editor-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}
.editor-card-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.pros-list, .cons-list {
    list-style: none;
    padding: 0;
}
.pros-list li, .cons-list li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pros-list li { color: #52b788; }
.cons-list li { color: #ff758f; }
.editor-card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}
.download-btn-green {
    background: linear-gradient(135deg, #2ec4b6, #028090);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.download-btn-green:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(46, 196, 182, 0.4);
}

/* Homepage Main Split Columns */
.main-split-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
}

@media (max-width: 992px) {
    .main-split-grid {
        grid-template-columns: 1fr;
    }
}

/* Category Grid (Left Column) */
.category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 0, 127, 0.2);
    padding-bottom: 10px;
}
.category-heading h2 {
    margin: 0;
    text-align: left;
    font-size: 1.6rem;
}
.category-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.category-card-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.category-card-item:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(13, 20, 38, 0.85);
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.15);
}
.category-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}
.category-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.category-title-text {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.category-desc-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Gradient themes for category cards */
.grad-cricket { background: linear-gradient(135deg, rgba(38, 70, 83, 0.8), rgba(42, 157, 143, 0.8)); }
.grad-football { background: linear-gradient(135deg, rgba(142, 68, 173, 0.8), rgba(52, 152, 219, 0.8)); }
.grad-ludo { background: linear-gradient(135deg, rgba(230, 57, 70, 0.8), rgba(241, 250, 238, 0.1)); }
.grad-rummy { background: linear-gradient(135deg, rgba(247, 127, 0, 0.8), rgba(252, 191, 73, 0.8)); }
.grad-review { background: linear-gradient(135deg, rgba(255, 0, 127, 0.8), rgba(139, 0, 50, 0.8)); }
.grad-prediction { background: linear-gradient(135deg, rgba(0, 245, 212, 0.8), rgba(0, 180, 216, 0.8)); }
.grad-special { background: linear-gradient(135deg, rgba(46, 196, 182, 0.8), rgba(255, 255, 255, 0.05)); }

/* Softonic-style Sidebar Ranking (Right Column) */
.sidebar-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(16px);
}
.sidebar-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    gap: 8px;
}
.tab-nav-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    text-align: center;
}
.tab-nav-btn.active {
    color: var(--primary-light);
    border-color: var(--primary-light);
}
.tab-nav-btn:hover {
    color: #fff;
}

.ranking-list-wrap {
    display: none;
    flex-direction: column;
    gap: 14px;
}
.ranking-list-wrap.active {
    display: flex;
}
.ranking-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.ranking-row-item:last-child {
    border-bottom: none;
}
.ranking-number {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-light);
    width: 24px;
    text-align: center;
}
.ranking-app-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ranking-app-info {
    flex: 1;
}
.ranking-app-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    display: block;
    text-decoration: none;
}
.ranking-app-name:hover {
    color: var(--secondary-neon);
}
.ranking-app-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ranking-stars {
    color: #ffb703;
    display: flex;
}
.ranking-dl-btn {
    background: rgba(46, 196, 182, 0.1);
    color: #2ec4b6;
    border: 1px solid rgba(46, 196, 182, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ranking-dl-btn:hover {
    background: #2ec4b6;
    color: #fff;
    border-color: #2ec4b6;
}

/* Feature Grid adjustments */
.feature-badge-softonic {
    font-size: 0.7rem;
    background: rgba(0, 245, 212, 0.1);
    color: var(--secondary-neon);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* ============================================================
   Softonic Light-Mode Theme Overrides
   ============================================================ */
:root {
    --bg-dark: #f3f6f9;
    --bg-card: #ffffff;
    --primary-light: #00d27a;
    --primary-mid: #00b96b;
    --primary-dark: #008e51;
    --secondary-neon: #1a73e8;
    --secondary-light: #4285f4;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: #ffffff;
    --glass-border: #e2e8f0;
    --neon-glow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Global Light-Mode Adjustments */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.ambient-bg {
    background: radial-gradient(circle at 15% 30%, rgba(0, 210, 122, 0.04) 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(26, 115, 232, 0.03) 0%, transparent 50%);
}

.glass-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.glass-card p {
    color: var(--text-muted);
}

/* Header Override for Light Mode */
body .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e2e8f0;
}
body .site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
body .header-top {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
body .brand {
    color: #1e293b;
}
.brand .brand-highlight {
    color: #00d27a;
}
body .primary-nav a {
    color: #334155;
}
body .primary-nav a:hover,
.primary-nav .current-menu-item > a {
    color: #00b96b;
    background: rgba(0, 210, 122, 0.08);
    border-color: rgba(0, 210, 122, 0.2);
    box-shadow: none;
}
body .primary-nav .sub-menu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body .primary-nav .sub-menu a {
    color: #334155;
}
body .primary-nav .sub-menu a:hover {
    color: #00b96b;
    background: #f1f5f9;
}

/* Header Action Buttons */
.header-cta-download {
    background: #00d27a;
    color: #ffffff;
    border: 1px solid #00b96b;
    box-shadow: 0 4px 12px rgba(0, 210, 122, 0.15);
}
.header-cta-download:hover {
    background: #00b96b;
    box-shadow: 0 6px 16px rgba(0, 210, 122, 0.25);
    color: #ffffff;
}
.header-cta-join {
    background: #1a73e8;
    color: #ffffff;
    border: 1px solid #1557b0;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15);
}
.header-cta-join:hover {
    background: #1557b0;
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.25);
    color: #ffffff;
}

/* Search Box Light Adjustments */
.search-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.search-box:focus-within {
    border-color: #00d27a;
    box-shadow: 0 0 20px rgba(0, 210, 122, 0.25);
}
.search-input {
    color: #1e293b;
}
.search-input::placeholder {
    color: #94a3b8;
}

/* Editor Cards Light Adjustments */
.editor-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.editor-card:hover {
    border-color: #00d27a;
    box-shadow: 0 10px 30px rgba(0, 210, 122, 0.1);
}
.editor-card-logo {
    border: 1px solid #e2e8f0;
}
.editor-card-title {
    color: #1e293b;
}
.editor-card-pros-cons {
    background: #f8fafc;
    border: 1px solid #eef2f6;
}

/* Categories Section Light Adjustments */
.category-heading {
    border-bottom: 2px solid #e2e8f0;
}
.category-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.category-card-item:hover {
    background: #ffffff;
    border-color: #00d27a;
    box-shadow: 0 8px 25px rgba(0, 210, 122, 0.08);
}
.category-title-text {
    color: #1e293b;
}

/* Sidebar Rankings Light Adjustments */
.sidebar-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.sidebar-tabs {
    border-bottom: 1px solid #e2e8f0;
}
.tab-nav-btn.active {
    color: #00b96b;
    border-color: #00b96b;
}
.ranking-row-item {
    border-bottom: 1px solid #f1f5f9;
}
.ranking-app-name {
    color: #1e293b;
}
.ranking-number {
    color: #64748b;
}

/* FAQ elements Light Adjustments */
.faq-btn {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}
.faq-answer {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: none;
}
.faq-answer p {
    color: #475569;
}
.btn-outline {
    border: 2px solid #00d27a;
    color: #00d27a;
}
.btn-outline:hover {
    background: rgba(0, 210, 122, 0.08);
    color: #00b96b;
}

/* ============================================================
   Tight Spacing & Mobile Padding Optimizations
   ============================================================ */

/* Remove 100vh height from hero to collapse empty spaces */
body .hero {
    min-height: auto;
    height: auto;
}

/* Tighten global container paddings on desktop & mobile */
body .container {
    padding: 3rem 1.5rem;
}

/* Specific tight spacing for the Homepage sections */
.home .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Hero section spacing & sizing adjustments (Desktop) */
.home .hero.container {
    padding-top: 75px;       /* Reduced from 100px */
    padding-bottom: 0.75rem;  /* Reduced from 2rem */
}
.hero h1 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}
.urgency-badge {
    margin-bottom: 0.5rem;
    padding: 4px 12px;
    font-size: 0.8rem;
}
.security-bar {
    margin-top: 1rem;
    gap: 12px;
}
.security-badge-item {
    padding: 6px 12px;
    font-size: 0.82rem;
}

/* Mobile specific spacing cleanups */
@media (max-width: 768px) {
    .container {
        padding: 1.75rem 1rem;
    }
    .home .container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .home .hero.container {
        padding-top: 65px;      /* Reduced from 85px */
        padding-bottom: 0.5rem;  /* Reduced from 1.5rem */
    }
    .hero h1 {
        font-size: 1.25rem;
        margin-top: 0.25rem;
        margin-bottom: 0.4rem;
    }
    .hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 0.85rem;
        line-height: 1.4;
    }
    
    /* Security Bar mobile layout stacking & tightening */
    .security-bar {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-top: 0.75rem;
    }
    .security-badge-item {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        padding: 4px 10px;
        font-size: 0.78rem;
        margin: 0;
    }
    
    /* Grid spacing tightening on mobile */
    .editors-choice-grid {
        gap: 1.25rem;
        margin-top: 1.25rem;
    }
    .main-split-grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    .category-grid-cards {
        gap: 1rem;
    }
    .category-card-item {
        padding: 14px 16px;
    }
}

/* ============================================================
   Mobile Navigation Drawer Light Theme Overrides
   ============================================================ */
@media (max-width: 900px) {
    /* Drawer Background and Shadows */
    .primary-nav {
        background: #ffffff;
        border-left: 1px solid #e2e8f0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        padding-top: 3.25rem; /* Reduces top empty spacing from 5rem to 3.25rem */
    }
    
    /* Menu Links in Drawer */
    .primary-nav a {
        color: #1e293b;
        border-bottom: 1px solid #f1f5f9;
        font-weight: 600;
    }
    .primary-nav a:hover {
        color: #00b96b;
        background: #f8fafc;
    }
    
    /* Sub-menu inside Drawer */
    .primary-nav .sub-menu {
        background: #f8fafc;
        border-left: 3px solid #00d27a;
        border-bottom: none;
    }
    .primary-nav .sub-menu a {
        color: #475569;
        border-bottom: none;
    }
    .primary-nav .sub-menu a:hover {
        color: #00b96b;
        background: transparent;
    }
    
    /* Mobile Toggle Bars (Hamburger) */
    .nav-toggle-bar {
        background: #1e293b; /* dark slate for visibility */
    }
    
    /* Active Cross (X) Close Icon in Drawer */
    .nav-toggle.active .nav-toggle-bar {
        background: #00b96b; /* green close cross */
    }
    
    /* Drawer Overlay Background */
    .nav-overlay {
        background: rgba(15, 23, 42, 0.4); /* Slate overlay */
        backdrop-filter: blur(4px);
    }
}

/* Tighten navigation spacing on medium-sized screens to prevent wrapping */
@media (min-width: 901px) and (max-width: 1150px) {
    .header-main-inner {
        gap: 16px;
    }
}

/* Custom Match Grids and Cards for Category Pages */
.come-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.come-match-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.come-match-card:hover {
    transform: translateY(-4px);
    border-color: #00d27a;
    box-shadow: 0 8px 25px rgba(0, 210, 122, 0.08);
}
.come-match-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.come-match-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: var(--text-muted);
}






