@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #0a0c10;
    --bg-card: #161a22;
    --text-main: #ffffff;
    --text-muted: #9ca3af;

    /* Premium Palette */
    --silver: #94a3b8;
    --gold: #f59e0b;
    --diamond: #3b82f6;
    --custom: #10b981;

    --primary: #10b981;
    --radius-lg: 24px;
    --radius-md: 16px;
}

/* Global Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal shift */
    width: 100%;
}

.recharge-v4-container {
    padding: 24px 16px 140px;
    /* Slightly tighter padding for mobile */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Typography & Spacing */
.brand-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 10px 0;
}

.brand-title {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.brand-subtitle-main {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Plan Grid (Spacious) */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    /* Slightly reduced gap for better mobile fit */
    margin-bottom: 40px;
    width: 100%;
    justify-content: center;
}

.plan-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.plan-card:active {
    transform: scale(0.97);
}

.plan-card.selected {
    border: 2px solid #10b981 !important;
    background: rgba(16, 185, 129, 0.08) !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3) !important;
}

.plan-card.selected::after {
    content: 'SELECTED';
    position: absolute;
    top: -10px;
    background: #10b981;
    color: white;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* Card Content Elements */
.card-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.reaction-highlight {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 2px;
    color: #fff;
}

.reaction-sub {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.views-highlight {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-price {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-block;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-period {
    font-size: 0.7em;
    opacity: 0.7;
    font-weight: 600;
    margin-left: 2px;
}

.feature-badge {
    margin-top: 16px;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 10px;
    font-weight: 600;
    color: #edf2f7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-free {
    color: var(--gold);
    border-color: rgba(245, 158, 11, 0.2);
}

/* Plan Themes - Title Colors */
.card-silver .card-title {
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #94a3b8 !important;
    /* Fallback */
}

.card-gold .card-title {
    color: var(--gold);
}

.card-diamond .card-title {
    color: #60a5fa;
}

.card-custom .card-title {
    color: #f472b6;
}

/* MAX in Vibrant Rose/Pink */

/* Unify Reaction Highlights */
.plan-card .reaction-highlight {
    color: #fff !important;
}

/* Control Section (Glass) */
.controls-card {
    background: rgba(22, 26, 34, 0.6);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.control-item {
    margin-bottom: 30px;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.control-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.control-value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

/* Stepper UI V11 */
.volume-stepper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 10px 0;
}

.step-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.step-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.1);
}

.step-value {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    min-width: 80px;
    text-align: center;
}

/* Sliders */
.range-slider {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 6px solid #10b981;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Tabs */
.tab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tab-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tab-discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 9px;
    background: #10b981;
    color: #fff;
    padding: 3px 8px;
    border-radius: 0 var(--radius-md) 0 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    z-index: 5;
}

.tab-btn.active .tab-discount-badge {
    background: #10b981;
    color: #fff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.tab-btn.active {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid #10b981;
    box-shadow: 0 0 0 1px #10b981, 0 8px 20px rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.tab-label {
    font-size: 12px;
    font-weight: 700;
    display: block;
}

.tab-discount {
    font-size: 9px;
    color: #fca5a5;
    font-weight: 800;
    margin-top: 2px;
}

.tab-btn.active .tab-discount {
    color: rgba(16, 185, 129, 0.8);
}

/* Icons */
.f-icon {
    width: 14px !important;
    height: 14px !important;
    vertical-align: middle;
}

/* Sticky Footer (Premium) */
.sticky-footer {
    position: fixed;
    bottom: 20px;
    /* Reduced from 30px to sit lower but safely */
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    /* Start hidden below */
    background: rgba(6, 78, 59, 0.4);
    backdrop-filter: blur(25px);
    padding: 16px 20px 20px;
    /* More padding at bottom */
    border-radius: 28px;
    display: none;
    /* Hidden by default */
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.1);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 460px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-footer.visible {
    display: flex;
    transform: translateX(-50%) translateY(0);
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.price-main {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.pay-btn-v4 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.pay-btn-v4:active {
    transform: scale(0.95);
    box-shadow: 0 5px 10px rgba(16, 185, 129, 0.2);
}

/* Modal - Bottom Sheet Style */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    /* backdrop-filter removed to prevent black screen on some mobile GPUs */
    z-index: 3000;
    /* Above everything */
    display: none;
    align-items: flex-end;
    /* Align to bottom */
    justify-content: center;
    padding: 0;
}

.modal-content {
    background: #161a22 !important;
    /* Force background */
    width: 100%;
    max-width: 500px;
    border-radius: 32px 32px 0 0;
    padding: 32px 24px 60px;
    /* Unified padding */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    text-align: center;
    max-height: 85vh;
    min-height: 300px;
    /* Force minimum height */
    overflow-y: auto;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
    z-index: 9999 !important;
    /* Force top z-index */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.modal-header-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    /* Reduced */
}

.modal-val-big {
    font-size: 48px;
    /* Slightly smaller */
    font-weight: 900;
    color: #ffffff;
    /* White color as requested */
    margin-bottom: 5px;
}

.modal-done-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.modal-done-btn-outline {
    width: 100%;
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
    padding: 16px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-done-btn-outline:active {
    transform: scale(0.98);
    background: rgba(16, 185, 129, 0.1);
}

.modal-done-btn:active {
    transform: scale(0.98);
}

.modal-cancel-btn {
    width: 100%;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Credits Row Styling V11.3 */
.credits-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 18px;
    margin-top: 5px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.credits-row b {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    margin-left: 4px;
}

/* --- Views Section Styling --- */
.views-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.views-section:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.05);
}

.views-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.views-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    color: var(--gold);
}

.views-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.views-card-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.views-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.chevron {
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 400;
    margin-left: 4px;
}

/* --- Views Summary Block --- */
.views-summary-container {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row.highlight {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-top: 4px;
}

.summary-row.highlight span:last-child {
    color: #3b82f6;
}

/* Update Modal for Views to match Blue Theme */
#views-popup .modal-val-big {
    color: var(--gold) !important;
}

#views-popup .range-slider::-webkit-slider-thumb {
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* --- Views Mini Status (Attached) --- */
.current-views-mini {
    margin-top: -12px;
    margin-bottom: 24px;
    margin-left: 24px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

.plan-card.selected:not(.card-silver) .card-title {
    color: #10b981 !important;
}

.free-tag-mini {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* --- Checkout Page Utils --- */
.back-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
    padding: 0;
}

/* Enhanced Summary Card V4 */
.summary-card-v4 {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.card-highlight-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(5, 150, 105, 0.4));
    margin: -24px -24px 24px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-highlight-header span:first-child {
    color: #f3e8ff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.summ-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.summ-label-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.summ-icon {
    font-size: 16px;
    opacity: 0.9;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summ-row-sub {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: -10px;
    margin-bottom: 14px;
    padding-left: 34px;
    /* Aligned with text after icon */
    position: relative;
}

.summ-row-sub::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    width: 8px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.summ-val {
    color: #fff;
    font-weight: 700;
}

.summ-val-high {
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.summ-highlight-blue {
    color: #60a5fa;
    font-weight: 800;
    font-size: 15px;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.summ-divider {
    height: 1px;
    background: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    margin: 20px 0;
    opacity: 0.5;
}

.total-row {
    margin: 20px -24px -24px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 78, 59, 0.3) 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-row span:first-child {
    font-size: 13px;
    font-weight: 800;
    color: #6ee7b7;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.summ-total-val {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    letter-spacing: -0.5px;
}

/* Coupon Code Section */
.coupon-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.coupon-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.coupon-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.coupon-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.25s, background 0.25s;
    min-width: 0;
}

.coupon-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: none;
}

.coupon-input:focus {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.05);
}

.coupon-apply-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    flex-shrink: 0;
}

.coupon-apply-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.coupon-error {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #f87171;
    display: none;
    padding-left: 4px;
}

.coupon-success {
    display: none;
    margin-top: 12px;
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 14px;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.coupon-success-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.coupon-success-code {
    font-size: 13px;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 1px;
}

.coupon-success-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(16, 185, 129, 0.7);
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 8px;
    border-radius: 20px;
}

.coupon-remove-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

.coupon-remove-btn:hover {
    color: #f87171;
}

/* Total price strikethrough when coupon applied */
.total-original-price {
    text-decoration: line-through;
    color: #f87171;
    font-size: 15px;
    font-weight: 700;
    opacity: 0.8;
    margin-right: 4px;
}

.total-discounted-price {
    font-size: 24px;
    font-weight: 900;
    color: #10b981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    letter-spacing: -0.5px;
}

/* Payment Buttons */
.pay-method-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 18px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-method-btn:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.08);
}

.pm-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.bottom-back-btn {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    /* Stronger grey outline */
    color: rgba(255, 255, 255, 0.8);
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    margin-top: 70px;
    /* Significant spacing from payment details */
}

.bottom-back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.bottom-back-btn:active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Payment Selection */
.pay-method-btn.selected {
    border: 1px solid #10b981 !important;
    background: rgba(16, 185, 129, 0.15) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2) !important;
}

