/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #F2F4F8;
    /* Cool gray background */
    color: #333;
    line-height: 1.6;
}

/* Variables */
:root {
    --primary-red: #FF4242;
    /* Brighter, punchier red */
    --primary-dark: #D93030;
    --accent-gold: #FFC107;
    --text-dark: #1A1C23;
    --text-mid: #64748B;
    --bg-white: #FFFFFF;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --radius: 12px;
}

/* Navbar (Hidden) */
.navbar {
    display: none;
}

/* Hero/Game Header */
/* Hero/Game Header */
.game-header-banner {
    background: linear-gradient(180deg, rgba(20, 20, 30, 0.4) 0%, rgba(10, 10, 15, 0.95) 100%), url('banner.png');
    background-size: cover;
    background-position: center top;
    height: 320px;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding-bottom: 50px;
    margin-bottom: 20px;
}

.header-content-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.game-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.icon-wrapper {
    position: relative;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(45deg, #FFD700, #FFC107, #FF9800);
    z-index: -1;
    opacity: 0.8;
    filter: blur(8px);
    animation: pulse-gold 2s infinite alternate;
}

@keyframes pulse-gold {
    from {
        opacity: 0.6;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1.02);
    }
}

.game-icon-large {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
    display: block;
}

.game-text h1 {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.subtitle i {
    color: #4CAF50;
}

/* Stats Button */
.stats-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px 10px 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-icon-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 212, 255, 0.3);
}

.stats-link-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.stats-link-btn:hover .btn-icon-box {
    transform: rotate(10deg) scale(1.1);
}

/* Main Layout */
.garena-layout {
    min-height: 80vh;
}

.main-container {
    max-width: 1100px;
    /* Slightly wider */
    margin: -40px auto 40px;
    /* Pull up over header */
    display: flex;
    gap: 30px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Main Layout */
.garena-layout {
    min-height: 80vh;
}

.main-container {
    max-width: 900px;
    margin: -40px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    display: block;
}

/* Content Area */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Special Deals Moved to Grid */
.special-deals-section {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.deal-item {
    padding: 20px;
    text-align: center;
    border: 1px solid #FaFaFa;
    background: #FAFAFA;
}

.deal-item:hover {
    background: #fff;
    border-color: var(--primary-red);
}

.deal-item .pack-details {
    padding: 10px 0 0;
}

.deal-price-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-red);
}

.deal-item strike {
    font-size: 0.9rem;
    color: #999;
    margin-left: 8px;
}


/* Content Area */
.content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* General Card */
.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 15px;
}

.step-badge {
    background: var(--primary-red);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(255, 66, 66, 0.3);
}

.card-header h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* Player ID Input */
.p-id-input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.garena-input {
    flex-grow: 1;
    padding: 14px 18px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s;
}

.garena-input:focus {
    background: #fff;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 66, 66, 0.1);
}

.garena-btn-icon {
    width: 50px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.garena-btn-icon:hover {
    background: var(--primary-dark);
}

.login-info {
    font-size: 0.9rem;
    color: var(--text-mid);
    background: #FFF5F5;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
}


/* Pack Grid */
.pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

.garena-pack-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}

.garena-pack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.garena-pack-card.selected {
    border-color: var(--primary-red);
    background: #FFF9F9;
    box-shadow: 0 8px 16px rgba(234, 67, 53, 0.15);
}

