:root {
    --real-bg-1: #120f19;
    --real-bg-2: #2a1120;
    --real-bg-3: #5b1f1f;
    --real-surface: rgba(19, 16, 28, 0.78);
    --real-surface-strong: rgba(26, 21, 39, 0.92);
    --real-panel: linear-gradient(180deg, rgba(27, 22, 38, 0.96), rgba(18, 15, 28, 0.98));
    --real-panel-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    --real-border: rgba(255, 188, 92, 0.26);
    --real-border-strong: rgba(255, 207, 120, 0.56);
    --real-text: #fff5de;
    --real-text-soft: rgba(255, 245, 222, 0.78);
    --real-accent: #ffbc5c;
    --real-accent-strong: #ff8a3d;
    --real-danger: #ff6b6b;
    --real-success: #38d39f;
    --real-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body.real-theme {
    background:
        radial-gradient(circle at top left, rgba(255, 138, 61, 0.28), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 188, 92, 0.16), transparent 28%),
        linear-gradient(135deg, var(--real-bg-1) 0%, var(--real-bg-2) 46%, var(--real-bg-3) 100%);
}

body.real-theme .navbar,
body.real-theme .main-content,
body.real-theme .guide-modal-content,
body.real-theme .image-modal-content,
body.real-theme .footer {
    color: var(--real-text);
}

body.real-theme::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.92));
}

body.real-theme .navbar,
body.real-theme .recharge-container,
body.real-theme .info-card,
body.real-theme .important-notice,
body.real-theme .process-card,
body.real-theme .payment-cashier-container,
body.real-theme .payment-status-content,
body.real-theme .guide-modal-content,
body.real-theme .image-modal-content,
body.real-theme .provider-option,
body.real-theme .amount-btn,
body.real-theme .email-input,
body.real-theme .account-input,
body.real-theme .stats-row,
body.real-theme .help-btn,
body.real-theme .language-selector,
body.real-theme .footer {
    border-color: var(--real-border);
}

body.real-theme .navbar,
body.real-theme .footer {
    background: rgba(14, 12, 22, 0.82);
    backdrop-filter: blur(24px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

body.real-theme .logo-title {
    background: linear-gradient(135deg, #ffe0a6, #ffbc5c, #ff8a3d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

body.real-theme .logo-subtitle,
body.real-theme .footer-copyright,
body.real-theme .footer-links a,
body.real-theme .nav-link,
body.real-theme .language-selector {
    color: var(--real-text-soft);
}

body.real-theme .nav-link:hover,
body.real-theme .nav-link.active,
body.real-theme .footer-links a:hover,
body.real-theme .language-selector:hover {
    color: var(--real-text);
    background: rgba(255, 188, 92, 0.12);
    border-color: rgba(255, 188, 92, 0.34);
    box-shadow: 0 0 20px rgba(255, 188, 92, 0.16);
}

body.real-theme .main-content {
    padding-top: 48px;
}

.real-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 30px 32px;
    border-radius: 28px;
    border: 1px solid var(--real-border);
    background:
        linear-gradient(135deg, rgba(255, 188, 92, 0.16), rgba(255, 138, 61, 0.1)),
        rgba(17, 14, 24, 0.7);
    box-shadow: var(--real-shadow);
}

.real-hero::after {
    content: "";
    position: absolute;
    top: -25%;
    right: -10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 188, 92, 0.22), transparent 66%);
    pointer-events: none;
}

.real-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.real-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 188, 92, 0.28);
    background: rgba(255, 188, 92, 0.1);
    color: #ffe9bd;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.real-hero-title {
    max-width: 760px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff7e4;
}

.real-hero-desc {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--real-text-soft);
}

.real-compliance-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.real-compliance-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 188, 92, 0.14);
}

.real-compliance-item strong {
    display: block;
    margin-bottom: 6px;
    color: #fff3d1;
    font-size: 14px;
}

.real-compliance-item span {
    color: var(--real-text-soft);
    font-size: 13px;
    line-height: 1.7;
}

