:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --accent-gold: #ffb703;
    --accent-orange: #fb8500;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --font-heading: 'Rajdhani', 'Exo 2', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

body.modal-open {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Scroll Offset for Fixed Navbar */
.feature-section,
.about-section,
.contact-section {
    scroll-margin-top: 120px;
}

#utilities {
    scroll-margin-top: 340px;
    /* Higher offset to include section header "OYUNUN KONTROLÜNÜ ELİNE AL" */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure features container stays standard */
.detailed-features .container {
    max-width: 1200px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 38px; /* Sleeker logo height */
    width: auto;
    object-fit: contain;
}

.highlight {
    color: var(--accent-gold);
}

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

.nav-menu-wrapper {
    margin-left: 50px; /* Comfortable, balanced gap from logo */
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.81rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.25px;
    white-space: nowrap;
}

.nav-highlight {
    color: #ff4d4d !important;
}

.text-red {
    color: #ff4d4d;
}

.nav-highlight:hover {
    color: #ff6b6b !important;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.6);
}

.nav-links a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.4);
}

.nav-separator {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 3px;
}

.nav-btn {
    border: 1px solid var(--accent-gold);
    padding: 0 12px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 4px;
    color: var(--accent-gold) !important;
    font-weight: 600;
    font-size: 0.80rem; /* Perfectly matched in visual scale and height with language selector */
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.1);
    white-space: nowrap;
}

.nav-btn:hover {
    background: var(--accent-gold);
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.4);
}

.demo-btn {
    border: 1px solid #cfd8dc !important;
    color: #cfd8dc !important;
    box-shadow: 0 0 10px rgba(207, 216, 220, 0.1) !important;
}

.demo-btn:hover {
    background: #cfd8dc !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(207, 216, 220, 0.3) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('assets/images/hero-bg0.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Hero bottom fade */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-video {
    width: 900px;
    height: auto;
    display: block;
    margin: -120px auto 10px auto;
    mix-blend-mode: screen;
}






.slogan {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* --- Top Announcement Ribbon --- */
.top-announcement-bar {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 56, 56, 0.12) 0%, rgba(12, 12, 12, 0.96) 20%, rgba(12, 12, 12, 0.96) 80%, rgba(255, 183, 3, 0.12) 100%);
    border-bottom: 1px solid rgba(255, 77, 77, 0.22);
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.top-announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 77, 0.16), rgba(255, 255, 255, 0.12), transparent);
    animation: topBarShine 4.5s infinite ease-in-out;
}

@keyframes topBarShine {
    0% { left: -100%; }
    32% { left: 200%; }
    100% { left: 200%; }
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    height: 100%;
    padding: 0 14px;
    position: relative;
    z-index: 2;
}

.announcement-pulse-dot {
    width: 5px;
    height: 5px;
    background-color: #ff3838;
    border-radius: 50%;
    box-shadow: 0 0 7px #ff3838;
    animation: pillDotPulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes pillDotPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.7);
    }
    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 6px rgba(255, 56, 56, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0);
    }
}

.announcement-tag {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.14);
    border: 1px solid rgba(255, 77, 77, 0.35);
    padding: 0 5px;
    line-height: 15px;
    border-radius: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.announcement-divider {
    width: 1px;
    height: 9px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.announcement-text-wrapper {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    vertical-align: middle;
    padding-left: 4px; /* Clean spacing so first character never touches the divider */
    direction: ltr !important;
}

.announcement-text-wrapper.has-overflow {
    /* Only fade out the right edge under the arrow - left side stays 100% crisp and unblurred */
    mask-image: linear-gradient(to right, black 0%, black calc(100% - 14px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 14px), transparent 100%);
}

.announcement-text {
    font-size: 0.70rem;
    color: rgba(240, 240, 240, 0.9);
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.25s ease;
    white-space: nowrap;
    display: inline-block;
    will-change: transform, opacity;
}

/* One-Way Loop Marquee Ticker (Glides left, pauses at end, resets to start without reverse scrolling) */
@keyframes announcementMarquee {
    0%, 25% {
        transform: translateX(0);
        opacity: 1;
    }
    68%, 86% {
        transform: translateX(var(--marquee-dist, 0px));
        opacity: 1;
    }
    91% {
        transform: translateX(var(--marquee-dist, 0px));
        opacity: 0;
    }
    93% {
        transform: translateX(0);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.announcement-text.marquee-active {
    animation: announcementMarquee var(--marquee-duration, 8.5s) ease-in-out infinite;
}

.announcement-link:hover .announcement-text.marquee-active,
.announcement-link:active .announcement-text.marquee-active {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .announcement-text.marquee-active {
        animation: none !important;
    }
}

.announcement-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent-gold);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.announcement-arrow svg {
    width: 10px;
    height: 10px;
}

.announcement-link:hover .announcement-text {
    color: #ffffff;
}

.announcement-link:hover .announcement-tag {
    border-color: rgba(255, 77, 77, 0.65);
    background: rgba(255, 77, 77, 0.25);
    color: #ff6b6b;
}

.announcement-link:hover .announcement-arrow {
    transform: translateX(3px);
    color: #ffb703;
}

@media (max-width: 900px) {
    .announcement-text-wrapper {
        max-width: calc(100vw - 165px);
    }
    .announcement-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 600px) {
    .top-announcement-bar {
        height: 22px;
    }
    .announcement-link {
        gap: 5px;
        padding: 0 8px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .announcement-tag {
        font-size: 0.55rem;
        padding: 0 4px;
        line-height: 13px;
    }
    .announcement-text-wrapper {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100vw - 145px);
    }
    .announcement-text {
        font-size: 0.61rem;
    }
}

.sub-description {
    margin-bottom: 30px;
    font-size: 1rem;
}

/* --- Performance Highlight Bar --- */
.performance-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 5px auto 25px auto;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.performance-bar:hover {
    border-color: rgba(255, 183, 3, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3),
                0 0 15px rgba(255, 183, 3, 0.1),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.perf-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.perf-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 4px currentColor);
}

.perf-item:nth-child(1) .perf-icon {
    color: var(--accent-gold);
}

.perf-item:nth-child(3) .perf-icon {
    color: #fb8500; /* accent orange */
}

.perf-item:nth-child(5) .perf-icon {
    color: #2ecc71; /* safety green */
}

.perf-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-white);
}

.perf-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

/* Specific styling overrides for languages with long translations to prevent desktop overlap */
html[lang="ru"] .perf-label,
html[lang="ua"] .perf-label,
html[lang="th"] .perf-label,
html[lang="hu"] .perf-label,
html[lang="fi"] .perf-label,
html[lang="br"] .perf-label,
html[lang="pl"] .perf-label,
html[lang="gr"] .perf-label {
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

html[lang="ru"] .performance-bar,
html[lang="ua"] .performance-bar,
html[lang="th"] .performance-bar,
html[lang="hu"] .performance-bar,
html[lang="fi"] .performance-bar,
html[lang="br"] .performance-bar,
html[lang="pl"] .performance-bar,
html[lang="gr"] .performance-bar {
    gap: 13px;
    padding: 9px 20px;
}

/* Specific styling overrides for Russian, Ukrainian, Spanish & Romanian navbar due to extra-long action/nav strings (Desktop Only) */
@media (min-width: 1401px) {
    html[lang="ru"] .nav-btn,
    html[lang="ua"] .nav-btn,
    html[lang="es"] .nav-btn,
    html[lang="ro"] .nav-btn {
        font-size: 0.63rem !important;
        padding: 0 7px !important;
        height: 30px !important;
        letter-spacing: 0.1px !important;
    }

    html[lang="ru"] .dropdown-selected,
    html[lang="ua"] .dropdown-selected,
    html[lang="es"] .dropdown-selected,
    html[lang="ro"] .dropdown-selected {
        height: 30px !important;
        padding: 0 7px !important;
        font-size: 0.78rem !important;
    }

    html[lang="ru"] .nav-actions,
    html[lang="ua"] .nav-actions,
    html[lang="es"] .nav-actions,
    html[lang="ro"] .nav-actions {
        gap: 6px !important;
    }

    html[lang="ru"] .nav-links a,
    html[lang="ua"] .nav-links a,
    html[lang="es"] .nav-links a,
    html[lang="ro"] .nav-links a {
        font-size: 0.78rem !important;
        letter-spacing: 0.15px !important;
    }

    html[lang="ru"] .nav-links,
    html[lang="ua"] .nav-links,
    html[lang="es"] .nav-links,
    html[lang="ro"] .nav-links {
        gap: 7.5px !important;
    }

    html[lang="ru"] .nav-menu-wrapper,
    html[lang="ua"] .nav-menu-wrapper,
    html[lang="es"] .nav-menu-wrapper,
    html[lang="ro"] .nav-menu-wrapper {
        margin-left: 38px !important;
    }
}

/* Responsiveness for mobile screen sizing of the performance bar */
@media (max-width: 768px) {
    .performance-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        border-radius: 14px !important;
        padding: 10px 15px !important;
        width: 85% !important;
        max-width: 270px !important;
        margin: 5px auto 20px auto !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                    inset 0 1px 0 0 rgba(255, 255, 255, 0.02) !important;
    }
    
    .perf-item {
        gap: 8px !important;
    }

    .perf-label {
        font-size: 0.78rem !important;
        letter-spacing: 0.5px !important;
    }

    .perf-icon {
        font-size: 1rem !important;
    }

    .perf-divider {
        display: none !important;
    }
}


/* --- Mobile Responsiveness (Tablets & Phones) --- */
.mobile-menu-actions {
    display: none;
}

.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 15px;
}

@media (max-width: 1400px) {
    .hero {
        height: auto !important;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    .nav-container {
        justify-content: space-between;
        padding-right: 8px !important; /* Push elements closer to the right edge of the viewport */
    }

    .logo img {
        height: 40px;
    }

    /* --- Right Side Group (Globe + Toggle) --- */
    .nav-right-side {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important;
        justify-content: flex-end !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 8px !important;
        color: white !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
        box-sizing: border-box !important;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:active {
        border-color: var(--accent-gold) !important;
        background: rgba(255, 183, 3, 0.12) !important;
        color: var(--accent-gold) !important;
    }

    .mobile-menu-btn svg {
        width: 20px !important;
        height: 20px !important;
        display: block !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    /* Hide top bar buy & demo buttons on mobile header - they are cleanly placed inside the drawer */
    .nav-actions .demo-btn,
    .nav-actions .buy-btn {
        display: none !important;
    }

    /* Language icon wrapper */
    .lang-item {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
    }

    .nav-actions .custom-dropdown,
    .custom-dropdown {
        min-width: unset !important;
        width: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .lang-item select {
        width: 100%;
        height: 100%;
        opacity: 0;
        position: absolute;
        left: 0;
        top: 0;
        cursor: pointer;
    }

    /* --- Collapsible Menu Drawer --- */
    .nav-menu-wrapper {
        display: none;
        position: fixed !important;
        top: 68px !important;
        right: 0 !important;
        left: auto !important;
        width: 265px !important;
        max-width: calc(100vw - 30px) !important;
        height: calc(100vh - 68px) !important;
        max-height: calc(100vh - 68px) !important;
        background: rgba(10, 10, 10, 0.96) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-left: 1px solid rgba(255, 183, 3, 0.25) !important;
        border-radius: 0 0 0 16px !important;
        box-shadow: -15px 10px 40px rgba(0, 0, 0, 0.75) !important;
        padding: 20px 16px 35px 16px !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        z-index: 99999 !important;
    }

    .nav-menu-wrapper.active {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Mobile Menu Action Buttons (Buy & Demo) */
    .mobile-menu-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        margin-bottom: 14px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
        width: 100% !important;
    }

    .mobile-nav-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        width: 100% !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        font-family: var(--font-heading) !important;
        font-size: 0.80rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        transition: all 0.25s ease !important;
        min-height: 35px !important;
    }

    .mobile-nav-btn svg {
        width: 14px !important;
        height: 14px !important;
        flex-shrink: 0 !important;
    }

    .mobile-buy-btn {
        background: linear-gradient(135deg, #ffb703, #fb8500) !important;
        color: #000 !important;
        box-shadow: 0 2px 10px rgba(251, 133, 0, 0.22) !important;
        border: none !important;
        text-transform: uppercase !important;
    }

    .mobile-buy-btn:active {
        transform: scale(0.98) !important;
        box-shadow: 0 1px 6px rgba(251, 133, 0, 0.4) !important;
    }

    .mobile-demo-btn {
        background: rgba(255, 255, 255, 0.05) !important;
        color: #e0e0e0 !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .mobile-demo-btn:active {
        background: rgba(255, 255, 255, 0.10) !important;
        border-color: var(--accent-gold) !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        gap: 2px !important;
    }

    .nav-links li {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-links a {
        display: block !important;
        width: 100% !important;
        padding: 8px 12px !important;
        font-size: 0.92rem !important;
        text-align: left !important;
        color: #d1d5db !important;
        border-radius: 6px !important;
        transition: all 0.2s ease !important;
        box-sizing: border-box !important;
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: var(--accent-gold) !important;
        background: rgba(255, 183, 3, 0.08) !important;
        padding-left: 16px !important;
    }

    .nav-links a.nav-highlight {
        color: var(--accent-gold) !important;
        font-weight: 700 !important;
    }

    .nav-separator {
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: none !important;
        margin: 8px 0 !important;
        padding: 0 !important;
    }

    /* Feature Stacking */
    .feature-split-layout,
    .feature-split-layout.reverse {
        flex-direction: column !important;
        height: auto;
    }

    .feature-panel-split {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .feature-video-outside {
        width: 100%;
        height: 300px;
        position: relative;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-video {
        width: auto;
        height: auto;
        max-width: 100%;
        /* Fixes Black Void (Overflow) */
        max-height: 35vh;
        /* Fixes Overlap (Too Tall) */
        margin-top: 0;
        margin-bottom: -20px;
        /* Safe spacing */
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-section,
    .about-section,
    .contact-section {
        scroll-margin-top: 80px;
    }
}

/* Default Buy Button Styles (Desktop) */
.btn-icon {
    display: none;
}

.nav-right-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    color: var(--text-white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.slogan {
    font-family: 'Consolas', monospace;
    font-size: 1.5rem;
    color: #C8C8C8;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.pro-text {
    color: var(--accent-gold);
    font-weight: 800;
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
}

.slogan .pro-text {
    font-style: italic;
}

.sub-description {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Premium CTA Button (Replaces Steam Button) */
.steam-btn,
.premium-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(5, 5, 5, 0.95) 100%);
    color: var(--text-white);
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 183, 3, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.steam-btn::before,
.premium-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 183, 3, 0.2), transparent);
    transition: 0.6s;
}

.steam-btn:hover::before,
.premium-cta-btn:hover::before {
    left: 100%;
}

.steam-btn:hover,
.premium-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    box-shadow: 0 15px 35px rgba(255, 183, 3, 0.25), inset 0 0 20px rgba(255, 183, 3, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.steam-icon,
.cta-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.steam-btn:hover .steam-icon,
.premium-cta-btn:hover .cta-icon {
    transform: scale(1.1);
}

.large {
    font-size: 1.3rem;
    padding: 22px 60px;
}

/* Floating Campaign Sticker / Badge */
.campaign-sticker-wrapper {
    position: absolute;
    top: calc(50% - 230px); /* Shifted up for better visual balance on 2k screens */
    /* Automated math-based placement, stops at 20px from edge to prevent layout overflow */
    right: max(20px, calc(50vw - 880px));
    z-index: 50;
    animation: floatSticker 12s ease-in-out infinite;
    pointer-events: auto;
}

@keyframes floatSticker {
    0%, 100% {
        transform: translateY(-50%) rotate(-1deg);
    }
    50% {
        transform: translateY(calc(-50% - 5px)) rotate(0.5deg);
    }
}

.campaign-sticker {
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 183, 3, 0.4);
    border-radius: 16px;
    padding: 20px 25px;
    width: 360px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 183, 3, 0.15);
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: all 0.3s ease;
}

.campaign-sticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
}

.campaign-sticker:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 183, 3, 0.25);
    border-color: var(--accent-gold);
}

.discount-ribbon {
    position: absolute;
    top: 22px;
    right: -35px;
    background: #ff4d4d;
    color: #fff;
    padding: 6px 40px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
    z-index: 5;
    text-align: center;
}


.sticker-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-right: 55px; /* Prevent text from going under the ribbon */
}

.sticker-pulse {
    width: 10px;
    height: 10px;
    background-color: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff4d4d;
    animation: pulseRed 3s infinite;
}

@keyframes pulseRed {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.sticker-tag {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff4d4d;
    letter-spacing: 1.5px;
}

.sticker-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 8px;
}

.sticker-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.4;
}

