/* 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,
.pseudo-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;
    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,
.pseudo-h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.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.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-group input:hover,
.form-group select:hover {
    border-color: rgba(108, 92, 231, 0.65);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(108, 92, 231, 0.15);
}

.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: 2px solid transparent !important;
    background-image: linear-gradient(#0b0b14, #0b0b14), linear-gradient(90deg, #6c5ce7, #00E676, #00e5ff, #6c5ce7);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 200% auto;
    box-shadow: 0 0 22px rgba(108, 92, 231, 0.4), inset 0 0 10px rgba(108, 92, 231, 0.1);
    animation: input-border-rainbow-sweep 3s linear infinite, input-focus-glow-breathe 2.5s infinite alternate ease-in-out;
}

/* Glowing perimeter rainbow sweep animation for focused input borders */
@keyframes input-border-rainbow-sweep {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Pulsing neon breathe animation when user focuses on an input */
@keyframes input-focus-glow-breathe {
    0% {
        box-shadow: 0 0 14px rgba(108, 92, 231, 0.35), inset 0 0 8px rgba(108, 92, 231, 0.05);
    }
    100% {
        box-shadow: 0 0 25px rgba(108, 92, 231, 0.65), inset 0 0 15px rgba(108, 92, 231, 0.25);
    }
}

.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,
.id-help-badge.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 Premium Technical Redesign */
.player-verification-box {
    position: relative;
    border-radius: 14px;
    padding: 2px !important; /* Thick enough for the border sweep */
    margin-top: 1rem;
    background: transparent !important;
    border: none !important; /* Remove legacy static border */
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    z-index: 1;
    --border-beam-color: var(--game-color, #6c5ce7);
    --border-beam-color-alpha: rgba(108, 92, 231, 0.15);
}

/* Inner backdrop container (grid + solid dark bg) */
.player-verification-box::before {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: #0b0b14; /* Sleek tech dark space */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: center;
    border-radius: 12px; /* radius minus border width */
    z-index: 1;
    transition: background-color 0.4s ease;
}

/* 2px Masked Border Glow Wrapper */
.border-glow-wrapper {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px; /* border width */
    background: transparent;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

/* Glow dots orbiting the perimeter */
.border-glow-dot {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--border-beam-color) 0%, transparent 70%);
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(2px);
    transition: background 0.4s ease;
}

.border-glow-dot.dot-1 {
    top: -70px;
    left: -70px;
    animation: border-dot-travel-cw 6s infinite linear;
}

.border-glow-dot.dot-2 {
    top: -70px;
    left: -70px;
    animation: border-dot-travel-ccw 6s infinite linear;
}

/* Clockwise Orbit */
@keyframes border-dot-travel-cw {
    0% {
        left: -70px;
        top: -70px;
    }
    25% {
        left: calc(100% - 70px);
        top: -70px;
    }
    50% {
        left: calc(100% - 70px);
        top: calc(100% - 70px);
    }
    75% {
        left: -70px;
        top: calc(100% - 70px);
    }
    100% {
        left: -70px;
        top: -70px;
    }
}

/* Counter-Clockwise Orbit starting offset */
@keyframes border-dot-travel-ccw {
    0% {
        left: calc(100% - 70px);
        top: calc(100% - 70px);
    }
    25% {
        left: -70px;
        top: calc(100% - 70px);
    }
    50% {
        left: -70px;
        top: -70px;
    }
    75% {
        left: calc(100% - 70px);
        top: -70px;
    }
    100% {
        left: calc(100% - 70px);
        top: calc(100% - 70px);
    }
}

/* Dynamic State Styling via :has() */
/* 1. Loading State */
.player-verification-box:has(.verification-loading:not([style*="display: none"])) {
    --border-beam-color: var(--game-color, #6c5ce7);
    --border-beam-color-alpha: rgba(108, 92, 231, 0.15);
}

.player-verification-box:has(.verification-loading:not([style*="display: none"])) .border-glow-dot.dot-1 {
    animation-duration: 3s; /* Speed up clockwise orbit during loading */
}

.player-verification-box:has(.verification-loading:not([style*="display: none"])) .border-glow-dot.dot-2 {
    animation-duration: 3s; /* Speed up counter-clockwise orbit during loading */
}

/* 2. Success State - Clean Container, Lightning animations exclusively on Text & Badges */
.player-verification-box:has(.verification-result:not([style*="display: none"])) {
    --border-beam-color: #00E676;
    --border-beam-color-alpha: rgba(0, 230, 118, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 230, 118, 0.2);
}

/* Specific text/pill lightning animations inside the verified box */
.player-verification-box:has(.verification-result:not([style*="display: none"])) .player-username-title {
    animation: text-lightning-flash-white 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.player-verification-box:has(.verification-result:not([style*="display: none"])) .badge-status {
    animation: text-lightning-flash-green 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.player-verification-box:has(.verification-result:not([style*="display: none"])) .verified-pill {
    animation: box-lightning-flash-green 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.player-verification-box:has(.verification-result:not([style*="display: none"])) .telemetry-row strong {
    animation: text-lightning-flash-white 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.player-verification-box:has(.verification-result:not([style*="display: none"])) .badge-icon-circle {
    animation: box-lightning-flash-green-circle 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

/* Dynamic Double-Strike Lightning Keyframes for Text & Badges */

/* 1. White text lightning flash (Username, strong telemetry values) */
@keyframes text-lightning-flash-white {
    0%, 100% {
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
        color: #fff;
    }
    3% {
        text-shadow: 0 0 8px rgba(0, 229, 255, 0.8), 0 0 15px #ffffff, 0 0 20px #ffffff;
        color: #ffffff;
    }
    4.5% {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.95);
    }
    5.5% {
        text-shadow: 0 0 12px rgba(0, 229, 255, 0.9), 0 0 20px #ffffff;
        color: #ffffff;
    }
    7.5% {
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.95);
    }
    9% {
        text-shadow: 0 0 16px rgba(0, 229, 255, 1), 0 0 25px #ffffff, 0 0 35px #ffffff;
        color: #ffffff;
    }
    13% {
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
        color: #fff;
    }
}

/* 2. Green text lightning flash (100% Validated status) */
@keyframes text-lightning-flash-green {
    0%, 100% {
        text-shadow: 0 0 8px rgba(0, 230, 118, 0.25);
        color: #00E676;
    }
    3% {
        text-shadow: 0 0 12px rgba(0, 229, 255, 0.95), 0 0 20px #00E676, 0 0 25px #ffffff;
        color: #ffffff;
    }
    4.5% {
        text-shadow: 0 0 6px rgba(0, 230, 118, 0.2);
        color: #00E676;
    }
    5.5% {
        text-shadow: 0 0 15px rgba(0, 229, 255, 0.95), 0 0 25px #00E676;
        color: #00E676;
    }
    7.5% {
        text-shadow: 0 0 7px rgba(0, 230, 118, 0.25);
        color: #00E676;
    }
    9% {
        text-shadow: 0 0 22px rgba(0, 229, 255, 1), 0 0 35px #00E676, 0 0 45px #ffffff;
        color: #ffffff;
    }
    13% {
        text-shadow: 0 0 8px rgba(0, 230, 118, 0.25);
        color: #00E676;
    }
}

/* 3. Green verified pill border & box glow flash */
@keyframes box-lightning-flash-green {
    0%, 100% {
        border-color: rgba(0, 230, 118, 0.25);
        box-shadow: 0 0 10px rgba(0, 230, 118, 0.08);
        background: rgba(0, 230, 118, 0.08);
        color: #00E676;
    }
    3% {
        border-color: rgba(0, 229, 255, 0.8);
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.7), 0 0 25px rgba(0, 230, 118, 0.6);
        background: rgba(0, 229, 255, 0.15);
        color: #ffffff;
    }
    4.5% {
        border-color: rgba(0, 230, 118, 0.25);
        box-shadow: 0 0 10px rgba(0, 230, 118, 0.08);
        background: rgba(0, 230, 118, 0.08);
        color: #00E676;
    }
    5.5% {
        border-color: rgba(0, 229, 255, 0.9);
        box-shadow: 0 0 18px rgba(0, 229, 255, 0.8), 0 0 30px rgba(0, 230, 118, 0.7);
        background: rgba(0, 229, 255, 0.2);
        color: #ffffff;
    }
    7.5% {
        border-color: rgba(0, 230, 118, 0.25);
        box-shadow: 0 0 10px rgba(0, 230, 118, 0.08);
        background: rgba(0, 230, 118, 0.08);
        color: #00E676;
    }
    9% {
        border-color: #ffffff;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 35px rgba(0, 230, 118, 0.8);
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }
    13% {
        border-color: rgba(0, 230, 118, 0.25);
        box-shadow: 0 0 10px rgba(0, 230, 118, 0.08);
        background: rgba(0, 230, 118, 0.08);
        color: #00E676;
    }
}

/* 4. Green check circle border & glow flash */
@keyframes box-lightning-flash-green-circle {
    0%, 100% {
        border-color: rgba(0, 230, 118, 0.25);
        box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
        background: rgba(0, 230, 118, 0.08);
        color: #00E676;
    }
    3% {
        border-color: rgba(0, 229, 255, 0.8);
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.7), 0 0 25px rgba(0, 230, 118, 0.6);
        background: rgba(0, 229, 255, 0.15);
        color: #ffffff;
    }
    4.5% {
        border-color: rgba(0, 230, 118, 0.25);
        box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
        background: rgba(0, 230, 118, 0.08);
        color: #00E676;
    }
    5.5% {
        border-color: rgba(0, 229, 255, 0.9);
        box-shadow: 0 0 18px rgba(0, 229, 255, 0.8), 0 0 30px rgba(0, 230, 118, 0.7);
        background: rgba(0, 229, 255, 0.2);
        color: #ffffff;
    }
    7.5% {
        border-color: rgba(0, 230, 118, 0.25);
        box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
        background: rgba(0, 230, 118, 0.08);
        color: #00E676;
    }
    9% {
        border-color: #ffffff;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 35px rgba(0, 230, 118, 0.8);
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }
    13% {
        border-color: rgba(0, 230, 118, 0.25);
        box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
        background: rgba(0, 230, 118, 0.08);
        color: #00E676;
    }
}

/* 3. Error State */
.player-verification-box:has(.verification-error:not([style*="display: none"])) {
    --border-beam-color: #FF6B6B;
    --border-beam-color-alpha: rgba(255, 107, 107, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 107, 107, 0.15);
}

.player-verification-box:has(.verification-error:not([style*="display: none"])) .border-glow-dot.dot-1,
.player-verification-box:has(.verification-error:not([style*="display: none"])) .border-glow-dot.dot-2 {
    animation-duration: 10s; /* Slow down orbit to represent warning/error state */
}

/* Hover Micro-Interactions */
.player-verification-box:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 35px var(--border-beam-color-alpha);
}

.player-verification-box:hover .border-glow-dot {
    filter: blur(0px); /* Sharpen the reflection on hover */
}

/* Force all inner elements above backdrop */
.player-verification-box > div:not(.border-glow-wrapper) {
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .player-verification-box > div:not(.border-glow-wrapper) {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .player-verification-box > div:not(.border-glow-wrapper) {
        padding: 0.85rem;
    }
}

/* Premium Player Profile Result Layout */
.verification-result-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.player-profile-section {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0; /* Prevents overflow */
    flex: 1;
}

/* Avatar Container with glowing verified dot */
.player-avatar-container {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.player-avatar {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 50%, #00E676 100%);
    background-size: 200% 200%;
    animation: avatar-gradient-shift 4s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes avatar-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.avatar-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #00E676;
    border: 3px solid #0b0b14;
    box-shadow: 0 0 10px #00E676;
    z-index: 2;
}

/* Metadata formatting */
.player-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.username-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.player-username-title {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.verified-pill {
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 6px;
    color: #00E676;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.08);
    display: inline-block;
}

.telemetry-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    flex-wrap: wrap;
}

.telemetry-row strong {
    color: #fff;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.telemetry-row .separator {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
}

.region-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    font-weight: 500;
}

.region-row i {
    color: var(--border-beam-color, #6c5ce7);
    filter: drop-shadow(0 0 4px var(--border-beam-color));
}

.region-row strong {
    color: #fff;
    font-weight: 700;
}

/* Inset Premium Account Check Badge */
.account-check-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 1px rgba(255, 255, 255, 0.02);
    min-width: 170px;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.account-check-badge:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 230, 118, 0.15);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 230, 118, 0.05);
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    align-items: flex-start;
}

.badge-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-status {
    color: #00E676;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 230, 118, 0.35);
}

.badge-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E676;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .verification-result-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .player-profile-section {
        width: 100%;
    }
    .account-check-badge {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Verifying Spinner */
.verification-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem !important;
}

.verification-loading i,
.verification-loading .spinner {
    font-size: 1.6rem;
    color: var(--border-beam-color);
    filter: drop-shadow(0 0 10px var(--border-beam-color));
}

.verification-loading span {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

/* 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.login-link-inline:hover {
    background: rgba(0, 230, 118, 0.2);
    transform: translateY(-1px);
}

/* Sidebar Info Cards Redesign */
.sidebar-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.sidebar-info-card h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sidebar-info-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.sidebar-info-card ol {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 1.2rem;
}

.sidebar-info-card ol li {
    margin-bottom: 0.5rem;
}

.sidebar-info-card ol li:last-child {
    margin-bottom: 0;
}

/* ID Help Badge Redesign */
.id-help-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    color: #a29bfe;
    background: rgba(108, 92, 231, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    margin-top: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    position: relative;
}

.id-help-badge:hover {
    background: rgba(108, 92, 231, 0.2);
    color: #b2abff;
}

.id-help-badge i.fa-question-circle {
    color: #6c5ce7;
    margin-right: 0;
}

.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;
    }
}

