/* Popular Games page styles */
:root {
    --purple-900: #121810;
    --purple-800: #0f1510;
    --accent: #16dd00;
    --ink: #1f2937;
    --container: min(1200px, 92vw);
    --pill: #21004F;
    --card: #12062a;
    --muted: #cbd5e1;
    --border: rgba(255, 255, 255, .12)
}

body {
    margin: 0;
    font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #fff
}

img {
    max-width: 100%;
    display: block;
    height: auto
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: var(--container);
    margin-inline: auto
}

.hero {
    background: linear-gradient(173deg, #17c705 0%, #121810 0.9%, #17c705 209%);
    padding: 48px 0 28px;
    border-bottom: 1px solid var(--border)
}

.breadcrumbs {
    font-size: 12px;
    opacity: .85;
    margin-bottom: 10px
}

.breadcrumbs a {
    opacity: .9
}

.hero h1 {
    margin: 6px 0 8px;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.15
}

.hero p {
    margin: 0;
    color: #e7ffee;
    opacity: .95;
    max-width: 820px
}

.offer-list {
    display: grid;
    gap: 14px;
    margin: 24px 0
}

.offer-card {
    display: grid;
    grid-template-columns: 80px 1fr 200px;
    gap: 16px;
    align-items: stretch;
    background: #f6fff4;
    color: #111;
    border: 1px solid #c9f5c1;
    border-radius: 12px;
    padding: 16px;
    min-height: 260px
}

.offer-rank span {
    display: inline-block;
    background: #16dd00;
    color: black;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px
}

.offer-brand {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 14px;
    align-items: stretch
}

.offer-logo {
    width: 100%;
    height: 100%;
    min-height: 230px;
    border-radius: 12px;
    overflow: hidden
}

.offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.offer-body p {
    margin: .2rem 0;
    font-size: 18px;
    color: #1e1b4b;
    width: auto;
    max-width: 60ch
}

.offer-sub {
    color: #4c1d95;
    font-weight: 600
}

.offer-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: #374151;
    font-size: 14px;
    row-gap: 6px
}

.offer-meta b {
    color: #111827
}

.offer-meta .ok {
    color: #059669;
    font-weight: 700
}

.offer-cta {
    display: grid;
    gap: 6px;
    justify-items: end
}

.offer-cta .visit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #111;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 800;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
    transition: transform .2s ease, box-shadow .2s ease;
    height: 50px;
    margin-top: 100px
}

.offer-cta .visit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .2)
}

.offer-cta .review {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline
}

@media (max-width:900px) {
    .offer-card {
        grid-template-columns: 1fr
    }

    .offer-brand {
        grid-template-columns: 1fr
    }

    .offer-logo {
    
    }

    .offer-cta {
        justify-items: start
    }
}

.controls-wrap {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #140a2c;
    border-bottom: 1px solid var(--border)
}

.controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px
}

.search {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px
}

.search input {
    background: transparent;
    border: 0;
    color: #fff;
    outline: none;
    width: 100%
}

.select,
.chip {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px
}

.chip {
    cursor: pointer
}

.chip[data-active="true"] {
    background: var(--accent);
    color: #111;
    border-color: transparent;
    font-weight: 700
}

#offers {
    background: #ffffff
}