.sticker-pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 2px solid var(--accent-gold);
}

.pricing-amounts {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.onetime-badge {
    font-size: 0.75rem;
    color: rgba(255, 183, 3, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.sticker-old-price {
    font-size: 1.15rem;
    color: #999;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.sticker-old-price::after {
    content: '';
    position: absolute;
    right: -10%;
    top: 20%; /* Moved higher */
    width: 0%;
    height: 2px;
    background-color: #ff4d4d;
    transform-origin: right center;
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.5);
    animation: strikeAnim 2s infinite;
    transform: rotate(-15deg);
}

@keyframes strikeAnim {
    0% {
        width: 0%;
        opacity: 1;
    }
    20% {
        width: 120%;
        opacity: 1;
    }
    70% {
        width: 120%;
        opacity: 1;
    }
    90% {
        width: 120%;
        opacity: 0;
    }
    100% {
        width: 0%;
        opacity: 0;
    }
}



.sticker-new-price {
    font-size: 1.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-gold);
    transition: all 0.3s ease;
    display: inline-block;
}

.campaign-sticker:hover .sticker-new-price {
    animation: priceGlow 1s infinite alternate;
    transform: scale(1.05);
}

@keyframes priceGlow {
    from {
        text-shadow: 0 0 5px rgba(255, 183, 3, 0.2);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 183, 3, 0.9), 0 0 25px rgba(255, 183, 3, 0.5);
    }
}

/* Responsive constraints for sticker */
@media (max-width: 1024px) {
    .campaign-sticker-wrapper {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto 0 auto;
        display: flex;
        justify-content: center;
        width: 100%;
        transform: none !important;
        animation: none !important;
    }
    .campaign-sticker {
        width: 100%;
        max-width: 350px;
    }
}

/* --- Hanging Pennants Container (Side by Side & Static) --- */
.pennants-container {
    position: absolute;
    top: 78px; /* Align exactly below the fixed navbar with top announcement ribbon */
    transform: none;
    /* Automated math-based placement, stops at 20px from edge to prevent layout overflow */
    left: max(20px, calc(50vw - 815px));
    display: flex;
    gap: 15px;
    align-items: flex-start;
    z-index: 50;
    pointer-events: auto;
}

/* Make both wrappers static, not floating */
.pennant-wrapper {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Hide ropes hanging from top anchor point */
.pennant-rope-left,
.pennant-rope-right {
    display: none !important;
}

/* Hide top hanging rod */
.pennant-rod {
    display: none !important;
}

.pennant-rod::before,
.pennant-rod::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, #888);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.pennant-rod::before { left: -5px; }
.pennant-rod::after { right: -5px; }

/* The Flag Body (Acts as the outer border wrapper) */
.pennant-flag {
    width: 140px;
    height: 355px;
    background: rgba(255, 183, 3, 0.75); /* Gold border color */
    /* Swallowtail V-cut shape using clip-path */
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 50% 100%, 0% 90%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    position: relative;
    margin-top: 0;
    transition: all 0.3s ease;
}

/* Flag inner content (clipped, inset to reveal the parent background as a border) */
.pennant-inner {
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    right: 1.5px;
    bottom: 2.2px; /* Slightly deeper bottom inset to compensate for V-cut slant */
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 50% 100%, 0% 90%);
    padding: 16px 8px 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.pennant-wrapper:hover .pennant-flag {
    background: var(--accent-gold); /* Make the border glow fully gold on hover */
    box-shadow: 0 20px 40px rgba(255, 183, 3, 0.2);
}

.pennant-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    height: 100%;
}

/* Custom Emblem at top */
.pennant-emblem {
    margin-top: 0;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex-shrink: 0;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.2);
}

.emblem-globe {
    width: 18px;
    height: 18px;
}

/* Typography styles inside Pennant */
.pennant-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
}

.pennant-badge-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    height: 16px;
    min-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pennant-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.3);
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pennant-sub-title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-white);
    text-transform: uppercase;
    height: 18px;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pennant-divider {
    width: 40px;
    height: 1px;
    min-height: 1px;
    flex-shrink: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 183, 3, 0.75), transparent);
    margin: 12px 0 14px 0;
}

.pennant-feature-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 14px;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Specific compact sizing for languages with very long feature phrases like Russian & Ukrainian */
html[lang="ru"] .main-pennant .pennant-feature-text,
html[lang="ua"] .main-pennant .pennant-feature-text {
    font-size: 0.62rem;
    line-height: 1.15;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}

/* Flag Grid inside Pennant (2x3 Grid) */
.pennant-flags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    justify-content: center;
    margin-bottom: 9px;
}

.grid-flag {
    width: 25px;
    height: 18px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-flag svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pennant-more-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 3px;
}

/* --- Secondary Smaller Pennant (Security & External-Safe) --- */
.security-pennant {
    width: 130px;
    margin-top: 0; /* Rods are now perfectly aligned at the top */
}

.security-pennant .pennant-rope-left {
    left: 12px;
}

.security-pennant .pennant-rope-right {
    right: 12px;
}

.security-pennant .pennant-rod {
    width: 150px;
}

.security-pennant .pennant-flag {
    width: 120px;
    height: 330px; /* Slightly lengthened green flag */
    background: rgba(46, 204, 113, 0.75); /* Green border color */
    border: none;
    padding: 0;
}

.security-pennant .pennant-inner {
    top: 1.5px;
    left: 1.5px;
    right: 1.5px;
    bottom: 2.2px; /* Slightly deeper bottom inset to compensate for V-cut slant */
    padding: 16px 6px 10px 6px; /* Match top padding of 16px to perfectly align emblems and subheaders */
}

.security-pennant:hover .pennant-flag {
    background: #2ecc71; /* Make the green border glow on hover */
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.2);
}

/* Security emblem in green */
.security-emblem {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

.emblem-shield {
    width: 18px;
    height: 18px;
}

.security-badge-text {
    color: rgba(46, 204, 113, 0.8) !important;
    white-space: nowrap;
    overflow: hidden;
    height: 16px;
    min-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.security-main-title {
    color: #2ecc71 !important;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.3) !important;
    font-size: 2.2rem !important;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-divider {
    width: 40px;
    height: 1px;
    min-height: 1px;
    flex-shrink: 0;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.75), transparent) !important;
    margin: 12px 0 14px 0 !important;
}

/* Security items list styling */
.pennant-security-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 5px;
    align-items: center;
}

.sec-item {
    display: flex;
    align-items: flex-start; /* Align checkmark to the top of wrapped text */
    gap: 5px;
    text-align: left;
    width: 100%;
    padding: 0 2px;
}

.sec-item span {
    font-family: var(--font-heading);
    font-size: 0.58rem; /* Elegantly sized for multiline wrapping */
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    white-space: normal; /* Allow wrapping */
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.check-icon-green {
    width: 12px;
    height: 12px;
    color: #2ecc71;
    flex-shrink: 0;
    margin-top: 1px; /* Align with first line of text */
}

/* Responsive constraints for Staggered Pennants */
@media (max-width: 1024px) {
    .pennants-container {
        position: relative;
        top: auto;
        left: auto;
        margin: 30px auto 0 auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 20px;
        transform: none !important;
    }
    
    .security-pennant {
        margin-top: 0; /* Keep them aligned on mobile */
    }
}

/* Responsive adjustment for 1080p or shorter screens (Moved here to override global styles correctly) */
@media (max-height: 1150px) {
    .hero-video {
        width: auto;
        height: 40vh;
        margin-top: 10vh;
        margin-bottom: -4vh;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 10px;
    }

    .navbar {
        padding: 0;
    }

    .pennants-container {
        top: 68px; /* Align exactly below navbar with top announcement ribbon */
        transform: none;
        left: max(20px, calc(50vw - 715px));
    }

    .campaign-sticker-wrapper {
        top: calc(50% - 50px);
        right: max(20px, calc(50vw - 780px));
    }

    .logo img {
        height: 32px; /* Sleeker logo height on 1080p */
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .nav-btn {
        padding: 4px 10px; /* Sleeker buttons on 1080p */
        font-size: 0.75rem;
    }

    .dropdown-selected {
        padding: 4px 8px; /* Sleeker dropdown on 1080p */
        font-size: 0.8rem;
    }
}

/* Features Overview */
.features {
    padding: 120px 0;
    background: transparent;
    /* Rely on body bg */
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* Detailed Features - Geometric & Ambient */
.detailed-features {
    padding: 0;
    /* Premium 3D Tech Background */
    background:
        linear-gradient(to bottom, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)),
        url('assets/images/bg_pattern_v2.png') !important;
    background-size: cover !important;
    /* Spread single image */
    background-repeat: no-repeat !important;
    /* No Tiling ("Uc uca ekleme yok") */
    background-attachment: fixed !important;
    /* Parallax */
    background-position: center !important;

    position: relative;
    overflow: hidden;
}

.section-header {
    padding: 100px 0 50px;
    text-align: center;
}

.feature-section {
    padding: 80px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
}

/* Video Enhanced 3-Column Layout */
.feature-section.video-enhanced .feature-row.three-col {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    /* Image - Text - Video */
    gap: 30px;
    align-items: center;
}

.visual-column,
.video-column,
.text-column {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-column .glass-panel {
    width: 100%;
    border-left: 2px solid var(--accent-gold);
    /* Simplify text borders */
    border-right: none;
    border-top: none;
    border-bottom: none;
    background: rgba(10, 10, 10, 0.3);
    /* Lighter bg for middle col */
}

/* Ambient Video Style (Embedded, No Border) */
.ambient-video-wrapper {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    /* No border, No shadow */
}

.ambient-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    /* "Silik" appearance */
    filter: grayscale(80%) contrast(1.1);
    transform: scale(1.1);
    /* Slight zoom for background feel */
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.ambient-video-wrapper .ambient-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 50px var(--secondary-bg);
    pointer-events: none;
}

/* Ambient Placeholder */
.video-placeholder.ambient-style {
    border: none;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.05) 0%, transparent 70%);
}

.video-placeholder.ambient-style .placeholder-content {
    opacity: 0.5;
}

/* Detailed Features */
.detailed-features {
    padding: 40px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.section-header {
    padding: 60px 0 20px;
    text-align: center;
}

.feature-section {
    padding: 60px 0;
    position: relative;
    border-bottom: none;

    /* STATIC OUTER RAILS (Buffered Beams) */
    background-image:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent),
        /* Top Rail */
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    /* Bottom Rail */
    background-size: 100% 1px, 100% 1px;
    /* Full width thin lines */
    background-position: center bottom 6px, center bottom 0px;
    /* Framing the beams at 6px and 0px */
    background-repeat: no-repeat;
}

/* Animated Gold Ribbon Separator */
/* Feature Video Styling */
.feature-video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.feature-image img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.container.feature-container-crosshair {
    max-width: 1600px;
    width: 100%;
    padding: 0 20px;
}

/* =========================================
   GENERIC SPLIT LAYOUT (Zig-Zag Pattern) 
   ========================================= */

/* Main Container for Split Sections */
.feature-split-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
}

/* ... (Rest of styling remains same, just ensuring context match) */
.feature-split-layout.reverse {
    flex-direction: row-reverse;
}

/* Skip unchanged lines for brevity in replacement chunk context matching if possible, but replace_file_content needs contiguous block. 
   Wait, I need to update the BEAMS too which are way down in the file.
   I should use multi_replace.
*/

/* Glass Panel (Content Side) */
.glass-panel.feature-panel-split {
    flex: 1.5;
    /* Give more weight to the panel */
    max-width: 70%;
    /* Increased from 65% */
    padding: 50px;
    /* Reduced from 60px for compactness */
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Reduced from 30px */
    position: relative;
    z-index: 2;
    /* Ensure panel is above the circuit line */
}

/* =========================================
   CIRCUIT CONNECTOR (High-Complexity Network)
   ========================================= */
.feature-split-layout {
    position: relative;
    /* Anchor for the circuit line */
}