/* SEO Content Section */
.seo-content-extra {
    padding: 4rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Sidebar specific styles for SEO cards */
.right-column .seo-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.right-column .seo-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.right-column .seo-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.right-column .seo-card h2::before {
    height: 18px;
    width: 3px;
}

.right-column .seo-card p,
.right-column .seo-card li {
    font-size: 0.9rem;
    line-height: 1.6;
}

.seo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.seo-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.seo-card h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seo-card h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.seo-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.seo-card ul,
.seo-card ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.seo-card li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.seo-card strong {
    color: var(--text-primary);
}

/* Sidebar Payment Info */
.sidebar-payment-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-payment-info h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-payment-icons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.sidebar-payment-icons img {
    height: 28px;
    width: auto;
    filter: grayscale(0.3) brightness(0.9);
    transition: all 0.3s ease;
}

.sidebar-payment-icons img:hover {
    filter: grayscale(0) brightness(1);
    transform: translateY(-2px);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-weight: 700;
    color: var(--text-primary) !important;
    font-size: 1.1rem;
    margin-bottom: 0.5rem !important;
}

.faq-answer {
    color: var(--text-muted) !important;
}

@media (max-width: 768px) {
    .seo-content-extra {
        padding: 3rem 1.5rem;
    }

    .seo-card h2 {
        font-size: 1.5rem;
    }

    .sidebar-payment-info {
        background: transparent;
        padding: 1rem 0;
        border: none;
    }
}

/* Inline Login Link in Verification Messages */
.login-link-inline {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.login-link-inline:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.4);
    filter: brightness(1.1);
}