/* ==========================================================================
   Event Registration — Custom Styles
   Inspired by Dubois Dépraz (dubois-depraz.ch)
   Colors: Deep Blue (#0033a0) & Gold (#C5A028)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Primary palette */
    --color-primary: #0033a0;
    --color-primary-dark: #002478;
    --color-primary-light: #1a4fbd;
    --color-primary-bg: #f0f4fb;

    /* Gold / Accent palette */
    --color-gold: #C5A028;
    --color-gold-light: #D4B44A;
    --color-gold-dark: #A8871E;
    --color-gold-bg: #fdf8ec;

    /* Neutrals */
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e8e8e8;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;

    /* Feedback */
    --color-error: #dc3545;
    --color-error-bg: #fef2f2;
    --color-success: #16a34a;
    --color-success-bg: #f0fdf4;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --card-padding: 3rem;
    --card-radius: 20px;
    --input-radius: 12px;
    --btn-radius: 12px;

    /* Shadows */
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
                   0 10px 15px -3px rgba(0, 0, 0, 0.06),
                   0 20px 50px -12px rgba(0, 51, 160, 0.12);
    --shadow-input: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-input-focus: 0 0 0 4px rgba(0, 51, 160, 0.12);
    --shadow-btn: 0 4px 14px rgba(0, 51, 160, 0.3);
    --shadow-btn-hover: 0 6px 20px rgba(0, 51, 160, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --------------------------------------------------------------------------
   2. Base / Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background: linear-gradient(135deg, #f0f4fb 0%, #e8edf6 50%, #fdf8ec 100%);
    min-height: 100vh;
    color: var(--color-gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   3. Festive Background — Canvas + CSS layers
   -------------------------------------------------------------------------- */

/* Canvas layer (confetti particles rendered via JS) */
#festiveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* CSS floating shapes — extra depth layer on top of canvas */
.bg-festive {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation-fill-mode: both;
}

/* Orbs — large soft glowing circles that drift across the screen */
.bg-shape--orb-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0,51,160,0.10) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    animation: orb-drift-1 8s ease-in-out infinite;
    opacity: 1;
}

.bg-shape--orb-2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(197,160,40,0.12) 0%, transparent 70%);
    bottom: -60px;
    left: -40px;
    animation: orb-drift-2 10s ease-in-out infinite;
    opacity: 1;
}

.bg-shape--orb-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0,51,160,0.08) 0%, transparent 70%);
    top: 40%;
    left: 15%;
    animation: orb-drift-3 7s ease-in-out infinite;
    opacity: 1;
}

.bg-shape--orb-4 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(197,160,40,0.08) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    animation: orb-drift-4 9s ease-in-out infinite;
    opacity: 1;
}

/* Geometric accent shapes */
.bg-shape--geo-1 {
    width: 16px;
    height: 16px;
    background: var(--color-gold);
    border-radius: 3px;
    top: 18%;
    left: 8%;
    opacity: 0.18;
    animation: geo-float-1 5s ease-in-out infinite, geo-spin 12s linear infinite;
}

.bg-shape--geo-2 {
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    top: 70%;
    right: 12%;
    opacity: 0.15;
    animation: geo-float-2 4s ease-in-out infinite;
}

.bg-shape--geo-3 {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid var(--color-gold);
    border-radius: 0;
    top: 55%;
    left: 85%;
    opacity: 0.15;
    animation: geo-float-3 6s ease-in-out infinite, geo-spin 15s linear infinite reverse;
}

.bg-shape--geo-4 {
    width: 12px;
    height: 12px;
    background: var(--color-primary-light);
    border-radius: 2px;
    top: 30%;
    right: 5%;
    opacity: 0.12;
    animation: geo-float-1 4.5s ease-in-out infinite reverse, geo-spin 10s linear infinite;
}

.bg-shape--geo-5 {
    width: 8px;
    height: 8px;
    background: var(--color-gold-light);
    border-radius: 50%;
    top: 82%;
    left: 25%;
    opacity: 0.2;
    animation: geo-float-2 3.5s ease-in-out infinite 1s;
}

.bg-shape--geo-6 {
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    top: 10%;
    left: 65%;
    opacity: 0.1;
    animation: geo-float-3 5.5s ease-in-out infinite;
}

/* Orb drift keyframes — smooth, sweeping movements */
@keyframes orb-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.05); }
    66% { transform: translate(25px, -20px) scale(0.95); }
}

@keyframes orb-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(35px, -25px) scale(1.08); }
    66% { transform: translate(-20px, 15px) scale(0.96); }
}

@keyframes orb-drift-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, -40px); }
}

@keyframes orb-drift-4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-35px, 30px); }
}

/* Geometric float keyframes — quick, bouncy movements */
@keyframes geo-float-1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(12px, -18px); }
    50% { transform: translate(-8px, -30px); }
    75% { transform: translate(15px, -12px); }
}

