:root {
    --bg: #f3faf6;
    --bg-deep: #dff0e7;
    --surface: #ffffff;
    --ink: #0f241c;
    --muted: #5a7267;
    --line: #cfe0d6;
    --brand: #0c8f63;
    --brand-dark: #086b4a;
    --brand-soft: #dbf5ea;
    --accent: #ff5a1f;
    --accent-dark: #e04510;
    --accent-soft: #ffe4d8;
    --success: #0b7a52;
    --shadow: 0 14px 36px rgba(15, 36, 28, 0.08);
    --shadow-lg: 0 28px 60px rgba(15, 36, 28, 0.14);
    --radius: 22px;
    --radius-sm: 14px;
    --font: "DM Sans", system-ui, sans-serif;
    --display: "Fraunces", Georgia, serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(12, 143, 99, 0.16), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 90, 31, 0.12), transparent 45%),
        linear-gradient(180deg, #f7fcf9 0%, var(--bg) 35%, #eef7f2 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }

/* Header — GoPaisa-style */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header.is-scrolled .header-dark {
    box-shadow: 0 6px 18px rgba(16, 24, 20, 0.08);
}

.header-dark {
    background: #fff;
    color: #1a1a1a;
    border-bottom: 1px solid #ecefec;
}
.header-dark-inner {
    display: grid;
    grid-template-columns: auto auto minmax(220px, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    line-height: 0;
}
.brand-light .brand-text { color: #fff; }
.brand-logo {
    display: block;
    height: 46px;
    width: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
    border-radius: 6px;
}
.brand-mark {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ff8a3d, #ff5a1f);
    color: white;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(255, 90, 31, 0.35);
}
.brand-text {
    font-family: var(--display);
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.shop-category { position: relative; }
.shop-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #e2e8e4;
    background: #f5f7f6;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.78rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}
.shop-category-btn::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    border: 7px solid transparent;
    border-right-color: var(--accent);
    border-bottom-color: var(--accent);
}
.shop-category-btn .chev { transition: transform .2s var(--ease); opacity: 0.8; }
.shop-category.is-open .shop-category-btn .chev { transform: rotate(180deg); }

.shop-category-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    width: min(560px, 88vw);
    background: #fff;
    color: var(--ink);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e8ece9;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s var(--ease);
    z-index: 70;
}
.shop-category.is-open .shop-category-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.shop-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    max-height: 360px;
    overflow: auto;
}
.shop-category-grid a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
}
.shop-category-grid a:hover { background: #f4faf7; }
.shop-cat-icon {
    width: 34px;
    height: 34px;
    color: #333;
    flex-shrink: 0;
}
.shop-cat-icon svg { width: 100%; height: 100%; }
.shop-category-grid strong {
    display: block;
    font-size: 0.9rem;
    color: #111;
}
.shop-category-grid small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
}
.shop-category-all {
    display: block;
    margin-top: 0.45rem;
    padding: 0.75rem 0.8rem;
    border-top: 1px solid #ecefec;
    color: var(--brand);
    font-weight: 800;
    font-size: 0.9rem;
}

.gp-search {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 5;
    width: 100%;
    min-width: 220px;
    max-width: 640px;
    background: #fff;
    border: 1px solid #e2e8e4;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(16, 24, 20, 0.05);
}
.gp-search input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 0.85rem 1rem;
    min-width: 0;
    width: 100%;
    font-size: 0.98rem;
    color: #222;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}
