/* =========================================================
   FIC FURY AUTHENTICATION
   Shared styling for Login + Register
   ========================================================= */

:root {
    --ff-red: #e53935;
    --ff-red-dark: #c62828;
    --ff-yellow: #ffd43b;
    --ff-yellow-light: #ffe878;
    --ff-black: #111111;
    --ff-white: #ffffff;
    --ff-cream: #fff8e7;
    --ff-gray: #686868;
    --ff-border: 4px solid var(--ff-black);
    --ff-shadow: 8px 8px 0 var(--ff-black);
}

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

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    background: var(--ff-cream);
    color: var(--ff-black);
}

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

.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(500px, 1.05fr);
    background: var(--ff-cream);
}

/* =========================================================
   LEFT COMIC PANEL
   ========================================================= */

.auth-banner {
    position: relative;
    overflow: hidden;

    min-height: 100vh;
    padding: 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: var(--ff-red);
    color: var(--ff-white);

    border-right: var(--ff-border);
}

/* Comic rays / decorative shapes */

.auth-banner::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;

    top: -170px;
    right: -190px;

    background: var(--ff-yellow);

    border: 8px solid var(--ff-black);

    transform: rotate(12deg);
}

.auth-banner::after {
    content: "POW!";
    position: absolute;

    right: 45px;
    bottom: 55px;

    font-family: "Bangers", cursive;
    font-size: 7rem;
    letter-spacing: 3px;

    color: var(--ff-yellow);
    -webkit-text-stroke: 5px var(--ff-black);

    transform: rotate(-8deg);
}

/* =========================================================
   LOGO
   ========================================================= */

.auth-brand {
    position: relative;
    z-index: 2;

    display: inline-flex;
    width: fit-content;

    margin-bottom: 35px;

    padding: 14px 18px;

    background: var(--ff-white);

    border: var(--ff-border);
    box-shadow: 7px 7px 0 var(--ff-black);
}

.auth-brand img {
    display: block;
    width: 210px;
    height: auto;
}

/* =========================================================
   COMIC BADGE
   ========================================================= */

.comic-badge {
    position: relative;
    z-index: 2;

    width: fit-content;

    padding: 8px 18px;

    margin-bottom: 22px;

    background: var(--ff-yellow);
    color: var(--ff-black);

    border: 4px solid var(--ff-black);
    box-shadow: 5px 5px 0 var(--ff-black);

    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    transform: rotate(-2deg);
}

/* =========================================================
   HERO TEXT
   ========================================================= */

.auth-banner h1 {
    position: relative;
    z-index: 2;

    max-width: 600px;

    margin-bottom: 22px;

    font-family: "Bangers", cursive;
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: 2px;

    color: var(--ff-yellow);

    -webkit-text-stroke: 3px var(--ff-black);

    text-shadow: 7px 7px 0 var(--ff-black);
}

.auth-banner p {
    position: relative;
    z-index: 2;

    max-width: 560px;

    margin-bottom: 35px;

    font-size: 1rem;
    line-height: 1.8;

    color: var(--ff-white);
}

/* =========================================================
   FEATURES
   ========================================================= */

.banner-features {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));

    gap: 12px;

    max-width: 600px;
}

