/* ==========================================
   STORE PAGE STILLARI (MATTE BLACK & WHITE TEXT)
   ========================================== */
:root {
    --bg-main: #050505;
    --card-bg: #0d0d0d;
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-green: #00e676; /* Faqat tanlangan aktiv ramkalar uchun qoladi */
    --text-primary: #ffffff;
    --text-secondary: #888888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 20%, #121212 0%, #050505 80%);
    opacity: 0.9;
    z-index: -2;
}

#particles-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: -1; overflow: hidden;
}

.robux-particle {
    position: absolute;
    color: rgba(255, 255, 255, 0.12);
    font-weight: 600; font-size: 14px;
    user-select: none; animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 0; }
    20% { opacity: 0.25; }
    80% { opacity: 0.25; }
    100% { transform: translateY(105vh) rotate(180deg); opacity: 0; }
}

/* INTRO */
#intro-screen {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #030303; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

#intro-screen.hide {
    opacity: 0; transform: scale(1.05); visibility: hidden; pointer-events: none;
}

.intro-content { display: flex; align-items: center; gap: 25px; }
.intro-logo-box { width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.3); animation: logoPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s; }
.intro-logo-img { width: 100%; height: auto; object-fit: contain; filter: invert(1); }
@keyframes logoPop { to { opacity: 1; transform: scale(1); } }
.intro-line { width: 2px; height: 0px; background: #ffffff; box-shadow: 0 0 10px rgba(255,255,255,0.8); animation: lineGrow 0.5s ease forwards 0.9s; }
@keyframes lineGrow { to { height: 70px; } }
.intro-text-wrapper { overflow: hidden; }
.intro-text { font-size: 52px; font-weight: 800; color: #ffffff; letter-spacing: 4px; text-transform: uppercase; transform: translateX(-100%); opacity: 0; animation: textSlideOut 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.4s; }
@keyframes textSlideOut { to { transform: translateX(0); opacity: 1; } }

/* NAVBAR */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 60px; position: fixed; top: 0; left: 0; width: 100%;
    z-index: 100; background: rgba(5, 5, 5, 0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo { font-size: 18px; font-weight: 800; letter-spacing: 3px; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.logo-r { color: #fff; }
.nav-menu { display: flex; gap: 35px; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-secondary); font-size: 12px; font-weight: 600; letter-spacing: 2px; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.buy-pill-btn { text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 6px 22px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: 1px; transition: 0.3s; }
.buy-pill-btn:hover { background: #fff; color: #000; }

/* STORE MAIN SECTION */
.store-section {
    padding: 130px 40px 60px 40px;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.store-header-banner {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    width: 100%;
    box-sizing: border-box;
}

.badge-kafolat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 5px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600; display: inline-block; margin-bottom: 15px;
}

.store-header-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.store-header-banner p { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }

.banner-features { display: flex; justify-content: center; gap: 30px; font-size: 13px; font-weight: 600; flex-wrap: wrap; }
.banner-features span, .banner-features i { color: #fff !important; }

.store-grid-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; width: 100%; box-sizing: border-box; }
.store-left-content { display: flex; flex-direction: column; gap: 30px; width: 100%; box-sizing: border-box; }
.section-heading { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 5px; color: #fff; }
.section-heading i { color: #fff; }

/* Paketlar Setkasi */
.packages-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; width: 100%; box-sizing: border-box; }

.pkg-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px; padding: 15px 10px; text-align: center; cursor: pointer; position: relative; transition: 0.3s;
    box-sizing: border-box;
}
.pkg-card:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-3px); }
.pkg-card.active {
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
    background: #0d120f;
}
.pkg-status { position: absolute; top: 8px; right: 8px; font-size: 9px; color: #888; font-weight: 700; }

/* ROBUX RASMI (KICHIK VA IXCHAM QILINDI) */
.robux {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 6px auto 8px auto;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    transition: transform 0.25s ease;
}

.pkg-card:hover .robux {
    transform: scale(1.08);
}

.pkg-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.pkg-price { font-size: 13px; color: var(--primary-green); font-weight: 800; letter-spacing: -0.2px; }

.pkg-usd-tag {
    display: inline-block;
    font-size: 10px;
    color: #888;
    margin-top: 4px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pkg-status.badge-popular {
    color: #000;
    background: var(--primary-green);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 800;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
}

/* Info Box & FAQ */
.info-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px; padding: 20px 25px;
    width: 100%; box-sizing: border-box;
}
.info-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: #fff; }
.info-box h4 i { color: #fff; }
.info-box ol { padding-left: 20px; font-size: 13px; color: var(--text-secondary); line-height: 1.8; }


/* FAQ STYLES */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.faq-item {
    background: #090909;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
}

.faq-question i {
    color: #888888;
    font-size: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 10px 18px 16px 18px;
    font-size: 13px;
    color: #a5a5a5;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item.active {
    border-color: #00e676 !important;
    background: #0d1710 !important;
}

.faq-item.active .faq-answer {
    display: block !important;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) !important;
    color: #00e676 !important;
}

/* O'ng tomon: Buyurtma Paneli */
.store-right-checkout {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px; padding: 25px; height: fit-content;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    width: 100%;
    box-sizing: border-box;
}
.store-right-checkout h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #fff; }

.selected-package-preview {
    background: #090909; border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 16px; border-radius: 10px; display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; margin-bottom: 20px; color: #fff;
}
.selected-package-preview i { color: #fff; }
.selected-package-preview small { color: var(--text-secondary); font-weight: 400; margin-left: auto; }

.checkout-group { margin-bottom: 20px; }
.checkout-group label { font-size: 11px; color: var(--text-secondary); font-weight: 700; letter-spacing: 1px; display: block; margin-bottom: 10px; }

.method-option {
    background: #090909; border: 1px solid rgba(255,255,255,0.06);
    padding: 12px 15px; border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: 0.3s;
}
.method-option.active { border-color: var(--primary-green); background: #111b13; }
.method-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.method-option small { font-size: 11px; color: var(--text-secondary); }
.check-icon { margin-left: auto; color: var(--primary-green); }
.method-note { font-size: 11px; color: var(--text-secondary); line-height: 1.4; margin-top: 10px; display: flex; gap: 6px; }
.method-note i { color: #fff; }

.form-group { margin-bottom: 15px; }
.form-group label { font-size: 12px; color: var(--text-secondary); display: block; margin-bottom: 6px; }
.form-group input {
    width: 100%; background: #090909; border: 1px solid rgba(255,255,255,0.08);
    padding: 12px 15px; border-radius: 8px; color: #fff; font-size: 13px; outline: none; transition: 0.3s;
    box-sizing: border-box;
}
.form-group input:focus { border-color: rgba(255,255,255,0.3); }

.checkout-btn {
    width: 100%; background: #fff; color: #000; border: none;
    padding: 14px; border-radius: 10px; font-size: 14px; font-weight: 800; cursor: pointer;
    transition: 0.3s; margin-top: 10px;
}
.checkout-btn:hover { background: #e0e0e0; }

/* FOOTER */
.site-footer {
    background: #020202; border-top: 1px solid rgba(255,255,255,0.04);
    padding: 60px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-top: 60px;
    width: 100%; box-sizing: border-box;
}
.footer-logo { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.site-footer p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.site-footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 15px; color: #fff; }
.site-footer a { display: block; color: var(--text-secondary); font-size: 12px; text-decoration: none; margin-bottom: 8px; transition: 0.3s; }
.site-footer a:hover { color: #fff; }
.footer-socials { display: flex; gap: 15px; font-size: 16px; margin-top: 10px; }
.footer-bottom { grid-column: span 4; text-align: center; border-top: 1px solid rgba(255,255,255,0.04); padding-top: 20px; font-size: 11px; color: var(--text-secondary); }

/* ANIMATION */
main, section.store-section, main.rating-section, main.payments-section {
    animation: pageFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* MOBILE MENU DEFAULT */
.mobile-nav,
.menu-btn,
.mobile-menu,
#menu-toggle {
    display: none;
}

/* ==========================================
   RESPONSIVE (PLANCHET VA TELEFON)
   ========================================== */
@media (max-width: 1024px) {
    .navbar { padding: 20px 30px; }
    .store-section { padding: 110px 24px 50px 24px; }
    .packages-grid { grid-template-columns: repeat(3, 1fr); }
    .store-grid-layout { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
    .footer-bottom { grid-column: span 2; }
}

@media screen and (max-width: 768px) {
    /* Butun sahifa gorizontal siljimasligi kafolati */
    html, body {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .navbar {
        padding: 14px 16px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(15px);
    }

    .logo {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .desktop-menu,
    .buy-pill-btn {
        display: none !important;
    }

    .mobile-nav {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-nav a {
        color: #888;
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .mobile-nav a:hover, .mobile-nav a.active {
        color: white;
    }

    #menu-toggle {
        display: none;
    }

    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 26px;
        height: 26px;
        cursor: pointer;
        z-index: 102;
    }

    .menu-btn span {
        width: 22px;
        height: 2px;
        background: white;
        border-radius: 5px;
        transition: 0.3s ease;
    }

    #menu-toggle:checked + .menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #menu-toggle:checked + .menu-btn span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu {
        display: flex;
        position: absolute;
        top: 60px;
        right: 12px;
        width: 170px;
        padding: 10px;
        flex-direction: column;
        gap: 4px;
        background: rgba(18, 18, 18, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px) scale(0.95);
        transition: 0.25s ease;
        z-index: 101;
    }

    #menu-toggle:checked ~ .mobile-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        padding: 10px 12px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        border-radius: 8px;
    }

    .mobile-menu a:hover, .mobile-menu a.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--primary-green);
    }

    /* STORE TELEFONGA MOSLASH */
    .store-section {
        padding: 80px 12px 40px 12px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .store-header-banner {
        padding: 20px 14px !important;
        margin-bottom: 18px !important;
    }

    .store-header-banner h2 {
        font-size: 20px !important;
    }

    .banner-features {
        gap: 8px !important;
        font-size: 10.5px !important;
    }

    .store-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .pkg-card {
        padding: 12px 8px !important;
    }

    /* TELEFONDA ROBUX RASMI YANADA IXCHAM */
    .robux {
        width: 26px !important;
        height: 26px !important;
        margin: 4px auto 6px auto !important;
    }

    .pkg-card h4 {
        font-size: 12px !important;
    }

    .pkg-price {
        font-size: 11px !important;
    }

    .store-right-checkout {
        padding: 18px 14px !important;
    }

    .info-box {
        padding: 16px 14px !important;
    }

    .site-footer {
        padding: 25px 14px !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 35px !important;
    }

    .footer-bottom {
        grid-column: 1 !important;
        padding-top: 15px !important;
    }
}

@media screen and (max-width: 380px) {
    .navbar { padding: 12px 10px; }
    .logo { font-size: 12px; letter-spacing: 1px; }
    .mobile-nav { gap: 6px; }
    .mobile-nav a { font-size: 8.5px; }
    .packages-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ==========================================================================
   GAME PASS SOZLASH MODALI VA KO'RSATMA STILLARI (ROBUXSTORE THEME)
   ========================================================================== */
.pass-guide-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 230, 118, 0.06);
    border: 1px dashed rgba(0, 230, 118, 0.3);
    border-radius: 8px;
    color: var(--primary-green);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 4px;
}

.pass-guide-trigger:hover {
    background: rgba(0, 230, 118, 0.12);
    border-color: var(--primary-green);
}

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.custom-modal-box.pass-modal-box {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 230, 118, 0.08);
    position: relative;
    animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.pass-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.modal-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--primary-green);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.modal-header-left h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header-left h3 i {
    color: var(--primary-green);
}

.close-modal-icon-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #888;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.2s;
}

.close-modal-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pass-modal-desc {
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 20px;
}

.target-price-highlight {
    color: var(--primary-green);
    font-weight: 800;
    background: rgba(0, 230, 118, 0.1);
    padding: 2px 7px;
    border-radius: 6px;
}

.badge-action {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* ROBLOX STUDIO SALES MOCKUP UI */
.roblox-studio-mockup {
    background: #060606;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 140px 1fr;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.mockup-sidebar {
    background: #090909;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-side-item {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-side-item.active {
    background: #181818;
    color: #fff;
    font-weight: 700;
}

.mockup-main-panel {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mockup-panel-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

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

.mockup-label {
    font-size: 11px;
    font-weight: 700;
    color: #bbb;
}

.mockup-price-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111;
    border: 2px solid #ff334b;
    border-radius: 8px;
    padding: 6px 14px;
    width: fit-content;
    position: relative;
    box-shadow: 0 0 16px rgba(255, 51, 75, 0.45);
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 51, 75, 0.35); }
    50% { box-shadow: 0 0 22px rgba(255, 51, 75, 0.7); border-color: #ff4757; }
}

.robux-icon-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.mockup-price-val {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.price-focus-ring {
    position: absolute;
    right: -25px;
    width: 20px;
    height: 20px;
    border: 2px solid #ff334b;
    border-radius: 50%;
    animation: ringPing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ringPing {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.pass-modal-price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
}

.price-calc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #e0e0e0;
    margin-bottom: 4px;
}

.price-calc-row i {
    color: var(--primary-green);
    font-size: 12px;
}

/* VIDEO PLAYER CONTAINER */
.video-player-container {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 230, 118, 0.05);
}

.video-player-topbar {
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff334b;
    box-shadow: 0 0 8px #ff334b;
    animation: recBlink 1.2s infinite;
}

@keyframes recBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.video-title-text {
    font-size: 11px;
    font-weight: 700;
    color: #ddd;
    letter-spacing: 0.5px;
}

.video-title-text i {
    color: var(--primary-green);
    margin-right: 4px;
}

.video-hd-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.video-screen-content {
    position: relative;
    background: #060606;
}

/* SIMULATED MOUSE CURSOR */
.video-sim-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 16px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.9));
    pointer-events: none;
    z-index: 10;
    animation: cursorJourney 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes cursorJourney {
    0% { top: 20%; left: 80%; opacity: 0; }
    10% { top: 38%; left: 45%; opacity: 1; transform: scale(1); }
    25% { top: 38%; left: 45%; transform: scale(0.85); } /* Click price */
    35% { top: 56%; left: 88%; transform: scale(1); } /* Move to Item for sale */
    45% { top: 56%; left: 88%; transform: scale(0.85); } /* Click toggle ON */
    55% { top: 72%; left: 88%; transform: scale(1); } /* Move to Managed pricing */
    65% { top: 72%; left: 88%; transform: scale(0.85); } /* Click toggle OFF */
    75% { top: 88%; left: 75%; transform: scale(1); } /* Move to Save Changes */
    85% { top: 88%; left: 75%; transform: scale(0.8); } /* Click Save */
    95%, 100% { top: 95%; left: 95%; opacity: 0; }
}

/* TOGGLE ROWS & STATES */
.mockup-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.toggle-text-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-name {
    font-size: 12px;
    font-weight: 700;
    color: #eee;
}

.toggle-badge-note {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.toggle-badge-note.note-on {
    background: rgba(0, 230, 118, 0.15);
    color: var(--primary-green);
    border: 1px solid rgba(0, 230, 118, 0.35);
}

.toggle-badge-note.note-off {
    background: rgba(255, 51, 75, 0.12);
    color: #ff4d6d;
    border: 1px solid rgba(255, 51, 75, 0.3);
}

/* 1-GALOCHKA: SWITCH ON */
.custom-mockup-switch.switch-on {
    width: 48px;
    height: 24px;
    border-radius: 20px;
    background: #00e676;
    position: relative;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8px;
}

.custom-mockup-switch.switch-on .switch-state-text {
    font-size: 9px;
    font-weight: 800;
    color: #000;
}

.custom-mockup-switch.switch-on .switch-knob {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    top: 3px;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #00e676;
}

/* 2-GALOCHKA: SWITCH OFF */
.custom-mockup-switch.switch-off {
    width: 48px;
    height: 24px;
    border-radius: 20px;
    background: #222222;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 7px;
}

.custom-mockup-switch.switch-off .switch-state-text {
    font-size: 9px;
    font-weight: 800;
    color: #777;
}

.custom-mockup-switch.switch-off .switch-knob {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #666;
    position: absolute;
    top: 3px;
    left: 4px;
}

/* VIDEO BOTTOM BAR */
.video-player-bottombar {
    background: #0c0c0c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-time-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.video-time-fill {
    width: 35%;
    height: 100%;
    background: var(--primary-green);
    border-radius: 4px;
    animation: timeTrackLoop 9s linear infinite;
}

@keyframes timeTrackLoop {
    0% { width: 0%; }
    100% { width: 100%; }
}

.video-time-label {
    font-size: 10px;
    font-family: monospace;
    color: #999;
}

.video-auto-replay {
    font-size: 10px;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* INPUTS IN MODAL */
.pass-modal-inputs-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.modal-input-item label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #bbb;
    margin-bottom: 4px;
}

.modal-input-item label i {
    color: var(--primary-green);
}

.modal-input-item input {
    width: 100%;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 9px 12px;
    color: #fff;
    font-size: 12px;
    outline: none;
    transition: 0.2s;
}

.modal-input-item input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.mockup-buttons-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.mockup-cancel-btn {
    background: rgba(255, 255, 255, 0.06);
    color: #888;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.mockup-save-btn {
    background: #2563eb;
    color: #fff;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

/* FOOTER AND ACTIONS */
.pass-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pass-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.pass-target-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pass-target-badge .label {
    font-size: 12px;
    color: #888;
}

.price-copy-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.price-copy-pill:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.roblox-direct-link {
    text-decoration: none;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #c4b5fd;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.roblox-direct-link:hover {
    background: rgba(139, 92, 246, 0.25);
    color: #fff;
    border-color: #a78bfa;
}

.confirm-pass-btn {
    background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.35);
    transition: all 0.25s ease;
}

.confirm-pass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 230, 118, 0.55);
    filter: brightness(1.08);
}

.confirm-pass-btn:active {
    transform: translateY(0);
}

@media screen and (max-width: 540px) {
    .custom-modal-box.pass-modal-box {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    .roblox-studio-mockup {
        grid-template-columns: 1fr !important;
    }

    .mockup-sidebar {
        display: none !important;
    }

    .pass-info-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .price-copy-pill, .roblox-direct-link {
        justify-content: center !important;
        width: 100% !important;
    }
}