.payment-details-box {
    background: rgba(22, 26, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qr-code-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    margin-bottom: 16px;
}

.copy-address-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 13px;
    color: #fff;
    word-break: break-all;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    user-select: all;
}


.copy-address-box:active {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0.98);
}

.pay-action-btn {
    width: 100%;
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    margin-top: 8px;
}

.verify-payment-btn {
    width: 100%;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    margin-top: 12px;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verify-payment-btn:active {
    background: rgba(16, 185, 129, 0.25);
    transform: scale(0.98);
}

/* Crypto Network Select */
.crypto-network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}


.crypto-net-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    padding: 8px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    min-height: 48px;
}

.crypto-net-btn.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
    transform: translateY(-1px);
}

/* ==========================================
   Crypto Payment V2 — Step-Based Flow
   ========================================== */

/* Step indicator */
.crypto-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
    padding: 0 20px;
}

.crypto-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.crypto-step-dot.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.crypto-step-dot.completed {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.crypto-step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    max-width: 48px;
}

.crypto-step-line.completed {
    background: #10b981;
}

/* Currency selection grid */
.crypto-currency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.crypto-currency-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 6px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.crypto-currency-card:active {
    transform: scale(0.96);
}

.crypto-currency-card.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.crypto-currency-icon {
    font-size: 26px;
    line-height: 1;
    margin-bottom: 2px;
}

