/* ================= RESET ================= */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ================= BACKGROUND ================= */
body {
    background: #1c1c1c url(../img/2cI08cy.png) no-repeat center top;
    background-size: cover;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #babbbb;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
}

/* ================= NAV ================= */
.row.block_bg {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navigation {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.navigation li {
    flex: 1;
    list-style: none;
    height: 60px;
    text-align: center;
    border-right: 1px solid #1d1d1d;
    background: linear-gradient(to bottom, #1a1a1a, #0f0f0f);
}

.navigation li:last-child {
    border-right: none;
}

.navigation li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: 'Cinzel', serif;
    font-size: 17px;
    color: #ccc;
    text-decoration: none;
}

.navigation li:hover {
    background: linear-gradient(to bottom, #3a0000, #120000);
}

.navigation li:hover a {
    color: #ffffff;
}

/* ================= LOGO ================= */
.logo-right img {
    max-height: 50px;
}

/* ================= BLOCK ================= */
.block_bg {
    background: #151515;
    padding: 12px;
    margin-bottom: 10px;
}

/* ================= RED BOX ================= */
.welcome_box {
    background: linear-gradient(rgba(80,0,0,0.75), rgba(30,0,0,0.85));
    text-align: center;
}

/* ================= DISCORD ================= */
iframe {
    width: 100%;
    height: 240px;
    height: 340px; /* 👈 change this value only */
    border: none;
    border-radius: 6px;
}

/* ================= DOWNLOAD ================= */
.download {
    display: block;
    width: 96%;
    padding: 8px;
    margin-top: 3px;
    text-align: center;
    background: linear-gradient(to bottom, #7a0000, #2a0000);
    color: white;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    border-radius: 3px;
}

/* ================= STAFF COLORS ================= */
.owner, .admin, .mod, .support {
    background: linear-gradient(90deg, red, orange, yellow, red);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= FOOTER ================= */
.footer {
    margin-top: 10px;
    padding: 20px;
}

/* ===== PC PERFECT CENTER FIX ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

/* LEFT */
.footer-grid > div:first-child {
    text-align: left;
}

/* CENTER */
.footer-logo {
    text-align: center;
    margin: 0 auto;
}

/* LOGO */
.footer-logo img {
    max-height: 70px;
    margin-bottom: 10px;
}

/* TEXT */
.footer-logo p {
    text-align: center;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 500px;
}

/* RIGHT */
.right-links {
    text-align: right;
}

.right-links a {
    color: #cecece;
    text-decoration: none;
}

.right-links a:hover {
    color: white;
}

/* LIST */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 6px;
}

/* COPYRIGHT */
.copyright {
    text-align: center;
    font-size: 13px;
    margin-top: 12px;
}

/* ================= RIGHT SIDE ================= */
.right {
    width: 33%;
    max-width: 360px;
    float: right;
}

/* ================= MOBILE MENU ================= */
.mobile-toggle,
.mobile-menu {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #111;
}

.mobile-menu a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #222;
    color: white;
    text-decoration: none;
    text-align: center;
}

.mobile-menu.active {
    display: block;
}

/* ================= LOGO ANIMATION (RESTORE) ================= */
.footer-logo img,
.logo-right img {
    animation: logoFloat 3s ease-in-out infinite alternate,
               logoGlow 3s ease-in-out infinite alternate;
}

/* FLOAT */
@keyframes logoFloat {
    from { transform: translateY(0px); }
    to { transform: translateY(-8px); }
}

/* GLOW */
@keyframes logoGlow {
    from { filter: drop-shadow(0 0 2px red); }
    to { filter: drop-shadow(0 0 10px red); }
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) and (pointer: coarse) {

    .navigation {
        display: none !important;
    }

    .mobile-toggle {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        font-size: 28px;
        color: white;
    }

    .logo-right {
        position: fixed;
        top: 10px;
        right: 15px;
    }

    .logo-right img {
        max-height: 35px;
    }

    .container,
    .row,
    .block_bg {
        display: block !important;
        width: 100% !important;
    }

    .right {
        width: 100% !important;
        float: none !important;
        margin-top: 15px;
    }

    /* MOBILE FOOTER */
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }

    .footer-grid > div {
        width: 100%;
        text-align: center !important;
    }

    .right-links {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .footer-logo p {
        padding: 0 15px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .row.block_bg {
        background: transparent !important;
    }
}