.feature-split-layout::before {
    content: '';
    position: absolute;
    top: -30%;
    /* Start much higher to cover more area */
    left: -10%;
    /* Extend left */
    width: 120%;
    /* Wider than container */
    height: 160%;
    /* Taller */
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;

    /* High-Complexity Circuit SVG:
       Mimics a motherboard trace network.
       Gold color scheme (#ffb703).
       
       UPDATE: Removed top-most short trace (Line 1) per user request.
    */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' fill='none'%3E%3Cdefs%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='2' result='coloredBlur'/%3E%3CfeMerge%3E%3CfeMergeNode in='coloredBlur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3C!-- BACKGROUND DECORATION --%3E%3Cpath d='M100,550 L150,550 L150,100 L200,50' stroke='%23ffb703' stroke-width='1' opacity='0.1'/%3E%3Cpath d='M900,550 L850,550 L850,100 L800,50' stroke='%23ffb703' stroke-width='1' opacity='0.1'/%3E%3C!-- MAIN VERTICAL BUS (4 Parallel Lines now) --%3E%3C!-- Line 2 (Left - Ends with Down Triangle) --%3E%3Cpath d='M220,550 L220,220 L280,160 L600,160' stroke='%23ffb703' stroke-width='1.5' opacity='0.6'/%3E%3C!-- Line 3 (Center - With Red Triangle) --%3E%3Cpath d='M250,550 L250,200 L300,150 L700,150 L750,200 L750,300' stroke='%23ffb703' stroke-width='2' opacity='0.8' filter='url(%23glow)'/%3E%3C!-- Line 4 (Right - Ends with Down Triangle) --%3E%3Cpath d='M280,550 L280,250 L350,180 L650,180 L720,250 L720,280' stroke='%23ffb703' stroke-width='1.5' opacity='0.6'/%3E%3C!-- Line 5 (Outer Right) --%3E%3Cpath d='M310,550 L310,280 L380,210 L680,210' stroke='%23ffb703' stroke-width='1' opacity='0.4'/%3E%3C!-- DECORATION NODES --%3E%3Ccircle cx='750' cy='300' r='6' fill='%23ffb703' filter='url(%23glow)'/%3E%3C!-- RED TRIANGLE ACCENTS --%3E%3Cpath d='M600,157 L600,163 L606,160 Z' fill='%23cc5555' stroke='%23cc5555' stroke-width='0.5' opacity='0.7'/%3E%3Cpath d='M747,300 L753,300 L750,306 Z' fill='%23cc5555' stroke='%23cc5555' stroke-width='0.5' opacity='0.7'/%3E%3Cpath d='M717,280 L723,280 L720,286 Z' fill='%23cc5555' stroke='%23cc5555' stroke-width='0.5' opacity='0.7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

/* Reverse Layout: Flip the circuit bus */
.feature-split-layout.reverse::before {
    transform: scaleX(-1);
}

/* Hide on mobile */
@media (max-width: 1200px) {
    .feature-split-layout::before {
        display: none;
    }
}

/* Video Side (Floating Outside) */
.feature-video-outside {
    flex: 1;
    display: flex;
    /* Alignment depends on standard/reverse, handled by separate rules or auto margins? */
    /* Better: Use flex alignment on the container items */
    justify-content: center;
    align-items: center;
}

/* Adjust Video Alignment based on layout */
.feature-split-layout .feature-video-outside {
    justify-content: flex-end;
    /* Video on right */
    padding-left: 20px;
}

.feature-split-layout.reverse .feature-video-outside {
    justify-content: flex-start;
    /* Video on left */
    padding-left: 0;
    padding-right: 20px;
}

/* Common Content Styles inside Panel */
.feature-panel-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced from 30px - Tights up proper */
}

.feature-panel-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Reduced from 15px */
}

.feature-panel-title h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-white);
}

.feature-panel-image {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 5px;
    /* Reduced from 10px */
}

.feature-panel-image .feature-image {
    max-width: 650px;
    width: 100%;
}

.feature-panel-desc {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced from 20px */
    margin-top: 15px;
    /* Reduced from 20px */
}

.feature-panel-desc p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Video Wrapper Generic */
.video-position-wrapper {
    position: relative;
    width: 550px;
    /* Reduced from 650px as requested */
    height: auto;
    border-radius: 12px;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='%23ffb703' stroke='%23000' stroke-width='1'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 16 16, pointer;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.video-position-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 2px solid rgba(255, 183, 3, 0.25);
    box-sizing: border-box;
}

/* Video Placeholder Frame (For sections without video yet) */
.video-placeholder-frame {
    width: 550px;
    /* Matches video wrapper */
    height: 310px;
    /* Adjusted aspect ratio */
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.video-placeholder-frame:hover {
    border-color: rgba(255, 183, 3, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.video-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.3);
}

.video-placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

.video-placeholder-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sidebar-video-positioned {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;

    /* ENHANCED VISIBILITY: Permanent Glow & Border */
    box-shadow: 0 0 30px rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.2);

    transition: all 0.4s ease;
    opacity: 1;
    filter: none;
}

.sidebar-video-positioned:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(255, 183, 3, 0.4);
    border-color: rgba(255, 183, 3, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {

    .feature-split-layout,
    .feature-split-layout.reverse {
        flex-direction: column;
        gap: 60px;
    }

    .glass-panel.feature-panel-split {
        max-width: 100%;
        width: 100%;
    }

    .feature-split-layout .feature-video-outside,
    .feature-split-layout.reverse .feature-video-outside {
        padding: 0;
        justify-content: center;
    }

    .video-position-wrapper {
        width: 100%;
        max-width: 650px;
    }
}

/* Adjust internal spacing for the compact card */
.compact-card.feature-row {
    gap: 40px;
    padding: 50px;
}

/* Fix Image Size: Smaller as requested (420px) */
.compact-card .feature-image {
    flex: 0 0 420px;
    width: 420px;
    max-width: 100%;
}

.video-sidebar {
    /* Standard Width: Matches visual element proportion */
    flex: 0 0 500px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;

    /* Custom Gold Play Cursor */
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='%23ffb703' stroke='%23000' stroke-width='1'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 16 16, pointer;
}

.sidebar-video {
    width: 500px;
    /* Massive 1.5x Size */
    height: auto;
    /* max-height removed to prevent letterboxing */
    object-fit: cover;
    /* Fill the frame completely */
    border-radius: 12px;

    /* "Clean" Look - No Border, No Frame */
    /* ENHANCED VISIBILITY: Added permanent glow and removed dimming */
    box-shadow: 0 0 30px rgba(255, 183, 3, 0.15);
    /* Permanent subtle glow */
    border: 1px solid rgba(255, 183, 3, 0.2);
    /* Subtle gold frame */

    background: transparent;
    padding: 0;

    transition: all 0.4s ease;
    opacity: 1;
    /* Was 0.85 */
    /* Slight dim when idle */
    filter: none;
    /* Was grayscale(30%) */
}

/* When Hovering / Playing: purely optical emphasis */
.video-sidebar:hover .sidebar-video,
.sidebar-video.is-playing {
    transform: scale(1.02);
    /* Restore the "Good" Glow Effect - But NO sharp border "frame" */
    box-shadow: 0 0 60px rgba(255, 183, 3, 0.4);
    border-color: rgba(255, 183, 3, 0.5);
    /* Just the Gold Bloom */
}

/* Hint Overlay (Text + Icon) */
.video-hint-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through */
    transition: opacity 0.3s ease, transform 0.3s ease;

    background: rgba(0, 0, 0, 0.7);
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 183, 3, 0.3);
    backdrop-filter: blur(5px);
}

.play-icon {
    font-size: 24px;
    color: var(--accent-gold);
    animation: bounce-hint 2s infinite;
}

.video-hint-overlay span {
    color: #eee;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Hide Hint on Hover */
.video-position-wrapper:hover .video-hint-overlay {
    opacity: 0;
    transform: translate(-50%, -40%);
    /* Slide up slightly while fading */
}

@keyframes bounce-hint {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Responsive Crosshair */
@media (max-width: 1100px) {
    .feature-container-crosshair {
        flex-direction: column;
    }

    .sidebar-video {
        height: 300px;
        /* Limit height on mobile */
    }
}

.feature-content {
    flex: 1;
    position: relative;
}

.feature-row:last-child {
    margin-bottom: 0;
}

/* Animated Gold Ribbon Separator (OLD - PRESERVED) */
/*
.feature-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 80px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='gold-grad' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23333' stop-opacity='0'/%3E%3Cstop offset='20%25' stop-color='%23ffb703'/%3E%3Cstop offset='50%25' stop-color='%23fb8500'/%3E%3Cstop offset='80%25' stop-color='%23ffb703'/%3E%3Cstop offset='100%25' stop-color='%23333' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='2' result='coloredBlur'/%3E%3CfeMerge%3E%3CfeMergeNode in='coloredBlur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23glow)'%3E%3C!-- Main Dense Ribbon --%3E%3Cpath d='M0,40 C300,80 900,0 1200,40' stroke='url(%23gold-grad)' stroke-width='3' fill='none'/%3E%3Cpath d='M0,40 C300,0 900,80 1200,40' stroke='rgba(255,255,255,0.1)' stroke-width='2' fill='none'/%3E%3Cpath d='M0,45 C400,90 800,-10 1200,45' stroke='url(%23gold-grad)' stroke-width='1' fill='none' opacity='0.6'/%3E%3Cpath d='M0,35 C350,-5 850,85 1200,35' stroke='var(--accent-orange)' stroke-width='1' fill='none' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");

    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}
*/

/* NEW: Sleek Gradient Glow Separator (OLD - PRESERVED) */
/*
.feature-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 1px;
    
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 183, 3, 0.1) 15%, 
        var(--accent-gold) 50%, 
        rgba(255, 183, 3, 0.1) 85%, 
        transparent 100%
    );

    box-shadow: 
        0 1px 10px rgba(255, 183, 3, 0.3),
        0 0 20px rgba(251, 133, 0, 0.1);
    
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}
*/

/* 
   =========================================
   DOUBLE BEAM ANIMATED SEPARATOR 
   =========================================
*/

.feature-section::before,
.feature-section::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    /* Wide but not edge-to-edge */
    height: 1px;
    /* Thin, sleek lines */
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;

    /* Base subtle line */
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    /* Mask the beam */

    /* FADE EDGES: Soft transparency at start/end of the rail */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* TOP LINE: Left -> Right Beam */
.feature-section::before {
    bottom: 6px;
    /* Spacing */
    /* Animated Beam Gradient */
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 183, 3, 0) 40%,
            /* Start transparent */
            rgba(255, 183, 3, 0.8) 50%,
            /* Intense center beam */
            rgba(255, 255, 255, 0.9) 50.5%,
            /* White hot core */
            rgba(255, 183, 3, 0.8) 51%,
            /* Intense center beam */
            rgba(255, 183, 3, 0) 60%,
            /* Fade out */
            transparent 100%);
    background-size: 200% 100%;
    animation: beam-slide-right 4s linear infinite;
}

/* BOTTOM LINE: Right -> Left Beam */
.feature-section::after {
    bottom: 0;
    /* Similar gradient, maybe slightly orange-er for contrast? Keeping uniform for now. */
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 183, 3, 0) 40%,
            rgba(251, 133, 0, 0.8) 50%,
            /* Slightly more orange */
            rgba(255, 255, 255, 0.9) 50.5%,
            rgba(251, 133, 0, 0.8) 51%,
            rgba(255, 183, 3, 0) 60%,
            transparent 100%);
    background-size: 200% 100%;
    animation: beam-slide-left 4s linear infinite;
}

/* Keyframes for Continuous Flow */
@keyframes beam-slide-right {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@keyframes beam-slide-left {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

/* Glass Panels (Premium Unified Card) */
.glass-panel {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 60px;
    /* Internal spacing for the whole card */
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* No hover transform on the container itself */
}

/* Flex layout happens strictly inside the unified card now */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Spacing between text and image INSIDE the card */
    margin-bottom: 120px;
    position: relative;
    z-index: 2;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

/* 
   =========================================
   DOUBLE BEAM ANIMATED SEPARATOR 
   =========================================
*/

.feature-section::before,
.feature-section::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    /* Wide but not edge-to-edge */
    height: 1px;
    /* Thin, sleek lines */
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;

    /* Base subtle line */
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    /* Mask the beam */
}

/* TOP LINE: Left -> Right Beam */
.feature-section::before {
    bottom: 6px;
    /* Spacing */
    /* Animated Beam Gradient */
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 183, 3, 0) 40%,
            /* Start transparent */
            rgba(255, 183, 3, 0.8) 50%,
            /* Intense center beam */
            rgba(255, 255, 255, 0.9) 50.5%,
            /* White hot core */
            rgba(255, 183, 3, 0.8) 51%,
            /* Intense center beam */
            rgba(255, 183, 3, 0) 60%,
            /* Fade out */
            transparent 100%);
    background-size: 200% 100%;
    animation: beam-slide-right 4s linear infinite;
}

/* BOTTOM LINE: Right -> Left Beam */
.feature-section::after {
    bottom: 0;
    /* Similar gradient, maybe slightly orange-er for contrast? Keeping uniform for now. */
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 183, 3, 0) 40%,
            rgba(251, 133, 0, 0.8) 50%,
            /* Slightly more orange */
            rgba(255, 255, 255, 0.9) 50.5%,
            rgba(251, 133, 0, 0.8) 51%,
            rgba(255, 183, 3, 0) 60%,
            transparent 100%);
    background-size: 200% 100%;
    animation: beam-slide-left 4s linear infinite;
}

/* Keyframes for Continuous Flow */
@keyframes beam-slide-right {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@keyframes beam-slide-left {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.floating-ui-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    z-index: 2;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Video Styles */
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    pointer-events: none;
}


.feature-image {
    flex: 1;
    position: relative;
}

/* Collage Styles */
.collage-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.collage-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    /* Reduced from 400px for compactness */
    display: flex;
    justify-content: center;
    align-items: center;
}

.collage-img {
    position: absolute;
    width: 60%;
    /* Each image takes up part of the width */
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 183, 3, 0.2);
    transition: all 0.4s ease;
}

/* Collage - Utilities (Existing) */
.collage-img.img-1 {
    transform: translateX(-40%) scale(0.85) translateY(15px);
    z-index: 1;
    opacity: 0.7;
}

.collage-img.img-2 {
    transform: translateX(-15%) scale(0.90) translateY(5px);
    z-index: 2;
    opacity: 0.85;
}

.collage-img.img-3 {
    transform: translateX(10%) scale(0.95) translateY(-5px);
    z-index: 3;
    opacity: 0.95;
}

