:root {
    --midnight: #1e3a8a;
    --cyan: #06b6d4;
    --pink: #ec4899;
    --white: #f8fafc;
    --font-display: 'Inter Tight', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--midnight);
    color: var(--white);
    font-family: var(--font-body);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.page-background {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/wefdiu/site/media/69f115970df116.92884544.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: luminosity;
    z-index: -2;
}

.glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.glow-cyan { top: -20%; left: -10%; background: radial-gradient(circle, var(--cyan), transparent 60%); }
.glow-pink { bottom: -20%; right: -10%; background: radial-gradient(circle, var(--pink), transparent 60%); }

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
}

.header { text-align: center; margin-bottom: 40px; }
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--cyan);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}
h1 span {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: rgba(248, 250, 252, 0.7);
    margin-top: 12px;
}

.card {
    background: rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    transition: width 0.4s ease;
    border-radius: 3px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}
.step-subtitle { color: rgba(248, 250, 252, 0.6); margin: 0 0 24px 0; }

.hidden { display: none !important; }

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }
.btn-text {
    background: transparent;
    color: rgba(248, 250, 252, 0.6);
    font-weight: 500;
}
.btn-text:hover { color: white; text-decoration: underline; }
.btn-large { width: 100%; padding: 18px; font-size: 1.2rem; }

.step-actions { margin-top: 40px; }
.step-actions.split { display: flex; justify-content: space-between; gap: 16px; }
.step-actions.stacked { display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* Slider Component */
.slider-wrapper { margin: 40px 0; text-align: center; }
.slider-value-display { font-size: 2.5rem; font-weight: 800; font-family: var(--font-display); color: var(--pink); margin-bottom: 20px; }
.slider-value-display span { font-size: 4rem; color: white; }
.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    margin-bottom: 20px;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pink);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
    transition: transform 0.1s;
}
.custom-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-landmarks { display: flex; justify-content: space-between; font-size: 1.5rem; padding: 0 10px; }

/* Sessions Grid */
.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin: 30px 0;
}
.session-card { cursor: pointer; display: block; height: 100%; }
.session-card input { display: none; }
.session-card .card-body {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s;
    height: 100%;
    box-sizing: border-box;
}
.session-card:hover .card-body { background: rgba(255, 255, 255, 0.1); }
.session-card input:checked + .card-body {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.1);
}
.session-card .card-thumb {
    height: 80px;
    border-radius: 8px;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.session-card input:checked + .card-body .card-thumb { opacity: 1; }
.session-card .card-title {
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    line-height: 1.4;
}

/* Card Gradients */
.thumb-1 { background: linear-gradient(135deg, #06b6d4, #1e3a8a); }
.thumb-2 { background: linear-gradient(135deg, #ec4899, #7e22ce); }
.thumb-3 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.thumb-4 { background: linear-gradient(135deg, #10b981, #047857); }
.thumb-5 { background: linear-gradient(135deg, #8b5cf6, #4338ca); }
.thumb-6 { background: linear-gradient(135deg, #ef4444, #991b1b); }
.thumb-7 { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.thumb-8 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.thumb-9 { background: linear-gradient(135deg, #f43f5e, #be123c); }
.thumb-10 { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.thumb-11 { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.thumb-12 { background: linear-gradient(135deg, #6366f1, #4338ca); }

/* Standard Inputs */
.input-group { margin-bottom: 24px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 500; color: rgba(248, 250, 252, 0.8); }
.text-input {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
}
.text-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.text-input:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
textarea.text-input { resize: vertical; min-height: 120px; }

/* DataList styling fallback - mostly native, but standardizes the input wrapper */
input[list]::-webkit-calendar-picker-indicator {
    opacity: 0.5;
    filter: invert(1);
    cursor: pointer;
}
input[list]:hover::-webkit-calendar-picker-indicator { opacity: 1; }

/* Rating Grid Component */
.rating-grid { margin: 30px 0; display: flex; flex-direction: column; gap: 16px; }
.rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}
.rating-label { font-weight: 500; font-size: 1.1rem; }
.stars { display: flex; flex-direction: row-reverse; gap: 4px; }
.stars input { display: none; }
.stars label { 
    color: rgba(255, 255, 255, 0.15); 
    font-size: 2.2rem; 
    cursor: pointer; 
    transition: all 0.2s; 
    line-height: 1; 
}
.stars label:hover, 
.stars label:hover ~ label, 
.stars input:checked ~ label { 
    color: var(--pink); 
    transform: scale(1.1);
}

/* Badge Step 6 */
.ticket-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(236, 72, 153, 0.3);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
}
.ticket-icon { font-size: 3.5rem; }
.ticket-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--pink); line-height: 1.2; }
.ticket-text span { display: block; font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: white; margin-top: 4px; }

/* Utilities */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgb(239, 68, 68);
    color: rgb(252, 165, 165);
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
}
.success-icon { font-size: 5rem; margin-bottom: 20px; animation: bounce 2s infinite; }
.text-center { text-align: center; }
.small-text { color: rgba(248, 250, 252, 0.6); font-size: 0.95rem; margin-top: 30px; }
.mt-4 { margin-top: 24px; }

#wbx-powered-by-slot { margin-top: 40px; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    .card { padding: 30px 20px; }
    .rating-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .stars label { font-size: 2.5rem; }
    .step-actions.split { flex-direction: column-reverse; }
    .step-actions.split .btn { width: 100%; }
    .sessions-grid { grid-template-columns: repeat(2, 1fr); }
    .ticket-badge { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .sessions-grid { grid-template-columns: 1fr; }
}
