:root {
    --ink: #07183f;
    --muted: #4a6098;
    --blue: #145dea;
    --panel: #ffffff;
    --line: #e4ebf8;
    --shadow: 0 16px 40px rgba(19, 44, 96, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 0 20%, rgba(213, 231, 255, 0.85) 0 120px, transparent 121px),
        radial-gradient(circle at 95% 12%, rgba(209, 230, 255, 0.9) 0 170px, transparent 171px),
        linear-gradient(180deg, #f7fbff 0%, #eef6ff 46%, #f8fbff 100%);
}

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

.page-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 20px 0;
}

.hero {
    min-height: 380px;
    position: relative;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1160px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 12px);
    align-items: end;
    gap: 5px;
    width: 55px;
    height: 46px;
}

.brand-mark::before {
    content: "";
    position: absolute;
    right: 1px;
    top: 0;
    width: 26px;
    height: 26px;
    border-top: 8px solid var(--blue);
    border-right: 8px solid var(--blue);
    transform: rotate(18deg);
}

.brand-mark i {
    display: block;
    width: 12px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #2b77ff, #1154cf);
}

.brand-mark i:nth-child(1) { height: 18px; }
.brand-mark i:nth-child(2) { height: 27px; }
.brand-mark i:nth-child(3) { height: 37px; }

.brand strong {
    display: block;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1;
    letter-spacing: 0;
}

.brand strong span {
    color: var(--blue);
}

.brand small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 1rem;
}

.admin-link {
    padding: 10px 16px;
    border: 1px solid rgba(20, 93, 234, 0.18);
    border-radius: 8px;
    color: var(--blue);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.7);
}

.hero-copy {
    text-align: center;
    padding: 68px 250px 36px;
    position: relative;
}

.hero-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(2.45rem, 6vw, 4.35rem);
    line-height: 1.03;
    letter-spacing: 0;
}

.hero-title {
    margin: 0;
    color: var(--blue);
    font-size: clamp(2rem, 4.8vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
}

.hero-subtitle {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.28rem);
}

.gift-visual {
    position: absolute;
    right: 55px;
    top: 6px;
    width: 190px;
    height: 190px;
}

.gift-box {
    position: absolute;
    inset: 35px 26px 18px 20px;
    border-radius: 16px;
    background:
        linear-gradient(90deg, transparent 43%, #4a78ff 44% 58%, transparent 59%),
        linear-gradient(180deg, transparent 38%, #4a78ff 39% 53%, transparent 54%),
        linear-gradient(145deg, #fff, #dbe8ff);
    box-shadow: 0 24px 45px rgba(40, 94, 184, 0.24);
}

.gift-box::before,
.gift-box::after {
    content: "";
    position: absolute;
    top: -44px;
    width: 70px;
    height: 52px;
    border: 14px solid #4a78ff;
    border-radius: 50% 50% 8px 50%;
    background: rgba(255, 255, 255, 0.32);
}

.gift-box::before {
    left: 22px;
    transform: rotate(28deg);
}

.gift-box::after {
    right: 22px;
    transform: scaleX(-1) rotate(28deg);
}

.coin {
    position: absolute;
    right: 4px;
    bottom: 2px;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 10px solid #ffc554;
    background: #f49b24;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    box-shadow: 0 16px 26px rgba(173, 101, 0, 0.24);
}

.offers-panel {
    border-radius: 28px 28px 0 0;
    padding: 42px 32px 32px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 -10px 35px rgba(43, 103, 183, 0.08);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 30px;
}

.offer-card {
    display: grid;
    grid-template-rows: minmax(170px, 1fr) 68px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(19, 44, 96, 0.18);
}

.offer-image {
    /* min-height: 170px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden; */

     min-height: 200px;
    padding: 15px;
    background: #fff;
}

.offer-image::before,
.offer-image::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
}

.offer-image::before {
    width: 150px;
    height: 150px;
    left: -40px;
    top: -35px;
}

.offer-image::after {
    width: 90px;
    height: 90px;
    right: -20px;
    bottom: -20px;
}

.offer-image img {
    /* width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0; */
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fallback-art {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border-radius: 26px;
    font-size: 4.2rem;
    font-weight: 900;
    color: rgba(7, 24, 63, 0.84);
    background: rgba(255, 255, 255, 0.44);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 18px 40px rgba(8, 30, 74, 0.15);
}

.offer-title {
    display: grid;
    place-items: center;
    padding: 12px;
    text-align: center;
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.2;
}

.offer-theme-money { background: linear-gradient(135deg, #eaf6df, #d9efd4); }
.offer-theme-card { background: linear-gradient(135deg, #082b77, #0f69df); }
.offer-theme-card .fallback-art,
.offer-theme-gaming .fallback-art { color: #fff; background: rgba(255, 255, 255, 0.14); }
.offer-theme-health { background: linear-gradient(135deg, #e7f0ff, #bdd4fb); }
.offer-theme-growth { background: linear-gradient(135deg, #ffe5d7, #ffd3b8); }
.offer-theme-shopping { background: linear-gradient(135deg, #ffd9dd, #ffc1cb); }
.offer-theme-apps { background: linear-gradient(135deg, #dccdff, #c8b1ff); }
.offer-theme-gaming { background: linear-gradient(135deg, #07194d, #111020); }
.offer-theme-travel { background: linear-gradient(135deg, #cce5fb, #f5efe5); }
.offer-theme-car { background: linear-gradient(135deg, #dcebff, #f7fbff); }
.offer-theme-home { background: linear-gradient(135deg, #d8eaff, #eef8ff); }
.offer-theme-gold { background: linear-gradient(135deg, #c26510, #ffb647); }
.offer-theme-bills { background: linear-gradient(135deg, #f4f8ff, #dce8fb); }
.offer-theme-education { background: linear-gradient(135deg, #edf4ff, #d7e5fb); }
.offer-theme-business { background: linear-gradient(135deg, #eef1f5, #d9e0e9); }
.offer-theme-dth { background: linear-gradient(135deg, #d5e6ff, #b8d0f6); }
.offer-theme-gift { background: linear-gradient(135deg, #eef3ff, #dce7ff); }

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 38px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.trust-strip div {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 26px 32px;
    border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip strong,
.trust-strip small {
    grid-column: 2;
}

.trust-strip strong {
    font-size: 0.98rem;
}

.trust-strip small {
    margin-top: 4px;
    color: #3f4f79;
}

.trust-icon {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
}

.shield { background: #1f74ee; }
.rewards { background: #7d4be4; }
.instant { background: #7fba1d; }
.partners { background: #f39a12; }

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.site-footer {
    padding: 26px 20px;
    text-align: center;
    color: #fff;
    background: #061a3d;
}

@media (max-width: 980px) {
    .hero-copy {
        padding-right: 20px;
        padding-left: 20px;
    }

    .gift-visual {
        display: none;
    }

    .offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-strip div:nth-child(2) {
        border-right: 0;
    }

    .trust-strip div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 620px) {
    .page-shell {
        padding: 24px 10px 0;
    }

    .brand-row {
        align-items: flex-start;
    }

    .brand small {
        font-size: 0.86rem;
    }

    .hero {
        min-height: 300px;
    }

    .hero-copy {
        padding-top: 50px;
    }

    .offers-panel {
        padding: 18px 14px 24px;
        border-radius: 20px 20px 0 0;
    }

    .offers-grid,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .offer-card {
        grid-template-rows: 185px 62px;
    }

    .trust-strip div,
    .trust-strip div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 20px;
    }

    .trust-strip div:last-child {
        border-bottom: 0;
    }
}

