/* =========================================================
   DARFCLOUD ACCESS
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Rajdhani', sans-serif;
    color: #ffffff;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(
            rgba(10, 10, 18, 0.3),
            rgba(22, 11, 36, 0.4)
        ),
        url('../images/background_optimized.jpg') no-repeat center center fixed;
    background-size: 100% 100%;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            transparent 40%,
            rgba(0, 0, 0, 0.4) 90%
        );
    pointer-events: none;
    z-index: 0;
}


/* =========================================================
   PAGE
   ========================================================= */

/* Fixed logo */
.access-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.access-logo-link {
    display: block;
    pointer-events: auto;
}

.access-logo {
    display: block;
    width: 180px;
    height: auto;
}

/* Page heading */
.access-heading {
    position: relative;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    padding: 115px 40px 0;
    text-align: center;
    margin-bottom: 45px;
}

.access-kicker {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #00f0ff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.access-heading h1 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.1;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.25),
        0 0 35px rgba(181, 0, 255, 0.25);
}


/* =========================================================
   ACCESS CARDS
   ========================================================= */

.access-options {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.access-card {
    position: relative;
    padding: 38px 40px 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(8, 10, 25, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    transition:
        transform 0.25s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.access-card:hover {
    transform: translateY(-5px);
}


/* =========================================================
   FOUNDING ACCESS CARD
   ========================================================= */

.founding-card {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.08);
}

.founding-card:hover {
    border-color: rgba(0, 240, 255, 0.7);
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.2),
        0 0 60px rgba(0, 240, 255, 0.08);
}

.new-card {
    border-color: rgba(181, 0, 255, 0.35);
    box-shadow: 0 0 25px rgba(181, 0, 255, 0.08);
}

.new-card:hover {
    border-color: rgba(181, 0, 255, 0.7);
    box-shadow:
        0 0 30px rgba(181, 0, 255, 0.2),
        0 0 60px rgba(181, 0, 255, 0.08);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.card-icon {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 18px;
}

.founding-card .card-icon {
    color: #00f0ff;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
}

.new-card .card-icon {
    color: #b500ff;
    text-shadow: 0 0 12px rgba(181, 0, 255, 0.7);
}

.card-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.founding-card .card-label {
    color: #00f0ff;
}

.new-card .card-label {
    color: #d06cff;
}

.access-card h2 {
    margin: 0 0 22px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.access-card p {
    max-width: 430px;
    margin: 0 0 16px;
    font-size: 1.15rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.access-card .card-small {
    margin-bottom: 30px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   LOGIN VISIBILITY
   ========================================================= */

#show-login {
    visibility: hidden;
    margin-top: auto;
    width: 100%;
    min-width: 0;
}

#founding-intro {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#founding-login {
    display: none;
}


/* =========================================================
   LOGIN FORM
   ========================================================= */

#founding-login {
    width: 100%;
    max-width: 400px;
}

#founding-login form {
    width: 100%;
}

#login-content,
#reset-content {
    width: 100%;
}

#login-waiting {
    width: 100%;
    min-height: 320px;
    display: none;
    align-items: center;
    justify-content: center;
}

#login-waiting img {
    display: block;
    width: 128px;
    height: 96px;
}

.login-field {
    width: 100%;
    margin-bottom: 18px;
    text-align: left;
}

.login-field label {
    display: block;
    margin-bottom: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.login-field input {
    width: 100%;
    padding: 11px 13px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 6px;
    outline: none;
}

.login-field input:focus {
    border-color: rgba(0, 240, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.12);
}

.login-field input[type="password"] {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.login-reset {
    margin-top: 20px !important;
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

.login-reset a {
    display: block;
    margin-top: 4px;
    color: #00f0ff;
    font-weight: 700;
    text-decoration: none;
}

.login-reset a:hover {
    text-decoration: underline;
}

.login-field input[type="password"] {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.login-error {
    margin: 0 0 18px !important;
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    color: #ff6b6b !important;
}

.reset-instructions {
    margin-bottom: 22px !important;
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
}

#login-content,
#reset-content,
#reset-code-content,
#reset-password-content,
#reset-complete-content {
    width: 100%;
}

.reset-instructions {
    margin-bottom: 22px !important;
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.access-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
    min-width: 260px;
    padding: 13px 28px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    transition:
        transform 0.2s ease,
        box-shadow 0.3s ease;
}


/* Founding Access button */

.access-button {
    background: rgba(10, 10, 25, 0.65);
    border: solid 2px transparent;
    background-clip: padding-box;
    position: relative;
}

.access-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, #00f0ff, #008cff);
}


/* Login button */

.login-button {
    width: 100%;
    min-width: 0;
    margin-top: 10px;
}


/* New Member button */

.secondary-button {
    margin-top: 0;
    background: rgba(10, 10, 25, 0.65);
    border: solid 2px transparent;
    background-clip: padding-box;
    position: relative;
}

.new-card .secondary-button {
    width: 100%;
    min-width: 0;
    margin-top: auto;
    box-sizing: border-box;
    flex-shrink: 0;
}

.secondary-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, #b500ff, #ff3cac);
}

.access-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.access-button:hover {
    box-shadow:
        0 0 20px rgba(0, 240, 255, 0.4),
        0 0 40px rgba(0, 140, 255, 0.2);
}

.secondary-button:hover {
    box-shadow:
        0 0 20px rgba(181, 0, 255, 0.4),
        0 0 40px rgba(255, 60, 172, 0.2);
}

.access-button span,
.secondary-button span {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.2s ease;
}


/* =========================================================
   FOOTER
   ========================================================= */

.access-button:hover span,
.secondary-button:hover span {
    transform: translateX(4px);
}

.access-footer {
    position: relative;
    z-index: 2;
    margin-top: 55px;
    padding: 0 40px 30px;
    text-align: center;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}