.collage-img.img-4 {
    transform: translateX(35%) scale(1.0) translateY(-15px);
    z-index: 4;
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Collage - Smart Tuner */
.tuner-collage .collage-img.tuner-1 {
    width: 70%;
    transform: translateX(-15%) scale(1);
    z-index: 2;
    border-color: var(--accent-gold);
}

.tuner-collage .collage-img.tuner-2 {
    width: 60%;
    transform: translateX(25%) translateY(20%) scale(0.9);
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Collage - Pro Player DB */
.pro-collage .collage-img.pro-1 {
    width: 55%;
    transform: translateX(-40%);
    z-index: 1;
    opacity: 0.9;
}

.pro-collage .collage-img.pro-2 {
    width: 45%;
    transform: translateX(40%) translateY(-35%);
    z-index: 2;
    border-color: #fb8500;
}

.pro-collage .collage-img.pro-3 {
    width: 45%;
    transform: translateX(40%) translateY(35%);
    z-index: 3;
    border-color: var(--accent-gold);
}

/* Collage Hover Effects - Trigger on Panel Hover for better UX */

/* Utility Collage Hover */
.glass-panel:hover .collage-wrapper .collage-img.img-1,
.collage-container:hover .collage-wrapper .collage-img.img-1 {
    transform: translateX(-50%) scale(0.9) translateY(10px) rotate(-8deg);
    opacity: 1;
    z-index: 2;
}

.glass-panel:hover .collage-wrapper .collage-img.img-2,
.collage-container:hover .collage-wrapper .collage-img.img-2 {
    transform: translateX(-20%) scale(0.95) translateY(-10px) rotate(-4deg);
    opacity: 1;
    z-index: 3;
}

.glass-panel:hover .collage-wrapper .collage-img.img-3,
.collage-container:hover .collage-wrapper .collage-img.img-3 {
    transform: translateX(10%) scale(1.0) translateY(-15px) rotate(4deg);
    opacity: 1;
    z-index: 4;
}

.glass-panel:hover .collage-wrapper .collage-img.img-4,
.collage-container:hover .collage-wrapper .collage-img.img-4 {
    transform: translateX(40%) scale(0.95) translateY(10px) rotate(8deg);
    opacity: 1;
    z-index: 5;
}

/* Smart Tuner Collage Hover */
.glass-panel:hover .tuner-collage .collage-img.tuner-1,
.collage-container:hover .tuner-collage .collage-img.tuner-1 {
    transform: translateX(-20%) scale(1.02);
}

.glass-panel:hover .tuner-collage .collage-img.tuner-2,
.collage-container:hover .tuner-collage .collage-img.tuner-2 {
    transform: translateX(30%) translateY(20%) scale(0.95) rotate(-3deg);
    z-index: 4;
}

/* Pro Player Collage Hover */
.glass-panel:hover .pro-collage .collage-img.pro-1,
.collage-container:hover .pro-collage .collage-img.pro-1 {
    transform: translateX(-30%) scale(1.05);
    opacity: 1;
    z-index: 4;
}

.glass-panel:hover .pro-collage .collage-img.pro-2,
.collage-container:hover .pro-collage .collage-img.pro-2 {
    transform: translateX(35%) translateY(-35%) rotate(5deg);
}

.glass-panel:hover .pro-collage .collage-img.pro-3,
.collage-container:hover .pro-collage .collage-img.pro-3 {
    transform: translateX(35%) translateY(35%) rotate(-5deg);
}

/* Common feature image style override for regular images */
.feature-image img:not(.collage-img) {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature-image:hover img:not(.collage-img) {
    transform: scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(255, 183, 3, 0.2);
}

/* Force override for legacy styles inside panel */
.feature-panel-desc p.feature-desc,
.feature-panel-title h3 {
    margin: 0 !important;
}

.feature-panel-desc .feature-list {
    margin-top: 10px;
    margin-bottom: 0;
}

.feature-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #ddd;
}

.feature-list li::before {
    content: "►";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Responsive Features */
@media (max-width: 968px) {
    .timeline-line {
        display: none;
    }

    .feature-content::before,
    .feature-content::after {
        display: none;
    }

    .feature-row {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        margin-bottom: 80px;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }
}

/* Gallery */
.gallery {
    padding: 100px 0;
    background: var(--primary-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(to right, #0F0F0F, #141414);
    border-top: 1px solid #222;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.contact-text {
    flex: 1;
    min-width: 300px;
}

/* --- Contact Direct Support & Social Channels Card --- */
.contact-direct-support {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #aaa;
}

.contact-social-card {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-social-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contact-social-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 100%;
}

@media (max-width: 650px) {
    .contact-social-items {
        grid-template-columns: 1fr;
    }
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-social-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 183, 3, 0.35);
    transform: translateY(-2px);
}

.social-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #888;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.contact-social-link:hover .social-icon-wrapper.discord {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.3);
}

.contact-social-link:hover .social-icon-wrapper.x-corp {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.contact-social-link:hover .social-icon-wrapper.instagram {
    background: rgba(225, 48, 108, 0.15);
    color: #E1306C;
    box-shadow: 0 0 12px rgba(225, 48, 108, 0.3);
}

.social-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.social-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.social-handle {
    font-size: 0.74rem;
    color: #777;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.contact-social-link:hover .social-handle {
    color: #bbb;
}

.social-arrow {
    display: none;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #111;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-family: var(--font-body);
    transition: 0.3s;
    resize: none;
    /* Disable manual resize handle */
}

/* Custom dropdown arrow for select */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    /* Moved arrow to 15px from right */
    background-size: 16px;
    padding-right: 45px;
    /* Space for the arrow */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-gold);
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #e6a503;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/footer-bg.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0 40px;
    text-align: center;
}

.footer h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* --- Footer Social Bar (Subdued / Minimalist Micro-Icons) --- */
.footer-social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px auto 18px auto;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #555;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-btn svg {
    width: 13px;
    height: 13px;
    transition: transform 0.25s ease;
}

.footer-social-btn:hover {
    transform: translateY(-2px);
}

.footer-social-btn.discord:hover {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.45);
    background: rgba(88, 101, 242, 0.12);
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
}

.footer-social-btn.x-twitter:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.footer-social-btn.instagram:hover {
    color: #E1306C;
    border-color: rgba(225, 48, 108, 0.45);
    background: rgba(225, 48, 108, 0.12);
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.3);
}

.copyright {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

/* --- Footer Legal Links --- */
.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.footer-legal-links a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.4);
}

.legal-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    user-select: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 55px;
    /* Moved to 55px for final alignment */
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-to-top:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 183, 3, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* Mobile optimization for scroll button */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 32px !important;
        height: 32px !important;
        bottom: 38px !important;
        right: 15px !important;
        border: 1px solid var(--accent-gold) !important;
    }

    .scroll-to-top svg {
        width: 14px !important;
        height: 14px !important;
    }
}

/* Fixed Slogan */
.fixed-slogan {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    color: rgba(200, 200, 200, 0.85);
    z-index: 9999;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.pro-text-fixed {
    color: var(--accent-gold);
    font-weight: 800;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu eklenebilir */
    }

    .fixed-slogan {
        font-size: 0.58rem;
        bottom: 8px;
        right: 12px;
    }
}

/* =========================================
   Dual Image Collages (Crosshair, VM, FPS)
   ========================================= */
.dual-collage {
    position: relative;
    width: 100%;
    height: 320px;
    /* Fixed height container */
    display: flex;
    align-items: center;
    justify-content: center;
}

.dual-collage .collage-img {
    position: absolute;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    max-width: none;
    /* Allow sizing via width % */
}

/* Main Image (Front Left) */
.dual-collage .main-img {
    width: 75%;
    z-index: 2;
    transform: translateX(-10%) translateY(-5%);
    border-color: rgba(255, 183, 3, 0.3);
    /* Subtle Gold Border */
}

/* Secondary Image (Back Right) */
.dual-collage .sec-img {
    width: 70%;
    z-index: 1;
    transform: translateX(15%) translateY(10%);
    opacity: 0.7;
    /* Depth */
    filter: grayscale(40%);
}

/* Hover Effects */
.dual-collage:hover .main-img {
    transform: translateX(-15%) translateY(-10%) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 183, 3, 0.15);
    /* Gold Glow */
    border-color: var(--accent-gold);
}

.dual-collage:hover .sec-img {
    transform: translateX(20%) translateY(15%) rotate(2deg);
    opacity: 1;
    filter: grayscale(0%);
    z-index: 3;
    /* Pop to front? Or just maintain depth? Let's keep depth but brighten */

}

/* Feature Icon Image Styling */
/* Feature Icon Styling */
.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.about-section {
    padding: 100px 0 80px 0;
    /* Reduced spacing - top and bottom cut roughly in half */
    position: relative;
    background: rgba(15, 15, 15, 0.5);
    /* Subtle background to make the expanded area visible */
    scroll-margin-top: 80px;
    /* Navbar height offset - section starts right below navbar */
}

/* Language Selector */
.lang-item {
    display: flex;
    align-items: center;
}

.lang-selector {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 5px 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.lang-selector:hover,
.lang-selector:focus {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.lang-selector option {
    background-color: #000;
    color: #fff;
}

/* Nav Container: Modified for Centered Links */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    max-width: 1600px !important; /* Extra breathing room for many menu items */
}

/* Push Links to Left */
.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
    margin-left: 0;
    margin-right: auto;
    /* Center the links group */
    padding-right: 0; /* Removed the absolute overlap padding hack */
}

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px; /* Compact, balanced gap between buttons and language selector */
    margin-left: 0;
    z-index: 1001;
    /* Ensure above everything */
}

/* Responsive optimization for header nav items on medium/tight desktop screens (1025px to 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
    .nav-menu-wrapper {
        margin-left: 32px;
    }
    .nav-links {
        gap: 7px; /* Tighter gap to save space */
    }
    .nav-links a {
        font-size: 0.77rem; /* Slightly smaller text */
        letter-spacing: 0.15px;
    }
    .nav-actions {
        gap: 6px;
    }
    .nav-btn {
        padding: 3px 7px;
        font-size: 0.65rem;
    }
}

/* Optimized positioning for high-resolution screens (wider than 1600px) - Removed to use uniform layout on all widths */

/* RTL Support (Arabic) - Text Only, Layout Remains LTR */
/* No global direction change to preserve layout */

/* Apply RTL direction and alignment to text content only */
.rtl-mode p,
.rtl-mode h1,
.rtl-mode h2,
.rtl-mode h3,
.rtl-mode h4,
.rtl-mode li,
.rtl-mode input,
.rtl-mode textarea,
.rtl-mode select {
    direction: rtl;
    text-align: right;
}

/* Special Case: Hero Section (Keep Centered) */
.rtl-mode .hero-content h1,
.rtl-mode .hero-content p {
    text-align: center;
    direction: rtl;
}

/* RTL Exception: Feature Panel Titles (Always LTR & Left-Aligned) */
.rtl-mode .feature-panel-title,
.rtl-mode .feature-panel-title h3 {
    direction: ltr !important;
    text-align: left !important;
}

/* RTL Exception: Language Dropdown (Always LTR with Flags on Left) */
.rtl-mode .lang-item,
.rtl-mode .custom-dropdown,
.rtl-mode .dropdown-selected,
.rtl-mode .dropdown-options,
.rtl-mode .dropdown-option {
    direction: ltr !important;
    text-align: left !important;
}

