:root {
    --ga-bg: #f8fafc;
    --ga-panel: #ffffff;
    --ga-card: #ffffff;
    --ga-primary: #4f46e5;
    --ga-primary2: #7c3aed;
    --ga-accent: #db2777;
    --ga-gold: #d97706;
    --ga-ink: #0f172a;
    --ga-muted: #64748b;
    --ga-line: #e2e8f0;
    --ga-danger: #e11d48;
    --ga-success: #2563eb;
    color-scheme: light;
    background: var(--ga-bg);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
    overflow-x: hidden;
    background: var(--ga-bg);
    color: var(--ga-ink);
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.ga-page {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 620px);
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(79, 70, 229, 0.08), transparent 35%),
        radial-gradient(circle at 88% 85%, rgba(219, 39, 119, 0.06), transparent 30%),
        linear-gradient(160deg, #ffffff 0%, #f8fafc 60%, #eef2ff 100%);
}

.ga-showcase {
    position: relative;
    min-height: 100vh;
    padding: 48px clamp(35px, 6vw, 92px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-right: 1px solid var(--ga-line);
}

.ga-brand {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
}
.ga-brand img {
    width: 49px;
    height: 49px;
    padding: 5px;
    object-fit: contain;
    border-radius: 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.ga-brand strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #0f172a;
}
.ga-brand small {
    display: block;
    margin-top: 3px;
    color: #4f46e5;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ga-story {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 0;
}
.ga-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.ga-kicker:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4f46e5;
    box-shadow: 0 0 14px rgba(79, 70, 229, 0.5);
}
.ga-story h1 {
    max-width: 660px;
    margin: 0 0 22px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(48px, 5.5vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: #0f172a;
}
.ga-story h1 span {
    display: block;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ga-story > p {
    max-width: 560px;
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.ga-perks {
    margin: 35px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}
.ga-perks li {
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
}
.ga-perks li:before {
    content: "✓";
    color: #4f46e5;
    font-weight: 900;
}

.ga-art {
    position: absolute;
    right: -100px;
    bottom: -150px;
    width: 590px;
    height: 590px;
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 50%;
}
.ga-art:before, .ga-art:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 50%;
    inset: 75px;
}
.ga-art:after {
    inset: 155px;
    border-color: rgba(219, 39, 119, 0.08);
}

/* Multi-color Holographic Digital Card */
.ga-mini-card {
    position: absolute;
    right: 45px;
    bottom: 85px;
    width: 320px;
    aspect-ratio: 1.58;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 10%, rgba(219, 39, 119, 0.4), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.35), transparent 45%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4f46e5 65%, #7c3aed 85%, #db2777 100%);
    box-shadow:
        0 35px 80px rgba(79, 70, 229, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.15);
    transform: rotate(-6deg);
    animation: ga-float 6s ease-in-out infinite;
}
.ga-mini-card img {
    width: 50px;
    height: 50px;
    padding: 5px;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ga-mini-card b {
    position: absolute;
    top: 25px;
    right: 22px;
    color: #e0e7ff;
    font-size: 9px;
    letter-spacing: 0.12em;
}
.ga-mini-card em {
    position: absolute;
    left: 24px;
    bottom: 24px;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ga-showcase-foot {
    position: relative;
    z-index: 2;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

/* Right Auth Section - Pure Clean White */
.ga-auth {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    padding: 40px clamp(28px, 4vw, 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.04);
}
.ga-auth-inner {
    width: 100%;
    max-width: 460px;
}
.ga-mobile-brand { display: none; }

.ga-back {
    min-height: 40px;
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
}
.ga-back:hover {
    color: #4f46e5;
}

.ga-auth-head {
    margin-bottom: 28px;
}
.ga-auth-head h2 {
    margin: 0 0 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 900;
    color: #0f172a;
}
.ga-auth-head p {
    margin: 0;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.6;
    font-weight: 500;
}

.ga-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(225, 29, 72, 0.25);
    border-radius: 14px;
    background: rgba(225, 29, 72, 0.06);
    color: #be123c;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 600;
}
.ga-alert-success {
    border-color: rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
}
.ga-alert ul { margin: 0; padding-left: 17px; }

.ga-field {
    margin-bottom: 18px;
}
.ga-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ga-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 7px;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
}
.ga-control {
    position: relative;
}
.ga-control input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    outline: 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 500;
    transition: 0.2s;
}
.ga-control input::placeholder {
    color: #94a3b8;
}
.ga-control input:focus {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15), 0 8px 20px rgba(0, 0, 0, 0.04);
}
.ga-control input.has-toggle {
    padding-right: 52px;
}
.ga-toggle {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}
.ga-toggle:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
}
.ga-toggle svg { width: 19px; }

