/* ==========================================
   EarnPro BD — Complete Responsive Stylesheet
   Original blue + colorful card design
   Compact mobile header, slider and navigation
========================================== */

:root {
    --blue: #0755e8;
    --blue-dark: #063b9d;
    --green: #16d7a0;
    --text: #172b4d;
    --muted: #63748b;
    --page: #f3f7ff;
    --white: #ffffff;
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 0 0 78px;
    background: var(--page);
    color: var(--text);
    font-family: system-ui, -apple-system, "Noto Sans Bengali",
        "Noto Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

/* ==========================================
   TOP HEADER  (compact)
========================================== */

.topbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 58px;
    padding: 6px 14px 8px;
    color: #fff;
    background: linear-gradient(115deg, #0847df, #0879fa);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 6px 18px rgba(0, 76, 220, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    color: #fff;
}

.brand-mark {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(145deg, #38f0cf, #04a8df);
    box-shadow: inset 0 2px 5px rgba(255,255,255,.28),
                0 4px 10px rgba(0,0,0,.12);
}

.brand-mark span {
    display: block;
    line-height: 1;
    transform: rotate(-4deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.brand-copy strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.4px;
    white-space: nowrap;
}

.brand-copy strong i {
    color: #63f0ca;
    font-style: normal;
}

.brand-copy small {
    display: block;
    color: rgba(255,255,255,.92);
    font-size: 9px;
    line-height: 1.4;
    white-space: nowrap;
}

.top-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.notice-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 32px;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 20px;
}

.notice-count {
    position: absolute;
    top: -3px;
    right: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 20px;
    background: #ff4757;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 34px;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 10px;
    background: rgba(255,255,255,.09);
    color: #fff;
    font-size: 10px;
    text-decoration: none;
}

.notice-panel {
    position: absolute;
    z-index: 50;
    top: calc(100% - 4px);
    right: 12px;
    width: min(310px, calc(100vw - 24px));
    max-height: 65vh;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #e5ecf7;
    border-radius: 18px;
    background: #fff;
    color: #20334e;
    box-shadow: 0 12px 35px rgba(21,45,85,.18);
}

.notice-panel[hidden] {
    display: none !important;
}

.notice-panel h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.notice-item {
    padding: 10px 0;
    border-bottom: 1px solid #edf1f7;
}

.notice-item:last-child {
    border-bottom: 0;
}

.notice-item p {
    margin: 4px 0;
    overflow-wrap: anywhere;
}

.notice-item small,
.muted {
    color: var(--muted);
    font-size: 12px;
}

/* ==========================================
   PAGE WRAPPER
========================================== */

.page-wrap {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 14px 20px;
}

/* ==========================================
   HERO SLIDER
========================================== */

.hero-slider {
    position: relative;
    width: 100%;
    margin: 0 0 25px;
    overflow: hidden;
    border-radius: 23px;
    background: #0755e8;
    box-shadow: 0 12px 28px rgba(16,80,180,.12);
    isolation: isolate;
}

.hero-slide {
    position: relative;
    display: none;
    align-items: center;
    min-height: 225px;
    padding: 20px 17px 31px;
    overflow: hidden;
    color: #fff;
}

.hero-slide.is-active {
    display: flex;
    animation: heroFade .35s ease;
}

@keyframes heroFade {
    from { opacity: .72; }
    to { opacity: 1; }
}

.slide-blue {
    background:
        radial-gradient(circle at 84% 30%, rgba(99,202,255,.95), transparent 34%),
        linear-gradient(115deg, #082d70 0%, #0756c9 55%, #50b5f3 100%);
}

.slide-teal {
    background:
        radial-gradient(circle at 85% 25%, rgba(91,255,208,.55), transparent 36%),
        linear-gradient(115deg, #063e51, #078f9e 58%, #13d0b2);
}

.slide-purple {
    background:
        radial-gradient(circle at 85% 22%, rgba(221,166,255,.6), transparent 36%),
        linear-gradient(115deg, #312078, #7032dc 58%, #c34df2);
}

.hero-text {
    position: relative;
    z-index: 3;
    width: 70%;
    max-width: 390px;
    min-width: 0;
}

.eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #bce9ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-slide h1 {
    margin: 7px 0 8px;
    color: #fff;
    font-size: clamp(20px, 5.2vw, 27px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.5px;
    overflow-wrap: break-word;
}

.hero-slide h1 em {
    color: #50ffc0;
    font-style: normal;
}

.hero-slide p {
    max-width: 95%;
    margin: 8px 0;
    color: rgba(255,255,255,.96);
    font-size: 12px;
    line-height: 1.45;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
}

.hero-benefits span {
    white-space: nowrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    margin-top: 12px;
    padding: 8px 14px;
    border: 0;
    border-radius: 30px;
    color: #063c70;
    background: linear-gradient(100deg, #40f0c1, #21dcb4);
    box-shadow: 0 5px 12px rgba(0,0,0,.1);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.hero-cta b {
    font-size: 19px;
    line-height: 1;
}

.hero-art {
    position: absolute;
    z-index: 1;
    right: 4px;
    bottom: 21px;
    width: 39%;
    height: 80%;
    pointer-events: none;
}

.art-sky,
.art-plant,
.art-coins,
.art-chart,
.art-extra {
    position: absolute;
    display: block;
    line-height: 1;
}

.art-sky {
    top: 0;
    right: 10%;
    color: #d5efff;
    font-size: 26px;
}

.art-plant {
    top: 15%;
    left: 14%;
    font-size: 46px;
    filter: drop-shadow(0 4px 5px rgba(0,0,0,.14));
}

.art-chart {
    top: 32%;
    right: 0;
    font-size: 48px;
    transform: rotate(-5deg);
    filter: drop-shadow(0 5px 5px rgba(0,0,0,.14));
}

.art-coins {
    right: 6%;
    bottom: 1%;
    font-size: 27px;
    line-height: 1.05;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,.14));
}

.art-extra {
    right: 43%;
    bottom: 21%;
    font-size: 24px;
}

.slider-dots {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 4px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px;
}

.slider-dots button {
    display: block;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: rgba(255,255,255,.55);
}

.slider-dots button.is-active {
    width: 22px;
    background: #fff;
}

/* ==========================================
   SECTION HEADINGS
========================================== */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px;
}

.section-kicker {
    display: block;
    margin-bottom: 5px;
    color: #7389a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.section-heading h2 {
    margin: 0;
    color: #193958;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}

.heading-star {
    color: #1472ed;
    font-size: 25px;
    line-height: 1;
}

/* ==========================================
   SIX COLORFUL SERVICE CARDS
========================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.service-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 106px;
    padding: 10px 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 19px;
    color: #fff;
    box-shadow: 0 8px 18px rgba(29,68,120,.09);
    isolation: isolate;
    transition: transform .18s ease, box-shadow .18s ease;
}

.service-card::before {
    position: absolute;
    z-index: -1;
    top: -50%;
    right: -15%;
    width: 65%;
    height: 140%;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.service-card:active {
    transform: scale(.98);
}

.card-weekly {
    background: linear-gradient(125deg, #35aef6, #0759ef);
}

.card-monthly {
    background: linear-gradient(125deg, #18d3a0, #00a99e);
}

.card-annual {
    background: linear-gradient(125deg, #c14df0, #7121e9);
}

.card-rules {
    background: linear-gradient(125deg, #ffc53c, #ff9500);
}

.card-faq {
    background: linear-gradient(125deg, #ff65a7, #f20b72);
}

.card-invite {
    background: linear-gradient(125deg, #34dcd2, #00a6b6);
}

.service-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 43px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    font-size: 25px;
    line-height: 1;
    filter: drop-shadow(0 3px 3px rgba(0,0,0,.1));
}

.service-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding-right: 12px;
}

.service-copy strong {
    display: block;
    color: #fff;
    font-size: clamp(12px, 3.4vw, 16px);
    font-weight: 800;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.service-copy small {
    display: block;
    color: rgba(255,255,255,.94);
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.card-arrow {
    position: absolute;
    top: 50%;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #0960db;
    background: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%);
}

/* ==========================================
   FIXED BOTTOM NAVIGATION — modern solid icons
========================================== */

.bottom-nav {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    width: 100%;
    min-height: 64px;
    padding: 6px 8px calc(4px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    background: #ffffff;
    border-top: 1px solid #eef3fb;
    box-shadow: 0 -8px 24px rgba(35,62,98,.10);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    min-height: 44px;
    padding: 3px 0;
    color: #9aa7b8;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease;
}

.nav-item .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: