:root {
    --primary-color: #ff2a6d;
    --primary-hover: #ff4a8d;
    --secondary-color: rgba(255, 255, 255, 0.1);
    --secondary-hover: rgba(255, 255, 255, 0.2);
    --bg-dark: #050510;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --glass-bg: rgba(10, 10, 15, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Background Image Handling — Desktop: 1672x941, Mobile: 864x1821 */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('desktop.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
}

.bg-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

@media (max-width: 768px) {
    .bg-wrapper {
        background-image: url('mobile.png');
        background-size: 100% auto;
        background-position: top center;
    }
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Glassmorphism Card */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Step Transitions */
.step {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
    text-align: center;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typography */
h1 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Buttons */
.btn-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-glow {
    background: linear-gradient(45deg, #ff2a6d, #01b1be);
    color: white;
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 42, 109, 0.8);
    transform: translateY(-2px) scale(1.02);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 42, 109, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 42, 109, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 42, 109, 0); }
}

/* Loader */
.loader {
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto 30px auto;
}

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

/* Footer */
.footer {
    margin-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 1.6;
}

.small-text {
    font-size: 10px;
    opacity: 0.7;
}