.rtl-mode .dropdown-option {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.rtl-mode .dropdown-option .flag-icon {
    margin-left: 0 !important;
}

.rtl-mode .dropdown-selected {
    direction: ltr !important;
}

.rtl-mode .dropdown-selected .selected-lang-code {
    margin-left: 5px !important;
    margin-right: 5px !important;
}

/* Nav Menu: Keep Original Order even in RTL */
/* No special rules needed for .nav-links in RTL if keeping LTR order */

/* Feature List Bullets logic if needed */
/* Default list style usually handles itself with direction: rtl */

/* Footer Aligment */
.rtl-mode .footer {
    direction: rtl;
    /* For copyright text flow */
}

/* Ensure Nav Actions order is correct for Arabic */
/* No special rules needed for .nav-actions in RTL if keeping LTR order */


/* Language Globe Icon */
.lang-icon {
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    margin-right: 8px;
    transition: color 0.3s ease;
}

.lang-item:hover .lang-icon {
    color: var(--accent-gold);
}

/* Force Section Titles to Center in RTL */
.rtl-mode .section-title {
    text-align: center;
}

/* RTL Mode - About Section Content Right-Aligned (Arabic Only) */
html[lang="ar"] .about-content,
html[lang="ar"] .about-section p,
html[lang="ar"] .about-section p[data-i18n="about.description"],
html[lang="ar"] .about-section p[data-i18n="about.legal_text"],
html[lang="ar"] .about-section p[data-i18n="about.security_text"],
body.rtl-mode .about-content,
body.rtl-mode .about-section p,
body.rtl-mode .about-section p[data-i18n="about.description"],
body.rtl-mode .about-section p[data-i18n="about.legal_text"],
body.rtl-mode .about-section p[data-i18n="about.security_text"] {
    text-align: right !important;
    direction: rtl !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

html[lang="ar"] .about-section .about-content > div,
body.rtl-mode .about-section .about-content > div {
    text-align: right !important;
}

html[lang="ar"] .about-section h4,
body.rtl-mode .about-section h4 {
    text-align: right !important;
    direction: rtl !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    display: inline-block !important;
}

/* RTL Mode - Feature List Arrows & Text Alignment (Arabic Only) */
html[lang="ar"] .feature-list,
body.rtl-mode .feature-list {
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    direction: rtl !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

html[lang="ar"] .feature-list li,
body.rtl-mode .feature-list li {
    padding-left: 0 !important;
    padding-right: 25px !important;
    text-align: right !important;
    direction: rtl !important;
    position: relative !important;
}

html[lang="ar"] .feature-list li::before,
body.rtl-mode .feature-list li::before {
    content: "◄" !important;
    left: auto !important;
    right: 0 !important;
    text-align: right !important;
    top: 2px !important;
}

/* RTL Mode - Modal Features List (Arabic Only) */
html[lang="ar"] .modal-feature-item,
body.rtl-mode .modal-feature-item {
    direction: rtl !important;
    text-align: right !important;
}

/* Force Footer to Center in RTL */
.rtl-mode .footer-content h2,
.rtl-mode .copyright,
.rtl-mode .footer-content p {
    text-align: center;
}


/* Modify Navbar Container Max-Width for balanced alignment on 1080p */
.navbar .container {
    max-width: 1560px !important;
    /* 1560px keeps action buttons naturally aligned above hero content on 1080p */
}

/* 2K & Ultra-wide Displays (QHD / 1440p / 2560px): Expand container so action buttons move comfortably to the right across all languages */
@media (min-width: 1921px) {
    .navbar .container {
        max-width: 1840px !important;
    }
    .nav-actions {
        gap: 10px;
    }
}


/* Hero Content: Wrapper style removed to fix video blending. Text elements handle their own z-index. */

/* Z-Index Fixes removed */
/* cta-group uses default stacking */

/* --- Custom Language Dropdown --- */
.custom-dropdown {
    position: relative;
    min-width: 75px;
    width: fit-content;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0px;
}

.dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    box-sizing: border-box;
    padding: 0 10px;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-size: 0.82rem;
}

.dropdown-selected:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.selected-lang-code {
    margin-left: 5px;
    margin-right: 5px;
    text-transform: uppercase;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2000;
    overflow: hidden;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 10px;
}

.dropdown-options.show {
    display: grid;
    animation: fadeInDropdown 0.2s ease;
}

.dropdown-option {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #ccc;
}

.dropdown-option:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-option:hover {
    background: rgba(255, 183, 3, 0.1);
    color: var(--accent-gold);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    margin-right: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    display: block;
}

/* Selected item highlight */
.dropdown-option.active {
    background: rgba(255, 183, 3, 0.05);
    color: var(--accent-gold);
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chevron Rotation */
.chevron-icon {
    transition: transform 0.3s;
}

.custom-dropdown.active .chevron-icon {
    transform: rotate(180deg);
}

/* Hide original native select */
/* We will remove the select but keep this for safety */
#language-switcher {
    display: none;
}


/* --- Mobile Globe Logic --- */
.mobile-globe {
    display: none;
    /* Hidden by default (Desktop) */
    width: 20px;
    height: 20px;
    margin: 0;
}

@media (max-width: 1400px) {
    .nav-actions .custom-dropdown,
    .custom-dropdown {
        width: 36px !important;
        min-width: unset !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* On Mobile: Hide Flag, Code, Chevron */
    .dropdown-selected .selected-flag,
    .dropdown-selected .selected-lang-code,
    .dropdown-selected .chevron-icon {
        display: none !important;
    }

    /* On Mobile: Show Globe inside 36px touch pill */
    .mobile-globe {
        display: block !important;
        width: 19px !important;
        height: 19px !important;
        stroke: var(--accent-gold) !important;
        color: var(--accent-gold) !important;
    }

    .dropdown-selected {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
        box-sizing: border-box !important;
    }

    .dropdown-selected:hover,
    .dropdown-selected:active {
        border-color: var(--accent-gold) !important;
        background: rgba(255, 183, 3, 0.12) !important;
    }

    .dropdown-options {
        position: fixed !important;
        top: 66px !important;
        right: 12px !important;
        left: auto !important;
        width: calc(100vw - 24px) !important;
        max-width: 326px !important;
        margin-top: 0 !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        z-index: 999999 !important;
        padding: 8px !important;
        gap: 4px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    }

    .dropdown-option {
        padding: 6px 8px !important;
        font-size: 0.78rem !important;
    }

    .dropdown-option .flag-icon {
        width: 18px !important;
        height: 13px !important;
        margin-right: 6px !important;
    }
}

/* --- Toast Notification --- */
.toast-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    /* Hidden initially */
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-gold);
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    width: 320px;
}

.toast-notification.show {
    right: 30px;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-content h4 {
    margin: 0;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.toast-content p {
    margin: 0;
    font-family: var(--font-body);
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.4;
}

.submit-btn.success {
    background: #4CAF50 !important;
    color: #fff !important;
    border-color: #4CAF50 !important;
}

/* --- Utilities --- */
.visual-hidden {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

}

/* --- Mobile Fix for Russian Language --- */
/* Russian words are longer, leading to overflow on small screens */
@media (max-width: 768px) {
    html[lang="ru"] .hero-content h1 {
        font-size: 1.8rem !important;
        /* Reduced from 2.5rem */
        line-height: 1.2;
        letter-spacing: 2px;
    }

    html[lang="ru"] .sub-description {
        font-size: 0.95rem;
        /* Slightly smaller */
        padding: 0 10px;
    }

    html[lang="ru"] .slogan {
        font-size: 1.2rem;
    }

    /* Fix Feature Section Title Overflow "ВОЗЬМИТЕ..." */
    html[lang="ru"] .section-title {
        font-size: 2rem !important;
        /* Reduced from 3.5rem to fit long words */
        word-wrap: break-word;
    }
}

/* --- General Mobile UX Improvements --- */
@media (max-width: 768px) {

    /* Center text for Contact section and titles */
    .contact-section {
        text-align: center !important;
    }

    .contact-section p,
    .contact-section .section-title,
    .about-section .section-title {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* About section content left-aligned for natural reading flow */
    .about-content,
    .about-section p {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Fix "Legal" and "Security" sub-headings in About section */
    .about-section h4 {
        display: inline-block !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        width: auto !important;
    }

    /* Optimize Steam CTA Button for Russian (Long text "СКАЧАТЬ СЕЙЧАС") */
    /* Prevents double-line button by shrinking text and padding */
    html[lang="ru"] .steam-btn {
        font-size: 0.9rem !important;
        padding: 15px 25px !important;
        /* Reduce horizontal padding */
        white-space: nowrap;
        /* Force single line if possible */
    }

    /* Ensure form inputs generally keep readable text alignment (optional, but good UX) */
    /* Usually inputs are distinct, but let's ensure labels follow suit if exist */
}

/* Section Header - "OYUNUN KONTROLÜNÜ ELİNE AL" */
.section-header {
    text-align: center;
    padding: 80px 20px 30px;
    /* Reduced bottom padding to bring separator closer */
    margin: 0 auto;
    max-width: 1200px;
    opacity: 1 !important;
    /* Force visibility - no reveal animation */
    visibility: visible !important;
    display: block !important;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    /* Responsive font size */
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    color: #fff;
}

/* Typography balancing for non-Latin alphabets (Greek, Cyrillic, CJK, etc.) */
html[lang="gr"],
html[lang="ar"],
html[lang="il"],
html[lang="th"],
html[lang="zh"],
html[lang="jp"],
html[lang="kr"] {
    --font-heading: 'Inter', sans-serif;
}

html[lang="ru"],
html[lang="ua"] {
    --font-heading: 'Exo 2', 'Inter', sans-serif;
}

html[lang="gr"] .neon-badge,
html[lang="gr"] .modal-title,
html[lang="gr"] .mobile-pc-continue-btn {
    font-family: 'Inter', sans-serif !important;
}

html[lang="gr"] .section-title,
html[lang="ru"] .section-title,
html[lang="ua"] .section-title {
    font-size: clamp(1.85rem, 4.2vw, 3rem);
    letter-spacing: 1px;
}

html[lang="zh"] .section-title,
html[lang="jp"] .section-title,
html[lang="kr"] .section-title {
    font-size: clamp(1.75rem, 3.8vw, 2.6rem);
    letter-spacing: 1px;
}

html[lang="ar"] .section-title,
html[lang="il"] .section-title,
html[lang="th"] .section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .section-header {
        padding: 60px 15px 40px;
        /* Reduced padding on mobile */
    }
}

/* Feature Separator Line */
.feature-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 10px auto 40px;
    /* Minimal top margin - very close to title */
    max-width: 800px;
    opacity: 0.5;
}

/* Mobile Video Pause Button */
/* Ensure video wrapper is a positioning context */
.video-position-wrapper {
    position: relative !important;
    /* Critical to keep button inside */
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.custom-pause-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px;
    /* Moved closer to video */
    width: 32px;
    /* Smaller size */
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0;
    transition: all .2s ease;
    animation: pulse-gold 2s infinite;
    z-index: 10;
}

.custom-pause-btn svg {
    width: 14px;
    /* Proportional icon size for 32px button */
    height: 14px;
    stroke: var(--accent-gold);
    fill: none;
}

.custom-pause-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.custom-pause-btn:active {
    transform: translateX(-50%) scale(0.9);
    /* maintain center on click */
}

/* Ensure video wrapper is relative for absolute positioning */
.sidebar-video-wrapper {
    position: relative;
    display: inline-block;
}

.video-pause-btn:active {
    background: var(--accent-gold) !important;
    transform: scale(0.95);
}

/* Desktop Video Overlay Centering Fix */
.video-hint-overlay {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}



.video-pause-btn svg {
    color: var(--accent-gold) !important;
    width: 24px;
    height: 24px;
}

.video-pause-btn:active svg {
    color: #000 !important;
}

/* Ensure video wrapper is positioned for absolute children */
.video-position-wrapper {
    position: relative;
}

/* Smooth transitions for video overlay */
.video-hint-overlay {
    transition: opacity 0.3s ease;
}

/* Temporary toast hint telling the user to "Tap to pause" when a video starts playing */
.video-toast-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 10px);
    background: rgba(10, 10, 10, 0.88);
    border: 1px solid rgba(255, 183, 3, 0.3); /* Subtle gold border to match branding */
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    max-width: calc(100% - 24px);
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-toast-hint.show {
    opacity: 1;
    transform: translate(-50%, 0);
}



/* Video Overlay Text - Touch vs Hover Devices */
.mobile-play {
    display: inline;
    font-weight: 700;
    letter-spacing: 1px;
}

.desktop-play {
    display: none;
}

@media (hover: hover) {
    .mobile-play {
        display: none;
    }

    .desktop-play {
        display: inline;
    }
}

/* --- Mobile Collage Animations --- */
/* Triggered by JS IntersectionObserver via .mobile-animate class */

@media (max-width: 968px) {

    /* Utility Collage Mobile Animation */
    .collage-container.mobile-animate .collage-wrapper .collage-img.img-1 {
        transform: translateX(-50%) scale(0.9) translateY(10px) rotate(-8deg);
        opacity: 1;
        z-index: 2;
    }

    .collage-container.mobile-animate .collage-wrapper .collage-img.img-2 {
        transform: translateX(-20%) scale(0.95) translateY(-10px) rotate(-4deg);
        opacity: 1;
        z-index: 3;
    }

    .collage-container.mobile-animate .collage-wrapper .collage-img.img-3 {
        transform: translateX(10%) scale(1.0) translateY(-15px) rotate(4deg);
        opacity: 1;
        z-index: 4;
    }

    .collage-container.mobile-animate .collage-wrapper .collage-img.img-4 {
        transform: translateX(40%) scale(0.95) translateY(10px) rotate(8deg);
        opacity: 1;
        z-index: 5;
    }

    /* Smart Tuner Mobile Animation */
    .collage-container.mobile-animate .tuner-collage .collage-img.tuner-1 {
        transform: translateX(-20%) scale(1.02);
    }

    .collage-container.mobile-animate .tuner-collage .collage-img.tuner-2 {
        transform: translateX(30%) translateY(20%) scale(0.95) rotate(-3deg);
        z-index: 4;
    }

    /* Pro Player Mobile Animation */
    .collage-container.mobile-animate .pro-collage .collage-img.pro-1 {
        transform: translateX(-30%) scale(1.05);
        opacity: 1;
        z-index: 4;
    }

    .collage-container.mobile-animate .pro-collage .collage-img.pro-2 {
        transform: translateX(35%) translateY(-35%) rotate(5deg);
    }

    .collage-container.mobile-animate .pro-collage .collage-img.pro-3 {
        transform: translateX(35%) translateY(35%) rotate(-5deg);
    }
}

/* Dual Collage Mobile Animation (Crosshair, Viewmodel, FPS Boost) */
.collage-container.mobile-animate .dual-collage .collage-img.main-img {
    transform: translateX(-15%) scale(1);
}

.collage-container.mobile-animate .dual-collage .collage-img.sec-img {
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* =========================================
   HYBRID TEXT SELECTION STRATEGY
   ========================================= */

/* Default: Allow selection (Browser Standard) */
body {
    -webkit-user-select: text;
    user-select: text;
}

/* APP-LIKE ELEMENTS: Disable Selection */
/* Prevents UI elements from feeling like a document */
.navbar,
.hero-section,
.hero-content,
.hero-title,
.hero-slogan,
.hero-description,
.section-title,
/* Slogans like "OYUNUN KONTROLU..." */
.feature-panel-title,
/* Headers like "Utility Rehberi" */
.feature-card,
.footer,
button,
.btn,
.submit-btn,
.nav-menu-wrapper,
.scroll-to-top,
img {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none;
    /* Prevent image dragging */
}

/* CONTENT AREAS: Enable Selection */
/* Allows users to copy information they might need */
.about-section,
.about-content,
/* .contact-text,  <-- REMOVED: Now managed more granularly */
.contact-form input,
.contact-form textarea,
.contact-form select {
    -webkit-user-select: text !important;
    user-select: text !important;
    cursor: auto;
}

/* Ensure buttons and specific descriptions remain unselectable */
.contact-form button,
.contact-text p {
    /* "Öneri veya şikayet..." text */
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* Media Gallery Section */
.gallery-section {
    padding: 100px 0;
    position: relative;
    background: #080808; /* Deep tactical black */
    overflow: hidden;
}

/* Tactical Background Layer */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Gold Ambient Glow (Left) */
        radial-gradient(circle at 10% 50%, rgba(255, 183, 3, 0.08) 0%, transparent 50%),
        /* Red Ambient Glow (Right) */
        radial-gradient(circle at 90% 50%, rgba(255, 77, 77, 0.08) 0%, transparent 50%),
        /* Tactical Grid Lines */
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    background-position: 0 0, 0 0, center center, center center;
    z-index: 0;
}

/* Ensure container stays above background */
.gallery-section .container {
    position: relative;
    z-index: 1;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(5, 5, 5, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 
        0 0 60px rgba(0, 0, 0, 0.9),
        0 20px 80px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

/* Subtle corner accents for the container */
.gallery-container::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), transparent 30%, transparent 70%, rgba(255, 77, 77, 0.15));
    z-index: -1;
    pointer-events: none;
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050505;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.main-media-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-main-video,
.gallery-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Custom Gallery Video Replay Overlay & Button */
.gallery-replay-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 5;
}

/* Center play/pause & double-click fullscreen overlay: Safe zone from top badge (65px) and bottom native controls (85px) */
.gallery-video-click-overlay {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    height: calc(100% - 150px); /* 65px top safe zone + 85px bottom controls safe zone */
    z-index: 4; /* Sits below replay overlay (z-index 5) and mute badge (z-index 7) */
    cursor: pointer;
    background: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-replay-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* YouTube-style Center Play/Pause Ripple Pulse Badge (Hardware-Accelerated & Zero-Lag) */
.gallery-play-pause-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0) scale(0.8);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(15, 17, 23, 0.88);
    border: 1px solid rgba(255, 183, 3, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 183, 3, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 6; /* Sits above click overlay (4) & replay overlay (5), below mute badge (7) */
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.gallery-play-pause-pulse svg {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.gallery-play-pause-pulse.is-play svg {
    margin-left: 3px; /* Optically center triangle play icon */
}

.gallery-play-pause-pulse.animate {
    animation: galleryPlayPausePulse 0.45s cubic-bezier(0.2, 0.85, 0.25, 1) forwards;
}

@keyframes galleryPlayPausePulse {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translate3d(-50%, -50%, 0) scale(0.75);
    }
    30% {
        opacity: 0.95;
        transform: translate3d(-50%, -50%, 0) scale(1.06);
    }
    100% {
        opacity: 0;
        visibility: hidden;
        transform: translate3d(-50%, -50%, 0) scale(1.36);
    }
}

/* Native fullscreen mode styles for video element */
.gallery-main-video:fullscreen,
.gallery-main-video:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    object-fit: contain !important;
    background: #000 !important;
}

/* Fullscreen mode fallback for container if container-level fullscreen is ever triggered */
.main-media-content:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.main-media-content:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.main-media-content:fullscreen .gallery-main-video,
.main-media-content:-webkit-full-screen .gallery-main-video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    object-fit: contain !important;
}

.main-media-content:fullscreen .gallery-video-click-overlay,
.main-media-content:-webkit-full-screen .gallery-video-click-overlay {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 90px) !important;
    z-index: 5 !important;
}