body.real-theme .recharge-container {
    background: linear-gradient(180deg, rgba(22, 18, 33, 0.88), rgba(15, 13, 22, 0.92));
    box-shadow: var(--real-shadow);
    border-radius: 28px;
}

body.real-theme .recharge-container::before {
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffbc5c, #ff8a3d, transparent);
}

body.real-theme .section-title,
body.real-theme .process-title,
body.real-theme .process-card-title,
body.real-theme .info-content h4,
body.real-theme .notice-header h4,
body.real-theme .payment-status-title {
    color: #fff1cc;
    text-shadow: none;
}

body.real-theme .process-description,
body.real-theme .info-content p,
body.real-theme .notice-content li,
body.real-theme .payment-status-message,
body.real-theme .countdown-label,
body.real-theme .payment-method-text,
body.real-theme .order-label {
    color: var(--real-text-soft);
}

body.real-theme .cashier-title h2,
body.real-theme .key-info-item label,
body.real-theme .order-number,
body.real-theme .notice-header,
body.real-theme .notice-list li {
    color: var(--real-text);
}

body.real-theme .cashier-title i {
    color: var(--real-accent);
}

body.real-theme .countdown-display-top {
    color: #ff8a6a;
    text-shadow: none;
}

body.real-theme .payment-method-text,
body.real-theme .countdown-label,
body.real-theme .order-label {
    color: rgba(255, 245, 222, 0.72);
}

body.real-theme .process-card,
body.real-theme .info-card,
body.real-theme .stats-row,
body.real-theme .payment-status-container,
body.real-theme .payment-cashier-container,
body.real-theme .payment-status-content,
body.real-theme .guide-modal-content,
body.real-theme .image-modal-content {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
}

body.real-theme .payment-status-container,
body.real-theme .payment-cashier-container {
    background: var(--real-panel);
    border: 1px solid rgba(255, 188, 92, 0.2);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.real-theme .payment-status-container {
    padding: 34px 24px;
}

body.real-theme .payment-status-container::before {
    background: linear-gradient(90deg, transparent, rgba(255, 188, 92, 0.9), rgba(255, 138, 61, 0.9), transparent);
}

body.real-theme .payment-status-content {
    max-width: 520px;
    padding: 32px 28px;
    border-radius: 24px;
    background: var(--real-panel-soft);
    border: 1px solid rgba(255, 188, 92, 0.16);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.real-theme .process-card:hover,
body.real-theme .info-card:hover,
body.real-theme .provider-option:hover,
body.real-theme .amount-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

body.real-theme .process-number,
body.real-theme .info-icon,
body.real-theme .payment-status-icon.success,
body.real-theme .payment-status-icon.cancel {
    box-shadow: none;
}

body.real-theme .provider-option,
body.real-theme .amount-btn,
body.real-theme .email-input,
body.real-theme .account-input,
body.real-theme .help-btn,
body.real-theme .next-btn,
body.real-theme .back-btn,
body.real-theme .refresh-btn,
body.real-theme .payment-status-btn,
body.real-theme .copy-btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--real-text);
}

