/* ============================================================
   RESET
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    background: #05080d;
}

body {
    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;

    background:
        radial-gradient(
            ellipse at 50% 35%,
            rgba(31, 40, 55, 0.25) 0%,
            rgba(8, 12, 18, 0.85) 45%,
            #020407 100%
        );

    color: #f1f2f6;

    font-family: "Inter", sans-serif;

    -webkit-font-smoothing: antialiased;
}


/* ============================================================
   SPACE BACKGROUND
============================================================ */

.space-bg {
    position: fixed;

    inset: 0;

    z-index: 0;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 30%,
            rgba(38, 48, 64, 0.14),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #080c12 0%,
            #070b11 45%,
            #03060a 100%
        );
}


/* ============================================================
   AMBIENT LIGHT
============================================================ */

.ambient {
    position: absolute;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.ambient-left {
    left: -350px;
    top: 100px;

    background: rgba(35, 48, 65, 0.17);
}

.ambient-right {
    right: -300px;
    top: 250px;

    background: rgba(25, 38, 55, 0.16);
}


/* ============================================================
   STARS
============================================================ */

.stars {
    position: absolute;

    inset: 0;

    opacity: 0.5;

    pointer-events: none;
}

.stars-one {
    background-image:
        radial-gradient(circle at 14% 28%, rgba(255,255,255,.5) 0 1px, transparent 1.5px),
        radial-gradient(circle at 78% 19%, rgba(255,255,255,.35) 0 1px, transparent 1.5px),
        radial-gradient(circle at 89% 38%, rgba(255,255,255,.4) 0 1px, transparent 1.5px),
        radial-gradient(circle at 64% 44%, rgba(255,255,255,.25) 0 1px, transparent 1.5px),
        radial-gradient(circle at 27% 42%, rgba(255,255,255,.25) 0 1px, transparent 1.5px),
        radial-gradient(circle at 48% 18%, rgba(255,255,255,.25) 0 1px, transparent 1.5px);
}

.stars-two {
    opacity: 0.25;

    background-image:
        radial-gradient(circle at 9% 60%, rgba(255,255,255,.5) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 61%, rgba(255,255,255,.45) 0 1px, transparent 1.5px),
        radial-gradient(circle at 84% 72%, rgba(255,255,255,.35) 0 1px, transparent 1.5px),
        radial-gradient(circle at 35% 15%, rgba(255,255,255,.3) 0 1px, transparent 1.5px);
}


/* ============================================================
   ORBIT / ELLIPSE
============================================================ */

.orbit {
    position: absolute;

    width: 1050px;
    height: 730px;

    left: 50%;
    top: 43%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(126, 144, 166, 0.19);

    border-radius: 50%;

    box-shadow:
        0 0 40px rgba(80, 100, 130, 0.03);

    pointer-events: none;
}


/* ============================================================
   MOON
============================================================ */

.moon {
    position: absolute;

    width: 132px;
    height: 132px;

    right: 20.7%;
    bottom: 14%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 34% 31%,
            #d6dce4 0%,
            #9da6b2 45%,
            #535d6a 78%,
            #303842 100%
        );

    box-shadow:
        -20px 5px 35px rgba(180, 193, 210, 0.10),
        0 0 45px rgba(116, 132, 152, 0.06);

    overflow: hidden;

    opacity: 0.8;
}

.moon::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    top: -11px;
    left: -23px;

    border-radius: 50%;

    background: #06090e;
}

.moon-shadow {
    position: absolute;

    width: 20px;
    height: 12px;

    left: 58px;
    top: 48px;

    border-radius: 50%;

    background: rgba(40, 47, 56, 0.2);

    filter: blur(5px);
}


/* ============================================================
   MOUNTAINS
============================================================ */

.mountains {
    position: absolute;

    left: 0;
    right: 0;

    bottom: -20px;

    height: 270px;

    pointer-events: none;
}


/* uzak dağ */

.mountain-back {
    position: absolute;

    left: -5%;
    bottom: 50px;

    width: 110%;
    height: 180px;

    opacity: .38;

    background:
        linear-gradient(
            145deg,
            transparent 0 23%,
            #151d26 23.2% 25%,
            transparent 25.2% 37%,
            #121a23 37.2% 39%,
            transparent 39.2% 50%,
            #18212b 50.2% 52%,
            transparent 52.2%
        );

    clip-path: polygon(
        0 72%,
        8% 57%,
        15% 65%,
        25% 40%,
        32% 58%,
        42% 34%,
        48% 53%,
        58% 28%,
        66% 52%,
        77% 35%,
        87% 58%,
        100% 42%,
        100% 100%,
        0 100%
    );
}


