:root{
    --site-bg: #0c0c0e;
    --header-trans-bg: #eef2ff20;
    --text-light:#f8fafc;
    --primary: #e62243;
    --secondary: #de463f;
}

*{
    margin: 0; padding: 0;
    user-select: none;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    text-rendering: geometricPrecision;
    box-sizing: border-box;
}

.container{
    max-width: 1350px;
    margin: 0 auto;
    width: 100%;
}

body::-webkit-scrollbar{display: none;}

body {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    color: var(--text-light);
    min-height: 100vh;
    background-color: var(--site-bg);
}

body.gradient{
    background-image: url(/assets/images/mesh-gradient.webp);
    background-attachment: scroll;
    background-size: 100% clamp(0px, 90vmin, 1000px);
    background-repeat: no-repeat;
}

body.animate{animation: fadeIn 0.5s 0.2s ease forwards; opacity: 0;}


@keyframes fadeIn {
    from{opacity: 0; pointer-events: none;}
    to{opacity: 1; pointer-events: all;}
}



.site-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.site-header .container{
    display: flex; align-items: center;
    gap: 8px;
}

.site-logo {
    color: var(--site-bg);
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    display: flex; align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    background: var(--text-light);
    border-radius: 8px;
    text-transform: uppercase;
}

body.gradient .site-header .site-logo{color: var(--primary);}

.site-nav {
    display: flex; align-items: center;
    margin-left: auto;
}

.site-nav a {
    color: var(--text-light);
    border-radius: 10px;
    text-decoration: none;
    padding: 9px 16px;
    font-size: 18px;
    transition: all ease 0.2s;
    font-weight: 600;
}

.site-nav a:hover {
    background: #fff2;
}



.site-header .cta-button {
    background: var(--header-trans-bg);
    color: var(--text-light);
    text-decoration: none;
    padding: 9px 16px;
    font-size: 17px;
    display: flex; align-items: center;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-weight: 700;
    gap: 10px;
}

.site-header .cta-button svg{
    width: 20px; height: auto;
    color: var(--text-light);
    fill: var(--text-light);
}

.site-header .cta-button.discord:hover{
    background-color: #456dff;
}

.site-header .cta-button.github:hover{
    background-color: var(--text-light);
    color: var(--site-bg);
}
.site-header .cta-button.github svg{color: inherit;}

@media (max-width: 1400px) {
    .container{padding: 0 20px;}
}



.site-footer {
    padding: 60px 0 30px 0;
    background-color: var(--site-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .site-logo {
    display: inline-flex;
}

.footer-desc {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.7);
    max-width: 320px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.footer-socials .social-icon {
    width: 62px;
    height: 42px;
    border-radius: 10px;
    background: var(--header-trans-bg);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-socials .social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-socials .social-icon.github:hover {
    background-color: var(--text-light);
    box-shadow: 0 0 50px #fff5;
    color: var(--site-bg);
}

.footer-socials .social-icon.discord:hover {
    background-color: #456dff;
    box-shadow: 0 0 50px #456dff;
    color: #fff;
}

.footer-socials .social-icon:hover{transform: scale(1.1);}
.footer-socials .social-icon:active{transform: scale(1);}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links a {
    color: #fff8;
    text-decoration: underline 1px transparent;
    text-underline-offset: 2px;
    font-size: 16px;
    font-weight: 600;
    padding: 6px 0;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-light);
    text-decoration-color: var(--text-light);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid rgba(248, 250, 252, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: rgba(248, 250, 252, 0.5);
    font-weight: 500;
}

.footer-credits {
    color: rgba(248, 250, 252, 0.4);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 40px 0 24px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

