* {
    box-sizing: border-box;
}


body {
    margin: 0;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle at top,
            #18213d,
            #080c18 70%
        );

    color: white;

    font-family: Arial, sans-serif;

    overflow-x: hidden;
}


main {
    width: 95%;

    max-width: 1050px;

    padding: 55px 30px;

    text-align: center;
}


/* =========================
   HUB TITLE
========================= */

.hub-icon {
    font-size: 55px;

    margin-bottom: 5px;

    filter:
        drop-shadow(
            0 10px 20px
            rgba(108, 99, 255, 0.3)
        );
}


h1 {
    margin: 0;

    font-size: 52px;

    letter-spacing: 4px;
}


.subtitle {
    margin: 12px 0 50px;

    color: #b8bfd3;

    font-size: 18px;
}


/* =========================
   GAME CARDS
========================= */

.games {
    display: flex;

    justify-content: center;

    align-items: stretch;

    flex-wrap: wrap;

    gap: 25px;
}


.game-card {
    width: 300px;

    min-height: 350px;

    padding: 35px 25px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background:
        rgba(21, 28, 50, 0.95);

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 25px;

    box-shadow:
        0 25px 60px
        rgba(0, 0, 0, 0.4),

        inset 0 1px 0
        rgba(255, 255, 255, 0.04);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.game-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 35px 70px
        rgba(0, 0, 0, 0.5),

        0 0 30px
        rgba(108, 99, 255, 0.08);
}


/* =========================
   GAME ICON
========================= */

.game-icon {
    font-size: 55px;

    margin-bottom: 15px;
}


.game-card h2 {
    margin: 0 0 15px;

    font-size: 24px;
}


.game-card p {
    margin: 0 auto 25px;

    max-width: 240px;

    color: #b8bfd3;

    line-height: 1.6;

    font-size: 15px;
}


/* =========================
   PLAY BUTTON
========================= */

.game-card a {
    display: inline-block;

    padding: 15px 30px;

    background: #6c63ff;

    color: white;

    text-decoration: none;

    border-radius: 13px;

    font-size: 17px;

    font-weight: bold;

    box-shadow:
        0 7px 0 #453fb0,

        0 14px 25px
        rgba(108, 99, 255, 0.3);

    transition:
        transform 0.15s,
        box-shadow 0.15s;
}


.game-card a:hover {
    transform: translateY(-4px);

    box-shadow:
        0 11px 0 #453fb0,

        0 20px 30px
        rgba(108, 99, 255, 0.35);
}


.game-card a:active {
    transform: translateY(3px);

    box-shadow:
        0 3px 0 #453fb0;
}


/* =========================
   FOOTER
========================= */

footer {
    margin-top: 45px;

    color: #68718b;

    font-size: 14px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    main {
        padding: 40px 15px;
    }


    h1 {
        font-size: 40px;
    }


    .subtitle {
        margin-bottom: 35px;
    }


    .game-card {
        width: 100%;

        max-width: 400px;
    }
}
/* =========================
   SQUAPLAY LOGIN PAGE
========================= */

.auth-page {
    width: min(90%, 500px);
    margin: 100px auto;
    padding: 45px;
    text-align: center;

    background: rgba(15, 21, 38, 0.85);
    border: 1px solid #293450;
    border-radius: 25px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45);
}

.auth-page h1 {
    margin: 15px 0 10px;
    font-size: 38px;
    letter-spacing: 2px;
}

.auth-page form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.auth-page input {
    width: 100%;
    box-sizing: border-box;

    padding: 16px 18px;

    background: #0d1324;
    color: white;

    border: 1px solid #34405f;
    border-radius: 12px;

    font-size: 15px;
    outline: none;

    transition: 0.2s;
}

.auth-page input:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.auth-page form button {
    padding: 15px;

    background: #6c63ff;
    color: white;

    border: none;
    border-radius: 12px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 6px 0 #4540a8,
        0 12px 25px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.15s,
        box-shadow 0.15s;
}

.auth-page form button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 9px 0 #4540a8,
        0 16px 30px rgba(0, 0, 0, 0.35);
}

.auth-page form button:active {
    transform: translateY(3px);

    box-shadow:
        0 3px 0 #4540a8;
}

.auth-link {
    margin-top: 25px;
    color: #9da7c0;
    font-size: 14px;
}

.auth-link a {
    color: #8b84ff;
    text-decoration: none;
    font-weight: bold;
}

.auth-link a:hover {
    text-decoration: underline;
}