html, body{
    margin:0;
    min-height:100%;
    background:#111;
    color:#fff;
    font-family:Arial, Helvetica, sans-serif;
}

/* Smooth scroll */
html{
    scroll-behavior:smooth;
}

/* ========================= */
/* GLOBAL LINKS (SAFE BASE) */
/* ========================= */
a{
    color:#ddd;
    text-decoration:none;
    transition:0.2s;
}

a:hover{
    color:#fff;
}

/* ========================= */
/* NAVBAR */
/* ========================= */
.navbar{
    position:sticky;
    top:0;

    background:rgba(17,17,17,0.85);
    backdrop-filter:blur(10px);

    height:60px;
    padding:0 25px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    border-bottom:1px solid #222;

    z-index:1000;
}

.logo a{
    color:#fff;
    text-decoration:none;
    font-size:28px;
    font-family:Impact, sans-serif;
}

/* NAV LINKS */
.nav-links{
    display:flex;
    gap:22px;
}

.nav-links a{
    position:relative;
    color:#ddd;
    font-size:14px;
}

/* underline system */
.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:0%;
    height:1px;
    background:#fff;
    transition:0.25s;
}

.nav-links a:hover::after{
    width:100%;
}

/* ========================= */
/* HAMBURGER */
/* ========================= */
.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
}

/* ========================= */
/* CONTENT */
/* ========================= */
.content{
    text-align:center;
    padding-top:120px;
    animation:fadeIn 0.6s ease forwards;
}

.content h1{
    font-size:42px;
    margin-bottom:15px;
    font-weight:900;
}

/* BUTTON */
.button{
    display:inline-block;
    padding:10px 18px;

    border:1px solid #444;
    border-radius:8px;

    color:#fff;
    transition:0.2s;
}

.button:hover{
    background:#fff;
    color:#000;
}

/* ========================= */
/* MEMBERS */
/* ========================= */
.members{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
    padding-top:60px;
    padding-bottom:40px;
}

.card{
    width:220px;
    background:#151515;
    border:1px solid #222;
    border-radius:12px;
    padding:20px;

    transition:all 0.25s ease;
    animation:fadeIn 0.6s ease forwards;
}

.card:hover{
    transform:translateY(-6px) scale(1.02);
    border-color:#444;
}

.card img{
    width:100px;
    height:100px;
    border-radius:50%;
    object-fit:cover;
}

.card h3{
    margin-top:15px;
    margin-bottom:5px;
}

.role{
    color:#aaa;
    font-size:14px;
}

/* ========================= */
/* TERMS / ABOUT */
/* ========================= */
.terms-content{
    display:flex;
    justify-content:center;
    padding:40px 20px;
    animation:fadeIn 0.6s ease forwards;
}

.terms-box{
    width:100%;
    max-width:900px;

    background:#151515;
    border-radius:12px;

    padding:40px;
    text-align:left;
}

.terms-box h1{
    font-size:36px;
}

.terms-box h2{
    margin-top:30px;
    font-size:22px;
}

.terms-box p,
.terms-box li{
    color:#ddd;
    line-height:1.8;
}

/* ✉️ MAIL UNDERLINE FIX (same system as navbar) */
.terms-box a{
    position:relative;
    color:#ddd;
}

.terms-box a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:0%;
    height:1px;
    background:#fff;
    transition:0.25s;
}

.terms-box a:hover::after{
    width:100%;
}

/* ========================= */
/* SOCIAL ICONS */
/* ========================= */
.social-icons{
    display:flex;
    justify-content:center;
    gap:35px;
    margin-top:20px;
}

.social-icons a{
    color:#8a8a8a;
    font-size:32px;
    transition:0.2s;
}

.social-icons a:hover{
    color:#fff;
}

/* ========================= */
/* 📰 NEWS FEED */
/* ========================= */
#posts{
    display:flex;
    flex-direction:column;
    gap:16px;
    padding:20px 0;
}

.post{
    max-width:850px;
    margin:0 auto;
    padding:18px 22px;

    background:transparent;

    border-left:2px solid #2a2a2a;

    transition:0.25s ease;

    animation:fadeIn 0.5s ease forwards;
}

.post:hover{
    border-left-color:#666;
    transform:translateX(4px);
}

.post h3{
    font-size:18px;
    margin-bottom:6px;
}

.post p{
    color:#bdbdbd;
    line-height:1.6;
    font-size:14px;
}

.post small{
    display:block;
    margin-bottom:6px;
    color:#777;
    font-size:12px;
}

/* ========================= */
/* ANIMATION */
/* ========================= */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media screen and (max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        position:absolute;
        top:60px;
        left:0;
        width:100%;
        background:#111;
        border-top:1px solid #222;
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links a{
        padding:12px;
        text-align:center;
    }

    .content h1{
        font-size:28px;
    }

    .members{
        flex-direction:column;
        align-items:center;
        gap:20px;
    }

    .card{
        width:90%;
        max-width:300px;
    }
}
