/* --- Root Variables (IPTV Theme) --- */
:root {
    /* উজ্জ্বল ইলেকট্রিক ব্লু থিম */
    --primary-color: #00BFFF;       /* Deep Sky Blue */
    --primary-gradient: linear-gradient(135deg, #00BFFF, #1E90FF); /* Blue Gradient */
    
    /* উজ্জ্বল নিয়ন গ্রিন */
    --secondary-color: #39FF14;     /* Neon Green */
    
    /* ডার্ক মোড ব্যাকগ্রাউন্ড */
    --background-color: #101010;   /* প্রায় কালো */
    --card-bg: #1E1E1E;            /* ডার্ক গ্রে কার্ড */
    
    --text-color: #E0E0E0;         /* প্রধান টেক্সট */
    --light-text: #B0B0C0;         /* হালকা টেক্সট */
    --accent-color: #FFD400;       /* হলুদ অ্যাকসেন্ট/মূল্য */
    --shadow-color: rgba(0, 0, 0, 0.7); /* গাঢ় শ্যাডো */
    --border-color: #444444;       /* গ্রে বর্ডার */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--background-color);
    color: var(--light-text);
    padding-bottom: 200px;
    overflow-x: hidden; /* মোবাইল ওভারফ্লো ফিক্স */
}

/* Hover Effects */
.buy-btn:hover, .trial-btn:hover, .channel-list-btn:hover,
.method-buttons button:hover, .confirm-btn:hover,
.package-card a:hover, .counters-container button:hover,
.faq-details summary:hover, .accordion:hover, .sub-accordion:hover,
.reviews-container .scroller img:hover, .contact-link:hover, .contact-btn:hover,
.contact-accordion:hover, .video-guide-btn:hover, .download-link:hover,
.app-filter-buttons button:hover,
details:hover,
.video-card:hover, .slider-dot:hover, .slider-nav:hover {
    cursor: pointer;
}

/* --- Animations --- */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* RGB Border Animation */
@keyframes rgb-border-anim {
    0% { border-color: #FF00FF; box-shadow: 0 0 10px #FF00FF, inset 0 0 5px #FF00FF; }
    25% { border-color: var(--secondary-color); box-shadow: 0 0 12px var(--secondary-color), inset 0 0 7px var(--secondary-color); }
    50% { border-color: var(--primary-color); box-shadow: 0 0 10px var(--primary-color), inset 0 0 5px var(--primary-color); }
    75% { border-color: var(--accent-color); box-shadow: 0 0 12px var(--accent-color), inset 0 0 7px var(--accent-color); }
    100% { border-color: #FF00FF; box-shadow: 0 0 10px #FF00FF, inset 0 0 5px #FF00FF; }
}

@keyframes scale-pulse {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); }
}

/* --- Navigation & Banners --- */
.main-nav {
    position: sticky;
    top: 80px; 
    z-index: 1000;
    background-color: var(--card-bg);
    padding: 10px 10px 5px 10px; 
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    overflow-y: hidden;
}

.main-nav a {
    background: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 18px; 
    margin: 3px 5px; 
    border-radius: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s;
    white-space: nowrap;
    font-size: 16px;
    border: 1px solid var(--border-color); 
}
.main-nav a:hover {
    background: var(--primary-color);
    color: #000; 
    transform: translateY(-2px); 
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
    border-color: var(--primary-color);
}
@media (max-width: 600px) {
    .main-nav {
        padding: 10px 5px 5px 5px; 
        top: 85px; 
    }
    .main-nav a {
        padding: 8px 10px;
        margin: 3px 3px; 
        font-size: 12px;
        border-radius: 15px;
    }
}

.package-peyment, .package-banner, .package-cus, .contact-banner,
.video-gallery-banner { 
    background: var(--primary-gradient);
    color: #000; 
    text-align: center;
    padding: 15px;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}
.welcome-banner {
    background: linear-gradient(90deg, var(--background-color), #222); 
    color: var(--text-color);
    text-align: center;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    position: sticky;
    top: 0; 
    z-index: 1001; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    border-bottom: 2px solid var(--primary-color); 
}

#live-datetime-container {
    color: var(--accent-color); 
    font-weight: bold;
    font-size: 16px; 
    margin-top: 5px; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

@media (max-width: 600px) {
    #live-datetime-container {
        font-size: 14px; 
    }
}

/* Floating buttons */
.centered-floating-buttons {
    position: fixed;
    top: 70%; 
    right: 20px;
    transform: translateY(-60%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.counter-item {
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 10px;
    border-radius: 0px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    width: 60px; 
    height: 80px;
    text-align: center;
    border: 1px solid var(--border-color); 
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.counter-item .number {
    font-size: 0.8em;
    font-weight: bold;
}
.counter-item .label {
    font-size: 0.6em;
    color: var(--light-text);
    word-wrap: break-word;
}

/* WhatsApp Chat Widget */
.whatsapp-chat-button {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.whatsapp-chat-button:hover {
    transform: scale(1.1);
}
.whatsapp-chat-box {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    width: 300px;
    max-width: calc(100vw - 40px);
    padding: 15px;
    display: none;
    position: fixed; 
    right: 90px; 
    bottom: 20px;
    animation: fadeIn 0.3s ease-out;
    z-index: 9999;
}
.whatsapp-chat-box h4 {
    color: #1A1A2E;
    margin-bottom: 10px;
    text-align: center;
}
.whatsapp-chat-box textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    resize: none;
    min-height: 80px;
}
.whatsapp-chat-box button {
    width: 100%;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}
.whatsapp-chat-box button:hover {
    background-color: #128C7E;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .centered-floating-buttons { right: 10px; }
    .whatsapp-chat-box { right: 80px; }
}

/* Slider Notice */
.slider-container {
    width: 95%; 
    max-width: 1400px; 
    height: 500px; 
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 3px solid transparent; 
    animation: rgb-border-anim 5s linear infinite alternate; 
}
.slider-item {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: var(--card-bg);
    pointer-events: none; 
}
.slider-item.active { opacity: 1; z-index: 2; pointer-events: auto; }
.slider-item.image-slide {
    background-size: contain; background-position: center; background-repeat: no-repeat; 
}
.slider-item.text-slide {
    padding: 20px 25px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: var(--text-color); overflow: hidden; 
}
.slider-item.text-slide h3 {
    color: var(--accent-color); font-size: 1.5em; margin: 0 0 10px 0; flex-shrink: 0; 
}
.text-scroll-wrapper {
    height: 100%; width: 100%; overflow-y: auto; scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; 
    mask-image: linear-gradient(transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(transparent 0%, black 15%, black 85%, transparent 100%);
    scrollbar-width: none; -ms-overflow-style: none;  
}
.text-scroll-wrapper::-webkit-scrollbar { display: none; }
.slider-item.text-slide p {
    font-size: 1em; line-height: 1.6; margin: 0; padding: 0 5px; transform: translateY(0);
}
.slider-dots {
    position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
    width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2); cursor: pointer; transition: background-color 0.3s ease;
}
.slider-dot.active { background-color: var(--accent-color); }
.slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background-color: rgba(0, 0, 0, 0.2); color: white; border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%; width: 40px; height: 40px; font-size: 18px; transition: background-color 0.3s ease;
}
.slider-nav:hover { background-color: rgba(0, 0, 0, 0.5); }
.slider-nav.prev { left: 15px; }
.slider-nav.next { right: 15px; }
@media (max-width: 600px) {
    .slider-container { height: 350px; }
    .slider-item.text-slide h3 { font-size: 1.2em; }
    .slider-item.text-slide p { font-size: 0.9em; }
    .slider-dot { width: 10px; height: 10px; }
    .slider-nav { width: 35px; height: 35px; font-size: 14px; }
}

/* PACKAGE GRID */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    max-width: 1400px; margin: 20px auto; gap: 15px; padding: 0 10px; 
}
#card-how-it-works { display: none; }
.package-card {
    background: var(--card-bg); border-radius: 12px; padding: 4px;
    text-align: center; transition: 0.3s ease-in-out; border: 2px solid transparent; 
    animation: rgb-border-anim 5s linear infinite alternate;
    box-shadow: 0 5px 15px var(--shadow-color); width: 100% !important; margin: 0 !important; 
}
.package-card:hover {
    transform: translateY(-5px); animation-duration: 2s; 
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5), 0 0 30px rgba(30, 144, 255, 0.3);
    border-color: var(--primary-color);
}

.package-card h3 {
    margin-bottom: 2px; font-size: 18px; padding: 2px 6px;
    background: var(--primary-gradient); color: #000; border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); display: inline-block; 
    border: 2px solid transparent; animation: rgb-border-anim 5s linear infinite alternate; 
    word-break: break-word; overflow-wrap: break-word; font-weight: 700; 
}
.package-card ul {
    list-style: none; text-align: left; margin-bottom: 2px; padding: 0 4px; width: 100%; 
}
.package-card ul li {
    margin: 1px 0; padding: 1px 3px; font-weight: bold; border: 1px solid var(--border-color); 
    border-radius: 5px; line-height: 1.4; display: flex; align-items: center;
    border-bottom: 1px solid var(--border-color); color: var(--text-color); 
    word-break: break-word; overflow-wrap: break-word;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    font-size: 13px; 
}
.package-card ul li i {
    margin-right: 5px; font-size: 13px; color: var(--secondary-color); flex-shrink: 0;
}
.package-card ul li:last-child {
    border-bottom: 1px solid var(--border-color); padding-bottom: 1px; 
}
.package-card ul li:hover {
    background-color: rgba(255, 255, 255, 0.05); border-color: var(--primary-color); transform: translateX(3px);
}
.price-container {
    margin: 2px auto 2px; padding: 1px 10px; background: var(--background-color); 
    border-radius: 10px; display: block; width: fit-content; 
    border: 3px solid transparent; animation: rgb-border-anim 5s linear infinite alternate;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.price {
    font-size: 20px; font-weight: 700; color: var(--accent-color); padding: 0;
    text-shadow: 0 0 10px var(--accent-color), 0 0 15px rgba(255, 212, 0, 0.7);
}

/* Button Group */
.button-group {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 4px;
    margin-top: 2px; width: 100%; padding: 0 4px 4px 4px; 
}
.buy-btn, .trial-btn, .channel-list-btn, .contact-btn {
    padding: 4px 10px; border-radius: 20px; font-size: 12px; text-decoration: none;
    font-weight: bold; transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); flex-basis: 48%; text-align: center; 
    border: 2px solid transparent; animation: rgb-border-anim 5s linear infinite alternate;
}
.buy-btn {
    background: linear-gradient(135deg, var(--secondary-color), #00C853); color: #000; 
    animation: rgb-border-anim 5s linear infinite alternate, scale-pulse 1.5s infinite ease-in-out;
}
.trial-btn {
    background: var(--primary-gradient); color: #000; border: 2px solid var(--background-color); 
}
.channel-list-btn { 
    background: var(--accent-color); color: var(--background-color); 
}
.buy-btn:hover, .trial-btn:hover, .channel-list-btn:hover {
    transform: translateY(-2px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6); filter: brightness(1.2); 
}

/* Payment Box */
.active-method {
    border: 3px solid var(--accent-color) !important;
    background-color: #FFD400 !important; color: var(--background-color) !important;
    transform: translateY(-5px) !important;
}
.payment-box {
    background: var(--card-bg); max-width: 600px; margin: 15px auto; padding: 15px;
    border-radius: 15px; box-shadow: 0 10px 20px var(--shadow-color);
    border: 3px solid transparent; animation: rgb-border-anim 5s linear infinite alternate; 
}
.method-buttons button {
    background-color: var(--background-color); color: var(--text-color); border: 1px solid var(--border-color); 
    padding: 12px 20px; border-radius: 15px; cursor: pointer; font-weight: 600; flex: 1 1 45%;
    min-width: 100px; transition: 0.3s; box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.number-box {
    display: none; margin: 20px 0; padding: 15px; background: var(--background-color);
    border-radius: 15px; font-size: 16px; font-weight: bold; color: var(--accent-color);
    display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
    border: 1px dashed var(--accent-color);
}
.copy-btn {
    background: var(--primary-color); color: #000; border: none; padding: 8px 15px;
    border-radius: 10px; cursor: pointer; transition: 0.3s;
}
.trx-container input, select, input#amount, input#renewInfo {
    width: 100%; padding: 15px; margin: 10px 0; border-radius: 15px;
    border: 1px solid var(--border-color); font-size: 16px;
    background: var(--background-color); color: var(--text-color);
}
.confirm-btn {
    width: 100%; background: var(--primary-gradient); color: #000; border: none;
    padding: 15px; border-radius: 15px; font-size: 18px; font-weight: bold;
    cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
.confirm-btn:hover {
    filter: brightness(1.2); box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
}

/* How to Buy Guide */
.how-to-buy-guide {
    max-width: 700px; margin: 30px auto; padding: 25px; background: var(--card-bg);
    border-radius: 15px; text-align: center; box-shadow: 0 10px 20px var(--shadow-color);
    border: 3px solid transparent; animation: rgb-border-anim 5s linear infinite alternate; 
}
.how-to-buy-guide h2 {
    color: var(--accent-color); margin-bottom: 25px; font-size: 24px;
}
.how-to-buy-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step-card {
    background: var(--background-color); padding: 25px 20px; border-radius: 10px;
    border: 2px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7); border-color: var(--primary-color);
}
.step-icon {
    font-size: 3em; color: var(--secondary-color); margin-bottom: 15px;
}
.step-card h3 {
    color: var(--text-color); font-size: 1.2em; margin-bottom: 10px;
}
.step-card p {
    color: var(--light-text); font-size: 0.9em; line-height: 1.5;
}
@media (max-width: 600px) {
    .how-to-buy-grid { grid-template-columns: 1fr; }
    .how-to-buy-guide { margin: 10px; padding: 20px; }
    .how-to-buy-guide h2 { font-size: 20px; }
}

.youtube-banner-section {
    max-width: 700px; margin: 30px auto; padding: 30px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    border-radius: 15px; text-align: center; box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    color: white; border: 3px solid #FFCACA;
}
.youtube-btn {
    display: inline-block; background-color: white; color: #FF0000;
    padding: 12px 30px; border-radius: 30px; text-decoration: none;
    font-weight: bold; font-size: 18px; transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
@media(max-width: 600px) {
    .youtube-banner-section { margin: 10px; padding: 20px; }
    .youtube-banner-section h2 { font-size: 20px; }
    .youtube-btn { padding: 10px 20px; font-size: 16px; }
}
.reviews-container {
    max-width: 100%; margin: 20px auto; background: var(--card-bg);
    padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px var(--shadow-color);
    border: 3px solid transparent; animation: rgb-border-anim 5s linear infinite alternate; 
    position: relative; overflow: hidden;
}
.faq, .contact-section { max-width: 700px; margin: 20px auto; }

details, #faq-container details { 
    background: var(--card-bg); padding: 20px; margin: 15px 0; border-radius: 15px;
    cursor: pointer; box-shadow: 0 5px 15px var(--shadow-color);
    border: 3px solid transparent; animation: rgb-border-anim 5s linear infinite alternate; 
}
details summary { font-weight: bold; color: var(--text-color); }
details p { margin-top: 10px; line-height: 1.6; color: var(--light-text); }

.support {
    max-width: 700px; margin: 20px auto; background: var(--card-bg); padding: 25px;
    border-radius: 20px; text-align: center; box-shadow: 0 5px 15px var(--shadow-color);
    font-size: clamp(14px, 2.5vw, 18px); line-height: 1.6;
    border: 3px solid transparent; animation: rgb-border-anim 5s linear infinite alternate; 
}
.news-ticker {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(90deg, #FFD400, #F0C400); color: #1A1A2E;
    font-size: 18px; padding: 12px 0; overflow: hidden; font-weight: bold;
    letter-spacing: 1.5px; z-index: 9998; border-top: 3px solid var(--primary-color); 
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}
.news-ticker span {
    display: inline-block; white-space: nowrap; padding-left: 100%;
    animation-name: ticker; animation-timing-function: linear;
    animation-iteration-count: infinite; animation-duration: 50s; 
}
@media(max-width: 600px) {
    .payment-box, .package-grid, .faq, .support, .reviews-container { margin: 10px; padding: 15px; }
    .method-buttons button { flex: 1 1 45%; font-size: 14px; padding: 8px; }
    .trx-container input, select, input#amount, input#renewInfo { font-size: 14px; padding: 10px; }
    .confirm-btn { font-size: 14px; padding: 12px; }
    .news-ticker { font-size: 12px; padding: 10px 0; }
    .package-card h3 { font-size: 16px; }
    .package-card ul li { font-size: 12px; padding: 1px 3px; }
    .buy-btn, .trial-btn, .channel-list-btn, .contact-btn { font-size: 12px; padding: 4px 10px; flex-basis: 100%; }
    .package-grid { grid-template-columns: 1fr; padding: 0 10px; }
}

/* Review Scroller */
.scroller-wrapper { position: relative; display: flex; align-items: center; padding: 10px 0; }
.scroller {
    display: flex; overflow-x: auto; gap: 15px; padding: 10px; width: 100%;
    scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller img {
    height: 180px; width: auto; border-radius: 10px; box-shadow: 0 4px 10px var(--shadow-color);
    transition: transform 0.3s ease; border: 1px solid var(--border-color); 
}
.scroller img:hover { transform: scale(1.05); }
.scroll-button {
    background: var(--primary-color); color: #000; border: none; border-radius: 50%;
    width: 40px; height: 40px; font-size: 20px; font-weight: bold; cursor: pointer;
    z-index: 10; transition: background 0.3s, filter 0.3s; flex-shrink: 0;
}
.scroll-button:hover { background: var(--primary-color); filter: brightness(1.2); }
.left-btn { margin-right: 5px; }
.right-btn { margin-left: 5px; }

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.payment-instruction {
    display: none; background: var(--background-color);
    border: 1px dashed var(--accent-color); padding: 12px;
    margin: 15px 0; color: var(--accent-color); font-weight: bold; text-align: center;
}

/* Support Section Buttons */
.contact-accordion, .sub-accordion {
    background-color: var(--background-color); color: var(--text-color);
    padding: 12px 20px; border-radius: 15px; cursor: pointer;
    font-weight: 600; width: 100%; text-align: left; margin-top: 10px;
    transition: background-color 0.3s, color 0.3s; font-size: 16px;
    border: 2px solid transparent; animation: rgb-border-anim 5s linear infinite alternate;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
.contact-accordion:hover, .sub-accordion:hover {
    background-color: var(--primary-color); color: #000; 
}
.panel, .sub-panel { padding: 0 10px 0 30px; overflow: hidden; display: none; }
.sub-panel ul { list-style: none; padding-top: 5px; }
.sub-panel ul li { padding: 0; margin: 0; }

.method-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.method-buttons button { flex: 1 1 45%; }
#btn-bkash { background-color: #E2136E; color: white; }
#btn-nagad { background-color: #F26522; color: white; }
#btn-rocket { background-color: #663399; color: white; }
#btn-upay { background-color: #FFC107; color: var(--background-color); }
.method-buttons button:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
.renew-input { display: none; }

.video-guide-btn {
    display: block; width: 100%; background-color: #FF0000; color: white;
    padding: 12px 20px; border-radius: 15px; text-decoration: none; font-weight: bold;
    font-size: 16px; text-align: center; margin: 20px 0 10px 0; transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.video-guide-btn i { margin-right: 8px; }
.video-guide-btn:hover {
    background-color: #c40000; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.site-footer {
    text-align: center; padding: 20px 15px; background-color: var(--card-bg);
    color: var(--light-text); font-size: 12px; margin-top: 30px;
    border-top: 2px solid var(--primary-color); line-height: 1.6; 
}
.site-footer p { margin: 5px 0; }

#support-links-container > a.contact-link, 
.sub-panel ul li a.contact-link {
    display: block; background: var(--background-color); color: var(--secondary-color); 
    padding: 10px 15px; margin: 8px 0; border-radius: 10px; text-decoration: none;
    font-weight: bold; border: 1px solid var(--border-color);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 5px rgba(0,0,0,0.3); text-align: center; 
}
#support-links-container > a.contact-link:hover,
.sub-panel ul li a.contact-link:hover {
    background-color: var(--primary-color); color: #000; 
    text-decoration: none; transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}
.support > a.contact-link i { margin-right: 8px; }

.faq-content a.download-link,
.app-item-card .app-links a.download-link {
    display: block; background: var(--card-bg); color: var(--secondary-color); 
    padding: 12px 15px; margin: 8px 0; border-radius: 10px; text-decoration: none;
    font-weight: bold; border: 1px solid var(--border-color);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.5); font-size: 14px; text-align: left; 
}
.faq-content a.download-link:hover,
.app-item-card .app-links a.download-link:hover {
    background-color: var(--primary-color); color: #000; border-color: var(--primary-color); 
    transform: translateY(-2px); box-shadow: 0 5px 10px rgba(0, 191, 255, 0.5);
}
.faq-content a.download-link i,
.app-item-card .app-links a.download-link i {
    margin-right: 10px; color: var(--secondary-color); 
}

.supported-devices-bar {
    background: var(--card-bg); border-radius: 10px; padding: 20px;
    margin-bottom: 20px; border: 2px solid var(--border-color);
}
.supported-devices-bar h4 {
    color: var(--secondary-color); text-align: center; margin: 0 0 20px 0; font-size: 1.3em;
}
.supported-devices-bar h4 i { margin-right: 8px; }
.device-icons-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 15px;
}
.device-icon-item {
    display: flex; flex-direction: column; align-items: center; color: var(--light-text);
    background: var(--background-color); padding: 15px; border-radius: 8px; width: 100px;
    transition: color 0.3s ease, transform 0.3s ease; border: 1px solid var(--border-color); 
}
.device-icon-item:hover { color: var(--accent-color); transform: translateY(-3px); }
.device-icon-item i { font-size: 2.5em; margin-bottom: 8px; }
.device-icon-item span { font-size: 0.9em; font-weight: 600; }

.app-filter-buttons {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin: 20px auto; padding: 0 10px; max-width: 700px;
}
.app-filter-buttons button {
    background-color: var(--background-color); color: var(--text-color); border: 2px solid var(--border-color);
    padding: 10px 15px; border-radius: 20px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px;
}
.app-filter-buttons button:hover {
    background-color: var(--primary-color); color: #000; border-color: var(--primary-color);
}
.app-filter-buttons button.active {
    background-color: var(--accent-color); color: var(--background-color);
    border-color: var(--accent-color); box-shadow: 0 0 15px rgba(255, 212, 0, 0.5);
}
#dynamic-app-list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px; max-width: 700px; margin: 20px auto; padding: 0 10px;
}
.app-item-card {
    background: var(--card-bg); border-radius: 10px; border: 2px solid var(--border-color);
    padding: 15px; transition: all 0.3s ease; display: flex; flex-direction: column; gap: 10px;
}
.app-item-card:hover {
    transform: translateY(-3px); border-color: var(--primary-color); box-shadow: 0 5px 15px var(--shadow-color);
}
.app-item-card h5 {
    font-size: 18px; color: var(--secondary-color); margin: 0; text-align: center;
    border-bottom: 1px solid var(--border-color); padding-bottom: 10px;
}
.app-item-card .app-links { display: flex; flex-direction: column; gap: 8px; }
.no-app-message {
    color: var(--light-text); text-align: center; padding: 20px; font-size: 16px; grid-column: 1 / -1; 
}

.video-gallery-section {
    max-width: 1400px; margin: 20px auto; padding: 0 10px;
}
.video-gallery-section h2 {
    color: var(--text-color); text-align: center; font-size: 22px; margin-bottom: 20px;
}
.video-carousel {
    display: flex; overflow-x: auto; gap: 15px; padding: 10px; width: 100%;
    scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; 
}
.video-carousel::-webkit-scrollbar { display: none; }
.video-card {
    background: var(--card-bg); border-radius: 10px; border: 2px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-color); overflow: hidden; transition: all 0.3s ease;
    flex-shrink: 0; width: 300px; 
}
.video-card:hover {
    transform: translateY(-5px); border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.5); 
}
.video-thumbnail {
    height: 180px; position: relative; background-size: cover; background-position: center;
}
.play-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3); display: flex; justify-content: center;
    align-items: center; opacity: 1; transition: opacity 0.3s ease;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-overlay i {
    font-size: 60px; color: rgba(255, 255, 255, 0.8); transition: transform 0.3s ease, color 0.3s ease;
}
.video-card:hover .play-overlay i { transform: scale(1.1); color: #fff; }
.video-card-content { padding: 15px; }
.video-card-content h4 {
    color: var(--secondary-color); font-size: 1.1em; margin-bottom: 8px;
}
.video-card-content p {
    color: var(--light-text); font-size: 0.9em; line-height: 1.5;
}

.video-modal {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0;
    width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
}
.video-modal-content {
    position: relative; margin: 5% auto; padding: 0; width: 90%; max-width: 800px;
    background-color: #000; box-shadow: 0 8px 30px var(--shadow-color);
}
.video-modal-content iframe {
    width: 100%; display: block; aspect-ratio: 16 / 9; height: auto;
}
.video-close-btn { 
    color: #fff; position: absolute; top: -30px; right: 0; font-size: 35px;
    font-weight: bold; transition: 0.3s;
}
.video-close-btn:hover, .video-close-btn:focus {
    color: var(--accent-color); text-decoration: none; cursor: pointer;
}

/* 🌟 ওয়েলকাম পপ-আপ ডিজাইন (FIXED) 🌟 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* গাঢ় কালো */
    backdrop-filter: blur(8px); 
    z-index: 99999; 
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-box {
    background: #1A1A2E; /* ডিপ নেভি ব্লু ব্যাকগ্রাউন্ড */
    width: 90%;
    max-width: 400px;
    padding: 0;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5); 
    animation: popupZoom 0.4s ease-out forwards;
}

@keyframes popupZoom {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    z-index: 100;
    font-weight: bold;
    line-height: 1;
}
.popup-close-btn:hover { 
    color: #ff0000; 
}

.popup-header {
    background: linear-gradient(135deg, #00BFFF, #1E90FF); 
    color: #fff;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
}

.popup-body {
    padding: 20px;
    color: #E0E0E0;
    background: #222;
}

.popup-body h3 {
    color: #FFD400; 
    font-size: 1.4em;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.popup-body p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #ccc;
}

.popup-footer {
    padding: 0 20px 25px 20px;
    background: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.popup-action-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #FF0000, #D50000); 
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
    transition: transform 0.2s;
}

.popup-action-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #D50000, #FF0000);
}
