@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #FFC107;
    --primary-hover: #FFD54F;
    --secondary: #FF9800;
    --secondary-hover: #FFA726;
    --accent: #FF5722;
    --accent-hover: #FF7043;
    --background: #121212;
    --foreground: #ffffff;
    --card-bg: rgba(30, 30, 30, 0.7);
    --border-color: rgba(255, 193, 7, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --radius: 0.5rem;
    --shadow: 0 4px 15px var(--shadow-color);
    
    /* Category Colors */
    --bangla-color: #4CAF50;
    --dual-audio-color: #2196F3;
    --dubbed-color: #9C27B0;
    --adult-color: #F44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Patterns */
.background-patterns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.pattern-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiMyMTIxMjEiIGZpbGwtb3BhY2l0eT0iMC40Ij48cGF0aCBkPSJNMzYgMzRjMC0yLjIwOSAxLjc5MS00IDQtNHM0IDEuNzkxIDQgNC0xLjc5MSA0LTQgNC00LTEuNzkxLTQtNHptMC0xN2MwLTIuMjA5IDEuNzkxLTQgNC00czQgMS43OTEgNCA0LTEuNzkxIDQtNCA0LTQtMS43OTEtNC00em0tMTcgMGMwLTIuMjA5IDEuNzkxLTQgNC00czQgMS43OTEgNCA0LTEuNzkxIDQtNCA0LTQtMS43OTEtNC00em0wIDE3YzAtMi4yMDkgMS43OTEtNCA0LTRzNCAxLjc5MSA0IDQtMS43OTEgNC00IDQtNC0xLjc5MS00LTR6Ii8+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.05;
}

.gradient-overlay-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #192339 0%, #253155 100%);
}

.gradient-overlay-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(251, 191, 36, 0.1), rgba(217, 119, 6, 0.1));
}

.gradient-overlay-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.15), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(217, 119, 6, 0.15), transparent 50%);
}

.border-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(251, 191, 36, 0.5), transparent);
}

.border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(251, 191, 36, 0.5), transparent);
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    text-align: center;
}

.site-name {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #FFD54F, #FFC107, #FF9800);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
    }
}

.search-container {
    width: 100%;
    max-width: 600px;
}

.search-container form {
    display: flex;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: rgba(30, 30, 30, 0.8);
    background: linear-gradient(to right, rgba(30, 30, 30, 0.8), rgba(50, 50, 50, 0.8));
    color: var(--foreground);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {
    color: rgba(255, 193, 7, 0.5);
}

.search-container input:focus {
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.5);
    background-color: rgba(40, 40, 40, 0.9);
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border: none;
    border-radius: 30px;
    color: var(--background);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-container button:hover {
    background: linear-gradient(to right, var(--primary-hover), var(--secondary-hover));
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.search-container button i {
    font-size: 1rem;
}

/* Main Content */
main {
    padding: 2rem 0;
}

/* Button Styles */
.site-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    color: black;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gradient-btn {
    background: linear-gradient(to right, #FFC107, #FF9800);
}

.gradient-btn:hover {
    background: linear-gradient(to right, #FFD54F, #FFA726);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.gradient-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.gradient-btn:hover::before {
    transform: scale(1);
    opacity: 1;
}

.info-btn {
    background: linear-gradient(to right, #FF5722, #FF9800);
}

.info-btn:hover {
    background: linear-gradient(to right, #FF7043, #FFA726);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 87, 34, 0.3);
}

.btn-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 3px;
    opacity: 0.9;
}

/* Categories Section */
.categories-section {
    margin: 4rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-image: url('flixbd.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    z-index: -1;
}

.categories-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: transparent;
    background: linear-gradient(to right, #FFD54F, #FFC107);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: bold;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

.categories-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    perspective: 1000px;
}

.category-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(to right, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.category-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.category-header {
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: -1;
}

.category-card:nth-child(1) .category-header {
    background: linear-gradient(135deg, var(--bangla-color), darken(var(--bangla-color), 15%));
}

.category-card:nth-child(2) .category-header {
    background: linear-gradient(135deg, var(--dual-audio-color), darken(var(--dual-audio-color), 15%));
}

.category-card:nth-child(3) .category-header {
    background: linear-gradient(135deg, var(--dubbed-color), darken(var(--dubbed-color), 15%));
}

.category-card:nth-child(4) .category-header {
    background: linear-gradient(135deg, var(--adult-color), darken(var(--adult-color), 15%));
}

.category-header h3 {
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-header h3 i {
    font-size: 1.8rem;
    opacity: 0.9;
}

.category-content {
    padding: 25px 20px;
    text-align: center;
}

.category-content p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    min-height: 60px;
}

.category-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    color: white;
    width: 80%;
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.category-btn:hover::before {
    transform: scale(1);
    opacity: 1;
}

.category-card:nth-child(1) .category-btn:hover {
    background: var(--bangla-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.category-card:nth-child(2) .category-btn:hover {
    background: var(--dual-audio-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3);
}

.category-card:nth-child(3) .category-btn:hover {
    background: var(--dubbed-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(156, 39, 176, 0.3);
}

.adult-btn:hover {
    background: var(--adult-color) !important;
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 10px 20px rgba(244, 67, 54, 0.3) !important;
}

/* Site Notice */
.important-notice {
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.notice-box {
    background: linear-gradient(to right, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.8));
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.notice-box h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
    justify-content: center;
    font-size: 1.8rem;
}

.notice-box p {
    text-align: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.fun-notice {
    padding: 15px;
    background: linear-gradient(to right, rgba(255, 87, 34, 0.1), rgba(255, 152, 0, 0.1));
    border-radius: 10px;
    border: 1px solid rgba(255, 87, 34, 0.2);
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
    position: relative;
}

.warning-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.block-text {
    display: block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Community Section */
.community {
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.join-group {
    background: linear-gradient(to right, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.8));
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.join-group h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.join-group p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: transparent;
    background: linear-gradient(to right, #FFD54F, #FFC107);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: bold;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.faq-item {
    background: linear-gradient(to right, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.8));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.faq-question {
    padding: 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Remove the + icon for FAQ questions */
.faq-question::after {
    display: none;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

/* Always show FAQ answers */
.faq-answer.always-show {
    max-height: none;
    padding: 20px;
    overflow: visible;
}

/* Remove active class styles since we're always showing answers */
.faq-item.active .faq-answer {
    padding: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .categories-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-name {
        font-size: 3rem;
    }
    
    .site-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .categories-container {
        grid-template-columns: 1fr;
    }
    
    .site-name {
        font-size: 2.5rem;
    }
    
    .search-container input {
        padding: 12px 15px;
    }
}

/* Trending Keywords */
.trending-keywords {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trending-label {
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
}

.trending-label i {
    animation: flame 1.5s infinite alternate;
}

@keyframes flame {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 1; }
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.keyword-pill {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.9rem;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(var(--delay) * 0.1s);
}

.keyword-pill:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.4), rgba(255, 152, 0, 0.4));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improve Telegram Button */
.telegram-btn {
    background: linear-gradient(to right, #0088cc, #005f8c);
    max-width: 280px;
    margin: 1rem auto;
    position: relative;
    color: white;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.3);
    animation: pulse 2s infinite;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.telegram-btn:hover {
    background: linear-gradient(to right, #00a2ff, #0088cc);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 136, 204, 0.3);
    animation: none;
}

.telegram-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), transparent, rgba(255, 193, 7, 0.3));
    opacity: 0;
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.telegram-btn:hover::before {
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    20% {
        left: 100%;
        opacity: 0.6;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
} 