.main-media-content:fullscreen .gallery-play-pause-pulse,
.main-media-content:-webkit-full-screen .gallery-play-pause-pulse {
    width: 96px !important;
    height: 96px !important;
    z-index: 8 !important;
}

.main-media-content:fullscreen .gallery-play-pause-pulse svg,
.main-media-content:-webkit-full-screen .gallery-play-pause-pulse svg {
    width: 40px !important;
    height: 40px !important;
}

.main-media-content:fullscreen .gallery-mute-btn,
.main-media-content:-webkit-full-screen .gallery-mute-btn {
    top: 24px !important;
    right: 24px !important;
    z-index: 9 !important;
}

.main-media-content:fullscreen .gallery-replay-overlay,
.main-media-content:-webkit-full-screen .gallery-replay-overlay {
    z-index: 10 !important;
}

/* Custom Floating Mute/Unmute Pill Badge */
.gallery-mute-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 13px;
    border-radius: 30px;
    background: rgba(15, 17, 23, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 183, 3, 0.45);
    color: #fff;
    cursor: pointer;
    z-index: 7; /* Sits above video and overlays */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 183, 3, 0.2);
    user-select: none;
    -webkit-user-select: none;
}

.gallery-mute-btn.muted {
    border-color: rgba(255, 183, 3, 0.7);
    background: rgba(20, 22, 30, 0.92);
    animation: soundBadgePulse 2.4s infinite ease-in-out;
}

.gallery-mute-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.gallery-mute-divider {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 1px;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

@keyframes soundBadgePulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 183, 3, 0.25);
        border-color: rgba(255, 183, 3, 0.6);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 183, 3, 0.6);
        border-color: rgba(255, 183, 3, 0.95);
    }
}

.gallery-mute-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.7);
    transform: translateY(-1px) scale(1.03);
}

.gallery-mute-btn:hover .gallery-mute-divider {
    background: rgba(0, 0, 0, 0.35);
}

.gallery-mute-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.gallery-mute-btn:hover svg {
    transform: scale(1.1);
}

.gallery-mute-text {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Rajdhani', 'Inter', -apple-system, sans-serif;
}

/* Mobile responsive sizing for mute pill button and click overlay */
@media (max-width: 768px) {
    .gallery-video-click-overlay {
        top: 50px;
        height: calc(100% - 110px);
    }

    .gallery-mute-btn {
        top: 10px !important;
        right: 10px !important;
        padding: 6px 12px !important;
        gap: 6px !important;
    }
    .gallery-mute-btn svg {
        width: 15px !important;
        height: 15px !important;
    }
    .gallery-mute-text {
        font-size: 0.70rem !important;
    }

    .gallery-play-pause-pulse {
        width: 58px;
        height: 58px;
    }
    .gallery-play-pause-pulse svg {
        width: 24px;
        height: 24px;
    }
}

.gallery-replay-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.gallery-replay-btn svg {
    width: 28px;
    height: 28px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-replay-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.8);
    transform: scale(1.1);
}

.gallery-replay-btn:hover svg {
    transform: rotate(360deg);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.gallery-nav:hover {
    background: var(--accent-gold);
    color: #000;
}

.gallery-nav.prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.gallery-nav.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.gallery-nav svg {
    width: 30px;
    height: 30px;
}

.gallery-thumbnails-wrapper {
    width: 100%;
    overflow: hidden;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) #1a1a1a;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

.gallery-thumb {
    position: relative;
    flex: 0 0 120px;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active {
    border-color: var(--accent-gold);
    opacity: 1;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
}

.gallery-thumb:hover {
    opacity: 1;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

@media (max-width: 768px) {
    .gallery-container {
        padding: 10px;
    }

    .gallery-thumb {
        flex: 0 0 80px;
    }
}

/* =========================================
   TRUST BADGES & PRESTIGE AREA
   ========================================= */
.trust-badges-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-wrap: wrap;
}

.footer-trust {
    margin-top: 16px;
    opacity: 0.5;
}

.modal-trust {
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.trust-badges-wrapper:hover {
    opacity: 0.95;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.trust-badge-item svg {
    width: 14px;
    height: 14px;
    color: var(--accent-gold);
}

.trust-separator {
    display: none;
}

.trust-badge-item::before {
    content: '•';
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .trust-badges-wrapper {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }
}

/* =========================================
   MODAL SCROLL LOCK & OVERLAY
   ========================================= */
html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100% !important;
    max-height: 100% !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
}

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overscroll-behavior: contain !important;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-modal-content {
    max-width: 540px;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.custom-modal-overlay.active .custom-modal-content {
    transform: scale(1) translateY(0);
}

/* Background Glowing Accents inside Modal */
.custom-modal-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.custom-modal-content::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    transform: rotate(90deg);
}

.modal-header-badge {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
}

.neon-badge {
    background: rgba(255, 183, 3, 0.1);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.2);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.modal-pricing-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.pricing-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Aligns labels to top and prices to bottom */
}

.planned-price {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.price-label.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #888;
    line-height: 1; /* Aligns baselines */
}

.price-value.line-through {
    text-decoration: none;
    position: relative;
    display: inline-block;
    color: #999;
    align-self: flex-start; /* Prevents stretching to full column width */
}

.price-value.line-through::after {
    content: '';
    position: absolute;
    right: 32%; /* Start exactly before USD */
    top: 15%; /* Moved higher */
    width: 0%; /* Starts at 0 for animation */
    height: 2px;
    background-color: #ff4d4d;
    transform-origin: right center;
    transform: rotate(-15deg);
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.5);
    animation: strikeAnimModal 2s infinite;
}

@keyframes strikeAnimModal {
    0% {
        width: 0%;
        opacity: 1;
    }
    20% {
        width: 72%; /* Prevent overshooting to the left, slightly extended */
        opacity: 1;
    }
    70% {
        width: 72%;
        opacity: 1;
    }
    90% {
        width: 72%;
        opacity: 0;
    }
    100% {
        width: 0%;
        opacity: 0;
    }
}

.price-value.highlight-gold {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.3);
}

.price-value small {
    font-size: 0.8rem;
    font-weight: 500;
}

.modal-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.modal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.4;
}

.modal-feature-item .check-icon {
    width: 18px;
    height: 18px;
    color: #38b6ff;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-action-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal-buy-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 0.95rem;
}

.modal-secure-note {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
}

/* =========================================
   FREE TRIAL CARD & DOWNLOAD MODAL
   ========================================= */

/* Secondary Free Trial Card */
.demo-sticker-card {
    border: 1px solid rgba(46, 204, 113, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(46, 204, 113, 0.15) !important;
    margin-top: 15px; /* Visual gap below Early Access card */
}

.demo-sticker-card:hover {
    border-color: #2ecc71 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(46, 204, 113, 0.25) !important;
}

.demo-sticker-card::before {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.demo-sticker-card .sticker-pricing {
    border-left-color: #2ecc71;
}

.green-pulse {
    background-color: #2ecc71 !important;
    box-shadow: 0 0 8px #2ecc71 !important;
}

.green-tag {
    color: #2ecc71 !important;
}

.green-price {
    color: #2ecc71 !important;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.4) !important;
}

.demo-card-action {
    margin-top: 15px;
    width: 100%;
}

.demo-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    border-radius: 8px;
    color: #2ecc71;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-card-btn:hover {
    background: #2ecc71;
    color: #000;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
    transform: translateY(-2px);
}

.demo-card-btn svg.demo-download-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.demo-card-btn:hover svg.demo-download-icon {
    transform: translateY(1.5px);
}

/* Secondary Action Button in Checkout Modal */
.secondary-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-modal-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.secondary-modal-btn svg.cta-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Green Neon Badges for Demo Modal */
.green-neon {
    background: rgba(46, 204, 113, 0.1) !important;
    color: #2ecc71 !important;
    border: 1px solid #2ecc71 !important;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2) !important;
}

/* Loader Styling inside Modal */
.demo-download-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 15px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.loader-circle {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #2ecc71;
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

.loader-circle.completed {
    border-color: #2ecc71;
    animation: pulseSuccessCircle 1.6s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
}

@keyframes pulseSuccessCircle {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 18px rgba(46, 204, 113, 0.6);
    }
}

.loader-status {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2ecc71;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.2);
}

.loader-status.success {
    color: #2ecc71;
    animation: pulseSuccessStatus 1.5s infinite;
}

@keyframes pulseSuccessStatus {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; text-shadow: 0 0 15px rgba(46, 204, 113, 0.6); }
}

/* Instructions Panel inside Modal */
.demo-instructions-box {
    background: rgba(255, 183, 3, 0.02);
    border: 1px solid rgba(255, 183, 3, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    text-align: left;
}

.instructions-heading {
    font-size: 0.95rem;
    color: #ffb703;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.instructions-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 15px;
}

.inst-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.inst-step:last-child {
    margin-bottom: 0;
}

.step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    color: #ffb703;
}

.modal-download-direct-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-download-direct-btn.downloading-active {
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.82 !important;
    border-color: rgba(46, 204, 113, 0.6) !important;
    color: #2ecc71 !important;
    background: rgba(46, 204, 113, 0.08) !important;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.25) !important;
}

.modal-download-direct-btn .cta-icon.spinning {
    animation: spinLoader 0.9s linear infinite;
}

/* --- Mobile Windows PC Notice Modal --- */
.mobile-pc-modal-content {
    max-width: 440px !important;
    text-align: center;
    padding: 20px 20px 24px 20px !important;
    border: 1px solid rgba(255, 183, 3, 0.35) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 183, 3, 0.15) !important;
}

.mobile-pc-header-badge {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-bottom: 0 !important;
    padding-right: 44px;
    min-height: 32px;
}

.mobile-pc-header-badge .neon-badge {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    letter-spacing: 0.6px;
}

.pc-notice-icon-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 16px auto 14px auto !important;
}

.pc-monitor-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.08);
    border: 1.5px solid rgba(255, 183, 3, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    box-shadow: 0 0 22px rgba(255, 183, 3, 0.22);
    margin: 0 auto !important;
}

.mobile-pc-modal-content .modal-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
}

.mobile-pc-modal-content .modal-subtitle {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 0;
    color: var(--text-gray);
}

.mobile-pc-continue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.95), rgba(251, 133, 0, 0.95));
    color: #000;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(251, 133, 0, 0.3);
    transition: all 0.25s ease;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.mobile-pc-continue-btn:hover {
    background: linear-gradient(135deg, #ffc107, #f77f00);
    box-shadow: 0 6px 22px rgba(251, 133, 0, 0.45);
    transform: translateY(-1px);
}

.mobile-pc-continue-btn:active {
    transform: scale(0.98);
}

/* FAQ Section */
.faq-section {
    position: relative;
    z-index: 10;
    padding: 80px 0;
    background: linear-gradient(to right, #101010, #161616);
    border-top: 1px solid #222;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 170, 0, 0.3);
    background: rgba(30, 30, 30, 0.8);
}

.faq-item[open] {
    border-color: rgba(255, 170, 0, 0.5);
    background: rgba(30, 30, 30, 0.9);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Removes default triangle */
}

/* For Safari to remove default triangle */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg); /* Turns + into x */
}

