@import url('https://fonts.googleapis.com/css2?family=Dongle&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

:root {
    --clr-neon: hsl(317 100% 54%);
    --clr-bg: hsl(323 21% 16%);
    --clr-nav: rgb(0, 0, 0);
    --card-bg: #fff7ef;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    cursor: url(assets\hand.png), auto;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Dongle', sans-serif;
    color: #edf0f1;
    background:
        radial-gradient(circle at top, rgba(255, 0, 170, 0.16), transparent 28rem),
        var(--clr-bg);
}

.something {
    background-color: var(--clr-bg);
}

li, a, .login {
    font-family: 'Press Start 2P';
    font-weight: 400;
    font-size: 20px;
    color: #edf0f1;
    text-decoration: none;
    background-color: var(--clr-nav);
}

.nav1 {
    border-bottom: 5px solid var(--clr-neon);
}

.logo {
    cursor: pointer;
    width: 150px;
    margin-left: 20px;
    margin-top: 5px;
    background-color: transparent;
}

.navbar .nav_links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    background-color: var(--clr-nav);
}

.nav_links li {
    display: inline-block;
    padding: 0 15px;
    justify-content: center;
}

.nav_links li a {
    transition: all 0.1s ease 0s;
}

.nav_links li a:hover {
    color: var(--clr-neon);
    border-bottom: 5px solid var(--clr-neon);
    cursor: pointer;
}

.handbook-hero {
    width: min(100%, 72rem);
    margin: 8.5rem auto 0;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-kicker {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ff9fd7;
    margin-bottom: 1rem;
}

.meet {
    font-family: 'Press Start 2P';
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.3;
    color: #edf0f1;
}

.hero-copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(237, 240, 241, 0.88);
    max-width: 42rem;
    margin: 1.4rem auto 0;
}

.handbook-main {
    width: min(100%, 78rem);
    margin: 2.25rem auto 0;
    padding: 0 1.5rem 4rem;
}

.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.35rem;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 14.5rem;
    padding: 1rem 0.8rem 0.95rem;
    background: linear-gradient(180deg, #fffaf5 0%, #ffe9d2 100%);
    border: 2px solid rgba(255, 0, 170, 0.14);
    border-radius: 1.6rem;
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.18);
}

.teamimg {
    width: min(100%, 8.1rem);
    height: auto;
    border-radius: 1.15rem;
    background: transparent;
}

.a3 {
    margin-top: 0.7rem;
    font-family: 'Press Start 2P';
    font-size: 1rem;
    color: #171717;
    background: transparent;
    text-align: center;
}

.handbook-actions {
    display: flex;
    justify-content: center;
    margin-top: 2.4rem;
}

.btn {
    font-size: 1.05rem;
    font-family: 'Press Start 2P', cursive;
    background-color: transparent;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: var(--clr-neon);
    border: var(--clr-neon) 0.125em solid;
    padding: 1.1em 1.5em;
    border-radius: 1.1rem;
    text-shadow:
        0 0 0.125em hsl(0 0% 100% / 0.5),
        0 0 0.45em currentColor;
    box-shadow: 0 0 0.5em 0 var(--clr-neon), 0 0 0.5rem 0 var (--clr-neon);
    position: relative;
}

.btn::before {
    pointer-events: none;
    content: '';
    position: absolute;
    background: var(--clr-neon);
    top: 90%;
    left: 0%;
    width: 100%;
    height: 100%;
    transform: perspective(1em) rotateX(40deg) scale(1, 0.35);
    filter: blur(1em);
    opacity: 0.7;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 2em 0.5em var(--clr-neon);
    opacity: 0;
    transition: opacity 100ms linear;
}

.btn:hover,
.btn:focus {
    background: var(--clr-neon);
    color: var(--clr-bg);
    text-shadow: none;
}

.btn:hover::after {
    opacity: 1;
}

@media (max-width: 1024px) {
    .alphabet-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        min-height: 100vh;
    }

    .handbook-hero {
        margin-top: 6.8rem;
        padding: 0 1rem;
    }

    .hero-kicker {
        font-size: 0.82rem;
        letter-spacing: 0.18em;
    }

    .hero-copy {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .handbook-main {
        padding: 0 0.9rem 2.5rem;
    }

    .alphabet-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .box {
        min-height: 8.7rem;
        padding: 0.7rem 0.45rem;
        border-radius: 1rem;
    }

    .teamimg {
        width: min(100%, 4.85rem);
        border-radius: 0.8rem;
    }

    .a3 {
        margin-top: 0.45rem;
        font-size: 0.78rem;
    }

    .btn {
        width: min(100%, 24rem);
        padding: 1rem 1.1rem;
        font-size: 0.82rem;
        text-align: center;
        line-height: 1.6;
    }
}