.crypto-currency-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.crypto-currency-symbol {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Network selection cards */
.crypto-network-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.crypto-network-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.crypto-network-card:active {
    transform: scale(0.98);
}

.crypto-network-card.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.crypto-network-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crypto-network-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.crypto-network-chain {
    font-size: 11px;
    color: var(--text-muted);
}

.crypto-network-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.crypto-network-badges {
    display: flex;
    align-items: center;
    gap: 6px;
}

.crypto-recommended-badge {
    font-size: 9px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crypto-network-arrow {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.3);
}

/* Payment amount display */
.crypto-amount-display {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 16px;
    text-align: center;
}

.crypto-amount-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.crypto-amount-value {
    font-size: 24px;
    font-weight: 800;
    color: #10b981;
    letter-spacing: -0.5px;
}

.crypto-amount-usd {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.crypto-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.crypto-copy-btn:active {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
    transform: scale(0.96);
}

.crypto-copy-btn.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* QR code display */
.crypto-qr-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.crypto-qr-wrapper .qr-code-img {
    width: 160px;
    height: 160px;
    border-radius: 14px;
    background: #fff;
    padding: 8px;
}

/* Address display with copy button */
.crypto-address-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.crypto-address-text {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    word-break: break-all;
    flex: 1;
    line-height: 1.4;
}

.crypto-address-copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--text-muted);
    flex-shrink: 0;
    font-size: 13px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-address-copy-btn:active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    transform: scale(0.92);
}

