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

:root {
    --dark-green: #001f17;
    --deep-green: #003428;
    --gold: #d8a72e;
    --light-gold: #f2d77f;
    --cream: #f6efe1;
    --white: #fffdf7;
}

body {
    min-height: 100vh;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--white);
    background:
        radial-gradient(
            circle at top,
            rgba(27, 92, 67, 0.55),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            #00130f,
            var(--dark-green) 50%,
            #000d0a
        );
}

.access-page {
    width: min(92%, 1100px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 45px 0 70px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 35px;
    color: var(--light-gold);
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.back-link:hover {
    color: white;
    transform: translateX(-4px);
}

.access-card {
    position: relative;
    width: min(100%, 660px);
    margin: 0 auto;
    padding: 65px 70px;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(
            145deg,
            rgba(0, 54, 40, 0.98),
            rgba(0, 27, 21, 0.98)
        );
    border: 1px solid rgba(216, 167, 46, 0.75);
    border-radius: 28px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        inset 0 0 45px rgba(216, 167, 46, 0.05);
}

.access-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    pointer-events: none;
    border: 1px solid rgba(216, 167, 46, 0.3);
    border-radius: 20px;
}

.access-label {
    position: relative;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
}

.access-card h1 {
    position: relative;
    margin-bottom: 22px;
    color: var(--light-gold);
    font-size: clamp(42px, 6vw, 62px);
    line-height: 1.05;
}

.access-description {
    position: relative;
    max-width: 510px;
    margin: 0 auto 38px;
    color: rgba(255, 253, 247, 0.85);
    font-size: 19px;
    line-height: 1.7;
}

#access-form {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
}

#access-form label {
    margin: 0 0 9px;
    color: var(--light-gold);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

#access-form input {
    width: 100%;
    height: 58px;
    margin-bottom: 22px;
    padding: 0 19px;
    color: #2e2518;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

#access-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(216, 167, 46, 0.16);
}

#access-form button {
    min-height: 58px;
    margin-top: 8px;
    padding: 15px 22px;
    cursor: pointer;
    color: #211600;
    background: linear-gradient(
        135deg,
        var(--light-gold),
        var(--gold)
    );
    border: 0;
    border-radius: 30px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: bold;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#access-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

#access-form button:active {
    transform: translateY(0);
}

.access-message {
    min-height: 25px;
    margin-top: 17px;
    color: #ffd88a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.access-message.error {
    color: #ffaaa2;
}

.access-message.success {
    color: #a9ebbd;
}

.access-help {
    position: relative;
    margin-top: 24px;
    color: rgba(255, 253, 247, 0.62);
    font-size: 14px;
}

@media (max-width: 650px) {
    .access-page {
        padding-top: 25px;
    }

    .access-card {
        padding: 48px 25px;
        border-radius: 20px;
    }

    .access-card::before {
        inset: 9px;
        border-radius: 14px;
    }

    .access-description {
        font-size: 17px;
    }
}