@keyframes geo-float-2 {
    0%, 100% { transform: translate(0, 0); }
    30% { transform: translate(-15px, -20px); }
    60% { transform: translate(10px, 15px); }
}

@keyframes geo-float-3 {
    0%, 100% { transform: translate(0, 0); }
    40% { transform: translate(20px, -25px); }
    80% { transform: translate(-10px, 10px); }
}

@keyframes geo-spin {
    from { rotate: 0deg; }
    to { rotate: 360deg; }
}

/* --------------------------------------------------------------------------
   3b. Logo Container
   -------------------------------------------------------------------------- */
.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
    animation: fade-down 0.5s ease-out;
}

.event-logo {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-base);
}

.event-logo:hover {
    transform: scale(1.04);
}

@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   4. Main Wrapper
   -------------------------------------------------------------------------- */
.registration-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

/* --------------------------------------------------------------------------
   5. Registration Card
   -------------------------------------------------------------------------- */
.registration-card {
    background: var(--color-white);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 51, 160, 0.06);
    position: relative;
    overflow: hidden;
    animation: card-enter 0.6s ease-out;
}

/* Gold accent bar at the top of the card */
.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    /* background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-primary)); */
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   6. Card Header Section
   -------------------------------------------------------------------------- */
.card-header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-gold-bg);
    color: var(--color-gold-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(197, 160, 40, 0.2);
    margin-bottom: 1rem;
}

.event-badge i {
    font-size: 0.85rem;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.card-subtitle {
    font-size: 0.95rem;
    color: var(--color-gray-500);
    margin: 0;
    font-weight: 400;
}

.card-subtitle i {
    color: var(--color-gold);
}

.header-divider {
    width: 60px;
    height: 3px;
    /* background: linear-gradient(90deg, var(--color-primary), var(--color-gold)); */
    border-radius: 3px;
    margin: 1.5rem auto 0;
}

/* --------------------------------------------------------------------------
   7. Step Indicator
   -------------------------------------------------------------------------- */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--color-gray-200);
    color: var(--color-gray-400);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.step.active .step-dot {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: rgba(0, 51, 160, 0.2);
    box-shadow: 0 0 0 6px rgba(0, 51, 160, 0.1);
}

.step.completed .step-dot {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: rgba(197, 160, 40, 0.2);
    box-shadow: 0 0 0 6px rgba(197, 160, 40, 0.1);
}

.step.completed .step-dot i {
    font-size: 1rem;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step.active .step-label {
    color: var(--color-primary);
}

.step.completed .step-label {
    color: var(--color-gold-dark);
}

.step-line {
    flex: 0 0 80px;
    height: 2px;
    background: var(--color-gray-200);
    margin: 0 1rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
    transition: background var(--transition-base);
}

.step-line.active {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary));
}

.step-line.completed {
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold));
}

/* --------------------------------------------------------------------------
   8. Form Elements
   -------------------------------------------------------------------------- */
.registration-form {
    margin-top: 0;
}

.form-floating-group {
    position: relative;
}

.form-label-custom {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.form-label-custom i {
    color: var(--color-gold);
    font-size: 0.8rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
    font-family: var(--font-family);
    color: var(--color-gray-800);
    background: var(--color-gray-50);
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--input-radius);
    outline: none;
    box-shadow: var(--shadow-input);
    transition: all var(--transition-fast);
}

/* Keep country select and local number input aligned */
.phone-control {
    min-height: 50px;
}

.phone-country-select {
    line-height: 1.25;
}

.form-input::placeholder {
    color: var(--color-gray-400);
    font-weight: 300;
}

/* Focus state */
.form-input:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: var(--shadow-input-focus);
}

.form-input:focus + .form-label-custom,
.form-floating-group:focus-within .form-label-custom {
    color: var(--color-primary);
}

/* Hover state */
.form-input:hover:not(:focus) {
    border-color: var(--color-gray-300);
    background: var(--color-white);
}

/* Validation error state */
.form-input.is-invalid {
    border-color: var(--color-error);
    background: var(--color-error-bg);
}

.form-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12);
}

.invalid-feedback {
    display: block;
    font-size: 0.8rem;
    color: var(--color-error);
    margin-top: 0.4rem;
    font-weight: 500;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* --------------------------------------------------------------------------
   8b. Civilité — Segmented Radio Group
   -------------------------------------------------------------------------- */
.civilite-group {
    display: inline-flex;
    gap: 0;
    background: var(--color-gray-50);
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--input-radius);
    padding: 4px;
    box-shadow: var(--shadow-input);
    transition: all var(--transition-fast);
}

.civilite-group:hover {
    border-color: var(--color-gray-300);
}

.civilite-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-input-focus);
}

.civilite-group.is-invalid {
    border-color: var(--color-error);
    background: var(--color-error-bg);
}

.civilite-group.is-invalid:focus-within {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12);
}