.gp-search button {
    border: 0;
    flex: 0 0 56px;
    width: 56px;
    background: linear-gradient(180deg, #ff8a3d, #ff5a1f);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: filter .2s;
    position: relative;
    z-index: 1;
}
.gp-search button:hover { filter: brightness(1.05); }

.header-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.15rem;
    border-radius: 6px;
    background: linear-gradient(180deg, #ff8a3d, #ff5a1f);
    color: #fff;
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(255, 90, 31, 0.28);
}
.btn-login:hover { filter: brightness(1.05); }

.nav-toggle {
    display: none;
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid #e2e8e4;
    border-radius: 8px;
    background: #f5f7f6;
    padding: 0;
    cursor: pointer;
    place-items: center;
    gap: 4px;
    flex-direction: column;
}
.nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #1a1a1a;
    transition: transform .25s var(--ease), opacity .2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.offer-nav-bar {
    background: #fff;
    border-bottom: 1px solid #e8ece9;
}
.offer-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.offer-nav::-webkit-scrollbar { display: none; }
.offer-nav a {
    flex: 1 0 auto;
    text-align: center;
    padding: 0.85rem 0.75rem;
    color: #333;
    font-size: 0.88rem;
    font-weight: 650;
    white-space: nowrap;
    border-right: 1px solid #ecefec;
    transition: color .15s, background .15s;
}
.offer-nav a:last-child { border-right: 0; }
.offer-nav a:hover,
.offer-nav a.is-active {
    color: var(--accent-dark);
    background: #fff7f2;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 45;
    backdrop-filter: blur(2px);
}

/* Shared buttons used across site */
.search-form button,
.btn {
    border: 0;
    border-radius: 999px;
    padding: 0.72rem 1.2rem;
    background: linear-gradient(135deg, #12b37a, var(--brand));
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
    box-shadow: 0 10px 22px rgba(12, 143, 99, 0.25);
}
.search-form button:hover,
.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}
.btn:active { transform: translateY(0); }
.btn-accent {
    background: linear-gradient(135deg, #ff7a45, var(--accent));
    box-shadow: 0 10px 22px rgba(255, 90, 31, 0.28);
}
.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 1.5px solid rgba(12, 143, 99, 0.35);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    filter: none;
}
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; }

@media (max-width: 980px) {
    .header-dark-inner {
        grid-template-columns: auto 1fr auto;
        gap: 0.65rem;
    }
    .shop-category { display: none; }
    .gp-search { max-width: none; grid-column: 1 / -1; order: 3; }
    .nav-toggle { display: grid; }
    .btn-login { padding: 0.7rem 0.85rem; font-size: 0.78rem; }
    .brand-logo { height: 38px; }

    .offer-nav-bar {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 88vw);
        background: #fff;
        border: 0;
        box-shadow: var(--shadow-lg);
        transform: translateX(104%);
        transition: transform .3s var(--ease);
        z-index: 55;
        overflow-y: auto;
        padding: 4.5rem 0.85rem 1.25rem;
    }
    body.nav-open .offer-nav-bar { transform: none; }
    .offer-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .offer-nav a {
        border-right: 0;
        border-bottom: 1px solid #ecefec;
        text-align: left;
        padding: 0.95rem 0.75rem;
        border-radius: 8px;
    }
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: min(78vh, 640px);
    display: flex;
    align-items: center;
    padding: 3.5rem 0 3rem;
    background:
        linear-gradient(115deg, rgba(8, 70, 48, 0.92) 0%, rgba(12, 143, 99, 0.88) 48%, rgba(18, 120, 90, 0.82) 100%),
        radial-gradient(circle at 80% 30%, rgba(255, 122, 69, 0.35), transparent 35%);
    color: white;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08), transparent 25%),
        url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 36c0-4 4-4 4-8s-4-4-4-8 4-4 4-8-4-4-4-8M0 36c0-4 4-4 4-8s-4-4-4-8 4-4 4-8-4-4-4-8'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
}
.hero-copy { max-width: 34rem; }
.hero-brand {
    font-family: var(--display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    letter-spacing: -0.02em;
    opacity: 0.95;
    margin-bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-brand span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ffb089;
    box-shadow: 0 0 0 6px rgba(255, 176, 137, 0.25);
    animation: blink 2s ease-in-out infinite;
}
.hero h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.5rem, 5.5vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: balance;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #ffe0cf, #fff7f2 45%, #b8f5d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.55;
    max-width: 32rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.hero .btn {
    background: white;
    color: var(--brand-dark);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}
.hero .btn-accent {
    background: linear-gradient(135deg, #ff7a45, #ff5a1f);
    color: white;
}
.hero-visual {
    position: relative;
    min-height: 320px;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: floatY 6s ease-in-out infinite;
}
.hero-orb.one {
    width: 220px; height: 220px; right: 8%; top: 8%;
    background: radial-gradient(circle, rgba(255,176,137,0.55), transparent 70%);
}
.hero-orb.two {
    width: 160px; height: 160px; left: 10%; bottom: 12%;
    background: radial-gradient(circle, rgba(184,245,216,0.5), transparent 70%);
    animation-delay: -2s;
}
.hero-stage {
    position: absolute;
    inset: 10% 8% 8% 18%;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05)),
        rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
    overflow: hidden;
}
.hero-stage::after {
    content: "";
    position: absolute;
    inset: auto -20% -30% 20%;
    height: 70%;
    background: radial-gradient(circle, rgba(255,90,31,0.35), transparent 60%);
}
.hero-ticket {
    position: absolute;
    width: min(78%, 290px);
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.95);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    animation: floatCard 5.5s var(--ease) infinite;
}
.hero-ticket.top {
    top: 18%;
    left: 12%;
    transform: rotate(-4deg);
}
.hero-ticket.bottom {
    right: 6%;
    bottom: 14%;
    transform: rotate(5deg);
    animation-delay: -2.5s;
}
.hero-ticket .tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
}
.hero-ticket strong {
    display: block;
    margin-top: 0.55rem;
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}
.hero-ticket span {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Main */
.site-main { padding: 2.4rem 0 4rem; }
.section { margin-bottom: 3rem; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.section-head h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.55rem, 2.5vw, 1.9rem);
    letter-spacing: -0.03em;
}
.section-head p { margin: 0.3rem 0 0; color: var(--muted); }
.section-head a {
    color: var(--brand);
    font-weight: 700;
    white-space: nowrap;
}
.section-head a:hover { text-decoration: underline; }