/* ana dağ */

.mountain-main {
    position: absolute;

    left: -5%;
    bottom: 0;

    width: 110%;
    height: 220px;

    background:
        linear-gradient(
            160deg,
            #111820 0%,
            #0a0f15 52%,
            #04070b 100%
        );

    clip-path: polygon(
        0 84%,
        8% 69%,
        16% 76%,
        25% 45%,
        31% 64%,
        40% 31%,
        47% 62%,
        55% 43%,
        63% 69%,
        72% 52%,
        80% 72%,
        88% 60%,
        100% 78%,
        100% 100%,
        0 100%
    );

    box-shadow:
        inset 0 30px 40px rgba(150, 165, 180, 0.04);
}


/* ön dağ */

.mountain-front {
    position: absolute;

    left: -10%;
    bottom: -25px;

    width: 120%;
    height: 150px;

    background:
        linear-gradient(
            170deg,
            #0b1016,
            #030509 75%
        );

    clip-path: polygon(
        0 79%,
        12% 69%,
        22% 76%,
        34% 59%,
        43% 76%,
        54% 61%,
        65% 81%,
        76% 65%,
        87% 76%,
        100% 65%,
        100% 100%,
        0 100%
    );
}


/* ============================================================
   BOTTOM FADE
============================================================ */

.bottom-fade {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    background:
        linear-gradient(
            180deg,
            transparent,
            #010204 80%
        );
}


/* ============================================================
   TOP LOGIN
============================================================ */

.top-login {
    position: absolute;

    z-index: 10;

    top: 28px;
    right: 4.2%;

    display: flex;

    align-items: center;

    gap: 22px;

    color: #9ca6b7;

    font-size: 13px;

    font-weight: 400;
}

.login-button {
    min-width: 126px;

    height: 49px;

    display: flex;

    justify-content: center;
    align-items: center;

    border: 1px solid rgba(115, 130, 150, .32);

    border-radius: 10px;

    color: #edf0f5;

    text-decoration: none;

    font-size: 14px;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.login-button:hover {
    background: rgba(255,255,255,.04);

    border-color: rgba(160,175,195,.5);

    transform: translateY(-1px);
}


/* ============================================================
   PAGE
============================================================ */

.page {
    position: relative;

    z-index: 5;

    min-height: 100vh;

    width: 100%;

    display: flex;

    justify-content: center;
}


/* ============================================================
   CENTER
============================================================ */

.center {
    width: 480px;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding-top: 38px;

    padding-bottom: 50px;
}


/* ============================================================
   BRAND
============================================================ */

.brand {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    margin-bottom: 28px;
}


/* yıldız sembolü */

.brand-symbol {
    position: relative;

    width: 32px;
    height: 62px;

    margin-bottom: 8px;
}

.symbol-vertical {
    position: absolute;

    left: 50%;
    top: 0;

    width: 1px;
    height: 42px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255,255,255,.85),
            transparent
        );
}

.symbol-star {
    position: absolute;

    left: 50%;
    top: 31px;

    width: 12px;
    height: 12px;

    transform:
        translateX(-50%)
        rotate(45deg);

    background: #f3f4f7;

    clip-path: polygon(
        50% 0,
        62% 38%,
        100% 50%,
        62% 62%,
        50% 100%,
        38% 62%,
        0 50%,
        38% 38%
    );

    filter: drop-shadow(
        0 0 6px rgba(255,255,255,.35)
    );
}


/* logo */

.brand-name {
    font-family: "Cormorant Garamond", serif;

    font-size: 43px;

    line-height: 1;

    letter-spacing: 14px;

    padding-left: 14px;

    color: #f1f2f5;

    font-weight: 500;
}


/* slogan */

.brand-slogan {
    margin-top: 13px;

    color: #7f899a;

    font-size: 8px;

    letter-spacing: 6px;

    padding-left: 6px;

    font-weight: 400;
}


/* ============================================================
   REGISTER CARD
============================================================ */

.register-card {
    width: 480px;

    padding: 26px 39px 25px;

    border: 1px solid rgba(113, 129, 151, .47);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 19, 26, .72),
            rgba(6, 10, 15, .64)
        );

    box-shadow:
        0 20px 70px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.015);

    backdrop-filter: blur(12px);
}


/* ============================================================
   HEADING
============================================================ */

.card-heading {
    text-align: center;

    margin-bottom: 23px;
}

.card-heading h1 {
    font-family: "Cormorant Garamond", serif;

    font-size: 38px;

    line-height: 1;

    font-weight: 600;

    color: #f3f4f6;
}

