* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --background: #08051a;
    --card: rgba(13, 10, 32, 0.88);
    --border: rgba(150, 100, 255, 0.22);
    --text: #ffffff;
    --muted: #858196;
    --input: rgba(8, 5, 24, 0.85);
    --accent: #a875ff;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);

    /* Main background */
    background:
        /* Top purple glow */
        radial-gradient(
            ellipse 70% 55% at 50% 0%,
            rgba(92, 42, 190, 0.48),
            transparent 70%
        ),

        /* Bottom purple glow */
        radial-gradient(
            ellipse 65% 45% at 50% 100%,
            rgba(66, 27, 155, 0.38),
            transparent 70%
        ),

        /* Dots */
        radial-gradient(
            circle,
            rgba(115, 65, 220, 0.55) 1.3px,
            transparent 1.5px
        ),

        /* Base */
        linear-gradient(
            180deg,
            #211044 0%,
            #120a29 45%,
            #08051a 100%
        );

    /* Make dots spaced like the reference */
    background-size:
        auto,
        auto,
        24px 24px,
        auto;

    background-position:
        center,
        center,
        center,
        center;

    background-attachment: fixed;
}


/* Main page */
.access-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}


/* Main card */
.access-card {
    width: 100%;
    max-width: 575px;

    padding: 60px 52px;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(100, 55, 190, 0.12),
            transparent 55%
        ),
        rgba(11, 8, 28, 0.88);

    border: 1px solid rgba(150, 100, 255, 0.25);
    border-radius: 22px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(80, 35, 180, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    text-align: center;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Logo */
.logo {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 38px;
}

.logo span {
    color: #77717f;
}


/* Lock icon */
.icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(120, 65, 230, 0.30),
            rgba(50, 20, 100, 0.35)
        );

    border: 1px solid rgba(145, 95, 240, 0.25);
    border-radius: 17px;

    font-size: 30px;

    box-shadow:
        0 10px 35px rgba(80, 35, 180, 0.15);
}


/* Heading */
h1 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1.2px;
    margin-bottom: 12px;

    background: linear-gradient(
        90deg,
        #a875ff,
        #8e70ff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Subtitle */
.subtitle {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 38px;
}


/* Form */
form {
    text-align: left;
}


/* Label */
label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 11px;
}


/* Input */
.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    height: 61px;

    padding: 0 18px;

    background: var(--input);

    border: 1px solid rgba(130, 80, 220, 0.25);
    border-radius: 12px;

    color: white;
    font-size: 16px;
    letter-spacing: 1px;

    outline: none;

    transition: 0.2s ease;
}

input::placeholder {
    color: #55516a;
    letter-spacing: 1px;
}

input:focus {
    border-color: rgba(150, 100, 255, 0.55);

    box-shadow:
        0 0 0 3px rgba(120, 65, 220, 0.10),
        0 0 25px rgba(100, 45, 220, 0.08);
}


/* Button */
button {
    width: 100%;
    height: 61px;

    margin-top: 16px;

    border: none;
    border-radius: 12px;

    background: #ffffff;
    color: #151020;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease;
}

button span {
    margin-left: 8px;
    font-size: 18px;
}

button:hover {
    opacity: 0.94;
    transform: translateY(-1px);

    box-shadow:
        0 10px 30px rgba(255, 255, 255, 0.08);
}

button:active {
    transform: translateY(0);
}


/* Message */
#message {
    min-height: 20px;
    margin-top: 13px;

    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

.message-error {
    color: #ff6b6b;
}

.message-success {
    color: #70e6a1;
}


/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 38px 0 25px;

    color: #5f5970;
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    flex: 1;

    background: rgba(130, 90, 210, 0.20);
}


/* Support text */
.support-text {
    color: #8a8498;
    font-size: 14px;
}

.contact-support {
    color: #a875ff;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
}

.contact-support:hover {
    color: #c09aff;
    text-decoration: underline;
}


/* Mobile */
@media (max-width: 600px) {

    .access-page {
        padding: 25px 16px;
    }

    .access-card {
        padding: 42px 25px;
        border-radius: 18px;
    }

    h1 {
        font-size: 30px;
    }

    .subtitle {
        font-size: 14px;
    }

    .icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }
}