:root {
    --bg: #07070c;
    --card: #111118;
    --border: #1c1c28;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #fffc00;
    --input-bg: #18181f;
    --radius: 16px;
    --snap: #fffc00;
    --robux: #00b2ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Fond vivant */
.bg {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 90% 60% at 50% -30%, rgba(255, 252, 0, 0.09), transparent),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(0, 178, 255, 0.07), transparent),
        radial-gradient(ellipse 50% 40% at 0% 80%, rgba(168, 85, 247, 0.05), transparent);
    z-index: 0;
}

.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 12s ease-in-out infinite;
}

.shape1 {
    width: 180px; height: 180px;
    background: #fffc00;
    top: 10%; left: -40px;
    animation-delay: 0s;
}
.shape2 {
    width: 140px; height: 140px;
    background: #00b2ff;
    bottom: 15%; right: -30px;
    animation-delay: 4s;
}
.shape3 {
    width: 100px; height: 100px;
    background: #a855f7;
    top: 50%; left: 30%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.05); }
}

/* Carte */
.card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    background: rgba(17, 17, 24, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 28px 22px 26px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

/* Top live */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.25;
}

.subtitle {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.45;
}

.subtitle strong {
    color: var(--accent);
}

/* Progress */
.progress {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ff9a00);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Badge */
.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #000;
    background: var(--accent);
    padding: 5px 11px;
    border-radius: 6px;
    margin-bottom: 16px;
}

/* Choix */
.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.choice-card {
    position: relative;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 12px 18px;
    color: var(--text);
    font-family: inherit;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.18s, border-color 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.choice-card:active {
    transform: scale(0.96);
}

.choice-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.25s;
}

.choice-card.snap .choice-glow {
    background: radial-gradient(circle at center, rgba(255,252,0,0.12), transparent 70%);
}
.choice-card.robux .choice-glow {
    background: radial-gradient(circle at center, rgba(0,178,255,0.12), transparent 70%);
}

.choice-card:hover .choice-glow,
.choice-card:active .choice-glow {
    opacity: 1;
}

.choice-card.snap:hover { border-color: rgba(255,252,0,0.4); }
.choice-card.robux:hover { border-color: rgba(0,178,255,0.4); }

.choice-icon {
    font-size: 36px;
    margin-bottom: 6px;
}

.choice-title {
    font-size: 18px;
    font-weight: 700;
}
.choice-card.snap .choice-title { color: var(--snap); }
.choice-card.robux .choice-title { color: var(--robux); }

.choice-desc {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.choice-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: var(--muted);
}

/* Trust */
.trust-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 11px;
    color: var(--muted);
    background: rgba(255,255,255,0.04);
    padding: 5px 10px;
    border-radius: 20px;
}

/* Fields */
.field {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 8px;
}

input, select {
    width: 100%;
    height: 52px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    padding: 0 16px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 252, 0, 0.12);
}

input::placeholder { color: #52525b; }

.select-wrap { position: relative; }
.select-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--muted);
    pointer-events: none;
}
select {
    appearance: none;
    cursor: pointer;
}

/* Bouton */
.btn {
    width: 100%;
    height: 54px;
    margin-top: 6px;
    background: linear-gradient(135deg, #fffc00, #ffb700);
    color: #000;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s, filter 0.15s;
    box-shadow: 0 8px 20px -6px rgba(255, 200, 0, 0.4);
}

.btn:active {
    transform: scale(0.97);
}

/* Textes de réassurance */
.reassurance {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 18px;
    line-height: 1.5;
}

.info {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    line-height: 1.55;
    margin-bottom: 20px;
}

.center-title {
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    margin: 14px 0 8px;
}

.status {
    margin-top: 12px;
    font-size: 13px;
    color: #f87171;
    text-align: center;
}

/* Loader */
.loader {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255,252,0,0.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 8px auto 0;
    animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Pulse dots */
.pulse-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}
.pulse-dots span {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}
.pulse-dots span:nth-child(2) { animation-delay: 0.15s; }
.pulse-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
    40% { transform: scale(1.1); opacity: 1; }
}

/* Icons succès / erreur */
.success-icon, .error-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    font-weight: 600;
}
.success-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}
.error-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.success-text {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 18px;
}

.success-badge {
    display: inline-block;
    margin: 0 auto;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Steps */
.step {
    display: none;
    animation: fadeIn 0.3s ease;
}
.step.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile très petit */
@media (max-width: 360px) {
    .card { padding: 24px 16px 22px; }
    h1 { font-size: 21px; }
    .choice-icon { font-size: 32px; }
}