.grid { display: grid; gap: 1.1rem; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Category strip */
.category-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.55rem;
    scrollbar-width: thin;
}
.category-grid .category-card { min-width: 0; }
.category-card {
    background: var(--surface);
    border: 1px solid rgba(207, 224, 214, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-width: 210px;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.category-card--image a {
    display: grid;
    grid-template-rows: 140px auto;
    padding: 0;
    height: 100%;
}
.category-card a {
    display: block;
    padding: 1.15rem 1.1rem 1.2rem;
    position: relative;
}
.category-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #d8f3e7, #ffe8d6);
}
.category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s var(--ease);
}
.category-media-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 36, 28, 0.05), rgba(15, 36, 28, 0.45)),
        radial-gradient(circle at top right, rgba(255, 90, 31, 0.18), transparent 45%);
    pointer-events: none;
}
.category-body {
    padding: 0.95rem 1.05rem 1.1rem;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12, 143, 99, 0.35);
}
.category-card:hover .category-media img {
    transform: scale(1.08);
}
.category-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}
.category-card p { margin: 0; color: var(--muted); font-size: 0.88rem; font-weight: 600; }

/* Best Cashback Offers */
.cashback-offers-section {
    background: #f5f6f7;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 1.6rem calc(50vw - 50%) 1.85rem;
    border-radius: 0;
}
.cashback-offers-head {
    align-items: center;
    margin-bottom: 1rem;
}
.cashback-offers-head h2 {
    margin: 0;
    font-family: var(--font);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #333;
}
.view-all-link {
    color: #1a73e8 !important;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.view-all-link:hover { text-decoration: underline; }
.cashback-offers-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem;
}
.cashback-offer-card {
    background: #fff;
    border: 1px solid #e6e8ea;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .2s var(--ease), border-color .2s;
}
.cashback-offer-card:hover {
    border-color: #d0d5d9;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.cashback-offer-card a {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 148px;
    height: 100%;
}
.cashback-offer-logo {
    display: grid;
    place-items: center;
    padding: 1rem 0.75rem 0.65rem;
    background: #fff;
}
.cashback-offer-logo img {
    max-width: 88%;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.cashback-offer-fallback {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #12b37a, #0c8f63);
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
}
.cashback-offer-badge {
    margin: 0 0.65rem 0.7rem;
    padding: 0.55rem 0.4rem;
    text-align: center;
    background: #fff;
    border: 1px solid #eceff1;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    color: #222;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Store cards */
.store-card, .offer-card, .panel, .rate-card {
    background: var(--surface);
    border: 1px solid rgba(207, 224, 214, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.store-card:hover, .offer-card:hover, .rate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12, 143, 99, 0.28);
}
.store-card a { display: block; height: 100%; }
.store-logo {
    height: 132px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,90,31,0.08), transparent 40%),
        linear-gradient(180deg, #ffffff, #f3faf6);
    padding: 1.1rem;
    position: relative;
}
.store-logo img {
    max-height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(15, 36, 28, 0.08));
    transition: transform .35s var(--ease);
}
.store-card:hover .store-logo img { transform: scale(1.06); }
.store-logo .fallback-letter {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--brand), #14a57a);
    color: white;
    font-family: var(--display);
    font-size: 1.6rem;
}
.store-body, .offer-body, .rate-card { padding: 1.05rem 1.15rem 1.2rem; }
.store-body h3, .offer-body h3, .rate-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.cashback-pill, .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--brand-soft);
    color: var(--success);
    border-radius: 999px;
    padding: 0.32rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
}
.badge-accent { background: var(--accent-soft); color: var(--accent-dark); }
.badge-muted { background: #eef4f0; color: var(--muted); }

.offer-card .offer-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}
.offer-store {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.55rem 0 0.35rem;
}
.offer-store img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5faf7;
    border: 1px solid var(--line);
}
.offer-store span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.coupon-code {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1.5px dashed rgba(12, 143, 99, 0.45);
    border-radius: 12px;
    padding: 0.5rem 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(180deg, #f2fbf6, #e8f7ef);
    margin: 0.9rem 0;
}
.coupon-code button {
    border: 0;
    background: var(--brand);
    color: white;
    border-radius: 9px;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
}
.offer-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.stores-search-panel {
    display: flex;
    gap: 0.65rem;
    margin: 0 0 1.15rem;
    max-width: 560px;
}
.stores-search-panel input {
    flex: 1;
    border: 1px solid #d0ddd6;
    border-radius: 10px;
    padding: 0.75rem 0.95rem;
    font: inherit;
    background: #fff;
}
.stores-search-panel .btn {
    border-radius: 10px;
    white-space: nowrap;
}
.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.48rem 0.9rem;
    background: var(--surface);
    color: var(--muted);
    font-weight: 700;
    font-size: 0.88rem;
    transition: all .2s;
}
.chip.active, .chip:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