body.real-theme .provider-option.active,
body.real-theme .amount-btn.active,
body.real-theme .next-btn,
body.real-theme .payment-status-btn.success-btn,
body.real-theme .refresh-btn {
    background: linear-gradient(135deg, #ffbc5c, #ff8a3d);
    color: #281406;
    border-color: transparent;
    font-weight: 700;
}

body.real-theme .provider-option.active span,
body.real-theme .amount-btn.active,
body.real-theme .next-btn,
body.real-theme .refresh-btn {
    color: #281406;
}

body.real-theme .back-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff2d5;
    border: 1px solid rgba(255, 188, 92, 0.2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body.real-theme .back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff7e7;
    border-color: rgba(255, 188, 92, 0.34);
}

body.real-theme .payment-cashier-container .copy-btn,
body.real-theme .copy-btn {
    background: linear-gradient(135deg, rgba(255, 188, 92, 0.96), rgba(255, 138, 61, 0.96));
    color: #2c1708;
    border: 1px solid rgba(255, 232, 189, 0.42);
    box-shadow: 0 10px 24px rgba(255, 138, 61, 0.22);
}

body.real-theme .payment-cashier-container .copy-btn i,
body.real-theme .copy-btn i {
    color: #2c1708;
}

body.real-theme .payment-cashier-container .copy-btn:hover,
body.real-theme .copy-btn:hover {
    background: linear-gradient(135deg, #ffd084, #ff9a52);
    color: #241104;
    border-color: rgba(255, 244, 220, 0.68);
    box-shadow: 0 14px 30px rgba(255, 138, 61, 0.28);
    filter: saturate(1.06);
}

body.real-theme .payment-cashier-container .copy-btn:hover i,
body.real-theme .copy-btn:hover i {
    color: #241104;
}

body.real-theme .payment-cashier-container .copy-btn:active,
body.real-theme .copy-btn:active {
    background: linear-gradient(135deg, #f0aa54, #f4843a);
    color: #1f0f05;
    box-shadow: 0 6px 14px rgba(255, 138, 61, 0.2);
}

body.real-theme .payment-cashier-container .copy-btn:disabled,
body.real-theme .copy-btn:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    filter: grayscale(0.08);
    box-shadow: none;
}

body.real-theme .provider-option.disabled,
body.real-theme .amount-btn.disabled,
body.real-theme .email-input:disabled,
body.real-theme .account-input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.real-input-lock-tip {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 245, 222, 0.56);
}

.real-stock-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 188, 92, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--real-text-soft);
}

.real-stock-banner i {
    font-size: 16px;
}

.real-stock-banner.success {
    color: #d8ffee;
    border-color: rgba(56, 211, 159, 0.28);
    background: rgba(56, 211, 159, 0.08);
}

.real-stock-banner.success i {
    color: var(--real-success);
}

.real-stock-banner.loading {
    color: #fff0c7;
    border-color: rgba(255, 188, 92, 0.3);
}

.real-stock-banner.error {
    color: #ffd6d6;
    border-color: rgba(255, 107, 107, 0.32);
    background: rgba(255, 107, 107, 0.08);
}

.real-stock-banner.error i {
    color: var(--real-danger);
}

body.real-theme .email-input,
body.real-theme .account-input {
    color: var(--real-text);
    border-width: 1px;
}

body.real-theme .email-input::placeholder,
body.real-theme .account-input::placeholder {
    color: rgba(255, 245, 222, 0.42);
}

body.real-theme .email-icon,
body.real-theme .account-icon {
    color: rgba(255, 188, 92, 0.66);
}

body.real-theme .stat-label,
body.real-theme .payment-info span,
body.real-theme .stat-value,
body.real-theme .actual-amount-value {
    color: var(--real-text);
}

body.real-theme .actual-amount-value {
    font-size: 28px;
    color: #ffe0a6;
}

body.real-theme .important-notice {
    background: linear-gradient(135deg, rgba(255, 188, 92, 0.12), rgba(255, 107, 107, 0.08));
}

body.real-theme .notice-header i {
    color: var(--real-accent);
}

body.real-theme .payment-notice,
body.real-theme .countdown-section-top {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--real-border);
}

