

        :root {
            --navy:        #0d1b3e;
            --navy-mid:    #162754;
            --gold:        #c9963e;
            --gold-light:  #e8b96a;
            --gold-pale:   #fdf3e3;
            --cream:       #f8f5f0;
            --ink:         #1a1a2e;
            --muted:       #7a7a8c;
            --border:      #e2d9ce;
            --white:       #ffffff;
            --error:       #c0392b;
            --radius-lg:   18px;
            --radius-md:   12px;
            --shadow-card: 0 24px 64px rgba(13,27,62,0.13), 0 6px 20px rgba(13,27,62,0.07);
            --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
        }

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

        html { scroll-behavior: smooth; }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--cream);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 32px 16px;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: fixed; inset: 0;
            background:
                radial-gradient(ellipse 90% 70% at 5% -5%,  rgba(201,150,62,0.09) 0%, transparent 55%),
                radial-gradient(ellipse 70% 60% at 95% 105%, rgba(13,27,62,0.08)  0%, transparent 55%);
            pointer-events: none; z-index: 0;
        }

        body::after {
            content: '';
            position: fixed; inset: 0;
            background-image: radial-gradient(circle, rgba(13,27,62,0.045) 1px, transparent 1px);
            background-size: 28px 28px;
            pointer-events: none; z-index: 0;
        }

        .page-wrapper {
            position: relative; z-index: 1;
            width: 100%; max-width: 560px;
            animation: fadeUp 0.5s ease both;
        }

        /* ── HEADER BAND ── */
        .header-band {
            background: var(--navy);
            border-radius: var(--radius-lg) var(--radius-lg) 0 0;
            padding: 30px 40px 26px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header-band::before {
            content: '';
            position: absolute;
            width: 200px; height: 200px;
            top: -70px; left: -50px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(201,150,62,0.14) 0%, transparent 70%);
            pointer-events: none;
        }

        .header-band::after {
            content: '';
            position: absolute;
            width: 150px; height: 150px;
            bottom: -50px; right: -30px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(201,150,62,0.10) 0%, transparent 70%);
            pointer-events: none;
        }

        .logo-area {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-bottom: 18px;
            position: relative; z-index: 2;
        }

        .logo-img-wrap {
            width: 60px; height: 60px;
            border-radius: 50%;
            background: var(--white);
            padding: 5px;
            box-shadow: 0 0 0 3px rgba(201,150,62,0.45), 0 6px 20px rgba(0,0,0,0.25);
            flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            overflow: hidden;
        }

        .logo-img-wrap img {
            width: 100%; height: 100%;
            object-fit: contain;
            border-radius: 50%;
        }

        .university-info { text-align: left; }

        .university-name {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.1rem, 4vw, 1.45rem);
            font-weight: 700;
            color: var(--white);
            line-height: 1.2;
            letter-spacing: 0.01em;
        }

        .university-tagline {
            font-size: 0.68rem;
            font-weight: 500;
            color: var(--gold-light);
            letter-spacing: 0.18em;
            text-transform: uppercase;
            margin-top: 3px;
            opacity: 0.85;
        }

        .header-divider {
            display: flex; align-items: center; gap: 12px;
            margin: 0 auto 16px;
            max-width: 60%;
            position: relative; z-index: 2;
        }

        .header-divider::before,
        .header-divider::after {
            content: '';
            flex: 1; height: 1px;
            background: linear-gradient(90deg, transparent, rgba(201,150,62,0.5));
        }
        .header-divider::after {
            background: linear-gradient(270deg, transparent, rgba(201,150,62,0.5));
        }

        .header-divider-gem {
            width: 6px; height: 6px;
            background: var(--gold);
            transform: rotate(45deg);
            flex-shrink: 0;
        }

        .event-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(201,150,62,0.15);
            border: 1px solid rgba(201,150,62,0.3);
            border-radius: 100px;
            padding: 7px 18px;
            position: relative; z-index: 2;
        }

        .event-dot {
            width: 7px; height: 7px;
            border-radius: 50%;
            background: var(--gold-light);
            box-shadow: 0 0 0 0 rgba(232,185,106,0.5);
            animation: ping 2s ease-in-out infinite;
            flex-shrink: 0;
        }

        @keyframes ping {
            0%, 100% { box-shadow: 0 0 0 0 rgba(232,185,106,0.5); }
            50%       { box-shadow: 0 0 0 5px rgba(232,185,106,0); }
        }

        .event-badge-text {
            font-size: 0.74rem;
            font-weight: 600;
            color: var(--gold-light);
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        /* ── FORM CARD ── */
        .form-card {
            background: var(--white);
            border-radius: 0 0 var(--radius-lg) var(--radius-lg);
            padding: 36px 40px 40px;
            box-shadow: var(--shadow-card);
        }

        .section-heading {
            font-family: 'Playfair Display', serif;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--navy);
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .section-heading::after {
            content: '';
            flex: 1; height: 1px;
            background: linear-gradient(90deg, var(--border), transparent);
        }

        /* ── Fields ── */
        .field-group { margin-bottom: 20px; }

        .field-label {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.71rem;
            font-weight: 600;
            color: var(--navy);
            letter-spacing: 0.09em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .field-label .req {
            color: var(--gold);
            font-size: 0.85rem;
            line-height: 1;
        }

        .input-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 14px;
            color: var(--gold);
            pointer-events: none;
            display: flex; align-items: center;
            flex-shrink: 0;
            transition: color var(--transition);
        }

        .input-prefix {
            position: absolute;
            left: 14px;
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--navy);
            pointer-events: none;
            line-height: 1;
        }

        /* Django form-control override */
        .form-control {
            width: 100%;
            padding: 12px 16px 12px 42px;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-md);
            font-family: 'DM Sans', sans-serif;
            font-size: 0.95rem;
            color: var(--ink);
            background: #fdfcfa;
            transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
            outline: none;
            -webkit-appearance: none;
            appearance: none;
            line-height: 1.5;
        }

        .form-control.prefix-input { padding-left: 30px; }

        .form-control::placeholder { color: #c0bab2; font-weight: 300; }
        .form-control:hover:not(:focus) { border-color: #c4b9ae; }
        .form-control:focus {
            border-color: var(--gold);
            background: var(--white);
            box-shadow: 0 0 0 3.5px rgba(201,150,62,0.13);
        }

        .has-error .form-control {
            border-color: var(--error);
            background: #fff8f8;
        }
        .has-error .form-control:focus {
            box-shadow: 0 0 0 3.5px rgba(192,57,43,0.1);
        }
        .has-error .input-icon { color: var(--error); }

        .field-error {
            margin-top: 6px;
            font-size: 0.75rem;
            color: var(--error);
            display: flex;
            align-items: flex-start;
            gap: 5px;
            line-height: 1.4;
        }
        .field-error svg { flex-shrink: 0; margin-top: 1px; }

        /* ── Two-col ── */
        .two-col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        /* ── Submit ── */
        .btn-pay {
            width: 100%;
            padding: 15px 24px;
            background: var(--navy);
            color: var(--white);
            border: none;
            border-radius: var(--radius-md);
            font-family: 'DM Sans', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: transform var(--transition), box-shadow var(--transition);
            margin-top: 10px;
        }

        .btn-pay::before {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
            opacity: 0;
            transition: opacity var(--transition);
        }

        .btn-pay::after {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 60%; height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
            transform: skewX(-20deg);
            transition: left 0.5s ease;
        }

        .btn-pay:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(13,27,62,0.28);
        }
        .btn-pay:hover::before { opacity: 1; }
        .btn-pay:hover::after  { left: 160%; }
        .btn-pay:active        { transform: translateY(0); }

        .btn-pay-inner {
            position: relative; z-index: 1;
            display: flex; align-items: center; justify-content: center;
            gap: 10px;
            transition: color var(--transition);
        }
        .btn-pay:hover .btn-pay-inner { color: var(--navy); }

        .btn-pay:disabled {
            opacity: 0.75;
            cursor: not-allowed;
            transform: none;
        }

        /* ── Security ── */
        .security-note {
            margin-top: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .security-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.71rem;
            color: var(--muted);
            font-weight: 500;
        }

        .security-dot {
            width: 3px; height: 3px;
            border-radius: 50%;
            background: var(--border);
        }

        /* ── Footer ── */
        .page-footer {
            margin-top: 20px;
            text-align: center;
            font-size: 0.71rem;
            color: var(--muted);
            position: relative; z-index: 1;
            letter-spacing: 0.03em;
        }

        /* ── Animation ── */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(22px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes spin {
            from { transform: rotate(0deg); }
            to   { transform: rotate(360deg); }
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 600px) {
            body { padding: 20px 12px; }
            .header-band { padding: 24px 28px 22px; }
            .form-card   { padding: 28px 28px 32px; }
            .logo-img-wrap { width: 52px; height: 52px; }
        }

        @media (max-width: 480px) {
            body { padding: 0; align-items: flex-start; }
            .page-wrapper { max-width: 100%; }

            .header-band {
                padding: 20px 20px 18px;
                border-radius: 0;
            }
            .form-card {
                padding: 24px 20px 28px;
                border-radius: 0;
                box-shadow: none;
                border-top: 1px solid var(--border);
            }

            .logo-area { gap: 11px; }
            .logo-img-wrap { width: 46px; height: 46px; }
            .university-name { font-size: 1rem; }
            .university-tagline { font-size: 0.62rem; }
            .event-badge-text { font-size: 0.68rem; letter-spacing: 0.07em; }

            .two-col { grid-template-columns: 1fr; gap: 0; }

            /* Prevent iOS zoom on focus */
            .form-control { font-size: 16px; }

            .btn-pay { padding: 14px 20px; font-size: 0.95rem; }

            .security-note { gap: 6px; }
            .security-dot  { display: none; }

            .page-footer { padding: 16px 20px 24px; }
        }

        @media (max-width: 360px) {
            .header-band { padding: 16px 16px 15px; }
            .form-card   { padding: 20px 16px 24px; }
            .university-name { font-size: 0.9rem; }
            .university-tagline { display: none; }
        }