.store-hero, .panel { padding: 1.5rem; }
.store-hero {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 1.4rem;
    align-items: center;
    margin-bottom: 1.75rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,90,31,0.08), transparent 35%),
        linear-gradient(180deg, #ffffff, #f7fcf9);
}
.store-hero .logo-wrap {
    height: 130px;
    border-radius: 20px;
    background: white;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.store-hero .logo-wrap img { max-height: 84px; }
.store-hero h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
}
.store-earn-note {
    margin: 0.7rem 0 0;
    color: #3d5c50;
    font-size: 0.92rem;
    font-weight: 500;
}
.store-hero-cta { display: grid; gap: 0.45rem; align-content: start; }
.store-cta-hint { margin: 0; font-size: 0.82rem; }
.store-offer-fallback { text-align: left; }
.offer-cashback-hint {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: #0c8f63;
    font-weight: 600;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }

.rate-card {
    position: relative;
}
.rate-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at top right, rgba(12,143,99,0.12), transparent 70%);
    pointer-events: none;
}

.pagination {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    min-width: 2.4rem;
    text-align: center;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-weight: 650;
}
.pagination .active span {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

.flash {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
}
.flash.success { background: var(--brand-soft); color: var(--success); }
.flash.error { background: #ffe8e0; color: #b42318; }

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    padding: 0 0 1.5rem;
    color: #d5e6de;
    background:
        radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 90, 31, 0.18), transparent 50%),
        radial-gradient(ellipse 55% 60% at 100% 20%, rgba(18, 179, 122, 0.2), transparent 48%),
        linear-gradient(165deg, #12352a 0%, #0b1f18 48%, #071510 100%);
}
.footer-glow {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1.75rem 0 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}
.footer-cta-label {
    margin: 0 0 0.25rem;
    color: #ffb089;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.footer-cta h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    color: #fff;
    letter-spacing: -0.03em;
    font-weight: 700;
}
.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.footer-cta-secondary {
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.28) !important;
    box-shadow: none !important;
}
.footer-cta-secondary:hover {
    background: rgba(255,255,255,0.08) !important;
    filter: none !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
    gap: 2rem 1.5rem;
    padding-bottom: 0.5rem;
}
.footer-brand-block .footer-brand {
    display: inline-flex;
    margin-bottom: 0.9rem;
}
.footer-brand .brand-logo {
    height: 52px;
    max-width: 220px;
    border-radius: 8px;
}
.footer-lead {
    margin: 0 0 0.85rem;
    color: #b7cdc3;
    line-height: 1.55;
    max-width: 34ch;
    font-size: 0.95rem;
}
.footer-regions {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(12, 143, 99, 0.18);
    color: #9fe0c4;
    font-size: 0.78rem;
    font-weight: 600;
}

