/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #f59e0b;
    --primary-glow: rgba(245, 158, 11, 0.25);
    --bg-main: #090d16;
    --bg-card: #111827;
    --border-color: rgba(245, 158, 11, 0.2);
}

* {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: #f3f4f6;
    overflow-x: hidden;
}

/* Background Ambient Glows */
.ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.glow-gold {
    background: radial-gradient(circle, #f59e0b, #d97706);
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.glow-blue {
    background: radial-gradient(circle, #3b82f6, #1d4ed8);
    bottom: 10%;
    right: 5%;
}

/* Custom Card & Glassmorphism */
.glass-card {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-gold {
    background: linear-gradient(135deg, rgba(26, 34, 53, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Glowing text and borders */
.text-gold-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.border-gold-glow {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

/* Pulse animation for Zalo button */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.4), 0 0 30px rgba(16, 185, 129, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.7), 0 0 50px rgba(16, 185, 129, 0.35);
        transform: scale(1.02);
    }
}

.btn-zalo-pulse {
    animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Smooth step transition */
.step-pane {
    transition: all 0.35s ease-in-out;
}

.step-pane.hidden {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.step-pane:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Toast styling */
#toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    z-index: 9999;
}

#toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #090d16;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}
