/* Premium Game Detail Page - Complete & Clean */

:root {
    --bg-dark: #0A0A14;
    --bg-card: #1A1A2E;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8D1;
    --text-muted: #8B8B9E;
    --primary-color: #6C5CE7;
    --secondary-color: #00D9FF;
    --success-color: #00E676;
    --gold: #FFD700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.game-detail-section {
    min-height: 100vh;
    padding-top: 0;
}

/* Game Banner */
.game-banner {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(10, 10, 20, 0.8) 70%, rgba(10, 10, 20, 1) 100%);
}

.game-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 1.5rem;
    gap: 2rem;
}

.game-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
}

.game-title-section h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.game-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.game-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item i {
    color: var(--gold);
}

/* Game Info Right Side Layout */
.game-info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-about-inline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    max-width: 600px;
}

.game-about-inline h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
}

.game-about-inline p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-description-section {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.game-description-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.game-description-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Two Column Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.5rem;
}

.right-column {
    position: sticky;
    top: 90px;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-section h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
}

/* Form Inputs */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a29bfe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    cursor: pointer;
    padding-right: 2.5rem;
    /* Ensure text doesn't overlap arrow */
}

.form-group select option {
    background-color: #1a1a2e;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Package Cards - Desktop: Original Rectangular Design */
.packages-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.package-card-new {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 110px;
}

/* Hover Effect */
.package-card-new:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

/* Selected State - Desktop: Simple */
.package-card-new.selected {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(108, 92, 231, 0.2) 100%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* Desktop: No ::before/::after animations - they are mobile only */

/* Package Image - Desktop: Show */
.package-image {
    width: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 14px 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-info {
    flex: 1;
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

/* Amount Row - Most Prominent */
.package-amount-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.package-amount-new .amount-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    transition: all 0.3s ease;
}

.package-card-new.selected .package-amount-new .amount-value {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gold), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.bonus-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, var(--success-color), #00C853);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Currency Label */
.package-currency-new {
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Package Name */
.package-name-new {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Price - Clear and Bold */
.package-price-new {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 0.35rem;
    transition: all 0.3s ease;
}

.package-card-new.selected .package-price-new {
    font-size: 1.3rem;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Checkmark - Animated Reveal */
.package-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--gold), #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.package-check i {
    color: #000;
    font-size: 0.85rem;
}

.package-card-new.selected .package-check {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: checkBounce 0.5s ease;
}

@keyframes checkBounce {
    0% {
        transform: scale(0) rotate(-180deg);
    }

    50% {
        transform: scale(1.3) rotate(10deg);
    }

    70% {
        transform: scale(0.9) rotate(-5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes streetLightFlicker {

    0%,
    100% {
        opacity: 0.9;
    }

    5% {
        opacity: 0.8;
    }

    10% {
        opacity: 0.9;
    }

    15% {
        opacity: 0.3;
    }

    /* Flicker off briefly */
    20% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.85;
    }

    80% {
        opacity: 0.9;
    }

    85% {
        opacity: 0.4;
    }

    /* Another flicker */
    90% {
        opacity: 0.9;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .packages-grid-new {
        gap: 0.75rem;
    }

    .package-card-new {
        padding: 0.75rem;
        border-radius: 16px;
    }

    .package-amount-new .amount-value {
        font-size: 1.4rem;
    }

    /* Stack amount and bonus side-by-side on mobile */
    .package-amount-new {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .bonus-badge {
        font-size: 0.65rem;
        margin-top: 0px;
        margin-left: 0px;
    }

    .package-card-new.selected .package-amount-new .amount-value {
        font-size: 1.5rem;
    }

    .package-price-new {
        font-size: 1rem;
    }

    .package-check {
        width: 24px;
        height: 24px;
        top: 0.5rem;
        right: 0.5rem;
    }

    .package-check i {
        font-size: 0.75rem;
    }
}

/* Desktop Payment Options */
.payment-options-desktop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-option-desktop input[type="radio"] {
    display: none;
}

.payment-card-desktop {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-card-desktop i {
    font-size: 2rem;
    color: var(--text-secondary);
}

.payment-option-desktop input[type="radio"]:checked+.payment-card-desktop {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(0, 217, 255, 0.1));
}

.payment-option-desktop input[type="radio"]:checked+.payment-card-desktop i {
    color: var(--primary-color);
}

/* Order Summary Desktop */
.order-summary-desktop .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.order-summary-desktop .summary-row strong {
    color: var(--text-primary);
}

.order-summary-desktop .summary-row.total-row {
    font-size: 1.25rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px solid rgba(108, 92, 231, 0.3);
}

.order-summary-desktop .summary-row.total-row strong {
    background: linear-gradient(135deg, var(--gold), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.75rem;
}

.summary-divider {
    height: 1px;
    background: rgba(108, 92, 231, 0.3);
    margin: 1rem 0;
}

.summary-features {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(108, 92, 231, 0.2);
}

.summary-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.summary-features .feature i {
    color: var(--success-color);
}

/* Buy Now Button */
.btn-buy-now {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--gold), #FFB700);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-buy-now:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-buy-now:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

/* Mobile Floating Bar */
.floating-purchase-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(10, 10, 20, 0.98) 100%);
    border-top: 2px solid var(--primary-color);
    padding: 1.25rem 0;
    z-index: 999;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.floating-purchase-bar.show {
    transform: translateY(0);
}

.purchase-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.selected-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.selected-package {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.selected-package i {
    color: var(--primary-color);
}

.selected-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
}

.btn-continue-purchase {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold), #FFB700);
    border: none;
    border-radius: 50px;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

.btn-continue-purchase:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-continue-purchase:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.6);
}

/* Mobile Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
}

.popup-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(108, 92, 231, 0.3);
}

.popup-header i {
    font-size: 3.5rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.popup-header h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75rem;
}

.popup-body {
    padding: 1.5rem;
}

.order-summary-popup,
.payment-method-popup {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.order-summary-popup h3,
.payment-method-popup h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.summary-row strong {
    color: var(--text-primary);
}

.summary-row.total-row {
    font-size: 1.15rem;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 2px solid rgba(108, 92, 231, 0.3);
}

.summary-row.total-row strong {
    color: var(--gold);
    font-size: 1.5rem;
}

.payment-options-popup {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.payment-option-popup input[type="radio"] {
    display: none;
}

.payment-card-popup {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.payment-card-popup i {
    font-size: 1.75rem;
    color: var(--text-secondary);
}

.payment-card-popup span {
    font-size: 0.9rem;
}

.payment-option-popup input[type="radio"]:checked+.payment-card-popup {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(0, 217, 255, 0.1));
}

.payment-option-popup input[type="radio"]:checked+.payment-card-popup i {
    color: var(--primary-color);
}

.popup-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(108, 92, 231, 0.3);
    display: flex;
    gap: 0.75rem;
}

.btn-cancel,
.btn-confirm {
    flex: 1;
    padding: 0.875rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-confirm {
    background: linear-gradient(135deg, var(--gold), #FFB700);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .right-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .game-banner {
        height: auto;
        min-height: 400px;
    }

    .game-banner-content {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 2rem;
    }

    .game-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .game-title-section h1 {
        font-size: 2rem;
    }

    .game-meta {
        gap: 0.75rem;
    }

    .meta-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .game-about-inline {
        max-width: 100%;
    }

    .game-about-inline h4 {
        font-size: 0.9rem;
    }

    .game-about-inline p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    /* MOBILE: 2 columns, clean compact card layout */
    .packages-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .package-card-new {
        aspect-ratio: 1;
        padding: 0.5rem;
        border-radius: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: auto;
        border: 2px solid rgba(108, 92, 231, 0.3);
        transition: all 0.3s ease;
    }

    .package-card-new:hover {
        transform: translateY(-2px);
        border-color: var(--primary-color);
    }

    /* Mobile: Selected state with animated border */
    .package-card-new.selected {
        border: 2px solid var(--gold);
        box-shadow:
            0 0 0 2px var(--gold),
            0 0 20px rgba(255, 215, 0, 0.4);
        animation: mobileBorderPulse 1.5s ease-in-out infinite;
        overflow: visible !important;
        /* Allow the street light beam to shine outside */
    }

    @keyframes mobileBorderPulse {

        0%,
        100% {
            box-shadow: 0 0 0 2px var(--gold), 0 0 15px rgba(255, 215, 0, 0.3);
        }

        50% {
            box-shadow: 0 0 0 3px var(--gold), 0 0 25px rgba(255, 215, 0, 0.5);
        }
    }



    /* Show small package image on mobile */
    .package-image {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        margin-bottom: 0.4rem;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    /* Selected Image Highlight Glow */
    .package-card-new.selected .package-image {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
        border: 1px solid rgba(255, 215, 0, 0.3);
    }

    /* Glow Bulb Effect for Checkmark - Lamp Head Style */
    .package-card-new.selected .package-check {
        opacity: 1;
        transform: scale(1.1);
        background:
            radial-gradient(circle at 35% 35%, #fff 0%, #ffe5ad 30%, var(--gold) 100%);
        box-shadow:
            0 0 8px #fff,
            0 0 15px var(--gold),
            0 0 30px rgba(255, 215, 0, 0.5);
        z-index: 10;
        animation: bulbTurnOn 0.5s ease forwards;
    }

    .package-card-new.selected .package-check i {
        color: #1a1a2e;
        text-shadow: none;
        font-size: 0.7rem;
    }

    /* Street Light Beam - Conical Ray from Bulb to Image */
    /* Street Light Beam - Conical Ray from Bulb to Image */
    .package-card-new.selected::before {
        content: '';
        position: absolute;
        /* Position: Anchor EXACTLY to the center of the tick */
        top: 15px;
        right: 15px;
        /* Size: Moderate length, contained within card */
        width: 140%;
        height: 80px;

        /* Gradient: VERY VISIBLE solid start fading to transparent */
        background: linear-gradient(90deg,
                rgba(255, 235, 150, 0.9) 0%,
                rgba(255, 215, 0, 0.6) 30%,
                transparent 100%);

        /* Transform origin is the source (tick) */
        transform-origin: 0% 50%;
        /* Left center of the beam element is the pivot */

        /* Rotate to point towards the image */
        transform: rotate(155deg);

        /* Cone shape */
        clip-path: polygon(0% 50%, 100% 0%, 100% 100%);

        pointer-events: none;
        z-index: 100;
        /* Very high z-index to force visibility */
        opacity: 0.9;
        /* High base opacity */

        /* Removed blur filter to maximize sharpness and visibility */
        /* filter: blur(5px); */

        animation: streetLightFlicker 3s infinite alternate;
    }

    /* Image Highlight - Circular Glow where light hits */
    .package-card-new.selected .package-image::before {
        content: '';
        position: absolute;
        top: -15px;
        left: -15px;
        width: calc(100% + 30px);
        height: calc(100% + 30px);
        /* Reducer opacity for a softer glow */
        background: radial-gradient(circle at center,
                rgba(218, 196, 112, 0.4) 0%,
                rgba(218, 196, 112, 0.15) 50%,
                transparent 70%);
        border-radius: 50%;
        z-index: 1;
        opacity: 0;
        animation: lightTurnOn 0.8s ease 0.3s forwards;
    }

    /* Dust Motes - Bright and visible */
    .package-card-new.selected::after {
        content: '';
        position: absolute;
        top: 15px;
        right: 15px;
        transform: rotate(155deg);
        clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
        pointer-events: none;
        z-index: 3;
        opacity: 0;
        mix-blend-mode: overlay;
        animation: lightTurnOn 0.5s ease 0.1s forwards, dustFloat 3s linear infinite;
    }

    /* Ensure card clips the overflow so light doesn't spill */
    .package-card-new.selected {
        overflow: hidden !important;
        border-color: var(--gold);
    }

    @keyframes bulbTurnOn {

        0%,
        10%,
        25% {
            opacity: 0.3;
            box-shadow: 0 0 5px #fff, 0 0 10px var(--gold), 0 0 15px rgba(255, 215, 0, 0.3);
        }

        5%,
        15%,
        35%,
        100% {
            opacity: 1;
            box-shadow: 0 0 8px #fff, 0 0 15px var(--gold), 0 0 30px rgba(255, 215, 0, 0.5);
        }
    }

    @keyframes lightTurnOn {

        0%,
        10%,
        25% {
            opacity: 0;
        }

        5%,
        15%,
        35%,
        100% {
            opacity: 1;
        }
    }

    @keyframes dustFloat {
        0% {
            background-position: 0 0;
        }

        100% {
            background-position: 0 100px;
        }
    }

    @keyframes highlightPulse {

        0%,
        100% {
            opacity: 0.6;
        }

        50% {
            opacity: 1;
        }
    }

    @keyframes streetLightWind {

        0%,
        100% {
            transform: rotate(55deg) translateX(-50%);
        }

        50% {
            transform: rotate(58deg) translateX(-50%);
        }
    }

    .package-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .package-info {
        padding: 0;
        gap: 0.15rem;
        align-items: center;
        width: 100%;
        position: relative;
        z-index: 4;
        /* Ensure text is above the light beam */
    }

    /* HIDE redundant currency label on mobile */
    /* Package name is the main label on mobile */
    .package-name-new {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.2;
    }

    /* Price prominent */
    .package-price-new {
        font-size: 1rem;
        font-weight: 700;
        margin-top: 0.2rem;
    }

    .package-card-new.selected .package-price-new {
        color: var(--gold);
    }

    /* Checkmark Settings */
    .package-check {
        width: 20px;
        height: 20px;
        top: 0.3rem;
        right: 0.3rem;
        background: var(--gold);
    }

    .package-card-new.selected .package-check {
        opacity: 1;
        transform: scale(1);
    }

    .package-check i {
        font-size: 0.65rem;
    }

    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .purchase-bar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .selected-info {
        width: 100%;
        justify-content: space-between;
    }

    .btn-continue-purchase {
        width: 100%;
        justify-content: center;
    }

    .payment-options-popup {
        grid-template-columns: 1fr;
    }

    .popup-footer {
        flex-direction: column-reverse;
    }

    .btn-cancel,
    .btn-confirm {
        width: 100%;
    }
}

/* Mobile Animation Keyframes */
@keyframes mobileSelectedPulse {

    0%,
    100% {
        box-shadow:
            0 0 15px rgba(255, 215, 0, 0.4),
            0 0 30px rgba(108, 92, 231, 0.2),
            0 10px 25px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow:
            0 0 25px rgba(255, 215, 0, 0.6),
            0 0 45px rgba(108, 92, 231, 0.3),
            0 15px 35px rgba(0, 0, 0, 0.4);
    }
}

@keyframes mobileGradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes mobileShimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes mobileCheckBounce {
    0% {
        transform: scale(0) rotate(-180deg);
    }

    50% {
        transform: scale(1.3) rotate(10deg);
    }

    70% {
        transform: scale(0.9) rotate(-5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Desktop Package Icon Fix */
@media (min-width: 769px) {
    .package-image img {
        object-fit: contain !important;
        padding: 4px;
        background-color: transparent;
    }
}

/* ID Help Icon & Popup */
.id-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin-left: 0.25rem;
}

.id-help-icon>i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.id-help-icon:hover>i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.id-help-popup {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--bg-card) 0%, #16213e 100%);
    border: 1px solid rgba(108, 92, 231, 0.4);
    border-radius: 12px;
    padding: 0.75rem;
    min-width: 180px;
    max-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    margin-bottom: 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.id-help-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(108, 92, 231, 0.4);
}

.id-help-popup img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.id-help-popup>span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
}

.id-help-icon.active .id-help-popup {
    display: flex;
}

/* Mobile adjustments for ID Help Popup */
@media (max-width: 768px) {
    .id-help-popup {
        left: auto;
        right: -10px;
        transform: none;
        min-width: 200px;
    }

    .id-help-popup::after {
        left: auto;
        right: 20px;
        transform: none;
    }
}

/* ========================================
   UNIVERSAL MOBILE RESPONSIVE FIXES
   Ensures proper fit across all devices
   ======================================== */

/* Prevent horizontal overflow at all screen sizes */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure all elements respect container */
* {
    max-width: 100%;
}

/* Fix container for smaller screens */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
}

/* Small mobile devices (360px - 480px) - Most Android phones */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    /* Game Banner adjustments */
    .game-banner {
        min-height: 320px;
        border-radius: 0 0 24px 24px;
    }

    .game-banner-content {
        padding-bottom: 1.5rem;
    }

    .game-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 16px;
    }

    .game-title-section h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .game-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .game-meta {
        gap: 0.5rem;
    }

    .meta-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        gap: 0.4rem;
    }

    .game-about-inline {
        padding: 0.75rem 1rem;
        border-radius: 10px;
    }

    .game-about-inline h4 {
        font-size: 0.85rem;
    }

    .game-about-inline p {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }

    /* Form section compact */
    .form-section {
        padding: 1.25rem;
        border-radius: 16px;
        margin-bottom: 1rem;
    }

    .form-section h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

    .step-badge {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    /* Form inputs */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .form-hint {
        font-size: 0.75rem;
    }

    /* Package cards grid - compact */
    .packages-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .package-card-new {
        padding: 0.6rem;
        border-radius: 12px;
    }

    .package-image {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        margin-bottom: 0.4rem;
    }

    .package-name-new {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .package-price-new {
        font-size: 1rem;
        margin-top: 0.25rem;
    }

    .package-check {
        width: 22px;
        height: 22px;
        top: 0.35rem;
        right: 0.35rem;
    }

    .package-check i {
        font-size: 0.65rem;
    }

    /* Category tabs */
    .category-tabs {
        gap: 6px !important;
        margin-bottom: 12px !important;
        padding-bottom: 4px !important;
    }

    .category-tab {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }

    /* Search container */
    .package-search-container {
        border-radius: 12px;
    }

    .search-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .package-search-input {
        font-size: 0.85rem;
        padding: 10px 0;
    }

    .search-clear-btn {
        width: 28px;
        height: 28px;
    }

    /* Floating purchase bar */
    .floating-purchase-bar {
        padding: 1rem 0;
    }

    .selected-info {
        gap: 1rem;
    }

    .selected-package {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .selected-price {
        font-size: 1.4rem;
    }

    .btn-continue-purchase {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Popup adjustments */
    .popup-container {
        width: 95%;
        max-height: 90vh;
        border-radius: 20px;
    }

    .popup-header {
        padding: 2rem 1.25rem 1rem;
    }

    .popup-header i {
        font-size: 2.5rem;
    }

    .popup-header h2 {
        font-size: 1.4rem;
    }

    .popup-body {
        padding: 1rem;
    }

    .order-summary-popup,
    .payment-method-popup {
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .summary-row {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .summary-row.total-row strong {
        font-size: 1.25rem;
    }

    .popup-footer {
        padding: 1rem;
    }

    .btn-cancel,
    .btn-confirm {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Preorder banner */
    .preorder-banner {
        padding: 1rem !important;
        border-radius: 12px !important;
        gap: 0.75rem !important;
    }

    .preorder-banner>div:first-child {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        border-radius: 10px !important;
    }

    .preorder-banner h4 {
        font-size: 0.95rem !important;
    }

    .preorder-banner p {
        font-size: 0.8rem !important;
    }

    /* Player verification box */
    .player-verification-box {
        padding: 0.75rem;
        border-radius: 10px;
    }

    .player-info-row {
        font-size: 0.85rem;
    }
}

/* Extra small devices (320px - 360px) - Older/smaller Android phones */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

    .game-banner {
        min-height: 280px;
    }

    .game-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .game-title-section h1 {
        font-size: 1.25rem;
    }

    .game-subtitle {
        font-size: 0.8rem;
    }

    .meta-item {
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
    }

    .form-section {
        padding: 1rem;
        border-radius: 14px;
    }

    .form-section h3 {
        font-size: 1rem;
    }

    .step-badge {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.7rem 0.85rem;
        font-size: 0.85rem;
    }

    .packages-grid-new {
        gap: 0.5rem;
    }

    .package-card-new {
        padding: 0.5rem;
        border-radius: 10px;
    }

    .package-image {
        width: 40px;
        height: 40px;
        border-radius: 7px;
    }

    .package-name-new {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .package-price-new {
        font-size: 0.9rem;
    }

    .package-check {
        width: 20px;
        height: 20px;
    }

    .package-check i {
        font-size: 0.6rem;
    }

    .category-tab {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }

    .selected-price {
        font-size: 1.2rem;
    }

    .btn-continue-purchase {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    .popup-container {
        width: 98%;
    }
}

/* Medium-Large mobile (481px - 600px) - Larger phones */
@media (min-width: 481px) and (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

    .game-banner {
        min-height: 360px;
    }

    .game-title-section h1 {
        font-size: 1.75rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .form-section h3 {
        font-size: 1.25rem;
    }

    .packages-grid-new {
        gap: 0.6rem;
    }

    .package-card-new {
        padding: 0.5rem;
    }

    .package-image {
        width: 36px;
        height: 36px;
    }

    .package-name-new {
        font-size: 0.7rem;
    }

    .package-price-new {
        font-size: 0.9rem;
    }
}

/* Tablet Portrait (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .packages-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .package-card-new {
        aspect-ratio: 1;
    }

    .form-section {
        padding: 1.75rem;
    }
}

/* Landscape mode fix for mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .game-banner {
        min-height: 250px;
        height: auto;
    }

    .game-banner-content {
        flex-direction: row;
        align-items: center;
    }

    .popup-container {
        max-height: 95vh;
    }

    .popup-header {
        padding: 1.5rem 1.25rem 1rem;
    }

    .popup-header i {
        font-size: 2rem;
    }

    .floating-purchase-bar {
        padding: 0.75rem 0;
    }

    .purchase-bar-content {
        flex-direction: row;
    }

    .btn-continue-purchase {
        width: auto;
    }
}

/* High DPI/Retina display adjustments */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .package-card-new {
        border-width: 1.5px;
    }

    .form-group input,
    .form-group select {
        border-width: 1.5px;
    }
}

/* ========================================
   PAYMENT DROPDOWN & VERIFICATION MOBILE FIXES
   ======================================== */

/* Payment Method Dropdown Styling for Mobile */
.payment-options-popup,
.payment-options-desktop {
    width: 100%;
}

/* Style payment method select/dropdown */
.payment-method-popup select,
.payment-method select,
select[name="payment_method"] {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-right: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a29bfe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-popup select:focus,
.payment-method select:focus,
select[name="payment_method"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.payment-method-popup select option,
.payment-method select option,
select[name="payment_method"] option {
    background-color: #1a1a2e;
    color: #fff;
    padding: 0.75rem;
}

/* Player Verification Box Mobile Styles */
.player-verification-box {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 1rem;
}

.verification-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.verification-icon.success {
    color: #00E676;
    font-size: 1.25rem;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.player-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.player-info-row:last-child {
    border-bottom: none;
}

.player-info-row .label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.player-info-row .value {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 60%;
    word-break: break-word;
    text-align: right;
}

/* Double Diamond Section Mobile Fix */
.double-diamond-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dd-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #a29bfe;
    font-weight: 600;
    font-size: 0.85rem;
}

.dd-packages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dd-package-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    width: 100%;
    min-width: 0;
}

.dd-package-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.dd-package-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.dd-package-status.eligible {
    color: #00E676;
}

.dd-package-status.ineligible {
    color: #FF6B6B;
}

.dd-package-item.eligible {
    border-color: rgba(0, 230, 118, 0.3);
    background: rgba(0, 230, 118, 0.05);
}

.dd-package-item.ineligible {
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.05);
}

/* Eligibility Badge - FIX TEXT OVERFLOW */
.eligibility-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #FF6B6B;
    color: #fff;
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    z-index: 5;
    white-space: nowrap;
    max-width: calc(100% - 8px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.eligibility-badge i {
    font-size: 0.5rem;
    flex-shrink: 0;
}

.eligibility-badge.eligible {
    background: linear-gradient(135deg, #00E676, #00C853);
}

.eligibility-badge.ineligible {
    background: linear-gradient(135deg, #FF6B6B, #ee5a5a);
}

/* Checkout/Popup Player Info Display */
.popup-player-info,
.order-summary-popup .player-info {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.popup-player-info .player-info-row {
    padding: 0.4rem 0;
}

/* Verified Player Rows in Popup */
.summary-row.verified-player-row {
    background: rgba(0, 230, 118, 0.08);
    border-radius: 6px;
    padding: 0.5rem 0.6rem !important;
    margin: 0.2rem 0;
}

.summary-row.verified-player-row span {
    color: rgba(0, 230, 118, 0.8) !important;
}

.summary-row.verified-player-row strong {
    color: #00E676 !important;
    font-weight: 600;
}

/* Enhanced Payment Select for iOS/Android */
.payment-dropdown-wrapper {
    margin-bottom: 0.75rem;
}

.payment-select-container {
    position: relative;
}

.payment-select,
#paymentMethodSelect {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a29bfe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    transition: all 0.3s ease;
}

.payment-select:focus,
#paymentMethodSelect:focus {
    outline: none;
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.payment-select option,
#paymentMethodSelect option {
    background: #1a1a2e;
    color: white;
    padding: 1rem;
    font-size: 1rem;
}

/* Fix for iOS Safari native select styling */
@supports (-webkit-touch-callout: none) {

    .payment-select,
    #paymentMethodSelect {
        background-color: rgba(26, 26, 46, 0.95);
    }
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.6rem;
}

.payment-label i {
    color: #6C5CE7;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a29bfe;
    pointer-events: none;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.payment-select:focus~.select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {

    /* Payment dropdown mobile */
    .payment-method-popup select,
    .payment-method select,
    select[name="payment_method"] {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    /* Player verification box */
    .player-verification-box {
        padding: 0.875rem;
        border-radius: 12px;
        margin-top: 0.875rem;
    }

    .verification-header {
        font-size: 0.9rem;
    }

    .player-info-row .label {
        font-size: 0.8rem;
    }

    .player-info-row .value {
        font-size: 0.85rem;
        max-width: 55%;
    }

    /* Double diamond section mobile */
    .dd-header {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .dd-packages {
        gap: 0.4rem;
    }

    .dd-package-item {
        padding: 0.5rem 0.65rem;
        border-radius: 8px;
    }

    .dd-package-name {
        font-size: 0.8rem;
    }

    .dd-package-status {
        font-size: 0.65rem;
    }

    /* Eligibility badge mobile - prevent overflow */
    .eligibility-badge {
        top: 3px;
        right: 3px;
        padding: 2px 5px;
        font-size: 0.5rem;
        border-radius: 10px;
        max-width: calc(100% - 6px);
    }

    .eligibility-badge i {
        font-size: 0.45rem;
    }

    /* Popup player info */
    .popup-player-info,
    .order-summary-popup .player-info {
        padding: 0.65rem;
        margin-bottom: 0.65rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {

    /* Payment dropdown */
    .payment-method-popup select,
    .payment-method select,
    select[name="payment_method"] {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
    }

    /* Player verification */
    .player-verification-box {
        padding: 0.75rem;
    }

    .player-info-row .label {
        font-size: 0.75rem;
    }

    .player-info-row .value {
        font-size: 0.8rem;
        max-width: 50%;
    }

    /* Double diamond */
    .dd-header {
        font-size: 0.75rem;
    }

    .dd-package-item {
        padding: 0.45rem 0.5rem;
    }

    .dd-package-name {
        font-size: 0.75rem;
    }

    .dd-package-status {
        font-size: 0.6rem;
    }

    /* Eligibility badge - even smaller */
    .eligibility-badge {
        padding: 2px 4px;
        font-size: 0.45rem;
        border-radius: 8px;
    }

    .eligibility-badge i {
        font-size: 0.4rem;
    }
}