body.real-theme .countdown-section-top {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.real-theme .key-info-item,
body.real-theme .order-info-small {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border-color: rgba(255, 188, 92, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.real-theme .key-info-item.amount-item {
    border-color: rgba(120, 196, 255, 0.36);
}

body.real-theme .key-info-value,
body.real-theme .payment-cashier-container .info-value {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 76px;
    padding: 16px 70px 16px 18px;
    background: rgba(11, 9, 18, 0.34);
    border-color: rgba(255, 188, 92, 0.16);
    color: #fff0d0;
}

body.real-theme .key-info-value.amount-highlight,
body.real-theme .payment-cashier-container .info-value.amount-highlight {
    background: linear-gradient(135deg, rgba(77, 135, 255, 0.16), rgba(56, 127, 255, 0.08));
    border-color: rgba(120, 196, 255, 0.34);
    color: #78b6ff;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: none;
}

body.real-theme .key-info-value.address-value,
body.real-theme .payment-cashier-container .info-value.address-value {
    color: rgba(255, 235, 198, 0.88);
    line-height: 1.6;
}

body.real-theme .key-info-text,
body.real-theme .payment-cashier-container .info-text,
body.real-theme .payment-cashier-container .address-text {
    color: inherit;
    width: 100%;
    padding-right: 0;
    text-align: left;
    word-break: break-all;
}

body.real-theme .order-info-small {
    color: rgba(255, 245, 222, 0.72);
}

body.real-theme .payment-notice {
    background: linear-gradient(135deg, rgba(255, 188, 92, 0.08), rgba(255, 138, 61, 0.05));
}

body.real-theme .notice-header {
    color: #ffd48e;
}

body.real-theme .notice-list li {
    color: rgba(255, 232, 189, 0.88);
}

body.real-theme .notice-list li::before {
    color: var(--real-accent);
}

body.real-theme .countdown-display-top.warning,
body.real-theme .countdown-section-top.warning {
    border-color: rgba(255, 107, 107, 0.4);
    color: #ffd6d6;
}

body.real-theme .guide-modal-content,
body.real-theme .image-modal-content {
    background: rgba(18, 15, 27, 0.98);
}

body.real-theme .guide-step,
body.real-theme .step-content,
body.real-theme .step-content p {
    color: var(--real-text-soft);
}

body.real-theme .payment-status-message span {
    color: #7cc4ff;
    text-shadow: none;
}

body.real-theme .payment-cashier-container {
    max-width: 840px;
    padding: 28px;
}

body.real-theme .cashier-header {
    margin-bottom: 22px;
}

body.real-theme .payment-notice,
body.real-theme .countdown-section-top {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

body.real-theme .payment-notice {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.real-theme .qr-payment-layout {
    display: grid;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

body.real-theme .qr-section-left,
body.real-theme .payment-info-right {
    min-width: 0;
}

body.real-theme .payment-info-right {
    gap: 18px;
}

body.real-theme .qr-code-container {
    background:
        radial-gradient(circle at top, rgba(255, 188, 92, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(23, 19, 34, 0.96), rgba(16, 13, 25, 0.98));
    border: 1px solid rgba(255, 188, 92, 0.18);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    margin-bottom: 0;
    min-height: 100%;
}

body.real-theme .qr-code-image {
    width: min(180px, 100%);
    height: auto;
    aspect-ratio: 1;
    display: block;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

body.real-theme .order-info-small {
    margin-top: 10px;
}

body.real-theme .payment-actions {
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 768px) {
    .real-hero {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .real-hero-title {
        font-size: 28px;
    }

    .real-compliance-strip {
        grid-template-columns: 1fr;
    }

    body.real-theme .recharge-form {
        padding: 24px 18px;
    }

    body.real-theme .payment-status-container,
    body.real-theme .payment-cashier-container {
        padding: 22px 16px;
        border-radius: 20px;
    }

    body.real-theme .payment-status-content {
        padding: 24px 18px;
        border-radius: 20px;
    }

    body.real-theme .qr-payment-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.real-theme .qr-section-left {
        width: 100%;
        max-width: 240px;
        justify-self: center;
    }

    body.real-theme .key-info-value,
    body.real-theme .payment-cashier-container .info-value {
        padding: 14px 64px 14px 16px;
        min-height: 70px;
    }

    body.real-theme .payment-actions {
        flex-direction: column;
    }

    body.real-theme .back-btn,
    body.real-theme .refresh-btn,
    body.real-theme .payment-status-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body.real-theme .payment-status-content {
        padding: 20px 14px;
    }

    body.real-theme .payment-status-title {
        font-size: 20px;
    }

    body.real-theme .countdown-display-top {
        font-size: 1.7rem;
    }

    body.real-theme .key-info-value,
    body.real-theme .payment-cashier-container .info-value {
        padding-right: 58px;
        font-size: 0.85rem;
    }

    body.real-theme .key-info-value.amount-highlight,
    body.real-theme .payment-cashier-container .info-value.amount-highlight {
        font-size: 1.2rem;
    }

    body.real-theme .order-number {
        word-break: break-all;
    }
}
