
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Cairo', Arial, sans-serif;
            background: #000;
            color: #fff;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            transition: background-color 0.4s ease, color 0.4s ease;
        }

        body.light-theme {
            background: #f8f9fa;
            color: #1a1a1a;
        }

        /* Light theme overrides for premium readability of image packages and modal texts */
        body.light-theme .package-card.has-image {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
        }
        body.light-theme .package-card.has-image .package-content-overlay {
            background: rgba(0, 0, 0, 0.02);
        }
        body.light-theme .package-card.has-image .package-name {
            color: #1a1a1a !important;
            text-shadow: none !important;
        }
        body.light-theme .package-card.has-image .package-price {
            color: #059669 !important;
            text-shadow: none !important;
        }
        body.light-theme .instructions-text {
            color: rgba(0, 0, 0, 0.7) !important;
        }
        body.light-theme .instruction-step * {
            color: #1a1a1a !important;
        }

        .sub-header-nav {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 1.5rem 1rem 0.5rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.2rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
        }

        .back-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
            color: #fff;
            transform: translateX(3px);
        }

        body.light-theme .back-btn {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.08);
            color: rgba(0, 0, 0, 0.75);
        }

        body.light-theme .back-btn:hover {
            background: rgba(0, 0, 0, 0.06);
            border-color: rgba(0, 0, 0, 0.15);
            color: #000;
        }

        .charge-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem 1rem 6rem;
            width: 100%;
        }

        .game-header {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 1.25rem;
            padding: 1.25rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 2rem;
            transition: all 0.4s ease;
            position: relative;
        }

        .game-icon {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            object-fit: cover;
            display: block;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .game-info-col {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            align-items: flex-start;
        }

        .game-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin: 0;
            line-height: 1.2;
            transition: color 0.4s ease;
        }

        .game-actions-mini {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.25rem;
        }

        .rating-mini {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.8rem;
            color: #fbbf24;
            background: rgba(251, 191, 36, 0.1);
            padding: 0.25rem 0.5rem;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .rating-mini:hover {
            background: rgba(251, 191, 36, 0.2);
        }

        .favorite-btn-mini {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 6px;
            color: #ec4899;
            background: rgba(236, 72, 153, 0.1);
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }

        .favorite-btn-mini.active {
            background: #ec4899;
            color: white;
        }

        .balance-badge {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.15rem;
            padding: 0;
            background: none;
            border: none;
            text-align: left;
        }

        .balance-label {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.6);
            font-weight: 500;
        }

        .balance-amount {
            color: #10b981;
            font-weight: 700;
            font-size: 1.1rem;
            direction: ltr;
        }

        /* Light Theme Overrides */
        body.light-theme .game-header,
        .light-theme .game-header {
            background: #ffffff !important;
            border-color: rgba(0, 0, 0, 0.1) !important;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
        }

        body.light-theme .game-header .balance-label,
        .light-theme .game-header .balance-label {
            color: #475569 !important; /* Slate gray - مقروء للغاية وواضح جداً */
        }

        body.light-theme .game-header .balance-amount,
        .light-theme .game-header .balance-amount {
            color: #059669 !important; /* Emerald green - أخضر زمردي داكن ومثالي */
        }

        body.light-theme .game-header .balance-amount span,
        .light-theme .game-header .balance-amount span {
            color: #059669 !important; /* للرمز الخاص بالعملة داخل الرصيد */
        }

        body.light-theme .rating-mini {
            background: #fffbeb;
            color: #d97706;
        }

        body.light-theme .favorite-btn-mini {
            background: #fdf2f8;
            color: #db2777;
        }

        body.light-theme .favorite-btn-mini.active {
            background: #ec4899;
            color: white;
        }

        @media (max-width: 480px) {
            .game-header {
                padding: 1rem;
                gap: 1rem;
            }

            .game-icon {
                width: 56px;
                height: 56px;
                border-radius: 14px;
            }

            .game-title {
                font-size: 1.1rem;
            }

            .balance-amount {
                font-size: 1rem;
            }
        }

        .section-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: color 0.4s ease;
        }

        body.light-theme .section-title {
            color: #1a1a1a;
        }

        .server-select-wrapper {
            margin-bottom: 1.5rem;
            background: rgba(255, 255, 255, 0.025);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            padding: 0.85rem 1.15rem;
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
        }

        body.light-theme .server-select-wrapper {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.08);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
        }

        .server-select-label {
            display: flex;
            align-items: center;
            gap: 0.45rem;
            font-size: 0.88rem;
            font-weight: 800;
            margin: 0;
            color: #fff;
        }

        body.light-theme .server-select-label {
            color: #0f172a;
        }

        .server-select-label i {
            color: #10b981;
            font-size: 0.95rem;
        }

        .servers-horizontal-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
        }

        .server-pill-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            padding: 0.5rem 0.95rem;
            background: rgba(255, 255, 255, 0.04);
            border: 1.5px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: #e2e8f0;
            font-family: inherit;
            font-size: 0.84rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            user-select: none;
            position: relative;
            text-align: center;
            width: auto;
            white-space: nowrap;
        }

        @media (max-width: 768px) {
            .server-select-wrapper {
                padding: 0.75rem 0.9rem;
            }
            .servers-horizontal-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 0.45rem;
                width: 100%;
            }
            .server-pill-btn {
                display: flex;
                width: 100%;
                padding: 0.55rem 0.5rem;
                font-size: 0.8rem;
                white-space: normal;
                line-height: 1.25;
            }
        }

        body.light-theme .server-pill-btn {
            background: #f8fafc;
            border-color: rgba(0, 0, 0, 0.1);
            color: #334155;
        }

        .server-pill-btn i {
            color: var(--primary);
            font-size: 0.85rem;
        }

        .server-pill-btn:hover:not(.unavailable):not(:disabled) {
            border-color: rgba(16, 185, 129, 0.5);
            background: rgba(16, 185, 129, 0.08);
            color: #fff;
            transform: translateY(-1px);
        }

        body.light-theme .server-pill-btn:hover:not(.unavailable):not(:disabled) {
            background: rgba(16, 185, 129, 0.1);
            color: #0f172a;
        }

        .server-pill-btn.active {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.3));
            border-color: #10b981;
            color: #fff;
            box-shadow: 0 0 0 1px #10b981, 0 4px 12px rgba(16, 185, 129, 0.2);
        }

        body.light-theme .server-pill-btn.active {
            background: #10b981;
            border-color: #10b981;
            color: #ffffff;
        }

        body.light-theme .server-pill-btn.active i {
            color: #ffffff;
        }

        .server-pill-btn.unavailable {
            opacity: 0.45;
            cursor: not-allowed;
            background: rgba(255, 255, 255, 0.01);
            border-color: rgba(255, 255, 255, 0.05);
        }

        .server-badge-unav {
            font-size: 0.62rem;
            color: #ef4444;
            background: rgba(239, 68, 68, 0.15);
            padding: 0.1rem 0.35rem;
            border-radius: 4px;
            font-weight: 600;
        }

        /* Quantity Pricing Styles */
        .quantity-section {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            transition: all 0.4s ease;
        }

        body.light-theme .quantity-section {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
        }

        .mode-tabs {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .mode-tab {
            flex: 1;
            padding: 1rem;
            border: 2px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.6);
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .mode-tab:hover {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }

        .mode-tab.active {
            border-color: #10b981;
            background: linear-gradient(135deg, #10b981, #059669);
            color: #fff;
        }

        body.light-theme .mode-tab {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.1);
            color: rgba(0, 0, 0, 0.7);
        }

        body.light-theme .mode-tab:hover {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
            color: #1a1a1a;
        }

        body.light-theme .mode-tab.active {
            background: linear-gradient(135deg, #10b981, #059669);
            color: #ffffff;
        }

        .input-mode {
            display: none;
        }

        .input-mode.active {
            display: block;
        }

        .quantity-input-group {
            margin-bottom: 1.5rem;
        }

        .quantity-input-group label {
            display: block;
            margin-bottom: 0.75rem;
            font-weight: 600;
            color: #e2e8f0;
            transition: color 0.4s ease;
        }

        body.light-theme .quantity-input-group label {
            color: #1a1a1a;
        }

        .quantity-input-wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 0.75rem;
            transition: all 0.4s ease;
        }

        body.light-theme .quantity-input-wrapper {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
        }

        .quantity-btn {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            border: none;
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            font-size: 1.25rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
        }

        .quantity-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
        }

        .quantity-input-wrapper input {
            flex: 1;
            background: transparent;
            border: none;
            color: #fff;
            font-size: 1.25rem;
            font-weight: 700;
            text-align: center;
            font-family: 'Cairo', sans-serif;
            padding: 0.5rem;
            transition: color 0.4s ease;
        }

        body.light-theme .quantity-input-wrapper input {
            color: #1a1a1a;
        }

        .quantity-input-wrapper input:focus {
            outline: none;
        }

        .quantity-suffix {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.4s ease;
        }

        body.light-theme .quantity-suffix {
            color: rgba(0, 0, 0, 0.6);
        }

        .quantity-limits {
            font-size: 0.8rem;
            margin-top: 0.5rem;
            text-align: center;
            transition: color 0.4s ease;
        }

        body.light-theme .quantity-limits {
            color: rgba(0, 0, 0, 0.6);
        }

        body.light-theme .quantity-limits strong {
            color: inherit;
        }

        .quick-amounts {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .quick-amount-btn {
            padding: 0.75rem 1.25rem;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            color: #e2e8f0;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        body.light-theme .quick-amount-btn {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.1);
            color: rgba(0, 0, 0, 0.7);
        }

        .quick-amount-btn:hover {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.15);
            transform: translateY(-2px);
        }

        body.light-theme .quick-amount-btn:hover {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
            color: #1a1a1a;
        }

        .calc-box {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
            border: 2px solid rgba(16, 185, 129, 0.3);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: all 0.4s ease;
        }

        body.light-theme .calc-box {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.05) 100%);
            border-color: rgba(16, 185, 129, 0.2);
        }

        .calc-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: border-color 0.4s ease;
        }

        body.light-theme .calc-row {
            border-bottom-color: rgba(0, 0, 0, 0.1);
        }

        .calc-row:last-child {
            border-bottom: none;
        }

        .calc-row .label {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            transition: color 0.4s ease;
        }

        body.light-theme .calc-row .label {
            color: rgba(0, 0, 0, 0.6);
        }

        .calc-row .value {
            color: #fff;
            font-size: 1.1rem;
            font-weight: 700;
            transition: color 0.4s ease;
        }

        body.light-theme .calc-row .value {
            color: #1a1a1a;
        }

        .calc-row .value.coins {
            color: #10b981;
        }

        .calc-row .value.price {
            color: #10b981;
        }

        body.light-theme .calc-row .value.coins {
            color: #10b981;
        }

        body.light-theme .calc-row .value.price {
            color: #10b981;
        }

        .calc-row-total {
            border-top: 2px solid rgba(16, 185, 129, 0.3);
            padding-top: 1rem;
            margin-top: 0.75rem;
            padding-bottom: 0.75rem;
            background: rgba(16, 185, 129, 0.05);
            border-radius: 8px;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        body.light-theme .calc-row-total {
            border-top-color: rgba(16, 185, 129, 0.2);
            background: rgba(16, 185, 129, 0.03);
        }

        .calc-row-total .label {
            font-size: 1.1rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.9);
        }

        body.light-theme .calc-row-total .label {
            color: rgba(0, 0, 0, 0.9);
        }

        .calc-row-total .value {
            font-size: 1.4rem;
            font-weight: 800;
        }

        .calc-row-total .value.price {
            color: #10b981;
            font-size: 1.5rem;
        }

        body.light-theme .calc-row-total .value.price {
            color: #059669;
        }

        .packages-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.65rem;
            margin-bottom: 2rem;
        }

        @media (max-width: 900px) {
            .packages-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 0.6rem;
            }
        }

        @media (max-width: 550px) {
            .packages-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
            }
        }

        .saved-players-btn {
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.2);
            padding: 0.5rem 0.8rem;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            margin-bottom: 0.5rem;
        }

        .saved-players-btn:hover {
            background: rgba(239, 68, 68, 0.2);
            transform: translateY(-1px);
        }

        .package-card {
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 0.65rem 0.45rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.4rem;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        @media (max-width: 480px) {
            .package-card {
                padding: 0.55rem 0.35rem;
            }
        }

        body.light-theme .package-card {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.12);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        }

        @media (max-width: 480px) {
            .package-card {
                padding: 0.6rem 0.4rem;
                min-height: 80px;
            }
        }

        .package-card::before {
            content: '';
            position: absolute;
            top: 0.5rem;
            left: 0.5rem;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
        }

        @media (max-width: 480px) {
            .package-card::before {
                width: 14px;
                height: 14px;
                top: 0.4rem;
                left: 0.4rem;
            }
        }

        .package-card:hover {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
            transform: translateY(-2px);
        }

        .package-card.selected {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.15);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
        }

        .package-card.selected::before {
            background: #10b981;
            border-color: #10b981;
        }

        .package-card.selected::after {
            content: '✓';
            position: absolute;
            top: 0.5rem;
            left: 0.5rem;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.6rem;
            font-weight: bold;
        }

        @media (max-width: 480px) {
            .package-card.selected::after {
                width: 14px;
                height: 14px;
                font-size: 0.55rem;
            }
        }

        .package-icon {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, #10b981, #059669);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
            overflow: hidden;
        }

        .package-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
        }

        /* Dedicated Box Design for Package Name & Price */
        .package-card.has-image {
            display: flex;
            flex-direction: column;
            gap: 0; /* Ensure no gap between image and content */
            padding: 0;
            min-height: auto;
            border-color: rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.03);
            overflow: hidden;
        }

        .package-card.has-image .package-icon {
            position: relative;
            width: 100%;
            aspect-ratio: 1 / 1;
            height: auto;
            border-radius: 0;
            background: #1a1a2e;
            z-index: 1;
            flex-shrink: 0;
            margin: 0;
        }

        .package-card.has-image .package-content-overlay {
            position: relative;
            z-index: 2;
            width: 100%;
            padding: 0.75rem 0.4rem;
            background: rgba(255, 255, 255, 0.07);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            border-top: none; /* Removed the visible gap line */
            margin: 0;
        }

        .package-card.has-image .package-name {
            color: #fff;
            text-shadow: 0 1px 4px rgba(0,0,0,0.8);
            margin-bottom: 0;
        }

        .package-card.has-image .package-price {
            color: #10b981;
            font-weight: 800;
            text-shadow: 0 1px 4px rgba(0,0,0,0.8);
        }

        .package-card.has-image:hover .package-icon img {
            transform: none;
        }

        .package-card.has-image .package-icon img {
            object-fit: contain;
            object-position: center;
            transition: transform 0.5s ease;
        }

        .package-card.has-image::before {
            z-index: 3; /* Radio circle on top */
        }
        
        .package-card.has-image.selected::after {
            z-index: 4; /* Checkmark on top */
        }

        @media (max-width: 480px) {
            .package-icon {
                width: 26px;
                height: 26px;
                font-size: 0.8rem;
            }
        }

        .package-name {
            font-size: 0.75rem;
            font-weight: 600;
            text-align: center;
            line-height: 1.2;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        @media (max-width: 480px) {
            .package-name {
                font-size: 0.65rem;
                -webkit-line-clamp: 1;
            }
        }

        .package-price {
            font-size: 0.85rem;
            font-weight: 800;
            color: #10b981;
        }

        @media (max-width: 480px) {
            .package-price {
                font-size: 0.7rem;
            }
        }

        .package-card.unavailable {
            filter: grayscale(100%);
            -webkit-filter: grayscale(100%);
            opacity: 0.8;
            cursor: not-allowed;
            pointer-events: none;
            border-style: dashed;
            border-color: #4b5563 !important;
            background: rgba(255, 255, 255, 0.02) !important;
        }

        .package-card.unavailable .package-icon {
            background: #4b5563 !important;
        }

        .package-card.unavailable .package-price {
            color: #94a3b8 !important;
        }

        .package-card.unavailable::after {
            content: 'غير متوفر';
            position: absolute;
            top: 7px;
            right: -25px;
            transform: rotate(45deg);
            background: linear-gradient(135deg, #ff4d4d, #cc0000);
            color: #fff;
            font-size: 0.6rem;
            padding: 3px 0;
            font-weight: 800;
            width: 90px;
            text-align: center;
            z-index: 10;
            box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
            border: none;
        }

        @media (max-width: 480px) {
            .package-card.unavailable::after {
                font-size: 0.6rem;
                padding: 3px 8px;
            }
        }

        .order-form {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 1.5rem;
            transition: all 0.4s ease;
        }

        body.light-theme .order-form {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
        }

        @media (max-width: 480px) {
            .order-form {
                padding: 1rem;
            }
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.75rem;
            font-weight: 600;
            font-size: 1rem;
        }

        @media (max-width: 480px) {
            .form-label {
                font-size: 0.9rem;
                margin-bottom: 0.5rem;
            }
        }

        .form-input {
            width: 100%;
            padding: 1rem;
            padding-left: 80px; /* Space for paste button */
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: #fff;
            font-family: inherit;
            font-size: 16px;
            transition: all 0.3s;
        }

        .form-input:focus {
            outline: none;
            border-color: #10b981;
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
        }

        .input-wrapper-relative {
            position: relative;
            width: 100%;
        }

        .paste-btn {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
            color: #10b981;
            padding: 5px 12px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 6px;
            font-family: 'Cairo', sans-serif;
        }

        .paste-btn:hover {
            background: rgba(16, 185, 129, 0.2);
            transform: translateY(-50%) scale(1.05);
        }

        .paste-btn i {
            font-size: 0.9rem;
        }

        body.light-theme .paste-btn {
            background: rgba(16, 185, 129, 0.1);
            border-color: rgba(16, 185, 129, 0.2);
            color: #10b981;
        }

        body.light-theme .paste-btn:hover {
            background: rgba(16, 185, 129, 0.2);
        }

        body.light-theme .form-input {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
            color: #1a1a1a;
        }

        body.light-theme .form-input:focus {
            border-color: #10b981;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
        }

        body.light-theme .form-input::placeholder {
            color: rgba(0, 0, 0, 0.5);
        }

        body.light-theme .form-label {
            color: #1a1a1a;
        }

        .submit-btn {
            width: 100%;
            padding: 1rem;
            background: #10b981;
            color: white;
            border: none;
            border-radius: 12px;
            font-family: inherit;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            transition: all 0.3s;
            margin-top: 1rem;
        }

        @media (max-width: 480px) {
            .submit-btn {
                padding: 0.875rem;
                font-size: 1rem;
            }
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
        }

        .submit-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        body.light-theme .submit-btn {
            background: linear-gradient(135deg, #10b981, #059669);
            color: #ffffff;
        }

        body.light-theme .submit-btn:hover {
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
        }

        .empty-state {
            text-align: center;
            padding: 4rem 1rem;
            color: rgba(255, 255, 255, 0.6);
            transition: color 0.4s ease;
        }

        body.light-theme .empty-state {
            color: rgba(0, 0, 0, 0.6);
        }

        .empty-state i {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        /* Success Modal Styles */
        .success-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999999;
            animation: fadeIn 0.3s ease;
            transition: background 0.4s ease;
        }

        body.light-theme .success-modal-overlay {
            background: rgba(0, 0, 0, 0.7);
        }

        .success-modal-content {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            border-radius: 24px;
            padding: 3rem 2rem;
            max-width: 500px;
            width: 90%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
            animation: slideUp 0.4s ease;
            transition: all 0.4s ease;
        }

        body.light-theme .success-modal-content {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes slideUp {
            from {
                transform: translateY(30px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .success-icon-wrapper {
            margin-bottom: 2rem;
        }

        .success-checkmark {
            width: 100px;
            height: 100px;
            margin: 0 auto;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .check-icon {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: rgba(16, 185, 129, 0.15);
            border: 4px solid #10b981;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            animation: checkmarkScale 0.5s ease;
        }

        .check-icon i {
            font-size: 3.5rem;
            color: #10b981;
            animation: checkmarkFadeIn 0.5s ease 0.2s both;
        }

        @keyframes checkmarkScale {
            0% {
                transform: scale(0);
                opacity: 0;
            }

            50% {
                transform: scale(1.1);
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes checkmarkFadeIn {
            0% {
                opacity: 0;
                transform: scale(0.5);
            }

            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        .success-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 2rem;
            transition: color 0.4s ease;
        }

        body.light-theme .success-title {
            color: #1a1a1a;
        }

        /* Instructions Overlay */
        .instructions-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 999999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            animation: fadeIn 0.3s ease;
        }

        .instructions-content {
            background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
            border-radius: 24px;
            padding: 2rem;
            max-width: 500px;
            width: 100%;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
            transform: scale(0.9);
            animation: modalScaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        body.light-theme .instructions-content {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 20px 50px rgba(0,0,0,0.1);
        }

        @keyframes modalScaleUp {
            to { transform: scale(1); }
        }

        .instructions-icon {
            width: 70px;
            height: 70px;
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin: 0 auto 1.5rem;
        }

        .instructions-title {
            font-size: 1.4rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: #fff;
        }

        body.light-theme .instructions-title {
            color: #1a1a1a;
        }

        .instructions-text {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 2rem;
            max-height: 60vh;
            overflow-y: auto;
            text-align: right;
            padding-right: 0.5rem;
        }

        .instruction-step {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
            text-align: right;
        }

        body.light-theme .instruction-step {
            background: rgba(0, 0, 0, 0.02);
            border-color: rgba(0, 0, 0, 0.05);
        }

        .step-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            color: #10b981;
            font-weight: 700;
            font-size: 1.1rem;
        }

        .step-content {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        body.light-theme .step-content {
            color: rgba(0, 0, 0, 0.8);
        }

        .step-image {
            width: 100%;
            border-radius: 12px;
            margin-top: 0.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .step-image:hover {
            transform: scale(1.02);
        }

        .step-video {
            width: 100%;
            aspect-ratio: 16/9;
            border-radius: 12px;
            margin-top: 0.5rem;
            border: none;
        }

        /* Game Reviews Section (Matching Live Apps) */
        .game-reviews {
            margin-top: 2.5rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: clamp(1rem, 3vw, 1.5rem);
            scroll-margin-top: 90px;
        }
        body.light-theme .game-reviews {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }
        .game-reviews-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        body.light-theme .game-reviews-heading {
            border-bottom-color: rgba(0, 0, 0, 0.1);
        }
        .game-reviews-heading > div { display: flex; align-items: center; gap: .7rem; }
        .game-reviews-heading h2 { margin: 0; font-size: clamp(1.15rem, 3vw, 1.35rem); color: #fff; }
        body.light-theme .game-reviews-heading h2 { color: #1a1a1a; }
        .game-section-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; color: #fbbf24; background: rgba(251, 191, 36, .1); }
        .game-verified-label { display: inline-flex; align-items: center; gap: .4rem; color: #a7f3d0; font-size: .78rem; }
        body.light-theme .game-verified-label { color: #059669; }
        .game-reviews-summary { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 2rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
        body.light-theme .game-reviews-summary { border-bottom-color: rgba(0, 0, 0, 0.1); }
        @media (max-width: 600px) { .game-reviews-summary { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; } }
        .game-review-score { display: grid; place-items: center; gap: .3rem; }
        .game-review-score strong { color: #fff; font-size: 2.6rem; line-height: 1; }
        body.light-theme .game-review-score strong { color: #1a1a1a; }
        .game-review-score span { color: #fbbf24; letter-spacing: .15rem; }
        .game-review-score small { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
        body.light-theme .game-review-score small { color: rgba(0, 0, 0, 0.6); }
        .game-rating-bars { display: grid; gap: .45rem; }
        .game-rating-bar { display: grid; grid-template-columns: 58px 1fr 38px; align-items: center; gap: .65rem; color: rgba(255, 255, 255, 0.7); font-size: .75rem; }
        body.light-theme .game-rating-bar { color: rgba(0, 0, 0, 0.7); }
        .game-rating-bar > div { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
        body.light-theme .game-rating-bar > div { background: rgba(0, 0, 0, 0.08); }
        .game-rating-bar > div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #10b981, #34d399); }
        .game-reviews-filters { display: flex; align-items: center; gap: .6rem; margin: 1.25rem 0 .75rem; flex-wrap: wrap; }
        .game-filter-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, 0.7); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; transition: all .25s ease; }
        body.light-theme .game-filter-btn { border-color: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.04); color: rgba(0, 0, 0, 0.7); }
        .game-filter-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); transform: translateY(-1px); }
        body.light-theme .game-filter-btn:hover { background: rgba(0, 0, 0, 0.08); color: #000; }
        .game-filter-btn.active { background: rgba(16, 185, 129, .15); border-color: #10b981; color: #6ee7b7; box-shadow: 0 4px 14px rgba(16, 185, 129, .2); }
        body.light-theme .game-filter-btn.active { color: #059669; }
        .game-reviews-list { display: grid; }
        .game-review-item { display: grid; grid-template-columns: 44px 1fr; gap: .85rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: opacity .3s ease, transform .3s ease; }
        body.light-theme .game-review-item { border-bottom-color: rgba(0, 0, 0, 0.08); }
        .game-review-item:last-child { border-bottom: 0; }
        .game-review-item.is-hidden-review { display: none !important; }
        .game-review-avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, #475569, #10b981); }
        .game-review-content { min-width: 0; }
        .game-review-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
        .game-review-meta > div { display: grid; gap: .15rem; }
        .game-review-meta strong { color: #fff; font-size: .86rem; }
        body.light-theme .game-review-meta strong { color: #1a1a1a; }
        .game-review-meta small { color: rgba(255, 255, 255, 0.5); font-size: .7rem; }
        body.light-theme .game-review-meta small { color: rgba(0, 0, 0, 0.5); }
        .game-review-stars { display: inline-flex; direction: ltr; gap: .15rem; color: rgba(255, 255, 255, .16); font-size: .73rem; }
        body.light-theme .game-review-stars { color: rgba(0, 0, 0, 0.16); }
        .game-review-stars .is-active { color: #fbbf24; }
        .game-review-content p { margin: .55rem 0; color: rgba(255, 255, 255, 0.9); line-height: 1.8; overflow-wrap: anywhere; }
        body.light-theme .game-review-content p { color: #243a33; }
        .game-review-content p.is-empty-comment { color: rgba(255, 255, 255, 0.4); font-style: italic; }
        body.light-theme .game-review-content p.is-empty-comment { color: rgba(0, 0, 0, 0.4); }
        .game-review-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; color: rgba(255, 255, 255, 0.6); font-size: .72rem; margin-top: .6rem; }
        body.light-theme .game-review-foot { color: rgba(0, 0, 0, 0.6); }
        .game-review-foot-left { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
        .game-review-foot-left span { display: inline-flex; align-items: center; gap: .3rem; color: #6ee7b7; }
        body.light-theme .game-review-foot-left span { color: #059669; }
        .game-review-like-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, 0.7); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: all .2s ease; }
        body.light-theme .game-review-like-btn { border-color: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.04); color: rgba(0, 0, 0, 0.7); }
        .game-review-like-btn:hover { background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .3); color: #6ee7b7; transform: translateY(-1px); }
        body.light-theme .game-review-like-btn:hover { color: #059669; }
        .game-review-like-btn.is-liked { background: rgba(16, 185, 129, .16); border-color: #10b981; color: #10b981; }
        .game-review-like-btn.is-liked i { color: #10b981; }
        .game-reviews-more-wrap { display: flex; justify-content: center; padding-top: 1.25rem; margin-top: .5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
        body.light-theme .game-reviews-more-wrap { border-top-color: rgba(0, 0, 0, 0.1); }
        .game-reviews-more-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.5rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; transition: all .25s ease; }
        body.light-theme .game-reviews-more-btn { border-color: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.05); color: #1a1a1a; }
        .game-reviews-more-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; transform: translateY(-2px); }
        body.light-theme .game-reviews-more-btn:hover { background: rgba(0, 0, 0, 0.1); color: #000; }
        .game-reviews-empty { display: grid; place-items: center; gap: .65rem; padding: 2rem 1rem; color: rgba(255, 255, 255, 0.5); text-align: center; }
        body.light-theme .game-reviews-empty { color: rgba(0, 0, 0, 0.5); }
        .game-reviews-empty i { color: #10b981; font-size: 1.8rem; }
        .game-reviews-empty p { margin: 0; }

        /* Live Apps Matching Layout (PC & Mobile) */
        .live-breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.25rem; color: rgba(255, 255, 255, 0.6); font-size: .85rem; }
        .live-breadcrumbs a { color: #10b981; text-decoration: none; }
        body.light-theme .live-breadcrumbs { color: rgba(0, 0, 0, 0.6); }

        .live-product-page { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; min-width: 0; gap: 1.5rem; }
        .live-product-page > * { min-width: 0; }

        .live-product-hero,
        .live-inline-order,
        .game-guide,
        .game-reviews { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; background: rgba(255, 255, 255, 0.03); }

        body.light-theme .live-product-hero,
        body.light-theme .live-inline-order,
        body.light-theme .game-guide,
        body.light-theme .game-reviews { border-color: rgba(0, 0, 0, 0.1); background: #ffffff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }

        .live-product-hero { display: grid; grid-template-columns: minmax(220px, 275px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.15rem, 3vw, 2rem); align-items: center; }
        .live-mobile-hero { display: none; }
        .live-mobile-topbar { display: none; }

        .live-product-media { min-width: 0; }
        .live-product-image { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
        .live-product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .live-product-rating { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .8rem; color: #fff; text-decoration: none; }
        body.light-theme .live-product-rating { color: #1a1a1a; }
        .live-product-rating .live-rating-stars { color: #fbbf24; letter-spacing: .08rem; font-size: .84rem; }
        .live-product-rating strong { font-size: 1rem; }
        .live-product-rating small { color: rgba(255, 255, 255, 0.6); }
        body.light-theme .live-product-rating small { color: rgba(0, 0, 0, 0.6); }

        .live-product-summary h1 { margin: .75rem 0; color: #fff; font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1.35; }
        body.light-theme .live-product-summary h1 { color: #1a1a1a; }
        .live-product-summary > p { color: rgba(255, 255, 255, 0.7); line-height: 1.9; margin: 0; }
        body.light-theme .live-product-summary > p { color: rgba(0, 0, 0, 0.7); }

        .live-product-badges { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
        .live-product-badges span { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 999px; color: #d1fae5; background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .25); font-size: .78rem; font-weight: 700; }
        .live-product-badges .is-unavailable { color: #fecaca; background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .25); }

        .live-product-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0; }
        .live-product-trust-grid > div { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .75rem; border-inline-start: 1px solid rgba(255, 255, 255, 0.1); }
        body.light-theme .live-product-trust-grid > div { border-inline-start-color: rgba(0, 0, 0, 0.1); }
        .live-product-trust-grid > div:first-child { border-inline-start: 0; }
        .live-product-trust-grid i { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #10b981; background: rgba(16, 185, 129, .1); }
        .live-product-trust-grid span { min-width: 0; display: grid; gap: .15rem; }
        .live-product-trust-grid strong { color: #fff; font-size: .84rem; white-space: nowrap; }
        body.light-theme .live-product-trust-grid strong { color: #1a1a1a; }
        .live-product-trust-grid small { color: rgba(255, 255, 255, 0.6); font-size: .68rem; line-height: 1.5; }
        body.light-theme .live-product-trust-grid small { color: rgba(0, 0, 0, 0.6); }

        .live-product-cta { width: 100%; max-width: 420px; border: 0; border-radius: 13px; padding: .9rem 1.2rem; background: linear-gradient(135deg, #10b981, #059669); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px rgba(16, 185, 129, .2); transition: all .25s ease; }
        .live-product-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(16, 185, 129, .3); }
        .live-product-cta:not(:disabled) i { margin-inline-start: .35rem; animation: liveCtaDown 1.15s ease-in-out infinite; }
        .live-product-cta:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .65; }
        @keyframes liveCtaDown { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

        .live-inline-order { padding: clamp(1rem, 3vw, 1.75rem); scroll-margin-top: 90px; }
        .live-inline-order-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
        body.light-theme .live-inline-order-heading { border-bottom-color: rgba(0, 0, 0, 0.1); }
        .live-inline-order-heading h2 { margin: 0 0 .25rem; }
        body.light-theme .live-inline-order-heading h2 { color: #1a1a1a !important; }
        .live-inline-order-heading p { margin: 0; color: rgba(255, 255, 255, 0.6); line-height: 1.7; }
        body.light-theme .live-inline-order-heading p { color: rgba(0, 0, 0, 0.6) !important; }
        .live-inline-order-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 20px rgba(16, 185, 129, .2); }

        @media (max-width: 900px) {
            .live-product-hero { grid-template-columns: 220px 1fr; }
            .live-product-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .live-product-trust-grid > div:nth-child(3) { border-inline-start: 0; }
        }

        @media (max-width: 680px) {
            .live-product-hero { display: none !important; }
            .live-mobile-hero {
                display: block !important;
                border: 1px solid rgba(255, 255, 255, 0.08);
                border-radius: 20px;
                background: rgba(255, 255, 255, 0.03);
                padding: 1rem;
            }
            body.light-theme .live-mobile-hero {
                border-color: rgba(0, 0, 0, 0.1);
                background: #ffffff;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            }
            .live-mobile-topbar {
                display: flex !important;
                align-items: center;
                justify-content: space-between;
                padding-bottom: 0.75rem;
                margin-bottom: 0.75rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                color: #fff;
            }
            body.light-theme .live-mobile-topbar {
                border-bottom-color: rgba(0, 0, 0, 0.08);
                color: #1a1a1a;
            }
            .live-mobile-topbar strong { font-size: 1.1rem; font-weight: 700; }
            .live-mobile-back-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
            body.light-theme .live-mobile-back-btn { background: rgba(0, 0, 0, .04); border-color: rgba(0, 0, 0, .1); color: #1a1a1a; }
            
            .live-mobile-trust {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 0.4rem;
                padding: 0.6rem 0.4rem;
                margin-bottom: 0.85rem;
                background: rgba(255, 255, 255, 0.02);
                border: 1px solid rgba(255, 255, 255, 0.05);
                border-radius: 12px;
                text-align: center;
            }
            body.light-theme .live-mobile-trust {
                background: rgba(0, 0, 0, 0.02);
                border-color: rgba(0, 0, 0, 0.05);
            }
            .live-mobile-trust span { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; color: #fff; font-size: 0.72rem; }
            body.light-theme .live-mobile-trust span { color: #1a1a1a; }
            .live-mobile-trust i { color: #10b981; }

            .live-mobile-app-row {
                display: grid;
                grid-template-columns: 84px 1fr;
                gap: 0.85rem;
                align-items: center;
                margin-bottom: 1rem;
            }
            .live-mobile-app-image { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.05); flex-shrink: 0; }
            .live-mobile-app-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
            .live-mobile-app-info { min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
            .live-mobile-status { position: relative; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; font-weight: 700; color: #10b981; }
            .live-mobile-app-info .mobile-seo-title { margin: 0; font-size: 1.15rem; color: #fff; line-height: 1.3; }
            body.light-theme .live-mobile-app-info .mobile-seo-title { color: #1a1a1a; }
            .live-mobile-rating { display: inline-flex; align-items: center; gap: 0.35rem; color: #fbbf24; text-decoration: none; font-size: 0.75rem; margin-top: 0.15rem; }
            .live-mobile-rating strong { color: #fff; font-size: 0.85rem; }
            body.light-theme .live-mobile-rating strong { color: #1a1a1a; }
            .live-mobile-rating small { color: rgba(255, 255, 255, 0.5); font-size: 0.7rem; }
            body.light-theme .live-mobile-rating small { color: rgba(0, 0, 0, 0.5); }

            .live-mobile-order-link {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 0.5rem;
                padding: 0.75rem 1rem;
                border-radius: 12px;
                border: none;
                background: linear-gradient(135deg, #10b981, #059669);
                color: #fff;
                font: inherit;
                font-size: 0.85rem;
                font-weight: 700;
                cursor: pointer;
                box-shadow: 0 8px 18px rgba(16, 185, 129, 0.25);
            }
            .live-mobile-order-link i { animation: liveCtaDown 1.15s ease-in-out infinite; }
        }

        /* Related Games Section (Bottom of Page) */
        .game-related-section {
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.03);
            padding: clamp(1rem, 3vw, 1.5rem);
            margin-top: 1.5rem;
        }
        .game-related-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1.25rem;
            padding-bottom: 0.85rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .game-related-title {
            display: flex;
            align-items: center;
            gap: 0.65rem;
        }
        .game-related-title i {
            color: #10b981;
            font-size: 1.25rem;
        }
        .game-related-title h2 {
            color: #fff;
            font-size: clamp(1.05rem, 2.5vw, 1.25rem);
            margin: 0;
            font-weight: 700;
        }
        .game-related-all-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: #10b981;
            font-size: 0.88rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .game-related-all-link:hover {
            color: #34d399;
            transform: translateX(-3px);
        }
        .game-related-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 0.75rem;
        }
        .game-related-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1rem 0.6rem;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .game-related-card:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(16, 185, 129, 0.3);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }
        .game-related-card-img {
            width: 60px;
            height: 60px;
            border-radius: 14px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.05);
            margin-bottom: 0.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .game-related-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .game-related-card-name {
            color: #fff;
            font-size: 0.8rem;
            font-weight: 600;
            text-align: center;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        @media (max-width: 992px) {
            .game-related-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 550px) {
            .game-related-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
            .game-related-card { padding: 0.75rem 0.5rem; }
            .game-related-card-img { width: 48px; height: 48px; }
        }

        /* Light Theme Overrides */
        body.light-theme .game-related-section {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }
        body.light-theme .game-related-header {
            border-bottom-color: rgba(0, 0, 0, 0.08);
        }
        body.light-theme .game-related-title h2 {
            color: #0f172a;
        }
        body.light-theme .game-related-card {
            background: rgba(0, 0, 0, 0.02);
            border-color: rgba(0, 0, 0, 0.06);
        }
        body.light-theme .game-related-card:hover {
            background: rgba(0, 0, 0, 0.04);
            border-color: #10b981;
        }
        body.light-theme .game-related-card-name {
            color: #0f172a;
        }
        body.light-theme .live-product-badges span {
            color: #047857 !important;
            background: rgba(16, 185, 129, 0.12) !important;
            border-color: rgba(16, 185, 129, 0.3) !important;
        }
        body.light-theme .live-product-badges .is-unavailable {
            color: #b91c1c !important;
            background: rgba(239, 68, 68, 0.12) !important;
            border-color: rgba(239, 68, 68, 0.3) !important;
        }
        body.light-theme .live-mobile-status {
            color: #047857 !important;
        }
        body.light-theme .live-inline-order-heading h2,
        body.light-theme .game-guide-heading h2,
        body.light-theme .game-reviews-heading h2 {
            color: #0f172a !important;
        }
        body.light-theme .live-inline-order-heading p,
        body.light-theme .game-guide-heading p {
            color: #64748b !important;
        }
        body.light-theme .package-card {
            background: #ffffff !important;
            border-color: rgba(0, 0, 0, 0.12) !important;
        }
        body.light-theme .package-card:hover {
            background: #f0fdf4 !important;
            border-color: #10b981 !important;
        }
        body.light-theme .package-card.selected {
            background: #ecfdf5 !important;
            border-color: #10b981 !important;
        }
        body.light-theme .package-name {
            color: #0f172a !important;
        }
        body.light-theme .package-price {
            color: #059669 !important;
        }
        body.light-theme .package-card.has-image .package-content-overlay {
            background: #f8fafc !important;
        }
        body.light-theme .package-card.has-image .package-name {
            color: #0f172a !important;
            text-shadow: none !important;
        }
        body.light-theme .package-card.has-image .package-price {
            color: #059669 !important;
            text-shadow: none !important;
        }
        body.light-theme .form-label {
            color: #0f172a !important;
        }
        body.light-theme .form-input {
            background: #ffffff !important;
            border-color: rgba(0, 0, 0, 0.14) !important;
            color: #0f172a !important;
        }
        body.light-theme .form-input::placeholder {
            color: #94a3b8 !important;
        }
        body.light-theme .mode-tab {
            background: rgba(0, 0, 0, 0.04) !important;
            border-color: rgba(0, 0, 0, 0.08) !important;
            color: #475569 !important;
        }
        body.light-theme .mode-tab.active {
            background: rgba(16, 185, 129, 0.12) !important;
            border-color: #10b981 !important;
            color: #059669 !important;
        }
        body.light-theme .quantity-input-group label {
            color: #0f172a !important;
        }
        body.light-theme .quantity-input-wrapper {
            background: #f8fafc !important;
            border-color: rgba(0, 0, 0, 0.14) !important;
        }
        body.light-theme #quantityInput {
            color: #0f172a !important;
        }
        body.light-theme .quantity-btn {
            background: rgba(0, 0, 0, 0.05) !important;
            color: #0f172a !important;
        }
        body.light-theme .quick-amount-btn {
            background: rgba(0, 0, 0, 0.03) !important;
            border-color: rgba(0, 0, 0, 0.08) !important;
            color: #0f172a !important;
        }
        body.light-theme .calc-box {
            background: #f8fafc !important;
            border-color: rgba(0, 0, 0, 0.08) !important;
        }
        body.light-theme .calc-row .label {
            color: #64748b !important;
        }
        body.light-theme .calc-row .value {
            color: #0f172a !important;
        }
        body.light-theme .calc-row-total .value.price {
            color: #059669 !important;
        }
        body.light-theme .instruction-step-item {
            background: rgba(0, 0, 0, 0.02) !important;
            border-color: rgba(0, 0, 0, 0.06) !important;
        }
        body.light-theme .instruction-title {
            color: #0f172a !important;
        }
        body.light-theme .game-review-score strong {
            color: #0f172a !important;
        }
        body.light-theme .game-review-meta strong {
            color: #0f172a !important;
        }
        body.light-theme .game-review-content p {
            color: #334155 !important;
        }
        body.light-theme .game-review-like-btn {
            background: rgba(0, 0, 0, 0.03) !important;
            border-color: rgba(0, 0, 0, 0.1) !important;
            color: #64748b !important;
        }
        body.light-theme .saved-ids-btn,
        body.light-theme .paste-btn {
            background: rgba(0, 0, 0, 0.04) !important;
            border-color: rgba(0, 0, 0, 0.1) !important;
            color: #0f172a !important;
        }

        /* Inline Instructions Section */
        .instructions-container {
            margin-top: 2.5rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .instruction-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 1.5rem;
            transition: all 0.3s ease;
            text-align: right;
        }

        body.light-theme .instruction-card {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.1);
        }

        .instruction-card:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(16, 185, 129, 0.3);
        }

        body.light-theme .instruction-card:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .instruction-title {
            color: #10b981;
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }


        .instruction-body {
            color: rgba(255, 255, 255, 0.85);
            line-height: 2;
            font-size: 1rem;
            margin-bottom: 1rem;
            overflow-wrap: anywhere;
        }

        .instruction-body p { margin: 0 0 1em; }
        .instruction-body h2,
        .instruction-body h3,
        .instruction-body h4 { color: #fff; line-height: 1.55; }
        .instruction-body h2 { margin: 1.6em 0 .65em; padding-right: .75rem; border-right: 4px solid #10b981; font-size: 1.35rem; }
        .instruction-body h3 { margin: 1.35em 0 .55em; font-size: 1.15rem; }
        .instruction-body h4 { margin: 1.2em 0 .5em; font-size: 1rem; }
        .instruction-body ul,
        .instruction-body ol { margin: .75rem 0 1.2rem; padding-right: 1.5rem; }
        .instruction-body li { margin: .25rem 0; }
        .instruction-body blockquote { margin: 1.2rem 0; padding: .9rem 1rem; border-right: 4px solid #10b981; border-radius: 10px; color: #fff; background: rgba(16, 185, 129, .07); }
        .instruction-body a { color: #10b981; text-decoration: underline; }
        .instruction-body img { display: block; max-width: 100%; height: auto; margin: 1.2rem auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
        .instruction-body figure { margin: 1.3rem 0; }
        .instruction-body figcaption { margin-top: .4rem; color: rgba(255, 255, 255, 0.6); text-align: center; font-size: .8rem; }
        .instruction-body table { display: block; width: 100%; margin: 1.2rem 0; overflow-x: auto; border-collapse: collapse; }
        .instruction-body th,
        .instruction-body td { min-width: 110px; padding: .65rem; border: 1px solid rgba(255, 255, 255, 0.1); }
        .instruction-body th { color: #fff; background: rgba(16, 185, 129, .08); }

        body.light-theme .instruction-body {
            color: #243a33;
        }
        body.light-theme .instruction-body h2,
        body.light-theme .instruction-body h3,
        body.light-theme .instruction-body h4 { color: #0f172a; }
        body.light-theme .instruction-body blockquote { color: #0f172a; background: rgba(16, 185, 129, .08); }
        body.light-theme .instruction-body th,
        body.light-theme .instruction-body td { border-color: rgba(15, 35, 29, 0.14); }
        body.light-theme .instruction-body th { color: #0f172a; }

        .instruction-media {
            margin-top: 1rem;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        body.light-theme .instruction-media {
            border-color: rgba(0, 0, 0, 0.1);
        }

        .instruction-media img {
            width: 100%;
            display: block;
            object-fit: contain;
            max-height: 500px;
            cursor: pointer;
        }

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .instructions-text::-webkit-scrollbar {
            width: 4px;
        }

        .instructions-text::-webkit-scrollbar-thumb {
            background: rgba(16, 185, 129, 0.3);
            border-radius: 10px;
        }

        .instructions-btn {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
        }

        .instructions-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
        }

        .skip-3days-btn {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.5);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.85rem;
            margin-top: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
        }

        .skip-3days-btn:hover {
            border-color: rgba(255, 255, 255, 0.4);
            color: rgba(255, 255, 255, 0.8);
        }

        body.light-theme .skip-3days-btn {
            border-color: rgba(0, 0, 0, 0.1);
            color: rgba(0, 0, 0, 0.5);
        }

        .success-details {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
            margin-bottom: 2rem;
        }

        .success-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: right;
            transition: all 0.4s ease;
        }

        body.light-theme .success-item {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.1);
        }

        .success-item i {
            font-size: 1.5rem;
            color: #10b981;
            width: 40px;
            text-align: center;
        }

        .success-item-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .success-label {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            transition: color 0.4s ease;
        }

        body.light-theme .success-label {
            color: rgba(0, 0, 0, 0.6);
        }

        .success-value {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
            transition: color 0.4s ease;
        }

        body.light-theme .success-value {
            color: #1a1a1a;
        }

        .success-balance {
            color: #10b981;
            font-size: 1.3rem;
        }

        .success-btn {
            width: 100%;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, #10b981, #059669);
            border: none;
            border-radius: 12px;
            color: #fff;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .success-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
        }

        @media (max-width: 480px) {
            .success-modal-content {
                padding: 2rem 1.5rem;
            }

            .success-checkmark {
                width: 80px;
                height: 80px;
            }

            .check-icon {
                width: 80px;
                height: 80px;
            }

            .check-icon i {
                font-size: 2.5rem;
            }

            .success-title {
                font-size: 1.5rem;
            }

            .success-item {
                padding: 0.875rem;
            }
        }

        /* Favorite and Review Buttons - Redesigned */
        .game-actions-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            width: 100%;
            margin-top: 0.5rem;
        }

        .action-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            height: 44px;
            padding: 0 1.25rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
        }

        .action-btn:hover {
            transform: translateY(-2px);
        }

        .rating-btn {
            background: rgba(251, 191, 36, 0.1);
            border-color: rgba(251, 191, 36, 0.2);
            color: #fbbf24;
            min-width: 140px;
        }

        .rating-btn:hover {
            background: rgba(251, 191, 36, 0.2);
            box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
        }

        .rating-btn .count {
            opacity: 0.7;
            font-size: 0.85em;
            font-weight: 400;
        }

        .favorite-btn {
            width: 44px;
            padding: 0;
            color: #ec4899;
            background: rgba(236, 72, 153, 0.1);
            border-color: rgba(236, 72, 153, 0.2);
        }

        .favorite-btn.active {
            background: #ec4899;
            color: #fff;
            border-color: #ec4899;
            box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
        }

        .favorite-btn:hover {
            background: rgba(236, 72, 153, 0.2);
        }

        .favorite-btn.active:hover {
            background: #db2777;
        }

        /* Light Theme Overrides */
        body.light-theme .rating-btn {
            background: #fffbeb;
            border-color: #fcd34d;
            color: #d97706;
        }

        body.light-theme .favorite-btn {
            background: #fdf2f8;
            border-color: #fbcfe8;
            color: #db2777;
        }

        body.light-theme .favorite-btn.active {
            background: #ec4899;
            border-color: #ec4899;
            color: #fff;
        }

        /* Review Modal */
        .review-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 10000;
            padding: 1rem;
            overflow-y: auto;
        }

        .review-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .review-modal-content {
            background: #1a1a1a;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem;
            max-width: 500px;
            width: 100%;
            position: relative;
        }

        body.light-theme .review-modal-content {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
        }

        .review-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
        }

        .review-modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
        }

        body.light-theme .review-modal-title {
            color: #1a1a1a;
        }

        .review-close-btn {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            display: grid;
            place-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        body.light-theme .review-close-btn {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.1);
            color: #1a1a1a;
        }

        .review-close-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .rating-stars {
            display: flex;
            gap: 0.5rem;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .rating-star {
            font-size: 2.5rem;
            color: rgba(255, 255, 255, 0.2);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        body.light-theme .rating-star {
            color: rgba(0, 0, 0, 0.2);
        }

        .rating-star:hover,
        .rating-star.active {
            color: #fbbf24;
            transform: scale(1.1);
        }

        .review-textarea {
            width: 100%;
            min-height: 120px;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: #fff;
            font-family: 'Cairo', sans-serif;
            font-size: 0.95rem;
            resize: vertical;
            margin-bottom: 1.5rem;
        }

        body.light-theme .review-textarea {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.1);
            color: #1a1a1a;
        }

        .review-textarea:focus {
            outline: none;
            border-color: #8b5cf6;
        }

        .review-submit-btn {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, #8b5cf6, #6366f1);
            border: none;
            border-radius: 12px;
            color: #fff;
            font-family: 'Cairo', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .review-submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
        }

        .review-submit-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        @media (max-width: 768px) {

            .favorite-btn-game,
            .review-btn {
                padding: 0.4rem 0.75rem;
                font-size: 0.75rem;
            }

            .favorite-btn-game span,
            .review-btn span {
                display: none;
            }

            .game-rating-badge {
                padding: 0.4rem 0.75rem;
                font-size: 0.75rem;
            }
        }

        /* Success Modal Rating Styles */
        .success-rating-star {
            font-size: 1.8rem;
            color: rgba(255, 255, 255, 0.2);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .success-rating-star:hover,
        .success-rating-star.active {
            color: #fbbf24;
            transform: scale(1.1);
        }
        
        body.light-theme .success-rating-star {
            color: rgba(0, 0, 0, 0.2);
        }

        @keyframes pulse-icon {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.8; }
            100% { transform: scale(1); opacity: 1; }
        }
    

        .unavailable-notice {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            margin: 2rem 0;
            color: #ef4444;
        }
        .unavailable-notice i {
            display: block;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        .unavailable-notice h3 {
            margin-bottom: 0.5rem;
            font-weight: 700;
        }
        .game-main-info.unavailable {
            filter: grayscale(1);
            opacity: 0.7;
        }
    
.sgc-balance-blocked{background:#30343a!important;color:#b9bfc7!important;border-color:#454b54!important;box-shadow:none!important;cursor:not-allowed!important;opacity:1!important;}

        .guest-auth-modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 1000000;
            display: grid;
            place-items: center;
            padding: 1rem;
            background: rgba(4, 7, 15, .78);
            backdrop-filter: blur(8px);
            opacity: 0;
            visibility: hidden;
            transition: opacity .2s ease, visibility .2s ease;
        }
        .guest-auth-modal-overlay.active { opacity: 1; visibility: visible; }
        .guest-auth-modal {
            width: min(100%, 390px);
            padding: 1.75rem;
            border: 1px solid rgba(16, 185, 129, .32);
            border-radius: 20px;
            background: linear-gradient(145deg, #1d2637, #101722);
            text-align: center;
            color: #fff;
            box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
            transform: translateY(12px) scale(.97);
            transition: transform .2s ease;
        }
        .guest-auth-modal-overlay.active .guest-auth-modal { transform: translateY(0) scale(1); }
        .guest-auth-icon {
            display: grid;
            place-items: center;
            width: 58px;
            height: 58px;
            margin: 0 auto 1rem;
            border-radius: 50%;
            color: #34d399;
            background: rgba(16, 185, 129, .14);
            font-size: 1.5rem;
        }
        .guest-auth-modal h2 { margin: 0 0 .6rem; font-size: 1.2rem; }
        .guest-auth-modal p { margin: 0 0 1.35rem; color: rgba(255,255,255,.72); line-height: 1.7; }
        .guest-auth-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
        .guest-auth-actions button { min-height: 46px; border: 0; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; }
        .guest-auth-login { color: #fff; background: linear-gradient(135deg, #10b981, #059669); }
        .guest-auth-register { color: #d1fae5; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12) !important; }
        .guest-auth-close { margin-top: 1rem; border: 0; background: transparent; color: rgba(255,255,255,.55); font: inherit; cursor: pointer; }
        body.light-theme .guest-auth-modal { color: #172033; background: #fff; border-color: rgba(5, 150, 105, .28); }
        body.light-theme .guest-auth-modal p { color: rgba(23,32,51,.7); }
        body.light-theme .guest-auth-register { color: #047857; background: rgba(5,150,105,.08); border-color: rgba(5,150,105,.16) !important; }
        body.light-theme .guest-auth-close { color: rgba(23,32,51,.6); }

        .jawaker-offer-tabs { display:flex; gap:.65rem; margin:0 0 1.25rem; padding:.35rem; border:1px solid rgba(16,185,129,.22); border-radius:14px; background:rgba(15,23,42,.72); }
        .jawaker-offer-tab { flex:1; border:0; border-radius:10px; padding:.85rem 1rem; color:#94a3b8; background:transparent; font:inherit; font-weight:800; cursor:pointer; transition:.2s ease; }
        .jawaker-offer-tab.active { color:#fff; background:linear-gradient(135deg,#10b981,#059669); box-shadow:0 8px 24px rgba(16,185,129,.2); }
        .jawaker-offer-pane { display:none; }
        .jawaker-offer-pane.active { display:block; }
        body.light-theme .jawaker-offer-tabs { background:#f8fafc; border-color:rgba(5,150,105,.25); }
        body.light-theme .jawaker-offer-tab { color:#64748b; }
        body.light-theme .jawaker-offer-tab.active { color:#fff; }


        @media (max-width: 600px) {
            .live-inline-order { padding: .85rem !important; border-radius: 16px; }
            .live-inline-order-heading { margin-bottom: .85rem; padding-bottom: .75rem; gap: .6rem; }
            .live-inline-order-heading p { font-size: .78rem !important; line-height: 1.55; }
            .live-inline-order-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
            .jawaker-offer-tabs { gap: .35rem; margin-bottom: .85rem; padding: .25rem; border-radius: 12px; }
            .jawaker-offer-tab { padding: .7rem .35rem; font-size: .88rem; border-radius: 9px; }
            .quantity-section { padding: .8rem; border-radius: 15px; margin-bottom: 1rem; }
            .mode-tabs { gap: .4rem; margin-bottom: 1rem; }
            .mode-tab { padding: .7rem .35rem; font-size: .82rem; border-radius: 9px; }
            .quantity-input-group label { font-size: .95rem; margin-bottom: .65rem; }
            .quantity-input-wrapper {
                display: grid;
                grid-template-columns: 38px minmax(0, 1fr) 38px;
                direction: rtl;
                gap: .35rem;
                padding: .5rem;
                width: 100%;
                box-sizing: border-box;
                overflow: hidden;
            }
            .quantity-input-wrapper .quantity-suffix { display: none; }
            #priceMode .quantity-input-wrapper {
                display: flex;
                direction: rtl;
                gap: .5rem;
                padding: .65rem .8rem;
                overflow: visible;
            }
            #priceMode .quantity-input-wrapper .quantity-suffix {
                display: inline-flex;
                flex: 0 0 auto;
                align-items: center;
                color: rgba(255,255,255,.65);
            }
            #priceMode .quantity-input-wrapper input {
                flex: 1 1 auto;
                width: 100%;
                min-width: 0;
                text-align: right;
                padding: .25rem;
            }
            body.light-theme #priceMode .quantity-input-wrapper .quantity-suffix { color: #64748b; }
            .quantity-btn { width: 38px; min-width: 38px; height: 38px; border-radius: 9px; font-size: 1.1rem; }
            .quantity-input-wrapper input { width: 100%; min-width: 0; padding: .25rem; font-size: 1.15rem; }
            .quantity-limits { font-size: .7rem; line-height: 1.8; margin-top: .55rem; }
            .quick-amounts { justify-content: center; margin: .75rem 0 1rem; }
            .quick-amount-btn { padding: .6rem .9rem; font-size: .82rem; }
            .calc-box { padding: .9rem; border-width: 1px; border-radius: 13px; margin-bottom: 1rem; }
            .calc-row { gap: .6rem; padding: .65rem 0; }
            .calc-row .label { font-size: .82rem; }
            .calc-row .value { font-size: .9rem; text-align: left; }
            .calc-row-total { padding: .75rem !important; }
            .calc-row-total .value { font-size: 1.25rem; }
            .quantity-section .order-form { padding: .8rem; margin-top: 1rem !important; border-radius: 13px; }
        }

        /* Compact full-page scale for phones; desktop remains unchanged. */
        @media (max-width: 600px) {
            .charge-container { padding: .65rem .5rem 3.5rem !important; }
            .live-product-page { gap: .7rem !important; font-size: 13px; }
            .live-product-hero,
            .live-inline-order,
            .game-guide,
            .game-reviews { border-radius: 14px !important; }
            .live-mobile-hero { padding: .65rem !important; border-radius: 14px !important; }
            .live-mobile-topbar { padding-bottom: .45rem !important; margin-bottom: .45rem !important; }
            .live-mobile-topbar strong { font-size: .9rem !important; }
            .live-mobile-trust { padding: .35rem .2rem !important; margin-bottom: .5rem !important; gap: .2rem !important; }
            .live-mobile-trust span { font-size: .6rem !important; gap: .15rem !important; }
            .live-mobile-app-row { grid-template-columns: 62px minmax(0, 1fr) !important; gap: .6rem !important; margin-bottom: .55rem !important; }
            .live-mobile-app-image { width: 62px !important; height: 62px !important; border-radius: 11px !important; }
            .live-mobile-app-info .mobile-seo-title { font-size: .95rem !important; line-height: 1.45 !important; margin-bottom: .25rem !important; }
            .live-mobile-rating,
            .live-mobile-status { font-size: .63rem !important; }
            .live-mobile-order-link { padding: .62rem !important; font-size: .8rem !important; border-radius: 10px !important; }
            .live-inline-order { padding: .7rem !important; }
            .live-inline-order-heading { margin-bottom: .65rem !important; padding-bottom: .6rem !important; gap: .5rem !important; }
            .live-inline-order-heading h2 { font-size: .92rem !important; line-height: 1.45 !important; }
            .live-inline-order-heading p { font-size: .68rem !important; line-height: 1.55 !important; }
            .live-inline-order-icon,
            .game-section-icon { width: 32px !important; height: 32px !important; flex-basis: 32px !important; border-radius: 8px !important; font-size: .85rem !important; }
            .jawaker-offer-tabs { margin-bottom: .65rem !important; }
            .jawaker-offer-tab { font-size: .76rem !important; padding: .55rem .2rem !important; }
            .quantity-section { padding: .65rem !important; border-radius: 12px !important; margin-bottom: .7rem !important; }
            .mode-tabs { margin-bottom: .7rem !important; }
            .mode-tab { font-size: .73rem !important; padding: .55rem .2rem !important; }
            .quantity-input-group label { font-size: .82rem !important; margin-bottom: .5rem !important; }
            .quantity-input-wrapper { grid-template-columns: 34px minmax(0,1fr) 34px !important; padding: .4rem !important; }
            #priceMode .quantity-input-wrapper { padding: .52rem .65rem !important; }
            .quantity-btn { width: 34px !important; min-width: 34px !important; height: 34px !important; font-size: .95rem !important; }
            .quantity-input-wrapper input { font-size: 1rem !important; }
            .quantity-limits { font-size: .65rem !important; line-height: 1.65 !important; }
            .quick-amounts { margin: .6rem 0 .75rem !important; gap: .35rem !important; }
            .quick-amount-btn { padding: .45rem .65rem !important; font-size: .72rem !important; }
            .calc-box { padding: .65rem !important; border-radius: 11px !important; margin-bottom: .7rem !important; }
            .calc-row { padding: .5rem 0 !important; }
            .calc-row .label { font-size: .72rem !important; }
            .calc-row .value { font-size: .8rem !important; }
            .calc-row-total { padding: .6rem !important; }
            .calc-row-total .value { font-size: 1rem !important; }
            .quantity-section .order-form { padding: .65rem !important; margin-top: .7rem !important; border-radius: 11px !important; }
            .form-label,
            .form-input,
            .saved-ids-btn,
            .submit-btn { font-size: .78rem !important; }
            .form-input { min-height: 42px !important; padding: .65rem .75rem !important; }
            .submit-btn { min-height: 42px !important; padding: .65rem !important; }
            .section-title { font-size: .9rem !important; margin-bottom: .55rem !important; }
            .packages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: .35rem !important; margin-bottom: .75rem !important; }
            .package-card { min-height: 60px !important; padding: .35rem .25rem !important; border-radius: 9px !important; border-width: 1px !important; }
            .package-card.has-image { min-height: 0 !important; padding: 0 !important; }
            .package-card.has-image .package-icon { aspect-ratio: 1 / 1 !important; }
            .package-card.has-image .package-icon img { object-fit: contain !important; object-position: center !important; transform: none !important; }
            .package-card.has-image .package-content-overlay { padding: .38rem .2rem !important; min-height: 48px !important; justify-content: center !important; }
            .package-name,
            .package-card.has-image .package-name { font-size: .62rem !important; line-height: 1.35 !important; }
            .package-price,
            .package-card.has-image .package-price { font-size: .65rem !important; line-height: 1.3 !important; }
            .package-card::before { width: 11px !important; height: 11px !important; top: .3rem !important; left: .3rem !important; border-width: 1px !important; }
            .package-card.selected::after { width: 11px !important; height: 11px !important; top: .3rem !important; left: .3rem !important; font-size: .45rem !important; }
            .game-guide-container { margin-top: .75rem !important; }
            .game-guide { padding: .7rem !important; }
            .game-guide-heading,
            .game-reviews-heading { margin-bottom: .6rem !important; padding-bottom: .6rem !important; }
            .game-guide-heading h2,
            .game-reviews-heading h2 { font-size: .92rem !important; }
            .game-guide-heading p,
            .game-reviews-heading p { font-size: .68rem !important; }
            .instruction-card { padding: .65rem !important; border-radius: 10px !important; }
            .game-legacy-instructions { margin-top: .75rem !important; padding-top: .75rem !important; }
            .game-legacy-instructions h3 { font-size: .88rem !important; margin-bottom: .6rem !important; }
            .instruction-step-item { padding: .65rem !important; border-radius: 9px !important; }
            .instruction-title { font-size: .8rem !important; }
            .instruction-body { font-size: .72rem !important; line-height: 1.65 !important; }
            .instruction-body p { margin-bottom: .5rem !important; }
            .instruction-body h2 { margin: .75rem 0 .35rem !important; padding-right: .45rem !important; border-right-width: 2px !important; font-size: .84rem !important; }
            .instruction-body h3 { margin: .65rem 0 .3rem !important; font-size: .78rem !important; }
            .instruction-body h4 { margin: .55rem 0 .25rem !important; font-size: .74rem !important; }
            .instruction-body ul,
            .instruction-body ol { margin: .45rem 0 .65rem !important; padding-right: 1rem !important; }
            .instruction-body li { margin: .15rem 0 !important; }
            .instruction-body blockquote { margin: .6rem 0 !important; padding: .5rem .6rem !important; border-right-width: 2px !important; border-radius: 7px !important; }
            .instruction-body img { max-height: 200px !important; width: auto !important; margin: .6rem auto !important; border-radius: 8px !important; object-fit: contain !important; }
            .instruction-body table { margin: .55rem 0 !important; font-size: .66rem !important; }
            .instruction-body th,
            .instruction-body td { min-width: 80px !important; padding: .38rem !important; }
            .game-reviews { margin-top: .75rem !important; padding: .7rem !important; }
            .game-reviews-summary { grid-template-columns: 1fr !important; gap: .55rem !important; padding: .6rem 0 !important; text-align: center !important; }
            .game-review-score { gap: .18rem !important; }
            .game-review-score strong { font-size: 1.55rem !important; }
            .game-review-score span { font-size: .68rem !important; letter-spacing: .08rem !important; }
            .game-review-score small { font-size: .65rem !important; }
            .game-rating-row { font-size: .64rem !important; gap: .35rem !important; }
            .game-reviews-filters { gap: .3rem !important; margin: .6rem 0 .3rem !important; }
            .game-review-filter { padding: .38rem .6rem !important; border-radius: 8px !important; font-size: .66rem !important; }
            .game-review-item { grid-template-columns: 32px minmax(0,1fr) !important; gap: .55rem !important; padding: .65rem 0 !important; }
            .game-review-avatar { width: 32px !important; height: 32px !important; font-size: .7rem !important; }
            .game-review-meta { gap: .45rem !important; }
            .game-review-meta strong { font-size: .72rem !important; }
            .game-review-meta small { font-size: .6rem !important; }
            .game-review-stars { gap: .08rem !important; font-size: .62rem !important; }
            .game-review-content p { margin: .35rem 0 !important; font-size: .69rem !important; line-height: 1.6 !important; }
            .game-review-foot { gap: .4rem !important; margin-top: .35rem !important; font-size: .61rem !important; }
            .game-review-foot-left { gap: .4rem !important; }
            .game-review-like-btn { gap: .25rem !important; padding: .28rem .5rem !important; border-radius: 7px !important; font-size: .64rem !important; }
            .game-reviews-more-wrap { padding-top: .55rem !important; margin-top: .2rem !important; }
            .game-reviews-more-btn { padding: .4rem .7rem !important; border-radius: 8px !important; font-size: .67rem !important; }
            .game-reviews-empty { padding: 1rem .5rem !important; font-size: .7rem !important; }
        }

        @media (max-width: 360px) { .guest-auth-modal { padding: 1.35rem 1rem; } .guest-auth-actions { grid-template-columns: 1fr; } }
    

        .confirm-modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        .confirm-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .confirm-modal-box {
            background: linear-gradient(145deg, #1e1e2e, #16161f);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem 1.8rem;
            max-width: 420px;
            width: 90%;
            text-align: center;
            transform: scale(0.8) translateY(20px);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
        }
        .confirm-modal-overlay.active .confirm-modal-box {
            transform: scale(1) translateY(0);
        }
        .confirm-modal-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 1.2rem;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: #f59e0b;
            border: 2px solid rgba(245, 158, 11, 0.3);
            animation: confirmPulse 2s ease-in-out infinite;
        }
        @keyframes confirmPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
            50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
        }
        .confirm-modal-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.5rem;
        }
        .confirm-modal-message {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        .confirm-modal-buttons {
            display: flex;
            gap: 0.75rem;
            direction: rtl;
        }
        .confirm-modal-btn {
            flex: 1;
            padding: 0.8rem 1rem;
            border: none;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
        }
        .confirm-modal-btn.yes {
            background: linear-gradient(135deg, #10b981, #059669);
            color: #fff;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }
        .confirm-modal-btn.yes:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }
        .confirm-modal-btn.no {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .confirm-modal-btn.no:hover {
            background: rgba(239, 68, 68, 0.15);
            border-color: rgba(239, 68, 68, 0.3);
            color: #ef4444;
        }

        /* Confirm Details Sequential Animations */
        @keyframes slideInConfirm {
            from {
                opacity: 0;
                transform: translateY(15px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .confirm-detail-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 0.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            opacity: 0;
            animation: slideInConfirm 0.4s ease forwards;
        }
        .confirm-detail-item:last-child {
            border-bottom: none;
        }
        .confirm-detail-item.item-1 { animation-delay: 0.1s; }
        .confirm-detail-item.item-2 { animation-delay: 0.2s; }
        .confirm-detail-item.item-3 { animation-delay: 0.3s; }
        .confirm-detail-item.item-4 { animation-delay: 0.4s; }
        .confirm-detail-item.item-5 { animation-delay: 0.5s; }
        .confirm-detail-item.item-6 { animation-delay: 0.6s; }

        .confirm-detail-label {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.85rem;
        }
        .confirm-detail-value {
            color: #fff;
            font-weight: 700;
            font-size: 0.95rem;
        }
        .confirm-detail-value.highlight {
            color: #f59e0b;
        }
        .confirm-detail-value.success-cost {
            color: #10b981;
        }
        .confirm-detail-value.danger-cost {
            color: #ef4444;
        }
        .confirm-detail-value.loyalty-points-value {
            color: #f59e0b;
        }

        /* Light Theme Overrides for Confirm Modal */
        body.light-theme .confirm-modal-box {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
        }
        body.light-theme .confirm-modal-title {
            color: #1a1a1a;
        }
        body.light-theme .confirm-modal-message {
            color: rgba(0, 0, 0, 0.7);
        }
        body.light-theme .confirm-detail-item {
            border-bottom-color: rgba(0, 0, 0, 0.05);
        }
        body.light-theme .confirm-detail-label {
            color: rgba(0, 0, 0, 0.6);
        }
        body.light-theme .confirm-detail-value {
            color: #1a1a1a;
        }
        body.light-theme .confirm-modal-btn.no {
            background: rgba(0, 0, 0, 0.05);
            color: rgba(0, 0, 0, 0.7);
            border-color: rgba(0, 0, 0, 0.1);
        }
        body.light-theme .confirm-message-text {
            color: #333333 !important;
        }
    

        .saved-ids-btn {
            background: none;
            border: none;
            color: #8b5cf6;
            cursor: pointer;
            font-size: 0.85em;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            float: left;
            transition: all 0.2s;
        }

        .saved-ids-btn:hover {
            text-decoration: underline;
            color: #6366f1;
        }

        .input-wrapper-relative {
            position: relative;
        }

        .saved-list-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #1e1e2e;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            z-index: 100;
            max-height: 200px;
            overflow-y: auto;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            display: none;
            margin-top: 5px;
        }

        .saved-item {
            padding: 10px;
            cursor: pointer;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .saved-item:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .saved-item:last-child {
            border-bottom: none;
        }

        .saved-item-name {
            font-weight: bold;
            color: #fff;
        }

        .saved-item-id {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.85em;
        }

        .save-player-option {
            margin-top: 10px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            border: 1px dashed rgba(255, 255, 255, 0.1);
        }

        .checkbox-container {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 0.9em;
            user-select: none;
            color: rgba(255, 255, 255, 0.8);
        }

        .checkbox-container input {
            accent-color: #8b5cf6;
            width: 16px;
            height: 16px;
        }

        .name-input-hidden {
            display: none;
            margin-top: 8px;
            width: 100%;
            padding: 8px;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            color: #fff;
        }

        /* Light theme support */
        body.light-theme .saved-ids-btn {
            color: #6366f1;
        }

        body.light-theme .saved-list-dropdown {
            background: #fff;
            border-color: rgba(0, 0, 0, 0.1);
            box-shadow: 0 44px 15px rgba(0, 0, 0, 0.1);
        }

        body.light-theme .saved-item {
            border-bottom-color: rgba(0, 0, 0, 0.05);
        }

        body.light-theme .saved-item:hover {
            background: rgba(0, 0, 0, 0.03);
        }

        body.light-theme .saved-item-name {
            color: #1a1a1a;
        }

        body.light-theme .saved-item-id {
            color: rgba(0, 0, 0, 0.5);
        }

        body.light-theme .save-player-option {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.1);
        }

        body.light-theme .checkbox-container {
            color: rgba(0, 0, 0, 0.7);
        }

        body.light-theme .name-input-hidden {
            background: #fff;
            border-color: rgba(0, 0, 0, 0.1);
            color: #1a1a1a;
        }
    

        /* Error Modal */
        .error-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            z-index: 9999999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .error-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .error-modal {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 24px;
            width: 90%;
            max-width: 420px;
            padding: 2rem;
            text-align: center;
            transform: scale(0.9);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(239, 68, 68, 0.1);
            font-family: 'Cairo', sans-serif;
        }

        .error-modal-overlay.active .error-modal {
            transform: scale(1);
        }

        .error-modal-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, #ef4444, #dc2626);
            border-radius: 50%;
            display: grid;
            place-items: center;
            font-size: 2rem;
            color: white;
            box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
            animation: errorPulse 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes errorPulse {
            0% { transform: scale(0); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        .error-modal-title {
            font-size: 1.25rem;
            font-weight: 800;
            color: #ef4444;
            margin-bottom: 0.75rem;
        }

        .error-modal-message {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 2rem;
        }

        .error-modal-btn {
            width: 100%;
            padding: 0.9rem;
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
            font-family: 'Cairo', sans-serif;
        }

        .error-modal-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
        }
    


.key-native-filters{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.key-native-filters label{display:grid;gap:8px;min-width:180px}.key-native-package{font-family:inherit;text-align:right;color:inherit;position:relative;cursor:pointer;padding:0;appearance:none}.key-native-package[hidden]{display:none!important}.key-native-package.selected{border-color:#10b981!important;box-shadow:0 0 0 2px #10b981!important}.key-native-package .package-icon img{object-fit:cover}.key-native-check{position:absolute;top:10px;left:10px;z-index:3;width:22px;height:22px;border-radius:50%;border:1px solid #ffffff70;background:#1118;color:transparent;display:grid;place-items:center}.key-native-package.selected .key-native-check{background:#10b981;color:#fff}.key-native-option{display:block;color:#e7edf5;font-size:12px}.key-native-total{display:flex;justify-content:space-between;align-items:center;padding:18px 0;margin-bottom:18px;border-bottom:1px solid var(--border)}.key-native-total strong{color:#10b981;font-size:22px}.key-native-agree{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:18px 0}.key-native-agree input{margin-top:5px}.key-native-balance{margin-top:14px;text-align:center;color:var(--text-muted);font-size:13px}.key-native-summary{margin-bottom:12px;color:var(--text-muted)}#key-native-message{margin-top:14px;overflow-wrap:anywhere}.key-native-review-form{margin-top:24px;display:grid;gap:14px}.key-native-review-form textarea,.key-native-review-form select{font:inherit}.live-product-summary h1,.live-mobile-app-info .mobile-seo-title{unicode-bidi:plaintext}.key-native-redeem{margin:24px 0}@media(max-width:600px){.key-native-filters label{min-width:0;flex:1}.key-native-option{font-size:10px}.key-native-package .package-name{overflow-wrap:anywhere}}