.faq-answer {
    padding: 0 25px 20px 25px;
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-answer a,
.faq-email-link {
    color: var(--accent-gold, #ffb703);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.faq-answer a:hover,
.faq-email-link:hover {
    color: #ffe082;
    text-decoration-color: #ffe082;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    cursor: help;
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: underline dotted var(--accent-gold);
}

.tooltip-text {
    visibility: hidden;
    width: 280px;
    background-color: rgba(15, 15, 15, 0.95);
    color: #e0e0e0;
    text-align: left;
    border-radius: 8px;
    padding: 12px 15px;
    position: absolute;
    z-index: 100;
    bottom: 125%; /* Position above */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 400;
    border: 1px solid rgba(255, 170, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

/* Arrow for Tooltip */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 170, 0, 0.3) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 600px) {
    .custom-modal-content {
        padding: 25px;
    }
    .modal-title {
        font-size: 1.6rem;
    }
    .modal-pricing-box {
        padding: 12px 15px;
    }
    .price-value.highlight-gold {
        font-size: 1.6rem;
    }
}

@media (max-height: 1150px) {
    /* Modal adjustments for 1080p (to prevent vertical overflow) */
    .custom-modal-content {
        padding: 25px 30px;
        border-radius: 12px;
    }

    .modal-close-btn {
        top: 15px;
        right: 15px;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-subtitle {
        margin-bottom: 15px;
        font-size: 0.85rem;
    }

    .modal-pricing-box {
        padding: 10px 15px;
        margin-bottom: 15px;
    }

    .price-value.highlight-gold {
        font-size: 1.6rem;
    }

    .price-value {
        font-size: 1.25rem;
    }

    .modal-features-list {
        gap: 8px;
        margin-bottom: 20px;
    }

    .modal-feature-item {
        font-size: 0.8rem;
    }

    .modal-feature-item .check-icon {
        width: 16px;
        height: 16px;
        margin-top: 1px;
    }

    .premium-cta-btn.modal-buy-btn,
    .secondary-modal-btn.modal-demo-btn,
    .modal-download-direct-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .modal-trust {
        margin-top: 12px;
        padding: 6px 10px;
    }

    .modal-secure-note {
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   Desktop Intermediate Screen Optimization (1025px to 1400px)
   ========================================================================== */
@media (max-width: 1400px) and (min-width: 1025px) {
    /* 1. Collapse flags to top-left badge group to free up horizontal space on the left */
    .pennants-container {
        position: absolute !important;
        top: 75px !important;
        left: 10px !important;
        margin: 0 !important;
        width: auto !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        transform: scale(0.7) !important;
        transform-origin: top left !important;
        z-index: 40 !important;
        pointer-events: none !important;
        height: auto !important;
    }
    
    .pennants-container * {
        pointer-events: auto !important;
    }
    
    .pennant-wrapper {
        width: 130px !important;
    }
    
    .main-pennant .pennant-flag {
        width: 120px !important;
        height: 330px !important;
    }

    .security-pennant .pennant-flag {
        width: 110px !important;
        height: 330px !important;
    }

    .pennant-inner {
        padding: 12px 6px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0d0d0d !important;
    }
    
    .pennant-main-title {
        font-size: 1.8rem !important;
    }
    
    .pennant-feature-text {
        font-size: 0.58rem !important;
        margin-top: 5px !important;
        color: #ffffff !important;
        opacity: 1 !important;
    }
    
    .sec-item span {
        color: #ffffff !important;
        font-weight: 800 !important;
    }
    
    .pennant-badge-text, 
    .security-badge-text {
        opacity: 1 !important;
        font-weight: 800 !important;
    }
    
    .pennant-more-count {
        color: #ffffff !important;
        opacity: 1 !important;
    }

    /* 2. Constrain the hero content width and shift it left to prevent overlapping with the right-side cards */
    .hero-content {
        margin-left: 60px !important;
        margin-right: 390px !important;
        max-width: 750px !important;
        text-align: center !important;
    }

    .performance-bar {
        gap: 12px !important;
        padding: 8px 18px !important;
    }
    
    .perf-item {
        gap: 6px !important;
    }
    
    .perf-label {
        font-size: 0.82rem !important;
        letter-spacing: 0.5px !important;
    }
}

/* ==========================================================================
   Tablet & Intermediate Size Optimization (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    /* 4. Position and scale down flags (pennants) to hang from the top left, matching desktop behavior */
    .pennants-container {
        position: absolute !important;
        top: 75px !important; /* Hangs right below the navbar */
        left: 10px !important; /* Pushed slightly from the left edge */
        margin: 0 !important;
        width: auto !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        transform: scale(0.6) !important;
        transform-origin: top left !important;
        z-index: 40 !important;
        pointer-events: none !important; /* Prevent block hover/clicks overlaying other text */
        height: auto !important;
    }
    
    .pennants-container * {
        pointer-events: auto !important; /* Re-enable pointer events inside flags */
    }
    
    .pennant-wrapper {
        width: 130px !important;
    }
    
    .main-pennant .pennant-flag {
        width: 120px !important;
        height: 330px !important;
    }

    .security-pennant .pennant-flag {
        width: 110px !important;
        height: 330px !important;
    }

    .pennant-inner {
        padding: 12px 6px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0d0d0d !important; /* Solid background prevents background-blur rendering bugs on mobile Safari/Chrome scale */
    }
    
    .pennant-main-title {
        font-size: 1.8rem !important;
    }
    
    .pennant-feature-text {
        font-size: 0.58rem !important;
        margin-top: 5px !important;
        color: #ffffff !important;
        opacity: 1 !important;
    }
    
    .sec-item span {
        color: #ffffff !important;
        font-weight: 800 !important;
    }
    
    .pennant-badge-text, 
    .security-badge-text {
        opacity: 1 !important;
        font-weight: 800 !important;
    }
    
    .pennant-more-count {
        color: #ffffff !important;
        opacity: 1 !important;
    }

    /* 5. Stack and center the Early Access and Free Trial cards vertically, resetting absolute overlays */
    .campaign-sticker-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 30px auto 0 auto !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 20px !important;
    }

    .campaign-sticker {
        width: 92% !important;
        max-width: 340px !important;
        height: auto !important; /* Reset stretched height so they take up natural content height */
        margin: 0 auto !important;
    }
}

/* ==========================================================================
   Mobile Optimization Cleanup (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Prevent Horizontal Overflow globally on the entire viewport */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .navbar .nav-container {
        padding-right: 6px !important; /* Force tight right padding for action buttons */
        padding-left: 12px !important; /* Slightly snugger left padding for logo alignment */
    }

    /* 2. Force all oversized fixed-width containers to scale down to fit the viewport width */
    .video-placeholder-frame,
    .sidebar-video,
    .collage-container,
    .detailed-features,
    .feature-panel-split,
    .compact-card .feature-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Refined & Proportionate Mini Feature Videos on Mobile (Scaled-down & Centered with Breathing Room) */
    .feature-split-layout .feature-video-outside,
    .feature-split-layout.reverse .feature-video-outside {
        width: 100% !important;
        padding: 0 16px !important;
        margin: 20px auto 6px auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .video-position-wrapper {
        width: 88% !important;
        max-width: 440px !important;
        height: auto !important;
        margin: 0 auto !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    .sidebar-video-positioned {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 12px !important;
        border: 1.5px solid rgba(255, 183, 3, 0.35) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 22px rgba(255, 183, 3, 0.2) !important;
        box-sizing: border-box !important;
    }

    .video-position-wrapper .video-hint-overlay {
        padding: 10px 18px !important;
        border-radius: 24px !important;
    }

    .video-position-wrapper .video-hint-overlay .play-icon {
        font-size: 20px !important;
    }

    .video-position-wrapper .video-hint-overlay span {
        font-size: 0.80rem !important;
    }

    /* Refined & Proportionate Mobile CTA Buttons (Hero & Footer) */
    .cta-group {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto 12px auto !important;
    }

    .hero .premium-cta-btn,
    .footer .premium-cta-btn,
    .premium-cta-btn.large {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 280px !important;
        padding: 11px 20px !important;
        font-size: 0.90rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.8px !important;
        border-radius: 8px !important;
        gap: 8px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        height: auto !important;
        min-height: 44px !important;
    }

    .hero .premium-cta-btn span,
    .footer .premium-cta-btn span,
    .premium-cta-btn.large span {
        white-space: nowrap !important;
    }

    .hero .premium-cta-btn .cta-icon,
    .footer .premium-cta-btn .cta-icon,
    .premium-cta-btn.large .cta-icon {
        width: 17px !important;
        height: 17px !important;
        flex-shrink: 0 !important;
    }

    /* Streamlined & Ultra-Compact Campaign Stickers on Mobile */
    .campaign-sticker-wrapper {
        margin: 14px auto 0 auto !important;
        gap: 9px !important;
        width: 100% !important;
        max-width: 295px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .campaign-sticker {
        width: 100% !important;
        max-width: 295px !important;
        padding: 10px 14px !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    .campaign-sticker .discount-ribbon {
        font-size: 0.62rem !important;
        padding: 3px 22px !important;
        top: 10px !important;
        right: -24px !important;
    }

    .campaign-sticker .sticker-header {
        margin-bottom: 4px !important;
        padding-right: 40px !important;
        gap: 6px !important;
    }

    .campaign-sticker .sticker-pulse {
        width: 7px !important;
        height: 7px !important;
    }

    .campaign-sticker .sticker-tag {
        font-size: 0.68rem !important;
        letter-spacing: 0.8px !important;
    }

    .campaign-sticker .sticker-title {
        font-size: 1.08rem !important;
        margin-bottom: 4px !important;
    }

    .campaign-sticker .sticker-desc {
        font-size: 0.72rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .campaign-sticker .sticker-pricing {
        padding: 6px 10px !important;
        gap: 1px !important;
        border-radius: 6px !important;
    }

    .campaign-sticker .sticker-new-price {
        font-size: 1.20rem !important;
    }

    .campaign-sticker .sticker-old-price {
        font-size: 0.85rem !important;
    }

    .campaign-sticker .onetime-badge {
        font-size: 0.62rem !important;
    }

    .campaign-sticker .demo-card-action {
        margin-top: 8px !important;
    }

    .campaign-sticker .demo-card-btn {
        padding: 7px 12px !important;
        font-size: 0.72rem !important;
        border-radius: 6px !important;
    }

    .video-placeholder-frame {
        height: 200px !important; /* Force a consistent height for empty frames on mobile */
    }

    .collage-wrapper {
        height: 190px !important; /* Force fixed height on mobile to prevent collapse due to absolute children */
    }

    /* 3. Center align sections and remove negative horizontal margins */
    .feature-split-layout,
    .feature-container-crosshair,
    .compact-card.feature-row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* 6. Hide gallery navigation arrow buttons on mobile (replaced by touch swipe gestures) */
    .gallery-nav {
        display: none !important;
    }

    /* 7. Mobile Modal UX Adjustments (Scrollable Overlay & Narrow Screen Optimization) */
    .custom-modal-overlay {
        display: flex !important;
        align-items: flex-start !important; /* Align to top instead of center so taller modal is scrollable from top */
        overflow-y: auto !important; /* Enable vertical scroll */
        padding: 20px 10px !important;
        -webkit-overflow-scrolling: touch;
    }

    .custom-modal-content {
        margin: 15px auto !important; /* Add top/bottom margin for scroll padding */
        padding: 20px 15px !important;
        border-radius: 12px !important;
        max-width: 95% !important;
        width: 100% !important;
        overflow: visible !important; /* Allow absolute elements like close button to display nicely */
    }

    .modal-close-btn {
        top: 10px !important;
        right: 10px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
        background: rgba(0, 0, 0, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        z-index: 100 !important;
    }

    .modal-title {
        font-size: 1.15rem !important;
        margin-top: 6px !important;
        line-height: 1.25 !important;
    }

    .modal-subtitle {
        font-size: 0.70rem !important;
        margin-bottom: 10px !important;
    }

    .modal-pricing-box {
        padding: 7px 10px !important;
        gap: 6px !important;
        margin-bottom: 10px !important;
    }

    .price-value.highlight-gold {
        font-size: 1.25rem !important;
    }

    .price-value {
        font-size: 0.95rem !important;
    }

    .modal-features-list {
        gap: 5px !important;
        margin-bottom: 12px !important;
    }

    .modal-feature-item {
        font-size: 0.67rem !important;
        line-height: 1.32 !important;
    }

    .modal-feature-item .check-icon {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        margin-top: 1px !important;
    }

    .premium-cta-btn.modal-buy-btn {
        padding: 9px 16px !important;
        font-size: 0.80rem !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .premium-cta-btn.modal-buy-btn .cta-icon {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
    }

    .secondary-modal-btn.modal-demo-btn,
    .modal-download-direct-btn {
        padding: 9px 15px !important;
        font-size: 0.78rem !important;
        height: auto !important;
    }

    .modal-action-wrapper {
        gap: 6px !important;
        margin-top: 10px !important;
    }

    .modal-trust {
        margin-top: 6px !important;
        padding: 4px 8px !important;
        gap: 3px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 6px !important;
    }

    .modal-trust .trust-badge-item {
        font-size: 0.55rem !important;
        line-height: 1.2 !important;
        gap: 4px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        letter-spacing: 0.2px !important;
    }

    .modal-trust .trust-badge-item::before {
        font-size: 0.45rem !important;
        color: rgba(255, 255, 255, 0.3) !important;
        margin-right: 1px !important;
    }

    .trust-badge-item svg {
        width: 10px !important;
        height: 10px !important;
    }

    .modal-trust .trust-badge-item svg {
        width: 9.5px !important;
        height: 9.5px !important;
        min-width: 9.5px !important;
        color: var(--accent-gold) !important;
    }

    .modal-secure-note {
        font-size: 0.50rem !important;
        margin-top: 4px !important;
        opacity: 0.6 !important;
    }

    /* Adjustments for the instructions inside the Demo Download Modal */
    .loader-status {
        font-size: 0.8rem !important;
        padding: 8px !important;
        margin-bottom: 12px !important;
    }

    .instructions-box {
        padding: 10px !important;
        margin-top: 10px !important;
    }

    .instructions-heading {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }

    .instruction-step {
        font-size: 0.7rem !important;
        margin-bottom: 6px !important;
    }

    /* Split hanging pennants to left and right edges on mobile with crisp readability */
    .pennants-container {
        position: absolute !important;
        top: 102px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        transform: none !important;
        z-index: 40 !important;
        pointer-events: none !important;
        height: auto !important;
    }

    .pennants-container * {
        pointer-events: auto !important;
    }

    .pennants-container .pennant-wrapper {
        width: 130px !important;
        transform: scale(0.78) !important;
    }

    .pennants-container .main-pennant {
        transform-origin: top left !important;
    }

    .pennants-container .security-pennant {
        transform-origin: top right !important;
        margin-top: 0 !important;
    }

    /* Enhanced contrast and crispness for mobile pennant text */
    .pennants-container .pennant-badge-text,
    .pennants-container .security-badge-text {
        opacity: 0.95 !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
        color: #ffffff !important;
    }

    .pennants-container .security-badge-text {
        color: #2ecc71 !important;
    }

    .pennants-container .pennant-sub-title {
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: 0.5px !important;
    }

    .pennants-container .pennant-feature-text {
        color: #ffffff !important;
        opacity: 0.95 !important;
        font-weight: 700 !important;
    }

    .pennants-container .sec-item span {
        color: #ffffff !important;
        font-weight: 800 !important;
        font-size: 0.62rem !important;
        line-height: 1.3 !important;
    }

    .pennants-container .pennant-more-count {
        color: #ffffff !important;
        opacity: 0.85 !important;
        font-weight: 800 !important;
    }

    /* Refined & Proportionate FAQ (SSS) Section on Mobile */
    .faq-section {
        padding: 45px 0 !important;
    }

    .faq-section .section-title {
        font-size: 1.55rem !important;
        letter-spacing: 1.2px !important;
        margin-bottom: 24px !important;
    }

    .faq-container {
        gap: 10px !important;
        padding: 0 2px !important;
    }

    .faq-item {
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .faq-question {
        padding: 13px 15px !important;
        font-size: 0.88rem !important;
        line-height: 1.38 !important;
        font-weight: 600 !important;
        gap: 12px !important;
    }

    .faq-icon {
        width: 17px !important;
        height: 17px !important;
        flex-shrink: 0 !important;
    }

    .faq-answer {
        padding: 0 15px 14px 15px !important;
        font-size: 0.82rem !important;
        line-height: 1.55 !important;
        color: #b0b0b0 !important;
    }

    /* Refined & Proportionate About & Security Section on Mobile */
    .about-section {
        padding: 45px 0 35px 0 !important;
    }

    .about-section .section-title {
        font-size: 1.55rem !important;
        letter-spacing: 1.2px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .about-content {
        max-width: 100% !important;
        padding: 0 4px !important;
        text-align: left !important;
    }

    .about-section p,
    .about-content p,
    .about-section p[data-i18n="about.description"] {
        font-size: 0.88rem !important;
        line-height: 1.62 !important;
        margin-bottom: 24px !important;
        color: #d1d5db !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .about-section .about-content > div {
        margin-top: 15px !important;
        text-align: left !important;
    }

    .about-section h4 {
        display: inline-block !important;
        width: auto !important;
        font-size: 0.95rem !important;
        letter-spacing: 0.8px !important;
        margin-top: 14px !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        padding-bottom: 4px !important;
        border-bottom: 1px solid var(--accent-gold) !important;
        text-align: left !important;
    }

    .about-section p[data-i18n="about.legal_text"],
    .about-section p[data-i18n="about.security_text"] {
        font-size: 0.82rem !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
        color: #a8a8a8 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Mobile Arabic RTL Overrides */
    html[lang="ar"] .about-content,
    html[lang="ar"] .about-section p,
    html[lang="ar"] .about-section p[data-i18n="about.description"],
    html[lang="ar"] .about-section p[data-i18n="about.legal_text"],
    html[lang="ar"] .about-section p[data-i18n="about.security_text"],
    body.rtl-mode .about-content,
    body.rtl-mode .about-section p,
    body.rtl-mode .about-section p[data-i18n="about.description"],
    body.rtl-mode .about-section p[data-i18n="about.legal_text"],
    body.rtl-mode .about-section p[data-i18n="about.security_text"] {
        text-align: right !important;
        direction: rtl !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    html[lang="ar"] .about-section .about-content > div,
    body.rtl-mode .about-section .about-content > div {
        text-align: right !important;
    }

    html[lang="ar"] .about-section h4,
    body.rtl-mode .about-section h4 {
        text-align: right !important;
        direction: rtl !important;
        margin-right: 0 !important;
        margin-left: auto !important;
    }

    /* Mobile Arabic RTL Feature List Overrides */
    html[lang="ar"] .feature-list,
    body.rtl-mode .feature-list {
        display: block !important;
        width: 100% !important;
        text-align: right !important;
        direction: rtl !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    html[lang="ar"] .feature-list li,
    body.rtl-mode .feature-list li {
        padding-left: 0 !important;
        padding-right: 25px !important;
        text-align: right !important;
        direction: rtl !important;
        position: relative !important;
    }

    html[lang="ar"] .feature-list li::before,
    body.rtl-mode .feature-list li::before {
        content: "◄" !important;
        left: auto !important;
        right: 0 !important;
        top: 2px !important;
        position: absolute !important;
    }
}

/* Responsive scale for standard smartphones (iPhone, Galaxy, etc.) */
@media (max-width: 480px) {
    .pennants-container {
        padding: 0 8px !important;
    }

    .pennants-container .pennant-wrapper {
        transform: scale(0.72) !important;
    }

    .hero {
        padding-top: 170px !important;
    }

    .video-position-wrapper {
        width: 88% !important;
        max-width: 380px !important;
    }

    .faq-section {
        padding: 40px 0 !important;
    }

    .faq-section .section-title {
        font-size: 1.38rem !important;
        margin-bottom: 20px !important;
    }

    .faq-question {
        padding: 12px 14px !important;
        font-size: 0.84rem !important;
        line-height: 1.35 !important;
        gap: 10px !important;
    }

    .faq-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .faq-answer {
        padding: 0 14px 12px 14px !important;
        font-size: 0.80rem !important;
        line-height: 1.5 !important;
    }

    .about-section {
        padding: 40px 0 30px 0 !important;
    }

    .about-section .section-title {
        font-size: 1.38rem !important;
        margin-bottom: 18px !important;
        text-align: center !important;
    }

    .about-content {
        text-align: left !important;
    }

    .about-section p,
    .about-content p,
    .about-section p[data-i18n="about.description"] {
        font-size: 0.84rem !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .about-section h4 {
        font-size: 0.90rem !important;
        margin-top: 10px !important;
        margin-bottom: 8px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left !important;
    }

    .about-section p[data-i18n="about.legal_text"],
    .about-section p[data-i18n="about.security_text"] {
        font-size: 0.79rem !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Compact smartphones (e.g. 360px and smaller) */
@media (max-width: 360px) {
    .video-position-wrapper {
        width: 90% !important;
        max-width: 310px !important;
    }

    .pennants-container {
        padding: 0 6px !important;
    }

    .pennants-container .pennant-wrapper {
        transform: scale(0.67) !important;
    }

    .campaign-sticker-wrapper,
    .campaign-sticker {
        max-width: 275px !important;
    }

    .campaign-sticker {
        padding: 8px 10px !important;
    }

    .hero .premium-cta-btn,
    .footer .premium-cta-btn,
    .premium-cta-btn.large {
        max-width: 260px !important;
        padding: 10px 16px !important;
        font-size: 0.84rem !important;
        min-height: 40px !important;
    }

    .hero .premium-cta-btn .cta-icon,
    .footer .premium-cta-btn .cta-icon,
    .premium-cta-btn.large .cta-icon {
        width: 15px !important;
        height: 15px !important;
    }

    .faq-section .section-title {
        font-size: 1.25rem !important;
        letter-spacing: 0.8px !important;
    }

    .faq-question {
        padding: 10px 12px !important;
        font-size: 0.80rem !important;
    }

    .faq-answer {
        padding: 0 12px 12px 12px !important;
        font-size: 0.78rem !important;
    }

    .about-section .section-title {
        font-size: 1.25rem !important;
        letter-spacing: 0.8px !important;
        text-align: center !important;
    }

    .about-content {
        text-align: left !important;
    }

    .about-section p,
    .about-content p,
    .about-section p[data-i18n="about.description"] {
        font-size: 0.80rem !important;
        line-height: 1.5 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .about-section h4 {
        font-size: 0.85rem !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left !important;
    }

    .about-section p[data-i18n="about.legal_text"],
    .about-section p[data-i18n="about.security_text"] {
        font-size: 0.76rem !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   FOMO & Early Access Conversion Boosters
   ========================================================================== */
.price-hike-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 77, 77, 0.15);
    border: 1px solid rgba(255, 77, 77, 0.45);
    color: #ff6b6b;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    animation: softPillPulse 2.5s infinite ease-in-out;
}

@keyframes softPillPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); border-color: rgba(255, 77, 77, 0.85); }
}

.fomo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 28px auto 28px auto;
    width: 100%;
}

.fomo-benefit-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(18, 18, 18, 0.75);
    border: 1px solid rgba(255, 183, 3, 0.18);
    border-radius: 10px;
    padding: 12px 14px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    text-align: left;
}

.fomo-benefit-card:hover {
    border-color: rgba(255, 183, 3, 0.5);
    transform: translateY(-2px);
    background: rgba(24, 24, 24, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.fomo-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.fomo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fomo-content strong {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 700;
}

.fomo-content span {
    font-size: 0.74rem;
    color: #999;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .fomo-benefits-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 20px auto 25px auto;
    }
}

/* ============================================================
   UNIFIED MULTI-STEP EARLY ACCESS & WHOP CHECKOUT MODAL
   ============================================================ */

.custom-modal-content.early-access-modal-panel {
    max-width: 540px;
    width: 92%;
    padding: 0;
    overflow: hidden;
    background: rgba(14, 15, 20, 0.96);
    border: 1px solid rgba(255, 183, 3, 0.28);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.92), 0 0 50px rgba(255, 183, 3, 0.1);
    transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s ease;
}

/* Step 2: Expanded Checkout Mode (Widescreen 2-Column Whop Layout) */
.custom-modal-content.early-access-modal-panel.checkout-mode {
    max-width: 1080px;
    width: 95%;
}

/* Step Views */
.modal-step-view {
    display: none;
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.modal-step-view.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Step 1: Details padding matches original modal */
#earlyAccessStepDetails {
    padding: 40px;
}

#earlyAccessStepDetails.sliding-out {
    opacity: 0;
    transform: translateX(-20px);
}

/* Step 2: Checkout View */
#earlyAccessStepCheckout {
    display: none;
    flex-direction: column;
    height: 975px;
    max-height: 96vh;
    background: #18191f;
}

#earlyAccessStepCheckout.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

#earlyAccessStepCheckout.sliding-in {
    animation: whopStepSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes whopStepSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Integrated Header Bar */
.modal-checkout-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #111217;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 20;
    position: relative;
}

.modal-checkout-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.modal-checkout-back-btn svg {
    width: 13px;
    height: 13px;
}

.modal-checkout-back-btn:hover {
    background: rgba(255, 183, 3, 0.12);
    border-color: rgba(255, 183, 3, 0.35);
    color: #ffb703;
    transform: translateX(-2px);
}

.modal-checkout-security-tag {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    font-weight: 600;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    pointer-events: none;
    white-space: nowrap;
}

.modal-checkout-security-tag svg {
    color: #10b981;
}

.modal-checkout-close-btn {
    position: static !important;
    width: 28px !important;
    height: 28px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #9ca3af !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.modal-checkout-close-btn svg {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2.2 !important;
}

.modal-checkout-close-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
    transform: scale(1.06) !important;
}

.modal-checkout-ext-btn {
    position: static !important;
    width: 28px !important;
    height: 28px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #9ca3af !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.modal-checkout-ext-btn svg {
    width: 13px !important;
    height: 13px !important;
    stroke-width: 2.2 !important;
}

.modal-checkout-ext-btn:hover {
    background: rgba(255, 183, 3, 0.18) !important;
    border-color: rgba(255, 183, 3, 0.4) !important;
    color: #ffb703 !important;
    transform: scale(1.06) !important;
}

/* Email Accuracy Alert Notice Bar - Luminous Shimmer Effect */
.modal-checkout-notice-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 18px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.08) 0%, rgba(255, 183, 3, 0.14) 50%, rgba(239, 68, 68, 0.08) 100%);
    border-bottom: 1px solid rgba(255, 183, 3, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 12px rgba(255, 183, 3, 0.08);
    color: #ffffff;
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    z-index: 15;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

/* Soldan Sağa Kayan Işık Hüzmesi (Light Sweep Shimmer) */
.modal-checkout-notice-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 235, 170, 0.35) 50%,
        rgba(255, 255, 255, 0.08) 70%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: noticeLightSweep 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes noticeLightSweep {
    0% {
        left: -80%;
    }
    40%, 100% {
        left: 140%;
    }
}

.modal-checkout-notice-bar .notice-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    color: #ffb703;
    animation: noticeIconPulse 2s ease-in-out infinite alternate;
}

@keyframes noticeIconPulse {
    0% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 3px rgba(255, 183, 3, 0.5));
    }
    100% {
        transform: scale(1.12);
        filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.8)) drop-shadow(0 0 10px rgba(255, 183, 3, 0.7));
    }
}

.modal-checkout-notice-bar .notice-text {
    letter-spacing: 0.25px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 12px rgba(255, 183, 3, 0.25);
}

@media (max-width: 600px) {
    .modal-checkout-notice-bar {
        padding: 6px 12px;
        font-size: 0.67rem;
        gap: 6px;
    }
    .modal-checkout-notice-bar .notice-icon {
        width: 12px;
        height: 12px;
        min-width: 12px;
    }
}

/* Whop Checkout Container - Native Seamless Embed */
.modal-checkout-scroll-area {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    background: #18191f;
    overflow: hidden;
}

/* Whop Checkout Frame inside scroll area */
#whopCheckoutFrame {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: none;
    display: block;
    background: #18191f;
}

/* Spinner */
.whop-checkout-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #0d0e12;
    z-index: 10;
    color: #9ca3af;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.3s ease;
}

.whop-checkout-spinner.hidden {
    opacity: 0;
    pointer-events: none;
}

.whop-spinner-ring {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 183, 3, 0.15);
    border-top-color: #ffb703;
    border-radius: 50%;
    animation: whopSpinnerRotate 0.8s linear infinite;
}

