/* ============================================================
   WELCOME PAGE — CSS
   welcome.blade.php থেকে extract করা হয়েছে
   ============================================================ */

/* ── 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 {
    display: none !important;
    visibility: hidden !important;
}

.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

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

/* ── Root Variables ── */
:root {
    --bg-cyan: #00b4d8;
    --bg-cyan-dark: #0077b6;
    --bg-cyan-light: #e6f7fa;
    --bg-white-light: #f5fafd;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

html {
    height: 100%;
}

body.premium-theme-active,
.premium-theme-active body,
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-white-light) !important;
    background-image: none !important;
    color: var(--text-dark) !important;
    padding-bottom: 85px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body.premium-theme-active::before,
body::before {
    display: none !important;
}

body>* {
    position: relative;
    z-index: 1;
}

/* ── Bottom Sheet ── */
.bs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.bs-overlay.open {
    display: block;
}

.bs-sheet {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 24px 24px 0 0;
    z-index: 9999;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.bs-sheet.open {
    display: block;
}

.bs-option {
    padding: 16px 20px;
    font-size: 16px;
    color: #000;
    text-align: center;
    cursor: pointer;
    border-bottom: .5px solid #eee;
}

.bs-option:hover {
    background: #f9f9f9;
}

.bs-option.active {
    font-weight: 600;
    color: var(--bg-cyan-dark);
}

.bs-close {
    padding: 14px 20px;
    font-size: 15px;
    color: #666;
    text-align: center;
    cursor: pointer;
}

/* ── Header ── */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 12px;
    gap: 12px;
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    background-image: url('/logo.png');
    border: 2px solid rgba(0, 180, 216, 0.2);
}

.logo-text {
    font-size: 16px;
    color: var(--bg-cyan-dark) !important;
    font-weight: 700;
}

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

.lang-select {
    background: #ffffff;
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11px;
    color: var(--bg-cyan-dark);
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
}

.notif-bell {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 180, 216, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-cyan-dark);
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ── Banners Carousel ── */
.banners-wrap {
    padding: 12px 14px;
    overflow: hidden;
}

.banners-carousel {
    display: flex;
    overflow: hidden;
    gap: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.banners-carousel::-webkit-scrollbar {
    display: none;
}

.banner-item {
    min-width: 100%;
    height: 140px;
    border-radius: 13px;
    overflow: hidden;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border: none;
    transition: transform .3s ease;
}

/* ── Notice Bar ── */
.notice-bar {
    background: linear-gradient(90deg, var(--bg-cyan-dark) 0%, var(--bg-cyan) 100%);
    color: #fff;
    padding: 12px 14px;
    margin: 8px 14px 0;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 45px;
    border: none;
}

.notice-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.notice-text-wrap {
    flex: 1;
    overflow: hidden;
    max-width: calc(100vw - 90px);
}

.notice-text {
    animation: scroll-marquee 12s linear infinite;
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: .3px;
    font-weight: 400;
}

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

    100% {
        transform: translateX(-100%);
    }
}

/* ── Action Row ── */
.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 14px 12px;
}

.action-card {
    background: linear-gradient(135deg, var(--bg-cyan) 0%, var(--bg-cyan-dark) 100%);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2);
    border: none;
    transition: transform .15s, box-shadow .15s;
    min-height: 50px;
    font-size: 14px;
    font-weight: 600;
}

.action-card:active {
    transform: scale(.96);
}

.action-card i {
    font-size: 22px;
    flex-shrink: 0;
}

/* ── Mid Banner ── */
.banner-mid {
    margin: 8px 14px 12px;
    border-radius: 14px;
    height: 100px;
    overflow: hidden;
    background: url('/photo_2026-07-05_23-36-27.jpg') no-repeat center center / cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

/* ── Option Grid ── */
.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 12px 14px 12px;
    padding: 0;
}

.grid-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid rgba(0, 180, 216, 0.15);
    min-height: 50px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform .15s, box-shadow .15s;
}

.grid-item:active {
    transform: scale(.97);
}

.grid-item i {
    font-size: 20px;
    color: var(--bg-cyan);
    flex-shrink: 0;
}

/* ── Period Grid (Weekly / Monthly / Annual) ── */
.period-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 14px 12px;
}

.period-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid rgba(0, 180, 216, 0.15);
    min-height: 80px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
}

.period-card:active {
    transform: scale(.96);
}

.period-card i {
    font-size: 18px;
    color: var(--bg-cyan);
}

.period-num {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--bg-cyan-dark);
}

.period-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ── Video Section ── */
.video-wrap {
    margin: 0 14px 12px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    background: #000;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.seek-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
}

.seek-progress {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
    transition: width .1s;
}

.mute-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: .15s;
    backdrop-filter: blur(5px);
}

.mute-btn:active {
    transform: scale(.9);
}

/* ── Footer Nav ── */
.footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.footer-inner {
    background: #ffffff;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(env(safe-area-inset-bottom, 0px) + 6px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    pointer-events: all;
    border-top: 1.5px solid rgba(0, 180, 216, 0.15);
}

.footer-menu a {
    flex: 1;
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 400;
    transition: all .2s ease;
}

.footer-menu a i {
    font-size: 22px;
    color: var(--text-muted);
}

.footer-menu a span.nav-label {
    font-size: 10px;
    color: var(--text-muted);
}

.footer-menu a.active {
    color: var(--bg-cyan-dark);
}

.footer-menu a.active i {
    color: var(--bg-cyan-dark);
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 6px rgba(0, 180, 216, 0.2));
}

.footer-menu a.active span.nav-label {
    color: var(--bg-cyan-dark);
}

.footer-menu a.active .tab-dot {
    width: 16px;
    height: 3px;
    background: var(--bg-cyan-dark);
    border-radius: 2px;
    margin-top: 2px;
    display: block;
}

.tab-dot {
    display: none;
}

/* ── Announcement Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--bg-cyan) 0%, var(--bg-cyan-dark) 100%);
    color: #fff;
    padding: 16px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-body h3 {
    color: var(--bg-teal);
    font-size: 16px;
    margin: 12px 0 8px;
    font-weight: 600;
}

.modal-body p {
    margin: 10px 0;
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.modal-body li {
    padding: 6px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body li::before {
    content: '✅';
    flex-shrink: 0;
}

.modal-footer {
    padding: 16px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.modal-close-btn {
    flex: 1;
    background: var(--bg-cyan-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.modal-close-btn:active {
    transform: scale(.98);
}