body {
    background: #111;
    color: white;
    font-family: Arial;
    margin: 0;
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem 2rem;

    background: #1f2b24;
    border-bottom: 2px solid #c8a95b;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;

    color: #f7e7c6;

    letter-spacing: 0.5px;

    text-shadow: 0 0 10px rgba(255, 216, 107, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px !important;
    width: auto !important;
    max-height: 50px !important;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;

    gap: 1.5rem;

    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #f7e7c6;
    text-decoration: none;

    transition: 0.2s;
    text-shadow:
        0 0 6px rgba(247, 231, 198, 0.15),
        0 0 12px rgba(200, 169, 91, 0.05);
}

.nav-links a:hover {
    color: #ffd86b;

    text-shadow:
        0 0 8px rgba(255, 216, 107, 0.6),
        0 0 18px rgba(255, 216, 107, 0.4),
        0 0 30px rgba(255, 216, 107, 0.2);

    transform: translateY(-1px);
}

.menu-toggle {
    display: none;

    background: none;
    border: none;

    color: #f7e7c6;

    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;

        flex-direction: column;

        position: absolute;

        top: 100%;
        left: 0;
        width: 100%;

        background: #1f2b24;

        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 0.5rem 0;
    }

}

.page-header {
    padding: 6rem 2rem 3rem;
    text-align: center;

    background: linear-gradient(135deg, #1f2b24, #2f3f35);

    color: #f7e7c6;

    border-bottom: 2px solid rgba(200, 169, 91, 0.3);
}

.page-header h1 {
    font-size: 3rem;
    color: #ffd86b;
    text-shadow: 0 0 20px rgba(255, 216, 107, 0.3);
}

.page-content {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
}

.card {
    background: rgba(20, 25, 22, 0.6);

    border: 1px solid rgba(200, 169, 91, 0.3);
    border-radius: 12px;

    padding: 1.2rem;
    margin-bottom: 1rem;

    backdrop-filter: blur(10px);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(200, 169, 91, 0.15);
}

/* HERO SECTION */

.hero {
    position: relative;
    height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #f7e7c6;

    transition: all 1s ease;
}

.hero.online .hero-overlay {
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.7)
    );
}

.hero.online .hero h1 {
    text-shadow:
        0 0 10px rgba(255, 216, 107, 0.6),
        0 0 30px rgba(255, 216, 107, 0.3);
}

.hero.online .status-card {
    border: 1px solid rgba(200, 169, 91, 0.5);
    box-shadow:
        0 0 20px rgba(200, 169, 91, 0.2);
}

.hero.offline .status-card {
    border: 1px solid rgba(255, 80, 80, 0.4);
    box-shadow:
        0 0 20px rgba(255, 80, 80, 0.15);
}

.hero.offline .hero-overlay {
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.9)
    );
}

.hero.offline h1 {
    color: #b0b0b0;

    text-shadow:
        0 0 10px rgba(0,0,0,0.6);
}

.hero-bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    transform: scale(1.1);

    opacity: 1;
    transition: opacity 1s ease, filter 1s ease;

    animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero.offline .hero-bg,
.hero.online .hero-bg {
    opacity: 1;
}

.hero.online .hero-bg {
    background-image: url("../images/hero-online.png");

    filter: saturate(1.2) brightness(1.05) opacity(0.5);
}

.hero.offline .hero-bg {
    background-image: url("../images/hero-offline.png");

    filter: grayscale(0.6) brightness(1.0) contrast(1.1) opacity(0.5);
}


@keyframes slowZoom {
    from { transform: scale(1.05) translateY(0px); }
    to   { transform: scale(1.15) translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 800px;
    text-align: center;

    animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;

    color: #ffd86b;

    text-shadow:
        0 0 10px rgba(255, 216, 107, 0.6),
        0 0 30px rgba(255, 216, 107, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;

    color: #f7e7c6;
    opacity: 0.9;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);

    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    align-items: center;
}

/* IP BOX */


.ip-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    background: #111a14;
    padding: 0.8rem 1rem;

    border-radius: 10px;

    border: 1px solid #c8a95b;
}

.ip-box span {
    font-family: monospace;
}

/* BUTTONS */

.ip-box button,
.discord-btn {
    background: #c8a95b;
    border: none;

    text-align: center;

    padding: 0.6rem 1.2rem;

    cursor: pointer;

    color: #1f2b24;

    border-radius: 8px;

    transition: 0.3s;

    box-shadow: 0 0 10px rgba(200, 169, 91, 0.3);
}

.ip-box button:hover,
.discord-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 0 20px rgba(255, 216, 107, 0.6);
    background: #ffd86b;
}

header {
    text-align: center;
    padding: 100px;
}

section {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.leaf {
    position: fixed;
    top: -20px;

    width: 8px;
    height: 8px;

    background: #c8a95b;
    opacity: 0.6;

    border-radius: 2px;

    animation: fall linear forwards;
    z-index: 1;
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

.status-card {
    margin-top: 1.5rem;

    display: flex;
    align-items: center;
    gap: 1rem;

    padding: 1rem 1.2rem;

    border-radius: 14px;

    background: rgba(20, 25, 22, 0.6);
    border: 1px solid rgba(200, 169, 91, 0.4);

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 20px rgba(0,0,0,0.4),
        0 0 15px rgba(200, 169, 91, 0.15);

    transition: 0.3s;

    animation: statusFloat 6s ease-in-out infinite;
}

.status-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 25px rgba(200, 169, 91, 0.25);
}

@keyframes statusFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.status-dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    box-shadow: 0 0 10px currentColor;
}

.status-dot.online {
    background: #4ade80;
    color: #4ade80;
    animation: pulse 1.5s infinite;
}

.status-dot.offline {
    background: #ef4444;
    color: #ef4444;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.status-info h3 {
    margin: 0;
    font-size: 1rem;
    color: #ffd86b;
}

.status-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.wiki-card {
    background: rgba(20, 25, 22, 0.6);

    border: 1px solid rgba(200, 169, 91, 0.3);
    border-radius: 14px;

    padding: 1rem 1.2rem;
    margin-bottom: 1rem;

    cursor: pointer;

    backdrop-filter: blur(10px);

    transition: all 0.4s ease;

    overflow: hidden;
}

.wiki-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(200, 169, 91, 0.15);
}

.wiki-title {
    font-size: 1.2rem;
    color: #ffd86b;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wiki-title::after {
    content: "▼";
    font-size: 0.8rem;
    opacity: 0.7;

    transition: transform 0.3s ease;
}

/* hidden content */
.wiki-content {
    max-height: 0;
    opacity: 0;

    overflow: hidden;

    transition: all 0.4s ease;

    margin-top: 0;
    color: #f7e7c6;
}

/* expanded state */
.wiki-card.active .wiki-content {
    max-height: 200px;
    opacity: 1;

    margin-top: 0.8rem;
}

.wiki-card.active .wiki-title::after {
    transform: rotate(180deg);
}