.feature {
    padding: 14px 16px;

    background: var(--ff-black);

    border: 3px solid var(--ff-white);

    font-size: 0.88rem;
    font-weight: 700;

    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

/* =========================================================
   RIGHT AUTH AREA
   ========================================================= */

.auth-card {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px clamp(35px, 7vw, 100px);

    background: var(--ff-cream);
}

/* =========================================================
   AUTH CARD HEADER
   ========================================================= */

.auth-card > .logo {
    margin-bottom: 25px;
}

.auth-card > .logo img {
    display: block;
    width: 170px;
    height: auto;
}

.auth-card h2,
.auth-card h1 {
    margin-bottom: 8px;

    font-family: "Bangers", cursive;
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: 1px;

    color: var(--ff-black);
}

.subtitle,
.auth-card > p {
    margin-bottom: 30px;

    color: var(--ff-gray);
    line-height: 1.6;
}

/* =========================================================
   FORMS
   ========================================================= */

form {
    width: 100%;
    max-width: 620px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input,
.auth-card form > input,
.auth-card form select {
    width: 100%;

    padding: 15px 16px;

    background: var(--ff-white);

    border: 3px solid var(--ff-black);

    outline: none;

    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: var(--ff-black);

    box-shadow: 4px 4px 0 var(--ff-black);
}

.form-group input::placeholder,
.auth-card form > input::placeholder {
    color: #999;
}

.form-group input:focus,
.auth-card form > input:focus,
.auth-card form select:focus {
    border-color: var(--ff-red);

    box-shadow: 6px 6px 0 var(--ff-yellow);
}

/* =========================================================
   REGISTER FORM SPACING
   ========================================================= */

.auth-card form > input,
.auth-card form > select {
    margin-bottom: 15px;
}

/* =========================================================
   OPTIONS
   ========================================================= */

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin: 5px 0 25px;

    font-size: 0.82rem;
}

.options label {
    display: flex;
    align-items: center;
    gap: 7px;

    cursor: pointer;
}

.options input,
.checkbox input {
    accent-color: var(--ff-red);
}

.options a,
.auth-link a,
.auth-footer a {
    color: var(--ff-red);

    font-weight: 800;
    text-decoration: none;
}

.options a:hover,
.auth-link a:hover,
.auth-footer a:hover {
    text-decoration: underline;
}

/* =========================================================
   CHECKBOX
   ========================================================= */

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 8px 0 22px;

    font-size: 0.82rem;
    line-height: 1.5;

    cursor: pointer;
}

.checkbox input {
    flex-shrink: 0;
    margin-top: 4px;
}

/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.login-btn,
.auth-card form button {
    width: 100%;

    padding: 16px 20px;

    background: var(--ff-red);
    color: var(--ff-white);

    border: 4px solid var(--ff-black);

    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 900;

    letter-spacing: 1px;

    cursor: pointer;

    box-shadow: 7px 7px 0 var(--ff-black);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.login-btn:hover,
.auth-card form button:hover {
    transform: translate(3px, 3px);
    box-shadow: 4px 4px 0 var(--ff-black);
}

.login-btn:active,
.auth-card form button:active {
    transform: translate(6px, 6px);
    box-shadow: 1px 1px 0 var(--ff-black);
}

/* =========================================================
   DIVIDER
   ========================================================= */

.divider {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 28px 0;

    color: #777;

    font-size: 0.75rem;
    font-weight: 800;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;

    height: 2px;

    background: #d7d0c2;
}

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

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.google-btn,
.discord-btn {
    padding: 13px 15px;

    background: var(--ff-white);
    color: var(--ff-black);

    border: 3px solid var(--ff-black);

    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 4px 4px 0 var(--ff-black);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.google-btn:hover,
.discord-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ff-black);
}

/* =========================================================
   AUTH FOOTERS
   ========================================================= */

.auth-footer,
.auth-link {
    margin-top: 25px;

    text-align: center;

    font-size: 0.85rem;
    color: var(--ff-gray);
}

/* =========================================================
   REGISTER-SPECIFIC
   ========================================================= */

.auth-card .register-intro {
    max-width: 560px;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-banner {
        min-height: auto;

        padding: 50px 35px;

        border-right: none;
        border-bottom: var(--ff-border);
    }

    .auth-banner::after {
        display: none;
    }

    .auth-banner h1 {
        font-size: clamp(3.5rem, 12vw, 6rem);
    }

    .auth-card {
        min-height: auto;
        padding: 50px 35px;
    }
}

@media (max-width: 600px) {

    .auth-banner {
        padding: 35px 25px;
    }

    .auth-card {
        padding: 40px 22px;
    }

    .auth-brand img {
        width: 160px;
    }

    .banner-features {
        grid-template-columns: 1fr;
    }

    .register-grid {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================================================
   PASSWORD CONTROLS
   ========================================================= */

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 52px;
}

.auth-card form .toggle-password {
    position: absolute;

    right: 10px;
    top: 50%;

    width: 36px;
    height: 36px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    background: transparent;
    color: var(--ff-black);

    border: none;
    box-shadow: none;

    font-size: 0.9rem;

    cursor: pointer;
}

.auth-card form .toggle-password:hover {
    background: transparent;
    color: var(--ff-red);

    transform: translateY(-50%);
    box-shadow: none;
}

.password-feedback {
    min-height: 20px;

    margin-top: 7px;

    font-size: 0.75rem;
    font-weight: 800;
}