*, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --pink: #FF4D6D;
            --amber: #F9A825;
            --gold: #FFD93D;
            --teal: #0CB47A;
            --white: #F0F0F8;
            --muted: rgba(200,200,225,0.55);
        }

        html {
            height: 100%;
        }

        body {
            min-height: 100vh;
            font-family: 'DM Sans', sans-serif;
            color: var(--white);
        }

        /* ── BACKGROUND ── */


        /* ── NAV LOGO ── */
        .top-logo {
            position: fixed;
            top: 22px;
            left: 28px;
            z-index: 100;
            text-decoration: none;
            font-family: 'DM Serif Display', serif;
            font-style: italic;
            font-size: 24px;
            background: linear-gradient(135deg, var(--pink), var(--amber));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

            .top-logo span {
                -webkit-text-fill-color: rgba(240,240,248,0.45);
                font-style: normal;
                font-size: 16px;
            }

        /* ── LAYOUT ── */
        .page {
            position: relative;
            z-index: 10;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 100px 24px 40px;
        }

        /* ── GLASS CARD ── */
        .auth-card {
            background: rgba(10,8,20,0.72);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.10);
            border-radius: 24px;
            padding: 44px 40px;
            width: 100%;
            max-width: 680px;
            box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
        }

        /* ── HEADER ── */
        .auth-brand {
            text-align: center;
            margin-bottom: 8px;
        }

        .auth-brand-name {
            font-family: 'DM Serif Display', serif;
            font-style: italic;
            font-size: 30px;
            background: linear-gradient(135deg, var(--pink), var(--amber));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

            .auth-brand-name span {
                -webkit-text-fill-color: rgba(240,240,248,0.4);
                font-style: normal;
                font-size: 20px;
            }

        .auth-title {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 26px;
            font-weight: 400;
            color: var(--white);
            text-align: center;
            margin-bottom: 6px;
        }

        .auth-subtitle {
            font-size: 14px;
            color: var(--muted);
            text-align: center;
            margin-bottom: 32px;
        }

        /* ── ALERTS ── */
        .alert {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 12px 14px;
            border-radius: 10px;
            margin-bottom: 20px;
            font-size: 13px;
            line-height: 1.5;
        }

        .alert-error {
            background: rgba(255,77,109,0.12);
            border: 1px solid rgba(255,77,109,0.3);
            color: #ff9ab0;
        }

        .alert-success {
            background: rgba(12,180,122,0.12);
            border: 1px solid rgba(12,180,122,0.3);
            color: #7fe0c2;
        }

        /* ── FORM ── */
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .form-group {
            margin-bottom: 18px;
        }

            .form-group label {
                display: block;
                font-size: 11px;
                font-weight: 600;
                color: rgba(200,200,225,0.6);
                margin-bottom: 7px;
                text-transform: uppercase;
                letter-spacing: 0.09em;
            }

            .form-group input,
            .form-group select,
            .form-group textarea {
                width: 100%;
                background: rgba(255,255,255,0.06);
                border: 1px solid rgba(255,255,255,0.10);
                border-radius: 10px;
                padding: 13px 16px;
                color: var(--white);
                font-size: 15px;
                font-family: 'DM Sans', sans-serif;
                transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
                outline: none;
                -webkit-appearance: none;
            }

            .form-group select {
                cursor: pointer;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239090B0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
                background-repeat: no-repeat;
                background-position: right 14px center;
                padding-right: 38px;
            }

                .form-group select option {
                    background: #16162a;
                }

                .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
                    border-color: rgba(255,215,61,0.5);
                    background: rgba(255,255,255,0.09);
                    box-shadow: 0 0 0 3px rgba(255,215,61,0.08);
                }

            .form-group input::placeholder, .form-group textarea::placeholder {
                color: rgba(200,200,225,0.3);
            }

            .form-group textarea {
                resize: vertical;
                min-height: 80px;
            }
            /* iOS zoom prevention */
            .form-group input, .form-group select, .form-group textarea {
                font-size: 16px !important;
            }

        .at-prefix {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--muted);
            font-size: 15px;
            pointer-events: none;
        }

        /* ── TERMS ── */
        .terms-row {
            margin-bottom: 22px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .terms-text {
            color: rgba(200,200,225,0.7);
            font-size: 13px;
            line-height: 1.6;
        }

            .terms-text a {
                color: var(--gold);
                text-decoration: none;
            }

                .terms-text a:hover {
                    opacity: 0.75;
                }

        /* ── BUTTON ── */
        .btn-primary {
            display: block;
            width: 100%;
            background: linear-gradient(135deg, var(--pink), var(--amber));
            border: none;
            border-radius: 50px;
            color: white;
            font-family: 'DM Serif Display', serif;
            font-style: italic;
            font-size: 17px;
            padding: 15px 0;
            cursor: pointer;
            text-align: center;
            transition: opacity 0.15s, transform 0.18s, box-shadow 0.18s;
            box-shadow: 0 6px 28px rgba(255,77,109,0.3);
        }

            .btn-primary:hover {
                opacity: 0.9;
                transform: translateY(-2px);
                box-shadow: 0 10px 36px rgba(255,77,109,0.4);
            }

        .auth-footer {
            text-align: center;
            margin-top: 20px;
            font-size: 13px;
            color: var(--muted);
        }

            .auth-footer a {
                color: var(--gold);
                text-decoration: none;
                font-weight: 600;
            }

        .field-error {
            color: #ff9999;
            font-size: 12px;
            display: block;
            margin-top: 4px;
        }

        /* ── PRIVACY MODAL ── */
        #privacyModal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.78);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            z-index: 3000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

            #privacyModal.open {
                display: flex;
            }

        .privacy-box {
            background: rgba(16,14,30,0.96);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.10);
            border-radius: 20px;
            width: 100%;
            max-width: 680px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 24px 64px rgba(0,0,0,0.7);
        }

        .privacy-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 24px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .privacy-header-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--white);
        }

        .privacy-close {
            background: none;
            border: none;
            color: var(--muted);
            font-size: 18px;
            cursor: pointer;
            padding: 2px 6px;
        }

            .privacy-close:hover {
                color: var(--white);
            }

        .privacy-body {
            flex: 1;
            overflow-y: auto;
            padding: 24px;
        }

        .legal-title {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 24px;
            margin-bottom: 8px;
        }

        .legal-updated {
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 24px;
        }

        .legal-toc {
            background: rgba(255,255,255,0.04);
            border-radius: 10px;
            padding: 16px 20px;
            margin-bottom: 28px;
        }

        .legal-toc-title {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--muted);
            margin-bottom: 10px;
        }

        .legal-toc ol {
            padding-left: 18px;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.9;
        }

        .legal-toc a:hover {
            color: var(--white);
        }

        .legal-section {
            margin-bottom: 28px;
        }

            .legal-section h2 {
                font-size: 15px;
                font-weight: 700;
                color: var(--gold);
                margin-bottom: 10px;
            }

            .legal-section p, .legal-section li {
                font-size: 13px;
                line-height: 1.75;
                color: rgba(200,200,225,0.8);
                margin-bottom: 8px;
            }

            .legal-section ul, .legal-section ol {
                padding-left: 20px;
            }

        .legal-contact {
            font-size: 13px;
            color: var(--muted);
            line-height: 1.75;
        }

        .legal-highlight {
            background: rgba(255,77,109,0.08);
            border-left: 3px solid var(--pink);
            border-radius: 0 8px 8px 0;
            padding: 14px 18px;
            margin-bottom: 14px;
            font-size: 14px;
            line-height: 1.65;
            color: rgba(200,200,225,0.8);
        }

        .legal-section strong { color: var(--white); }

        @keyframes privacySpin {
            to {
                transform: rotate(360deg);
            }
        }

        @keyframes privacySpinBtn {
            to {
                transform: rotate(360deg);
            }
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 600px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .auth-card {
                padding: 32px 20px;
            }

            .top-logo {
                font-size: 20px;
            }
        }

        .back-arrow {
            position: fixed;
            top: 31px;
            left: 28px;
            z-index: 100;
            color: var(--gold);
            text-decoration: none;
            font-size: 18px;
            line-height: 1;
            opacity: 0.85;
            transition: opacity 0.15s;
        }

            .back-arrow:hover {
                opacity: 1;
            }