:root {
    --bg-main: #020617;
    --bg-card: rgba(15, 23, 42, 0.7);
    --bg-input: rgba(30, 41, 59, 0.5);
    --border-color: rgba(51, 65, 85, 0.5);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #10b981;
    --accent-hover: #34d399;
    --accent-glow: rgba(16, 185, 129, 0.3);
    --danger: #ef4444;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

/* Layout */
.payment-container {
    width: 100%;
    max-width: 480px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
}

/* Header */
.payment-header {
    text-align: center;
    margin-bottom: 8px;
}

.icon-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.payment-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-header p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
}

/* Cards */
.card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.card-header h2 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Info Groups / Details */
.bank-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-row .label {
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-row .value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.value-with-copy, .value-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    min-height: 50px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.value-with-copy:hover, .value-box:hover {
    border-color: rgba(148, 163, 184, 0.5);
}

.monospace {
    font-family: monospace;
    letter-spacing: 1px;
}

.info-group {
    margin-bottom: 16px;
}

.info-group:last-of-type {
    margin-bottom: 24px;
}

.info-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 400;
}

.copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.copy-box:hover {
    border-color: rgba(148, 163, 184, 0.5);
}

.copy-text {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    user-select: all;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
}

.copy-btn.copied {
    color: var(--accent);
}

/* Alert Box */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 14px;
    border-radius: 12px;
    color: var(--warning);
}

.alert-box p {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 400;
}

.form-group input {
    width: 100%;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder {
    color: #475569;
}

.form-group input:focus {
    outline: none;
    background: rgba(2, 6, 23, 0.9);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.input-with-icon input {
    padding-left: 36px;
}

.bonus-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    word-break: break-word;
}

/* Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

/* Timer Styles */
.timer-container {
    width: 100%;
    margin-bottom: 24px;
}

.timer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.timer-icon {
    stroke: #ef4444;
}

.timer-text {
    font-size: 17px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 1px;
}

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

.submit-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Footer */
.payment-footer {
    text-align: center;
    margin-top: 8px;
}

.payment-footer p {
    font-size: 12px;
    color: #475569;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 20px;
    }
    
    .payment-header h1 {
        font-size: 24px;
    }
}
