@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;500;700&display=swap');

:root {
    --primary: #00f2ff;
    --secondary: #ff00ff;
    --dark: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Glowing Background */
.glow-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0a0a0a 100%);
    z-index: -1;
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 10%; background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px); position: sticky; top: 0; z-index: 100;
}
.logo { font-family: 'Orbitron', sans-serif; font-size: 24px; font-weight: bold; }
.logo span { color: var(--primary); text-shadow: 0 0 10px var(--primary); }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 25px; }
.nav-links a { color: #fff; text-decoration: none; font-size: 14px; transition: 0.3s; text-transform: uppercase; }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero { height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.glitch-text { font-family: 'Orbitron', sans-serif; font-size: 4rem; letter-spacing: 5px; margin-bottom: 15px; }
.hero-text p { font-size: 1.2rem; color: #bbb; }

.glass-btn {
    display: inline-block; padding: 12px 25px; margin: 20px 10px;
    border: 1px solid var(--primary); color: #fff; text-decoration: none;
    border-radius: 50px; backdrop-filter: blur(5px); transition: 0.4s;
}
.glass-btn:hover { background: var(--primary); color: #000; box-shadow: 0 0 20px var(--primary); }

/* Ticker */
.news-ticker { background: #111; padding: 12px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; overflow: hidden; }
.ticker-content { display: flex; animation: ticker 25s linear infinite; white-space: nowrap; }
.ticker-content span { margin-right: 50px; font-weight: bold; color: var(--primary); font-size: 0.9rem; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* --- Team Section Fix --- */
.team-section {
    padding: 80px 10%;
    text-align: center; /* পুরো সেকশনকে মাঝখানে আনবে */
    display: flex;
    flex-direction: column;
    align-items: center; /* টাইটেল এবং গ্রিডকে সেন্টারে রাখবে */
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    width: 100%; /* টাইটেল যেন পুরো জায়গা পায় */
    text-align: center; /* টাইটেল সেন্টারে রাখার মেইন কমান্ড */
}

.section-title span {
    color: #00f2ff; /* 2008 অংশটি হাইলাইট করার জন্য */
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}


.member-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 60px 5%;
}

.member-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 20px;
    width: 280px;
    text-align: center;
    transition: all 0.4s ease-in-out;
}

.member-card:hover {
    transform: translateY(-10px);
    border-color: #00f2ff;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

/* Image container animation */
.member-img-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, #00f2ff, #ff00ff);
    overflow: hidden;
    transition: transform 0.5s ease;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0a0a0a;
}

/* Photo Interaction */
.member-card:hover .member-img-container {
    transform: scale(1.1) rotate(5deg);
}

.member-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.role {
    color: #ff00ff;
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.desc {
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.member-social a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.member-social a:hover {
    color: #00f2ff;
    transform: scale(1.3);
}

footer { padding: 40px; text-align: center; font-size: 0.9rem; color: #555; }

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    padding: 60px 10%;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.stat-box h2 {
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
}

/* Featured Video Section Styling */
.gallery-section {
    padding: 80px 10%;
    text-align: center;
}

.subtitle {
    color: #888;
    margin-top: -30px;
    margin-bottom: 50px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

.video-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 350px; /* মেম বা টিকটক ভিডিওর জন্য আইডিয়াল উইডথ */
    transition: 0.4s;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
    border-color: #00f2ff;
}

/* Video Frame Logic */
.video-frame {
    position: relative;
    width: 100%;
    min-height: 500px; /* লম্বা ভিডিওর জন্য */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.video-info {
    padding: 15px;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-info h4 {
    font-family: 'Orbitron', sans-serif;
    color: #00f2ff;
    font-size: 0.9rem;
}

/* Featured Memes / Video Section */
.gallery-section {
    padding: 80px 10%;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: #111;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    width: 350px; /* Fixed width for standard mobile video ratio */
    overflow: hidden;
    transition: 0.4s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: #ff00ff; /* Purple glow on hover */
    box-shadow: 0 15px 30px rgba(255, 0, 255, 0.2);
}

.video-frame {
    width: 100%;
    height: 580px; /* Standard Reel/TikTok height */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.video-frame iframe, 
.video-frame blockquote {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.video-info {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #00f2ff;
    letter-spacing: 1px;
}

.video-info i {
    margin-right: 8px;
}

/* Featured Memes Grid Layout */
.gallery-section {
    padding: 80px 5%;
    text-align: center;
}

.video-grid {
    display: grid;
    /* This creates a flexible grid that fits 4 cards beautifully */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    justify-items: center;
}

.video-card {
    background: #111;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.15);
    width: 100%;
    max-width: 340px; /* Adjusted for better 4-column fit */
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #00f2ff;
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.25);
}

.video-frame {
    width: 100%;
    height: 550px; /* Standard vertical height */
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-frame iframe, 
.video-frame blockquote {
    width: 100% !important;
    height: 100% !important;
}

.video-info {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #00f2ff;
    text-transform: uppercase;
}

/* Vision Section */
.vision-section {
    padding: 80px 10%;
    text-align: center;
}

.vision-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.vision-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    transition: 0.3s;
}

.vision-card:hover {
    background: rgba(0, 242, 255, 0.05);
    border-color: #00f2ff;
}

.vision-card i {
    font-size: 40px;
    color: #ff00ff;
    margin-bottom: 20px;
}

/* Feed Section */
.feed-section {
    padding: 80px 10%;
    background: rgba(0, 0, 0, 0.2);
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feed-card {
    background: #111;
    padding: 25px;
    border-left: 4px solid #00f2ff;
    border-radius: 10px;
    transition: 0.3s;
}

.feed-card:hover {
    transform: scale(1.02);
}

.feed-tag {
    background: #00f2ff;
    color: #000;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
}

.news-tag {
    background: #ff00ff;
    color: #fff;
}

.feed-card p {
    font-size: 1rem;
    color: #eee;
    margin-bottom: 10px;
}

.feed-card span {
    font-size: 0.8rem;
    color: #666;
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 10%;
    text-align: center;
}

.newsletter-box {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(255, 0, 255, 0.1));
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.input-group input {
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 300px;
}

.join-btn {
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    background: #00f2ff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.join-btn:hover {
    box-shadow: 0 0 20px #00f2ff;
    transform: scale(1.05);
}

.gallery-section {
    padding: 80px 5%;
    text-align: center;
}

.section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center; /* Cards gulo ke center e rakhbe */
}

.video-card {
    background: #111;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.15);
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    transition: 0.4s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: #00f2ff;
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.2);
}

.video-frame {
    width: 100%;
    height: 580px;
    background: #000;
}

/* --- Navbar & Mobile Fix --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Hero Text Responsive Fix */
.glitch-text {
    font-size: clamp(2rem, 8vw, 4.5rem); /* মোবাইলে অটো ছোট হবে */
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    max-width: 90%;
    margin: 0 auto 30px;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .navbar {
        padding: 10px 3%;
    }
    
    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.7rem;
    }

    .social-hero {
        flex-direction: column; /* মোবাইলে বাটন নিচে নিচে আসবে */
        gap: 10px;
        align-items: center;
    }
}

/* --- Front Page (Hero Section) Fix --- */
.hero {
    min-height: 100vh; /* পুরো স্ক্রিন জুড়ে থাকবে (বড় দেখাবে) */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0; /* ওপরে নিচে বাড়তি গ্যাপ */
    text-align: center;
}

/* INSIDE 2008 টেক্সটটিকে আরও বোল্ড ও বড় করার জন্য */
.glitch-text {
    font-size: clamp(2.5rem, 10vw, 5.5rem); 
    margin-bottom: 25px;
}

/* --- Team Title Movement --- */
.team-section {
    padding-top: 100px; /* টাইটেলকে হিরো সেকশন থেকে নিচে নামানোর জন্য */
    padding-bottom: 80px;
}

.section-title {
    margin-top: 50px; /* হিরো সেকশন শেষ হওয়ার পর বাড়তি গ্যাপ */
    margin-bottom: 60px; /* টাইটেল থেকে কার্ডের দূরত্ব */
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    text-align: center;
}