.civilite-option {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.civilite-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.civilite-label {
    display: block;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-family);
    color: var(--color-gray-500);
    border-radius: calc(var(--input-radius) - 4px);
    transition: all var(--transition-fast);
    text-align: center;
    user-select: none;
    line-height: 1.4;
}

.civilite-option:hover .civilite-label {
    color: var(--color-gray-700);
    background: var(--color-gray-100);
}

.civilite-option input[type="radio"]:checked + .civilite-label {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 51, 160, 0.25);
}

.civilite-option input[type="radio"]:focus-visible + .civilite-label {
    outline: 3px solid var(--color-gold);
    outline-offset: 1px;
}

/* --------------------------------------------------------------------------
   8c. CAPTCHA Info Note (reCAPTCHA v3 is invisible)
   -------------------------------------------------------------------------- */
.captcha-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    background: #f7faff;
    border: 1px solid rgba(0, 51, 160, 0.08);
}

.captcha-note-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 51, 160, 0.08);
    color: #2a5bbf;
    margin-top: 0;
}

.captcha-note-text {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #7f8da6;
    text-align: center;
    width: 100%;
}

/* --------------------------------------------------------------------------
   9. Submit Button
   -------------------------------------------------------------------------- */
.form-actions {
    text-align: center;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-family);
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 40, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.btn-submit:hover::before {
    left: 100%;
}

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

.btn-submit:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

/* Loading state */
.btn-loading {
    display: none;
}

.btn-submit.is-loading .btn-text {
    display: none;
}

.btn-submit.is-loading .btn-loading {
    display: inline-flex;
    align-items: center;
}

.btn-submit.is-loading {
    background: var(--color-gray-400);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* --------------------------------------------------------------------------
   10. Card Footer
   -------------------------------------------------------------------------- */
.card-footer-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
}

.card-footer-section p {
    font-size: 0.8rem;
    color: var(--color-gray-400);
    margin: 0;
}

.card-footer-section i {
    color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   11. Success Page Styles
   -------------------------------------------------------------------------- */
.success-card {
    text-align: center;
}

.success-icon-wrapper {
    margin-bottom: 1.5rem;
}

.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(197, 160, 40, 0.1),
                0 0 0 20px rgba(197, 160, 40, 0.05);
    animation: pop-in 0.5s ease-out 0.3s both;
}

.success-icon i {
    font-size: 2.5rem;
    color: var(--color-white);
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.success-content {
    margin-bottom: 2rem;
    animation: fade-up 0.5s ease-out 0.5s both;
}

.success-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.success-subtitle {
    font-size: 1rem;
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.6;
}

.success-subtitle strong {
    color: var(--color-primary);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Event recap section */
.event-recap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--color-primary-bg);
    border-radius: 14px;
    border: 1px solid rgba(0, 51, 160, 0.08);
    margin-bottom: 2rem;
    animation: fade-up 0.5s ease-out 0.7s both;
}

.recap-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-gray-700);
    font-weight: 500;
}

.recap-item i {
    font-size: 1.1rem;
    color: var(--color-gold);
}

/* Back button */
.success-actions {
    animation: fade-up 0.5s ease-out 0.9s both;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-back:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
}

.btn-back:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   12. Responsive Styles
   -------------------------------------------------------------------------- */

/* Tablets */
@media (max-width: 768px) {
    :root {
        --card-padding: 2rem;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .step-line {
        flex: 0 0 50px;
    }

    .event-recap {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    :root {
        --card-padding: 1.5rem;
        --card-radius: 16px;
    }

    .registration-wrapper {
        padding: 1rem 0.75rem;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .card-title {
        font-size: 1.4rem;
    }

    .card-subtitle {
        font-size: 0.85rem;
    }

    .success-title {
        font-size: 1.3rem;
    }

    .event-badge {
        font-size: 0.7rem;
    }

    .step-indicator {
        margin-bottom: 1.5rem;
    }

    .step-dot {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .step-line {
        flex: 0 0 35px;
        margin: 0 0.5rem;
        margin-bottom: 1.2rem;
    }

    .form-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .success-icon {
        width: 70px;
        height: 70px;
    }

    .success-icon i {
        font-size: 2rem;
    }

    .bg-shape--orb-1 { width: 200px; height: 200px; }
    .bg-shape--orb-2 { width: 160px; height: 160px; }
    .bg-shape--orb-3,
    .bg-shape--orb-4 { display: none; }
    .bg-shape--geo-3,
    .bg-shape--geo-4,
    .bg-shape--geo-6 { display: none; }
}

/* Small mobile */
@media (max-width: 400px) {
    :root {
        --card-padding: 1.25rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .step-line {
        flex: 0 0 25px;
    }
}

/* --------------------------------------------------------------------------
   13. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast focus for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   14. Print Styles (minimal)
   -------------------------------------------------------------------------- */
@media print {
    #festiveCanvas,
    .bg-festive,
    .logo-container,
    .btn-submit,
    .btn-back,
    .step-indicator {
        display: none;
    }

    .registration-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    body {
        background: white;
    }
}
