/* ===== Global ===== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #050B08; /* Deeper forest black-green */
    color: #d4efe3;
    scroll-behavior: smooth;
}

/* Fade Animations */
.fade-in {
    animation: fadeIn 1.2s ease forwards;
}
.fade-section {
    opacity: 0;
    animation: fadeUp 1.2s ease forwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px);} to { opacity: 1; transform: translateY(0);} }

/* ===== Rolling Bar ===== */
.rolling-bar {
    width: 100%;
    background: linear-gradient(to right, #050B08, #0C1A14, #050B08);
    border-bottom: 2px solid #2fa76b;
    color: #adffd2;
    height: 32px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.rolling-text {
    white-space: nowrap;
    padding-left: 100%;
    animation: roll 20s linear infinite;
}
@keyframes roll { from { transform: translateX(0);} to { transform: translateX(-100%);} }

/* ===== Header ===== */
header {
    position: sticky;
    top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 20, 15, 0.9);
    backdrop-filter: blur(12px);
    padding: 18px 34px;
    border-bottom: 2px solid #2fa76b;
    z-index: 900;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #3ce48a;
}

nav a {
    color: #8bd9b2;
    margin: 0 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #3ce48a;
}

.journal-btn {
    background: #22754b;
    padding: 7px 16px;
    border-radius: 7px;
    color: white !important;
    transition: background-color .3s;
}

.journal-btn:hover {
    background: #2da36b;
}

/* ===== Hero (No Image) ===== */
.hero {
    height: 40vh;
    background: radial-gradient(circle at top, #0F1E18, #050B08);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.hero-overlay {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 12px;
    color: #b4f8d5;
}

.hero p {
    font-size: 1.2rem;
    color: #d8f9eb;
    opacity: 0.9;
}

.hero-btn {
    margin-top: 22px;
    background: #22754b;
    padding: 12px 26px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #2da36b;
}

/* ===== Sections ===== */
section {
    max-width: 1150px;
    padding: 55px 25px;
    margin: auto;
}

h2 {
    color: #9be7c8;
    border-bottom: 2px solid #2fa76b;
    padding-bottom: 8px;
    text-align: center;
    margin-bottom: 35px;
}

/* ===== Grids ===== */
.video-grid,
.photo-grid,
.trip-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

iframe {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.55);
}

/* ===== Trip Cards ===== */
.trip-card {
    background: #0C1A14;
    border-radius: 12px;
    overflow: hidden;
    transition: .35s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.trip-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.75);
}

.trip-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.trip-info {
    padding: 18px;
}

.trip-info h3 {
    margin: 0;
    color: #9be7c8;
}

/* ===== Footer ===== */
footer {
    background: #0C1A14;
    color: #8bd9b2;
    border-top: 2px solid #2fa76b;
    padding: 28px;
    text-align: center;
}

footer a {
    color: #3ce48a;
    text-decoration: none;
}

/* ===== Mobile Nav ===== */
.menu-toggle {
    color: #9be7c8;
    display: none;
    font-size: 1.7rem;
}

@media (max-width: 760px) {
    nav {
        display: none;
        flex-direction: column;
        background: #07100C;
        border-left: 2px solid #2fa76b;
        border-bottom: 2px solid #2fa76b;
        width: 210px;
        position: absolute;
        top: 80px;
        right: 0;
        padding: 20px;
    }

    nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: 55vh;
    }
}
.server-icon {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 15px;
}
/* ===== Footer (Updated for Index & Minecraft) ===== */
footer {
    background: #07100C; /* slightly darker for distinction */
    color: #8bd9b2;
    border-top: 2px solid #2fa76b;
    padding: 28px 20px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
}

footer .footer-content {
    max-width: 1100px;
    margin: auto;
}

footer p {
    margin: 6px 0;
}

footer a {
    color: #3ce48a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #b4f8d5;
}

/* Optional small icon row inside footer for future expansion */
footer .footer-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

footer .footer-icons img {
    width: 28px;
    height: 28px;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

footer .footer-icons img:hover {
    filter: brightness(1.2);
}
/* Minecraft Server Panel */
.minecraft-panel {
    max-width: 1100px;
    margin: 45px auto;
    background: #0C1A14;
    border: 2px solid #2fa76b;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.minecraft-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.server-info h3 {
    margin: 0 0 6px 0;
    color: #9be7c8;
    font-size: 1.4rem;
}

.server-info p {
    margin: 4px 0;
    font-size: 1rem;
    color: #d4efe3;
}

#server-status {
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 6px;
}

#server-status.online {
    background-color: #2da36b;
    color: #ffffff;
}

#server-status.offline {
    background-color: #fc5e5e;
    color: #ffffff;
}
.server-panel {
    background: #0C1A14;
    border: 2px solid #2fa76b;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    margin: 30px auto;
    text-align: left;
    box-shadow: 0 4px 14px rgba(0,0,0,0.6);
}

.server-panel p, .server-panel ul {
    margin: 6px 0;
    color: #d4efe3;
}

.server-panel ul {
    list-style-type: disc;
    padding-left: 20px;
}

.server-panel .online {
    color: #3ce48a;
    font-weight: bold;
}

.server-panel .offline {
    color: #fc6860;
    font-weight: bold;
}

.server-panel .server-icon img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 15px;
}
/* Minecraft Server Panel */
.server-panel {
    background: #0C1A14;
    border: 2px solid #2fa76b;
    border-radius: 12px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0,0,0,0.55);
}

.server-panel p {
    margin: 8px 0;
}

.server-panel ul {
    list-style: none;
    padding-left: 0;
    margin: 8px 0;
}

.server-panel ul li {
    background: #07100C;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.server-icon {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.ping-badge {
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 5px;
    display: inline-block;
}

.ping-good { background: #3ce48a; color: #050B08; }
.ping-medium { background: #f0e130; color: #050B08; }
.ping-bad { background: #ff4b4b; color: #050B08; }
/* ===== Minecraft Server Panel ===== */
.server-panel {
    display: flex;
    align-items: flex-start; /* Align icon and text at top */
    gap: 20px;
    background: #0C1A14;
    border: 2px solid #2fa76b;
    border-radius: 12px;
    padding: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.server-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    flex-shrink: 0;
    background: #07100C; /* fallback background if no icon */
}

/* Container for server info text lines */
.server-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1; /* take remaining space */
}

/* Minecraft button below info */
.minecraft-btn {
    margin-top: 12px;
    padding: 10px 18px;
    background: #22754b;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    width: fit-content;
    transition: 0.3s ease;
}

.minecraft-btn:hover {
    background: #2da36b;
}

/* Optional: neon green alternative IP styling */
.alt-ip {
    color: #6eff7a; /* neon green, lower intensity */
    font-weight: 700;
    transition: color 0.3s ease;
}

.alt-ip:hover {
    color: #8aff99;
}
/* ===== Credits Styling ===== */
.server-info .credits {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #8bd9b2;
}

.server-info .credits a {
    color: #3ce48a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.server-info .credits a:hover {
    color: #b4f8d5;
}
