/* ============================================
   Mostbet Bangladesh - Blue Theme CSS
   ============================================ */

:root {
    --bg-dark: #060B1F;
    --bg-section: #0A1030;
    --bg-card: #0F1845;
    --bg-card-hover: #152060;
    --blue-primary: #1A3CA0;
    --blue-secondary: #2258CC;
    --blue-light: #3478F6;
    --accent: #00C8FF;
    --accent-glow: rgba(0, 200, 255, 0.3);
    --gold: #FFC832;
    --gold-dark: #D4A017;
    --white: #FFFFFF;
    --text: #C8D4E8;
    --text-muted: #7A8BA8;
    --border: rgba(50, 80, 160, 0.3);
    --shadow: 0 8px 32px rgba(0, 10, 40, 0.5);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-text { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ---- Particles ---- */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ---- Header ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 11, 31, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(6, 11, 31, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--bg-card);
    color: var(--accent);
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-light), var(--accent));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 200, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(0, 200, 255, 0.1);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 200, 255, 0.6), 0 0 60px rgba(0, 200, 255, 0.2); }
}

/* ---- Burger Menu ---- */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ---- Mobile Menu ---- */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(6, 11, 31, 0.98);
    backdrop-filter: blur(20px);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-link {
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-link:hover { background: var(--bg-card); color: var(--accent); }

.mobile-menu-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.mobile-menu-buttons .btn { flex: 1; }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,11,31,0.6) 0%, rgba(6,11,31,0.9) 80%, var(--bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(0, 200, 255, 0.1);
    border: 1px solid rgba(0, 200, 255, 0.3);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-accent {
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text);
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
    50% { transform: rotate(45deg) translateY(10px); opacity: 1; }
}

/* ---- Info Bar ---- */
.info-bar {
    background: var(--bg-section);
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.info-item:hover { background: var(--bg-card); }

.info-icon { font-size: 28px; }

.info-text strong {
    display: block;
    color: var(--white);
    font-size: 14px;
}

.info-text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---- Sections ---- */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-dark { background: var(--bg-section); }

.section-title {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px;
    font-size: 16px;
}

/* ---- Two Column Layout ---- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.two-col.reverse .col-image { order: -1; }

.col-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.col-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* ---- Tables ---- */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.info-table th {
    background: var(--bg-card);
    color: var(--accent);
    font-weight: 700;
}

.info-table tr:hover { background: rgba(0, 200, 255, 0.03); }

.info-table td:first-child { font-weight: 600; color: var(--white); }

/* ---- Game Tags ---- */
.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(0, 200, 255, 0.1);
    border-color: var(--accent);
}

/* ---- Bonus Cards ---- */
.bonus-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.bonus-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 200, 255, 0.15);
}

.bonus-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
}

.bonus-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- Feature List ---- */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.feature-icon { font-size: 18px; }

/* ---- Steps ---- */
.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.step:hover {
    border-color: var(--accent);
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--white);
    flex-shrink: 0;
}

.step-text { font-size: 15px; }

/* ---- App Buttons ---- */
.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---- Security Badges ---- */
.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.badge-item {
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
}

/* ---- Support Channels ---- */
.support-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.channel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.channel:hover { border-color: var(--accent); transform: translateY(-3px); }

.channel-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.channel-name { display: block; font-weight: 700; color: var(--white); font-size: 15px; }
.channel-info { font-size: 12px; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: rgba(0, 200, 255, 0.3); }

.faq-question {
    width: 100%;
    background: var(--bg-card);
    border: none;
    padding: 18px 20px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-icon {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}

.faq-answer p { font-size: 15px; }

/* ---- CTA Section ---- */
.cta-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.cta-box {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(0, 200, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 100, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 200, 255, 0.1) 0%, transparent 50%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow { to { transform: rotate(360deg); } }

.cta-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    position: relative;
}

.cta-bonus {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    position: relative;
}

.cta-bonus-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-bonus-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 200, 50, 0.4);
}

.cta-box .btn { position: relative; }

/* ---- Footer ---- */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.f-badge {
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ---- Sticky CTA ---- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 12px 16px;
    background: rgba(6, 11, 31, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    display: none;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.sticky-cta.visible { transform: translateY(0); }

/* ---- Scroll Animations ---- */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .two-col.reverse .col-image { order: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav, .header-actions { display: none; }
    .burger { display: flex; }
    .sticky-cta { display: block; }
    
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero { min-height: auto; padding: 100px 0 80px; }
    .hero-title { font-size: 28px; }
    
    .section { padding: 50px 0; }
    
    .bonus-cards { grid-template-columns: 1fr; }
    .support-channels { grid-template-columns: 1fr; }
    
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    
    .cta-box { padding: 40px 20px; }
    .cta-bonus-amount { font-size: 36px; }
    
    body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
    .info-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { gap: 24px; }
    .app-buttons { flex-direction: column; }
    .app-buttons .btn { width: 100%; }
    
    .info-table th,
    .info-table td { padding: 10px 12px; font-size: 13px; }
}