@keyframes whopSpinnerRotate {
    to { transform: rotate(360deg); }
}

/* Mobile Checkout Screen & Native Touch Scroll Architecture */
@media (max-width: 768px) {
    /* Freeze and lock overlay when checkout is open */
    #earlyAccessModal.checkout-active,
    #earlyAccessModal:has(.checkout-mode) {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100% !important;
        max-height: 100dvh !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        touch-action: none !important;
        overscroll-behavior: none !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        z-index: 2000 !important;
    }

    /* Modal content takes entire viewport like a native mobile app sheet */
    .custom-modal-content.early-access-modal-panel.checkout-mode {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        z-index: 2005 !important;
    }

    /* Checkout Step Container fills the modal */
    .custom-modal-content.early-access-modal-panel.checkout-mode #earlyAccessStepCheckout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
        border-radius: 0 !important;
    }

    .custom-modal-content.early-access-modal-panel.checkout-mode .modal-checkout-header-bar {
        flex: 0 0 auto !important;
        padding: 8px 14px !important;
    }

    .custom-modal-content.early-access-modal-panel.checkout-mode .modal-checkout-security-tag {
        display: none !important;
    }

    .custom-modal-content.early-access-modal-panel.checkout-mode .modal-checkout-notice-bar {
        flex: 0 0 auto !important;
    }

    /* The Scroll Area: The ONLY scrolling element, with min-height: 0 so it stays bounded! */
    .custom-modal-content.early-access-modal-panel.checkout-mode .modal-checkout-scroll-area {
        display: block !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        touch-action: pan-y !important;
    }

    /* The Whop Iframe inside the scrollable container */
    .custom-modal-content.early-access-modal-panel.checkout-mode #whopCheckoutFrame {
        width: 100% !important;
        height: 980px !important;
        min-height: 980px !important;
        border: none !important;
        display: block !important;
    }
}

@media (max-width: 600px) {
    #earlyAccessStepDetails {
        padding: 20px 16px !important;
    }
}