.garena-pack-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pack-img-wrapper {
    background: radial-gradient(circle at center, #F8FAFC 0%, #F1F5F9 100%);
    padding: 20px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.garena-pack-card:hover .pack-img-wrapper img {
    transform: scale(1.1) rotate(5deg);
}

.pack-img-wrapper img {
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s;
}

.pack-details {
    padding: 16px;
    text-align: center;
    flex-grow: 1;
}

.amount {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.bonus-text {
    font-size: 0.85rem;
    font-weight: 600;
    background: #E6F4EA;
    color: #1E8E3E;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.pack-price {
    background: var(--text-dark);
    /* Dark button for contrast */
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s;
}

.garena-pack-card:hover .pack-price,
.garena-pack-card.selected .pack-price {
    background: var(--primary-red);
}


/* Buy Button */
.buy-now-btn {
    background: linear-gradient(135deg, var(--primary-red), #D93030);
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 66, 66, 0.4);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 66, 66, 0.5);
}

.buy-now-btn:active {
    transform: translateY(0);
}

.buy-now-btn::after {
    content: '→';
    font-weight: 900;
    transition: transform 0.2s;
}

.buy-now-btn:hover::after {
    transform: translateX(4px);
}

/* Footer & Other Reset Adjustments */
/* Footer */
footer {
    background: white;
    padding: 60px 0 20px;
    color: var(--text-mid);
    margin-top: 60px;
    border-top: 1px solid #E2E8F0;
    font-size: 0.95rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 24px;
}

.footer-section h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.footer-section a {
    display: block;
    color: var(--text-mid);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--primary-red);
    padding-left: 6px;
    /* Subtle slide effect */
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    color: var(--text-dark);
    border-radius: 50%;
    transition: all 0.3s;
    margin-bottom: 0;
    /* Override list default */
}

.social-links a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(234, 67, 53, 0.3);
}

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #F1F5F9;
    text-align: center;
    font-size: 0.85rem;
    color: #94A3B8;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive */
/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        margin-top: 20px;
        padding: 0 15px;
        /* Less padding on mobile */
    }

    /* Header Mobile Adjustments */
    .game-header-banner {
        height: auto;
        min-height: 200px;
        /* Reduced fixed height */
        padding: 80px 15px 30px;
        /* More top padding for content */
        align-items: center;
        /* Center content vertically */
    }

    .header-content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .game-info {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .game-icon-large {
        width: 80px;
        height: 80px;
        margin: 0 auto;
        /* Center the icon */
    }

    .game-text h1 {
        font-size: 2rem;
        /* Smaller font for mobile */
    }

    .subtitle {
        margin: 0 auto;
        /* Center the subtitle */
        font-size: 0.9rem;
    }

    .stats-link-btn {
        width: 100%;
        /* Full width button on mobile */
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        /* Slightly more visible bg */
    }

    .payment-method-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .method-list {
        display: flex;
        overflow-x: auto;
        padding-bottom: 5px;
        /* Scrollbar space */
        gap: 10px;
    }

    .method-item {
        flex-shrink: 0;
        border-left: none;
        border: 1px solid #eee;
        border-radius: 4px;
        min-width: 160px;
        padding: 10px;
    }

    .pack-grid,
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Force 2 columns on mobile */
        gap: 10px;
    }

    .garena-pack-card .pack-price {
        padding: 8px;
        /* Slightly smaller button padding */
        font-size: 0.9rem;
    }

    /* Payment Page Mobile */
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .payment-steps {
        font-size: 0.8rem;
    }

    .step {
        width: auto;
        flex: 1;
    }

    .payment-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pack-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 cols on very small screens too, standard for shops */
    }

    .garena-pack-card {
        font-size: 0.9rem;
    }

    .pack-img-wrapper {
        height: 80px;
    }



    /* Mobile Payment Page Polish */
    .payment-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .payment-header h2 {
        font-size: 1.3rem;
    }

    .countdown-timer {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .payment-steps {
        margin-bottom: 20px;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }

    .step-text {
        font-size: 0.7rem;
    }

    .payment-buttons {
        flex-direction: column;
    }

    .cancel-btn,
    .confirm-btn {
        width: 100%;
        padding: 14px;
    }

    .qr-section {
        padding: 15px;
    }

    .upi-id {
        font-size: 0.9rem;
        word-break: break-all;
    }
}

.pack-img-wrapper img {
    max-height: 60px;
}

/* Payment Page Specific Styles */
.payment-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-red);
    font-weight: bold;
    margin-top: 15px;
}


.payment-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.payment-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #eee;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    background: #f0f2f5;
    text-align: center;
    width: 100px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #ddd;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-weight: bold;
}

.step.active .step-number {
    background: var(--primary-red);
    color: white;
}

.step-text {
    font-size: 0.8rem;
    color: #666;
}

.step.active .step-text {
    color: var(--primary-red);
    font-weight: bold;
}

.payment-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    /* Left form, Right summary */
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s;
}

.input-with-icon input:focus {
    border-color: var(--primary-red);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 0.8rem;
}