.ga-help {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 10px;
    font-weight: 500;
}

.ga-between {
    margin: 6px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.ga-check {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.ga-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #4f46e5;
}
.ga-link-button {
    min-height: 40px;
    padding: 0;
    border: 0;
    background: none;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}
.ga-link-button:hover {
    text-decoration: underline;
    color: #3730a3;
}

.ga-submit {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.35);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}
.ga-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.45);
}
.ga-submit:active {
    transform: scale(0.99);
}

.ga-switch {
    margin: 22px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}
.ga-switch a {
    display: inline-flex;
    align-items: center;
    color: #4f46e5;
    font-weight: 800;
    margin-left: 4px;
}
.ga-switch a:hover {
    text-decoration: underline;
}

.ga-divider {
    margin: 22px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ga-divider:before, .ga-divider:after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e2e8f0;
}

.ga-partner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1.5px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 12px;
    font-weight: 750;
    transition: 0.2s;
}
.ga-partner:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eef2ff;
}

.ga-terms {
    margin-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;
}

.ga-progress {
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ga-progress span {
    height: 4px;
    flex: 1;
    border-radius: 99px;
    background: #e2e8f0;
}
.ga-progress span.is-active {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.ga-password-meter {
    height: 4px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #e2e8f0;
}
.ga-password-meter i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 99px;
    background: var(--ga-danger);
    transition: 0.25s;
}

.ga-form-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px solid #fef3c7;
    border-radius: 13px;
    background: #fffbeb;
    color: #92400e;
    font-size: 10px;
    line-height: 1.6;
    font-weight: 500;
}

:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 3px;
}

@keyframes ga-float {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-10px); }
}

@media (max-width: 980px) {
    .ga-page { grid-template-columns: 1fr; }
    .ga-showcase { display: none; }
    .ga-auth {
        min-height: 100vh;
        border-left: 0;
        padding: calc(20px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
        background: #ffffff;
    }
    .ga-auth-inner { max-width: 500px; }
    .ga-mobile-brand { margin: 0 auto 32px; display: flex; justify-content: center; }
    .ga-back {
        position: absolute;
        top: calc(18px + env(safe-area-inset-top));
        left: 18px;
        width: 44px;
        margin: 0;
        justify-content: center;
        border: 1px solid var(--ga-line);
        border-radius: 14px;
        font-size: 0;
    }
    .ga-back svg { width: 18px; }
    .ga-auth-head { text-align: center; }
    .ga-auth-head h2 { font-size: 34px; }
}

@media (max-width: 520px) {
    .ga-auth {
        align-items: flex-start;
        padding-top: calc(75px + env(safe-area-inset-top));
        padding-left: 20px;
        padding-right: 20px;
    }
    .ga-mobile-brand { margin-bottom: 24px; }
    .ga-mobile-brand .ga-brand img { width: 44px; height: 44px; }
    .ga-auth-head { margin-bottom: 22px; }
    .ga-auth-head h2 { font-size: 30px; }
    .ga-field-row { grid-template-columns: 1fr; }
    .ga-control input { height: 52px; }
    .ga-submit { min-height: 54px; }
    .ga-page-register .ga-auth { padding-top: calc(68px + env(safe-area-inset-top)); padding-bottom: 35px; }
    .ga-page-register .ga-auth-head h2 { font-size: 28px; }
}
