* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

/* ── Header ───────────────────────────────────────────────────────────────── */

header {
    background: linear-gradient(135deg, #0077cc, #0099fb);
    padding: 1.5rem 0;
    border-bottom: 3px solid #005fa3;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.header-content h1 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s, transform 0.2s;
}

.nav-link:hover {
    color: #fff;
    border-bottom-color: #fff;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #fff;
    border-bottom-color: #fff;
}

/* ── Hero Banner ──────────────────────────────────────────────────────────── */

.hero-banner {
    position: relative;
    height: 500px;
    background: url('https://media.discordapp.net/attachments/1444815473089839308/1465241654847078627/2026-01-26_02.04.10.png?ex=69883621&is=6986e4a1&hm=3b40deb00dbfaaa9d0ea8aefca446866d086dd501b93a17cde5b6225c8dfe37e&=&format=webp&quality=lossless&width=1606&height=903') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h2 {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #0099fb;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 3px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #0099fb;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 6px;
    border: 3px solid #fff;
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #0099fb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 153, 251, 0.4);
}

.small-cta {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}

/* ── Container ────────────────────────────────────────────────────────────── */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #0099fb;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ── Fade-in scroll animation ─────────────────────────────────────────────── */

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Loading ──────────────────────────────────────────────────────────────── */

.loading {
    text-align: center;
    color: #999;
    font-size: 1.1rem;
    padding: 2rem 0;
}

.post-count {
    text-align: center;
    color: #888;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* ── Two Column Layout ────────────────────────────────────────────────────── */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.col-left,
.col-right {
    min-width: 0;
}

/* ── Community Posts ──────────────────────────────────────────────────────── */

.community-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.community-post {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.community-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.post-header {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0099fb;
    margin-bottom: 0.8rem;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #444;
}

.post-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.post-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.8rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.author-pfp {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.author-username {
    font-weight: bold;
    color: #555;
}

.post-uploader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.uploader-label {
    color: #999;
}

.uploader-pfp {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.uploader-username {
    color: #777;
    font-weight: bold;
}

/* ── Posts Carousel ───────────────────────────────────────────────────────── */

.posts-carousel {
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.posts-carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.posts-carousel-item {
    min-width: 100%;
    padding: 1.5rem;
}

.view-all-link {
    text-align: center;
    margin-top: 1.5rem;
}

/* ── News Carousel ────────────────────────────────────────────────────────── */

.news-carousel {
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    padding: 1.5rem;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.news-date {
    color: #888;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ── Carousel Controls ────────────────────────────────────────────────────── */

.carousel-controls {
    text-align: center;
    margin-top: 1rem;
}

.carousel-btn {
    background: linear-gradient(135deg, #0099fb, #0077cc);
    border: none;
    color: white;
    padding: 0.5rem 1.2rem;
    margin: 0 0.3rem;
    cursor: pointer;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 153, 251, 0.3);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #0077cc, #005fa3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 153, 251, 0.4);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.indicator:hover {
    transform: scale(1.3);
}

.indicator.active {
    background: #0099fb;
    transform: scale(1.2);
}

/* ── Image Gallery ────────────────────────────────────────────────────────── */

.gallery-section {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.gallery-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1rem;
}

.gallery-caption {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.gallery-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gallery-author,
.gallery-uploader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.gallery-author-pfp,
.gallery-uploader-pfp {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.gallery-date {
    display: none;
}

/* ── YouTube Section ──────────────────────────────────────────────────────── */

.youtube-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.youtube-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.channel-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #0099fb;
    box-shadow: 0 4px 15px rgba(0, 153, 251, 0.3);
    transition: transform 0.3s;
}

.profile-pic:hover {
    transform: scale(1.08);
}

.channel-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.2rem;
}

.channel-handle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.2rem;
}

.channel-cta {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #0099fb, #0077cc);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 153, 251, 0.3);
}

.channel-cta:hover {
    background: linear-gradient(135deg, #0077cc, #005fa3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 153, 251, 0.4);
}

.youtube-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #0099fb;
    font-weight: bold;
}

/* ── Featured Videos ──────────────────────────────────────────────────────── */

.featured-videos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.video-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.video-item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-item iframe {
    max-width: 100%;
    border-radius: 10px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2rem 0;
    text-align: center;
    margin-top: 0;
    border-top: 3px solid #0099fb;
}

footer p {
    color: #aaa;
}

.footer-admin-link {
    display: inline-block;
    margin-top: 0.8rem;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-admin-link:hover {
    color: #0099fb;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
    }

    .video-row {
        flex-direction: column;
    }

    .header-nav {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }
}