.card-heading p {
    margin-top: 11px;

    font-size: 15px;

    color: #9da7b8;

    font-weight: 300;
}


/* ============================================================
   FORM
============================================================ */

.field-group {
    width: 100%;

    margin-bottom: 14px;
}


/* ============================================================
   INPUT
============================================================ */

.input-wrapper {
    position: relative;

    width: 100%;

    height: 51px;

    display: flex;

    align-items: center;

    border: 1px solid rgba(91, 108, 130, .34);

    border-radius: 11px;

    background:
        rgba(12, 17, 24, .72);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.input-wrapper:focus-within {
    border-color: rgba(156, 171, 192, .65);

    background:
        rgba(15, 20, 28, .82);

    box-shadow:
        0 0 0 3px rgba(130, 150, 175, .05);
}


/* ikon alanı */

.input-icon {
    width: 51px;
    height: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    flex-shrink: 0;

    border-right: 1px solid rgba(90, 106, 126, .19);
}

.input-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: #d7dde7;

    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* input */

.input-wrapper input {
    flex: 1;

    min-width: 0;

    height: 100%;

    padding:
        0 48px 0 13px;

    border: 0;

    outline: none;

    background: transparent;

    color: #eef1f6;

    font-family: "Inter", sans-serif;

    font-size: 13px;

    font-weight: 400;
}

.input-wrapper input::placeholder {
    color: #9da7b6;

    opacity: 1;
}


/* ============================================================
   PASSWORD TOGGLE
============================================================ */

.password-toggle {
    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    width: 24px;
    height: 24px;

    display: flex;

    justify-content: center;
    align-items: center;

    border: 0;

    background: transparent;

    cursor: pointer;

    color: #d3dae4;
}

.eye-icon {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.45;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.eye-closed {
    display: none;
}


/* ============================================================
   HELP TEXT
============================================================ */

.field-help {
    margin-top: 6px;

    padding-left: 1px;

    color: #8993a4;

    font-size: 10.5px;

    line-height: 1.3;

    font-weight: 300;
}


/* ============================================================
   AGREEMENT
============================================================ */

.agreement {
    margin-top: 3px;

    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;

    align-items: center;

    gap: 10px;

    cursor: pointer;
}

.checkbox-label input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    border: 1px solid #e0e5ec;

    border-radius: 4px;

    background: rgba(10,14,20,.35);

    position: relative;

    transition: .2s ease;
}

.checkbox-label input:checked + .custom-checkbox {
    background: #edf1f8;

    border-color: #edf1f8;
}

.checkbox-label input:checked + .custom-checkbox::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 10px;

    left: 6px;
    top: 2px;

    border-right: 2px solid #11161d;
    border-bottom: 2px solid #11161d;

    transform: rotate(45deg);
}

.agreement-text {
    color: #a0a9b9;

    font-size: 10.5px;

    line-height: 1.4;
}

.agreement-text a {
    color: #e0e4eb;

    text-decoration: underline;

    text-underline-offset: 2px;
}


/* ============================================================
   REGISTER BUTTON
============================================================ */

.register-button {
    width: 100%;

    height: 47px;

    border: 0;

    border-radius: 10px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    background:
        linear-gradient(
            180deg,
            #f1f3f8 0%,
            #dfe4f0 100%
        );

    color: #10141b;

    font-family: "Inter", sans-serif;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.register-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 24px rgba(210,220,240,.08);

    filter: brightness(1.04);
}

.register-button:active {
    transform: translateY(0);
}

.register-button .arrow {
    font-size: 23px;

    line-height: 0;

    font-weight: 300;

    margin-top: -2px;
}


/* ============================================================
   DIVIDER
============================================================ */

.divider {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 15px;

    margin: 19px 0 13px;
}

.divider span {
    flex: 1;

    height: 1px;

    background:
        rgba(108, 123, 142, .31);
}

.divider p {
    color: #919baa;

    font-size: 11px;

    font-weight: 300;
}


/* ============================================================
   GOOGLE BUTTON
============================================================ */