.crypto-address-copy-btn.copied {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

/* Countdown timer */
.crypto-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 14px 0;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.crypto-timer.warning {
    color: #eab308;
    background: rgba(234, 179, 8, 0.08);
}

.crypto-timer.expired {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.crypto-timer-icon {
    font-size: 15px;
}

/* Status indicator */
.crypto-status {
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.crypto-status.waiting {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.crypto-status.confirming {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
}

.crypto-status.success {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.crypto-status.failed {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.crypto-status.partial {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
}

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

@keyframes cryptoSpin {
    to { transform: rotate(360deg); }
}

.crypto-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.crypto-status.waiting .crypto-status-dot {
    background: var(--text-muted);
    animation: cryptoPulse 1.5s ease-in-out infinite;
}

.crypto-status.confirming .crypto-status-dot {
    background: #eab308;
    animation: cryptoPulse 0.8s ease-in-out infinite;
}

.crypto-status.success .crypto-status-dot {
    background: #10b981;
}

.crypto-status.failed .crypto-status-dot {
    background: #ef4444;
}

.crypto-status.partial .crypto-status-dot {
    background: #eab308;
    animation: cryptoPulse 1s ease-in-out infinite;
}

/* Action buttons */
.crypto-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.crypto-action-btn {
    flex: 1;
    padding: 12px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crypto-action-btn:active {
    transform: scale(0.97);
}

.crypto-action-btn.primary {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.crypto-action-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-action-btn.hosted {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

/* Section header in crypto flow */
.crypto-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-align: center;
}

.crypto-section-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: center;
}

/* Retry link in status */
.crypto-retry-link {
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
}

/* Check payment button */
.crypto-check-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px;
    margin-top: 4px;
}

.crypto-check-btn:active {
    color: #10b981;
}

/* Animation for step transitions */
@keyframes cryptoFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.crypto-step-content {
    animation: cryptoFadeIn 0.3s ease-out;
}

.network-notice {
    font-size: 11px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-top: 16px;
    line-height: 1.4;
    text-align: center;
}

.verify-payment-btn.verifying {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    cursor: not-allowed;
    animation: verifyPulse 1s infinite;
}

@keyframes verifyPulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* UPI App Button Styling */
.upi-app-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #fff !important;
    color: #000 !important;
    padding: 10px 16px !important;
    height: auto !important;
    border: 1px solid #e2e8f0;
    border-radius: 14px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.upi-btn-left {
    display: flex;
    align-items: center;
    gap: 12px;
}


.upi-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.upi-btn-title {
    font-size: 13px;
    font-weight: 800;
    color: #1f2937;
    white-space: nowrap;
}

.upi-icons-and-arrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upi-icons-row {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.upi-logo-wrapper {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.upi-logo-wrapper:hover {
    transform: translateY(-4px) scale(1.15);
    z-index: 10 !important;
}

.upi-svg-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.upi-arrow-icon {
    font-size: 18px;
    color: #22c55e;
    font-weight: 1000;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(34, 197, 94, 0.3));
}

/* Hero Reaction Strip */
.hero-reaction-strip {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 24px;
    flex-wrap: wrap;
    padding: 4px;
    animation: fadeUp 0.6s ease-out backwards;
}

.reaction-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
    transition: transform 0.2s, background 0.2s;
}

.reaction-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.reaction-pill.star-only {
    padding: 6px 12px;
    min-width: 32px;
    height: auto;
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--gold);
    font-size: 14px;
}

.pill-count {
    color: #6ee7b7;
    /* Cyan/Teal consistent with image and green theme */
    font-weight: 700;
    font-size: 13px;
    min-width: 14px;
    font-variant-numeric: tabular-nums;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}