/* ============================================================
   MXQ V2 - SUPER-APP ULTRA-PREMIUM HOMEPAGE DESIGN
   3D Holographic Fintech Super-App Interface
   ============================================================ */

/* ── Google Translate Hide ── */

#goog-gt-tt,
.goog-te-banner-frame,
.goog-te-menu-value,
.goog-logo-link,
.goog-te-gadget,
.goog-te-gadget span,
.goog-te-gadget img,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-ORHb,
.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}

body.premium-theme-active,
.premium-theme-active body,
body {
    font-family: var(--font-bengali) !important;
    background-color: var(--bg-ice-pearl) !important;
    color: var(--text-primary) !important;
    padding-bottom: 100px;
    min-height: 100vh;
}

/* ── Top Header Bar ── */

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-3d-highlight);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.logo-text {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: var(--gradient-holographic-indigo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-select {
    background: #ffffff;
    border: 1px solid var(--border-3d);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 12px;
    color: var(--holo-indigo);
    font-weight: 800;
    cursor: pointer;
    outline: none;
    box-shadow: var(--shadow-3d-sm);
    transition: var(--transition-base);
}

.notif-bell {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-3d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--holo-rose);
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-3d-sm);
    position: relative;
}

.notif-bell::after {
    content: '';
    position: absolute;
    top: 9px;
    right: 9px;
    width: 8px;
    height: 8px;
    background: var(--holo-rose);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--holo-rose);
}

/* ── Hero Fintech Wallet Card ── */

.hero-fintech-card {
    background: var(--gradient-holographic-indigo);
    margin: 4px 16px 16px;
    border-radius: var(--radius-xl);
    padding: 22px 20px;
    color: #ffffff;
    box-shadow: 0 20px 45px -10px rgba(79, 70, 229, 0.35);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-fintech-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-card-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.hero-user-name {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-user-sub {
    font-size: 11.5px;
    opacity: 0.85;
    font-weight: 600;
}

.hero-vip-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-balance-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-balance-label {
    font-size: 12px;
    opacity: 0.85;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-balance-num {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.hero-action-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-bounce);
}

.hero-action-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ── Banners Carousel ── */

.banners-wrap {
    padding: 4px 16px 14px;
    overflow: hidden;
}

.banners-carousel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-3d-lg);
    border: 1px solid var(--border-3d-highlight);
    background: transparent;
}

.banner-item {
    min-width: 100%;
    width: 100%;
    height: 190px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border-radius: var(--radius-lg);
}

/* ── Holographic Notice Ticker Bar ── */

.notice-bar {
    background: #ffffff;
    border: 1px solid var(--border-3d);
    color: var(--text-primary);
    padding: 10px 14px;
    margin: 4px 16px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-3d-sm);
}

.notice-badge {
    background: var(--gradient-holographic-sunset);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.notice-text-wrap {
    flex: 1;
    overflow: hidden;
}

.notice-text {
    animation: scroll-marquee var(--marquee-duration, 25s) linear infinite;
    display: inline-block;
    white-space: nowrap;
    font-size: 13px;
    color: var(--text-secondary);
}

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

/* ── Section Title ── */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 18px 10px;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--gradient-holographic-indigo);
    border-radius: 4px;
}

/* ── 4-Column Super-App Service Grid ── */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 16px 16px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-bounce);
}

.service-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    box-shadow: var(--shadow-3d-sm);
    transition: var(--transition-bounce);
    position: relative;
}

.service-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.45) 0%, transparent 60%);
}

.service-item:hover .service-circle {
    transform: translateY(-4px) scale(1.08);
}

.service-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}

/* ── Video Section Wrap ── */

.video-wrap {
    margin: 0 16px 14px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-3d-lg);
    border: 1px solid var(--border-3d-highlight);
    background: #000;
}

/* ── Announcement Modal Overlay ── */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border: 1px solid var(--border-3d-highlight);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 420px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 70px rgba(79, 70, 229, 0.3);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-holographic-indigo);
    color: #ffffff;
    padding: 16px 48px 16px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.modal-close-x {
    position: absolute;
    right: 14px;
    top: 14px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-3d);
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.modal-close-btn {
    flex: 1;
    background: var(--gradient-holographic-indigo);
    color: #ffffff;
    font-weight: 800;
    border-radius: var(--radius-full);
    padding: 12px;
    font-size: 13.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: var(--shadow-3d-glow-indigo);
}