.footer-col h4 {
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-col a,
.footer-logout {
    display: block;
    width: fit-content;
    margin: 0 0 0.55rem;
    color: #a9c0b6;
    font-size: 0.95rem;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-col a:hover,
.footer-logout:hover {
    color: #fff;
    transform: translateX(3px);
}
.footer-steps {
    margin: 0 0 0.5rem;
    color: #a9c0b6;
    font-size: 0.9rem;
    line-height: 1.45;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
}
.footer-bottom p {
    margin: 0;
    color: #7f978c;
    font-size: 0.85rem;
}
.footer-note { color: #6f877c; }

@media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-cta { padding-top: 1.4rem; }
    .footer-cta-actions { width: 100%; }
    .footer-cta-actions .btn { flex: 1; justify-content: center; }
    .footer-bottom { flex-direction: column; }
}

.empty {
    text-align: center;
    padding: 3rem 1.25rem;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.65);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current="page"] { color: var(--ink); }

/* All Categories directory (GoPaisa-style) */
.category-directory {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.directory-card {
    background: #fff;
    border: 1px solid #e6ebe8;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 36, 28, 0.04);
    padding: 1.15rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: box-shadow .2s var(--ease), border-color .2s;
}
.directory-card:hover {
    border-color: rgba(12, 143, 99, 0.28);
    box-shadow: 0 10px 24px rgba(15, 36, 28, 0.08);
}
.directory-head {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    text-align: center;
    padding-bottom: 0.85rem;
}
.directory-icon {
    width: 64px;
    height: 64px;
    color: #2a3631;
    display: grid;
    place-items: center;
}
.directory-icon svg {
    width: 52px;
    height: 52px;
}
.directory-head h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.directory-divider {
    height: 1px;
    background: #ecefec;
    margin: 0 0 0.7rem;
}
.directory-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.directory-links a {
    display: block;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.35;
    padding: 0.15rem 0;
    transition: color .15s, padding-left .15s;
}
.directory-links a:hover {
    color: var(--brand);
    padding-left: 0.2rem;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(var(--rot, -4deg)); }
    50% { transform: translateY(-12px) rotate(var(--rot, -4deg)); }
}
.hero-ticket.top { --rot: -4deg; }
.hero-ticket.bottom { --rot: 5deg; }
@keyframes brandPulse {
    0%, 100% { box-shadow: 0 8px 18px rgba(12, 143, 99, 0.35); }
    50% { box-shadow: 0 8px 24px rgba(12, 143, 99, 0.55); }
}
@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

@media (max-width: 1100px) {
    .category-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cashback-offers-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .hero-shell { grid-template-columns: 1fr; }
    .hero-visual { min-height: 260px; order: -1; }
    .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .store-hero { grid-template-columns: 1fr; }
    .cashback-offers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .category-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cashback-offers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .category-directory { grid-template-columns: 1fr; }
    .cashback-offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { min-height: auto; padding: 2.4rem 0 2.2rem; }
    .hero h1 { font-size: 2.35rem; }
}

/* Account / auth */
.account-auth {
    padding: 3rem 0 4rem;
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(12, 143, 99, 0.12), transparent 55%),
        linear-gradient(180deg, #f7faf8 0%, #eef5f1 100%);
}
.account-auth-inner { display: grid; place-items: center; }
.account-panel {
    width: min(440px, 100%);
    background: #fff;
    border: 1px solid #d8e5de;
    border-radius: 18px;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 18px 40px rgba(22, 48, 38, 0.08);
}
.account-panel h1 { margin: 0 0 0.35rem; font-family: Fraunces, Georgia, serif; font-size: 1.85rem; }
.account-form { display: grid; gap: 0.85rem; margin-top: 1.25rem; }
.account-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="text"],
.account-form input[type="tel"] {
    border: 1px solid #d0ddd6;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font: inherit;
}
.checkbox-row { display: flex !important; align-items: center; gap: 0.5rem; font-weight: 500 !important; }
.checkbox-row input { width: auto; }
.account-switch { margin: 1.1rem 0 0; color: #5f7269; font-size: 0.95rem; }
.account-switch a { color: #0c8f63; font-weight: 600; }
.field-error { color: #b42318; font-size: 0.88rem; margin-top: -0.35rem; }
.flash { padding: 0.8rem 1rem; border-radius: 12px; margin: 1rem 0; }
.flash.success { background: #e7f7ef; color: #147a4e; }

.account-page { padding: 2.2rem 0 3.5rem; }
.account-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.account-header h1 { margin: 0 0 0.25rem; font-family: Fraunces, Georgia, serif; font-size: 2rem; }
.account-actions { display: flex; gap: 0.65rem; align-items: center; flex-wrap: wrap; }
.btn-secondary, .btn-ghost, .btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; padding: 0.7rem 1rem; font: inherit; font-weight: 600; cursor: pointer;
    text-decoration: none; border: 0;
}
.btn-primary { background: #0c8f63; color: #fff; }
.btn-secondary { background: #e7f2ec; color: #0f5c42; }
.btn-ghost { background: transparent; color: #5f7269; border: 1px solid #d0ddd6; }
.earn-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.earn-stat {
    background: #fff;
    border: 1px solid #d8e5de;
    border-radius: 16px;
    padding: 1.1rem 1.15rem;
}
.earn-stat .label { color: #66756e; font-size: 0.9rem; }
.earn-stat strong { display: block; font-size: 1.65rem; margin: 0.25rem 0; }
.earn-stat .hint { color: #7a8b83; font-size: 0.82rem; }
.account-section {
    background: #fff;
    border: 1px solid #d8e5de;
    border-radius: 16px;
    padding: 1.15rem 1.2rem 1.3rem;
}
.account-section-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 0.85rem;
}
.account-section-head h2 { margin: 0; font-size: 1.15rem; }
.account-section-head a { color: #0c8f63; font-weight: 600; }
.earn-table-wrap { overflow-x: auto; }
.earn-table { width: 100%; border-collapse: collapse; }
.earn-table th, .earn-table td {
    text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid #e6eee9; vertical-align: top;
}
.earn-table th { color: #66756e; font-size: 0.82rem; font-weight: 600; }
.status {
    display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 600; background: #eef2f0; color: #3d4f47;
}
.status-pending { background: #fff4e5; color: #9a5b00; }
.status-validated, .status-payable, .status-invoice_raised { background: #e7f7ef; color: #147a4e; }
.status-paid { background: #e8f1ff; color: #1d4f91; }
.status-rejected { background: #ffe8e0; color: #b42318; }
.empty-earn { text-align: center; padding: 1.5rem 1rem; }
.empty-earn .btn-primary { margin-top: 0.75rem; }
.empty-cell { text-align: center; color: #66756e; padding: 1.5rem !important; }
.earn-filters { margin-bottom: 1rem; }
.earn-filters select {
    border: 1px solid #d0ddd6; border-radius: 10px; padding: 0.65rem 0.85rem; font: inherit; background: #fff;
}
.pagination-wrap { margin-top: 1.25rem; }
.pagination-wrap nav, .pagination-wrap .pagination { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.pagination-wrap .page-link, .pagination-wrap a, .pagination-wrap span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.1rem; padding: 0.45rem 0.7rem; border-radius: 8px;
    border: 1px solid #d0ddd6; background: #fff; color: #0f5c42; text-decoration: none; font-size: 0.9rem;
}
.pagination-wrap .active .page-link, .pagination-wrap .active span {
    background: #0c8f63; border-color: #0c8f63; color: #fff;
}
.pagination-wrap .disabled .page-link, .pagination-wrap .disabled span { opacity: 0.45; pointer-events: none; }
.muted { color: #66756e; }

@media (max-width: 900px) {
    .earn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .earn-stats { grid-template-columns: 1fr; }
}