.google-button {
    width: 100%;

    height: 46px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    border: 1px solid rgba(103, 119, 139, .38);

    border-radius: 10px;

    background:
        rgba(8, 12, 17, .48);

    color: #e4e7ec;

    font-family: "Inter", sans-serif;

    font-size: 14px;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.google-button:hover {
    background: rgba(255,255,255,.035);

    border-color: rgba(140,154,174,.5);
}


/* Google G */

.google-logo {
    font-family: Arial, sans-serif;

    font-size: 22px;

    font-weight: 600;

    background:
        conic-gradient(
            from -45deg,
            #4285f4 0 25%,
            #34a853 25% 45%,
            #fbbc05 45% 65%,
            #ea4335 65% 85%,
            #4285f4 85% 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* ============================================================
   SECURITY
============================================================ */

.security {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 20px;

    color: #7f8999;

    font-size: 10px;

    font-weight: 300;
}

.security svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: #bfc8d5;

    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ============================================================
   SIDE TEXT
============================================================ */

.side-text {
    position: absolute;

    top: 46%;

    color: #9ba5b5;

    font-size: 14px;

    line-height: 1.65;

    font-weight: 300;

    letter-spacing: .2px;
}

.side-left {
    left: 4.2%;
}

.side-right {
    right: 4.2%;
}

.side-line {
    display: block;

    width: 35px;

    height: 1px;

    margin-top: 27px;

    background: #aab3c0;
}


/* ============================================================
   FOOTER
============================================================ */

.footer {
    position: fixed;

    z-index: 10;

    left: 4.2%;
    right: 4.2%;
    bottom: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #6d7685;

    font-size: 8px;

    letter-spacing: 2px;
}

.footer-left,
.footer-right {
    display: flex;

    align-items: center;

    gap: 20px;
}

.footer-line {
    width: 29px;

    height: 1px;

    background: #8791a1;
}


/* ============================================================
   ERROR
============================================================ */

.field-error {
    border-color: rgba(180, 90, 90, .75) !important;
}

.error-message {
    color: #c89090;

    font-size: 10px;

    margin-top: 6px;
}


/* ============================================================
   LOADING
============================================================ */

.register-button.loading {
    pointer-events: none;

    opacity: .75;
}

.register-button.loading .arrow {
    display: none;
}

.register-button.loading::after {
    content: "";

    width: 16px;
    height: 16px;

    border: 2px solid rgba(20,25,32,.2);

    border-top-color: #151a22;

    border-radius: 50%;

    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   RESPONSIVE — TABLET
============================================================ */

@media (max-width: 1000px) {

    .side-text {
        display: none;
    }

    .orbit {
        width: 900px;
        height: 680px;
    }

    .moon {
        right: 10%;
        bottom: 15%;
    }

}


/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */

@media (max-width: 600px) {

    body {
        min-height: 100svh;
    }

    .top-login {
        top: 18px;

        right: 18px;

        gap: 10px;

        font-size: 10px;
    }

    .login-button {
        min-width: 88px;

        height: 39px;

        border-radius: 8px;

        font-size: 11px;
    }

    .page {
        min-height: 100svh;
    }

    .center {
        width: 100%;

        padding:
            83px 16px 40px;
    }

    .brand {
        margin-bottom: 24px;
    }

    .brand-symbol {
        transform: scale(.82);

        margin-bottom: 3px;
    }

    .brand-name {
        font-size: 31px;

        letter-spacing: 9px;

        padding-left: 9px;
    }

    .brand-slogan {
        font-size: 6px;

        letter-spacing: 3.7px;

        padding-left: 3.7px;

        margin-top: 10px;
    }

    .register-card {
        width: 100%;

        max-width: 480px;

        padding:
            25px 21px 23px;

        border-radius: 17px;
    }

    .card-heading {
        margin-bottom: 21px;
    }

    .card-heading h1 {
        font-size: 34px;
    }

    .card-heading p {
        font-size: 13px;

        margin-top: 9px;
    }

    .input-wrapper {
        height: 49px;
    }

    .field-help {
        font-size: 9.5px;
    }

    .agreement-text {
        font-size: 9.5px;
    }

    .security {
        font-size: 8.5px;

        text-align: center;
    }

    .side-text {
        display: none;
    }

    .footer {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        margin:
            0 18px 17px;

        font-size: 6px;
    }

    .footer-left,
    .footer-right {
        gap: 7px;
    }

    .footer-line {
        width: 20px;
    }

    .orbit {
        width: 650px;
        height: 520px;

        top: 45%;
    }

    .moon {
        width: 82px;
        height: 82px;

        right: 6%;
        bottom: 14%;
    }

    .moon::before {
        width: 94px;
        height: 94px;

        left: -15px;
        top: -7px;
    }

    .mountains {
        height: 170px;
    }

}


/* ============================================================
   VERY SMALL PHONES
============================================================ */

@media (max-width: 380px) {

    .top-login span {
        display: none;
    }

    .center {
        padding-top: 75px;
    }

    .brand-name {
        font-size: 27px;

        letter-spacing: 7px;

        padding-left: 7px;
    }

    .register-card {
        padding-left: 17px;
        padding-right: 17px;
    }

    .agreement-text {
        font-size: 9px;
    }

}