.order-summary {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.summary-item.total {
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.qr-section {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px dashed #ddd;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 15px auto;
    object-fit: contain;
}

.upi-id {
    background: #f9f9f9;
    padding: 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
    margin: 10px 0;
    border: 1px solid #eee;
    color: var(--text-dark);
}

.bank-details {
    text-align: left;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.payment-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cancel-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.confirm-btn {
    flex: 2;
    padding: 12px;
    border: none;
    background: var(--primary-red);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Responsive Fix for Payment Page */
@media (max-width: 480px) {
    .payment-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .payment-container {
        padding: 0 15px;
        margin-top: 20px;
    }

    .payment-header h2 {
        font-size: 1.4rem;
    }

    .payment-steps {
        font-size: 0.8rem;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .payment-buttons {
        flex-direction: column;
    }

    .cancel-btn,
    .confirm-btn {
        width: 100%;
        padding: 14px;
    }

    .qr-code {
        width: 120px;
        height: 120px;
    }
}

/* =========================================
   NEW CHECKOUT PAGE STYLES
   ========================================= */

.checkout-wrapper {
    background: #F0F2F5;
    /* Light gray bg */
    min-height: 100vh;
    padding-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.checkout-header {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1A1C23;
}

.logo-area img {
    height: 40px;
}

.secure-badge {
    color: #2e7d32;
    background: #E8F5E9;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.checkout-container {
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Left wider */
    gap: 30px;
    padding: 0 20px;
}

/* Panels */
.checkout-panel {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 20px;
}

.panel-header h3 {
    font-size: 1.3rem;
    color: #1A1C23;
}

.step-indicator {
    background: #1A1C23;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Form Styles */
.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
}

.field-wrapper {
    position: relative;
}

.field-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 1.1rem;
}

.field-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    color: #1A1C23;
    transition: all 0.2s;
}

.field-wrapper input:focus {
    border-color: #3b82f6;
    /* Blue focus for trust */
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

.helper-text {
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 6px;
    display: block;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94A3B8;
    font-size: 0.9rem;
    margin: 30px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E2E8F0;
}

.separator span {
    padding: 0 10px;
    background: white;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn-confirm {
    flex: 2;
    background: linear-gradient(135deg, #FF4242, #D93030);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.1s;
    box-shadow: 0 4px 12px rgba(255, 66, 66, 0.3);
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 66, 66, 0.4);
}

.btn-cancel {
    flex: 1;
    background: white;
    border: 2px solid #E2E8F0;
    color: #64748B;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Right Panel Elements */
.timer-card {
    background: #FFF1F0;
    border: 1px solid #FFCDD2;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    color: #D93030;
}

.timer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 5px;
}

.timer-display {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: monospace;
}

.payment-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #E2E8F0;
    text-align: center;
}

.merchant-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px dashed #E2E8F0;
    margin-bottom: 20px;
}

.merchant-logo {
    width: 44px;
    height: 44px;
    background: #1A1C23;
    color: white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.merchant-info h4 {
    color: #1A1C23;
    font-size: 1rem;
}

.merchant-info p {
    font-size: 0.8rem;
    color: #2e7d32;
    /* Verified Green */
}

.amount-badge {
    margin-left: auto;
    background: #F1F5F9;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    color: #1A1C23;
}

/* QR Stylings */
.qr-box {
    position: relative;
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    display: inline-block;
    margin-bottom: 20px;
}

.qr-box img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #2e7d32;
    top: 0;
    left: 0;
    animation: scan 2s infinite linear;
    box-shadow: 0 0 4px #2e7d32;
}

@keyframes scan {
    0% {
        top: 10px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.upi-box {
    background: #F8FAFC;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.copy-btn {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 1.1rem;
}

.order-details-mini {
    text-align: left;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #64748B;
}

.order-details-mini .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #F1F5F9;
}

.download-qr-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.download-qr-btn:hover {
    background: #F8FAFC;
    color: #1A1C23;
}

/* Mobile Responsive For New Checkout */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .checkout-header {
        padding: 15px 20px;
    }

    .secure-badge {
        display: none;
        /* Hide on small mobile to save space */
    }

    .timer-card {
        order: -1;
    }
}