:root {
    --bg-main: #060b15;
    --bg-header: #070d19;
    --bg-header-2: #0c1528;
    --bg-panel: #0f1a30;
    --bg-panel-2: #162544;
    --bg-surface: #f5f8ff;
    --bg-surface-2: #ecf2ff;
    --text-main: #e8efff;
    --text-muted: #9fb0d0;
    --text-dark: #0d1b35;
    --line-dark: #26385d;
    --line-light: #d9e3f7;
    --accent-blue: #2f75ff;
    --accent-cyan: #2fd6ff;
    --accent-green: #0ebc78;
    --accent-red: #f55353;
    --accent-orange: #ff8f28;
    --accent-violet: #8f5dff;
    --radius: 8px;
    --shadow-soft: 0 12px 30px rgba(3, 9, 20, 0.3);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.45;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

body.frontend {
    background:
        radial-gradient(circle at 15% 10%, rgba(47, 117, 255, 0.18), transparent 46%),
        radial-gradient(circle at 85% 0%, rgba(143, 93, 255, 0.14), transparent 38%),
        var(--bg-main);
    color: var(--text-main);
}

.promo-bar {
    background: linear-gradient(90deg, #0f2d75 0%, #1543aa 46%, #165ca4 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
}

.promo-bar p {
    margin: 0;
    font-size: 0.9rem;
    color: #eef5ff;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    margin-right: 0.45rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.04rem 0.42rem;
}

.promo-bar a {
    color: #eef5ff;
    text-decoration: none;
    font-weight: 700;
}

.promo-bar a:hover {
    text-decoration: underline;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(180deg, var(--bg-header), var(--bg-header-2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.header-row {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
}

.brand-link {
    text-decoration: none;
}

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(160deg, var(--accent-blue), var(--accent-violet));
    box-shadow: 0 10px 22px rgba(47, 117, 255, 0.35);
}

.brand-logo {
    display: block;
    max-width: 150px;
    max-height: 38px;
    width: auto;
    height: auto;
}

.brand-copy strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.brand-copy small {
    display: block;
    color: var(--text-muted);
    font-size: 0.74rem;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.header-search input[type="search"] {
    width: 100%;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.header-search input[type="search"]::placeholder {
    color: #9caecf;
}

.header-search button {
    border: 1px solid #2f84ff;
    border-radius: 8px;
    background: linear-gradient(180deg, #2f84ff, #2462f0);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 0.66rem 1rem;
    cursor: pointer;
}

.header-search button:hover {
    background: linear-gradient(180deg, #3a91ff, #2f75ff);
}

.header-quicklinks {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.header-quicklinks a {
    text-decoration: none;
    color: #dce8ff;
    font-size: 0.88rem;
}

.header-quicklinks a:hover {
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0.62rem 0.9rem;
    font: inherit;
    font-weight: 700;
}

.main-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.6rem 0;
}

.main-nav-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
    color: #dce7ff;
    padding: 0.48rem 0.72rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.88rem;
}

.main-nav-inner a:hover {
    border-color: rgba(47, 214, 255, 0.5);
    color: #fff;
    background: rgba(47, 117, 255, 0.16);
}

.page-shell {
    padding-top: 1.35rem;
    padding-bottom: 3rem;
}

.hero-panel {
    border: 1px solid rgba(143, 176, 227, 0.2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(47, 117, 255, 0.15), transparent 52%),
        radial-gradient(circle at 100% 0, rgba(143, 93, 255, 0.18), transparent 44%),
        linear-gradient(180deg, #111d36, #0d182d);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.hero-panel.compact {
    padding: 1.2rem 1.3rem;
}

.hero-panel.premium {
    background:
        radial-gradient(circle at 0 0, rgba(143, 93, 255, 0.22), transparent 52%),
        radial-gradient(circle at 100% 0, rgba(47, 214, 255, 0.2), transparent 44%),
        linear-gradient(180deg, #1a1637, #101428);
}

.hero-panel h1 {
    margin: 0.2rem 0 0.7rem;
    line-height: 1.2;
    font-size: clamp(1.5rem, 3.3vw, 2.2rem);
    color: #fff;
}

.hero-panel p {
    margin: 0.5rem 0;
    color: #dce7ff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #9ac6ff;
    text-transform: uppercase;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 1.1rem;
    align-items: stretch;
}

.hero-search {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hero-search input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0.72rem 0.85rem;
    font: inherit;
}

.hero-search button {
    border: 1px solid #2f84ff;
    border-radius: 8px;
    background: linear-gradient(180deg, #2f84ff, #2462f0);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 0.68rem 1.05rem;
    cursor: pointer;
}

.hero-cta-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.95rem;
}

.hero-featured-grid {
    display: grid;
    gap: 0.65rem;
}

.hero-feature-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.85rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
}

.hero-feature-provider {
    margin: 0 0 0.35rem;
    color: #9fc4ff;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-feature-card h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.hero-feature-price {
    margin: 0.45rem 0 0.6rem;
    color: #fff;
    font-weight: 700;
}

.hero-feature-card a {
    color: #8ddcff;
    text-decoration: none;
    font-size: 0.9rem;
}

.hub-section {
    background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2));
    border: 1px solid rgba(143, 176, 227, 0.2);
    border-radius: 8px;
    padding: 1.12rem 1.2rem;
    margin-bottom: 1.25rem;
}

.premium-section {
    background:
        radial-gradient(circle at 0 0, rgba(143, 93, 255, 0.16), transparent 50%),
        linear-gradient(180deg, #181d3c, #141d35);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.45rem 0.8rem;
    margin-bottom: 0.8rem;
}

.section-head h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.section-head a {
    color: #8ddcff;
    text-decoration: none;
    font-size: 0.92rem;
}

.section-head a:hover {
    text-decoration: underline;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.55rem;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47, 117, 255, 0.45);
    border-radius: 8px;
    min-height: 44px;
    padding: 0.5rem 0.7rem;
    text-decoration: none;
    color: #dce8ff;
    background: rgba(47, 117, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.category-chip:hover {
    background: rgba(47, 117, 255, 0.22);
    color: #fff;
}

.deals-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.95rem;
}

@media (min-width: 720px) {
    .deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .deals-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1500px) {
    .deals-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.deals-grid-inline-ad {
    grid-column: 1 / -1;
}

.ad-unit {
    border: 1px solid rgba(143, 176, 227, 0.3);
    border-radius: 8px;
    background: linear-gradient(165deg, rgba(32, 51, 87, 0.9), rgba(20, 32, 57, 0.95));
    padding: 0.8rem;
    color: #eaf2ff;
}

.ad-unit-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.35rem;
}

.ad-unit-label {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: rgba(47, 214, 255, 0.16);
    border: 1px solid rgba(47, 214, 255, 0.35);
    color: #c8f5ff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.08rem 0.45rem;
}

.ad-unit-body {
    display: grid;
    grid-template-columns: minmax(120px, 260px) minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
}

.ad-unit-media {
    min-height: 82px;
}

.ad-unit-media img {
    width: 100%;
    height: 100%;
    min-height: 82px;
    max-height: 230px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ad-unit-copy h3 {
    margin: 0.1rem 0 0.35rem;
    color: #fff;
    font-size: 1.05rem;
}

.ad-unit-copy p {
    margin: 0.35rem 0;
    color: #ceddfa;
}

.ad-unit-subtitle {
    margin: 0;
    color: #9ec5ff;
    font-size: 0.84rem;
    font-weight: 700;
}

.ad-unit-cta {
    margin-top: 0.35rem;
}

.ad-unit-inline .ad-unit-body {
    grid-template-columns: minmax(0, 1fr);
}

.ad-unit-inline .ad-unit-media img {
    max-height: 160px;
}

.ad-unit-hero {
    border-color: rgba(143, 93, 255, 0.45);
    background:
        radial-gradient(circle at 0 0, rgba(143, 93, 255, 0.2), transparent 55%),
        linear-gradient(180deg, #261f48, #161b35);
}

.ad-unit-wide {
    background:
        radial-gradient(circle at 0 0, rgba(47, 117, 255, 0.24), transparent 50%),
        linear-gradient(180deg, #13213f, #101b34);
}

.filter-panel {
    background: linear-gradient(180deg, #111f39, #101b33);
    border-color: rgba(126, 166, 228, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.filter-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.68rem;
    align-items: end;
}

.filter-form-grid > label,
.filter-form-grid > .filter-checkbox-group {
    border: 1px solid rgba(143, 176, 227, 0.2);
    border-radius: 8px;
    padding: 0.44rem 0.58rem;
    background: rgba(255, 255, 255, 0.025);
    min-height: 76px;
}

.filter-form-grid > label {
    font-size: 0.84rem;
    color: #dbe8ff;
}

.filter-form-grid > label input,
.filter-form-grid > label select {
    margin-top: 0.25rem;
    min-height: 38px;
    padding: 0.54rem 0.62rem;
    background: rgba(7, 16, 34, 0.44);
    border: 1px solid rgba(143, 176, 227, 0.26);
    color: #ecf2ff;
}

.filter-reset-link {
    color: #9ed3ff;
    font-size: 0.79rem;
    opacity: 0.92;
}

.filter-checkbox-group {
    display: grid;
    gap: 0.32rem;
    align-content: start;
}

.filter-checkbox-group .checkbox {
    margin: 0;
    font-size: 0.8rem;
    color: #d6e4fd;
    gap: 0.4rem;
}

.filter-checkbox-group .checkbox input {
    width: 16px;
    height: 16px;
}

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0.12rem;
}

.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.66rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid rgba(143, 176, 227, 0.25);
    background: rgba(255, 255, 255, 0.02);
    color: #bfd2f4;
    font-size: 0.73rem;
    padding: 0.12rem 0.42rem;
}

.deal-card {
    border: 1px solid var(--line-light);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-surface);
    color: var(--text-dark);
    box-shadow: 0 10px 24px rgba(9, 18, 36, 0.14);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.deal-media {
    height: 136px;
    position: relative;
    overflow: hidden;
    background: #dde8ff;
}

.deal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 2;
}

.deal-image.is-error {
    display: none;
}

.deal-media.has-image-error .deal-image {
    display: none;
}

.deal-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.26rem;
    color: #f2f7ff;
    padding: 0.6rem;
    background:
        linear-gradient(180deg, rgba(7, 13, 25, 0.04), rgba(7, 13, 25, 0.42)),
        linear-gradient(140deg, #365897, #1f2f55);
}

.deal-placeholder-type {
    display: inline-flex;
    width: fit-content;
    padding: 0.08rem 0.4rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.deal-placeholder-title {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.25;
    color: #ffffff;
}

.deal-media.placeholder-game .deal-image-placeholder {
    background:
        linear-gradient(180deg, rgba(7, 13, 25, 0.08), rgba(7, 13, 25, 0.52)),
        linear-gradient(135deg, #234273, #182746);
}

.deal-media.placeholder-software .deal-image-placeholder {
    background:
        linear-gradient(180deg, rgba(10, 18, 32, 0.1), rgba(10, 18, 32, 0.55)),
        linear-gradient(135deg, #186287, #11354b);
}

.deal-media.placeholder-gift-card .deal-image-placeholder {
    background:
        linear-gradient(180deg, rgba(22, 13, 7, 0.1), rgba(22, 13, 7, 0.52)),
        linear-gradient(135deg, #8a3f1a, #5a2812);
}

.deal-media.placeholder-ai-tool .deal-image-placeholder {
    background:
        linear-gradient(180deg, rgba(18, 12, 30, 0.1), rgba(18, 12, 30, 0.55)),
        linear-gradient(135deg, #5c33a4, #2a1f62);
}

.deal-media.placeholder-streaming .deal-image-placeholder {
    background:
        linear-gradient(180deg, rgba(10, 22, 18, 0.1), rgba(10, 22, 18, 0.55)),
        linear-gradient(135deg, #157159, #124334);
}

.deal-body {
    padding: 0.68rem;
    display: grid;
    gap: 0.42rem;
    align-content: start;
    flex: 1;
}

.deal-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.provider-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: #e4eeff;
    color: #18408c;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.deal-title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-tags {
    margin: 0;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.deal-tags span {
    display: inline-flex;
    padding: 0.12rem 0.4rem;
    border-radius: 8px;
    font-size: 0.74rem;
    color: #36517d;
    background: #e8efff;
}

.deal-pricing {
    margin: 0.1rem 0 0;
}

.deal-price {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 800;
    color: #0d2f67;
}

.deal-old-price {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.82rem;
    color: #6f7f9f;
    text-decoration: line-through;
}

.deal-updated {
    margin: 0.08rem 0;
    font-size: 0.72rem;
    color: #576a8d;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.deal-disclaimer {
    margin: 0.18rem 0 0;
    color: #6a7893;
    font-size: 0.72rem;
}

.coupon-box {
    border: 1px dashed #bdd0ef;
    border-radius: 8px;
    padding: 0.44rem 0.48rem;
    margin: 0.14rem 0 0.08rem;
    background: #f4f8ff;
}

.coupon-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.05rem;
}

.coupon-title {
    margin: 0.02rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #173a70;
}

.effective-price-box {
    margin-top: 0.24rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.28rem 0.4rem;
}

.effective-regular {
    font-size: 0.76rem;
    color: #667fa7;
    text-decoration: line-through;
}

.effective-arrow {
    font-size: 0.75rem;
    color: #4a6a9f;
}

.effective-final {
    font-size: 0.91rem;
    color: #0f6a44;
    font-weight: 800;
}

.effective-discount {
    font-size: 0.74rem;
    color: #9d4017;
    background: #ffe9df;
    border-radius: 8px;
    padding: 0.08rem 0.34rem;
    font-weight: 700;
}

.coupon-note {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    line-height: 1.3;
}

.coupon-redeem-badge {
    opacity: 0.95;
}

.coupon-code-row {
    margin: 0.18rem 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.28rem;
    font-size: 0.76rem;
}

.coupon-code-row code {
    font-size: 0.75rem;
    padding: 0.08rem 0.3rem;
    border-radius: 8px;
    background: #ebf2ff;
    color: #17407e;
}

.coupon-validity {
    margin: 0.16rem 0 0.08rem;
    color: #415989;
    font-size: 0.75rem;
}

.coupon-box details {
    margin-top: 0.14rem;
    padding: 0.3rem 0.4rem;
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(131, 162, 209, 0.32);
}

.coupon-box summary {
    font-size: 0.71rem;
}

.coupon-box .offer-list {
    margin-top: 0.25rem;
    padding-left: 0.92rem;
    gap: 0.24rem;
    font-size: 0.72rem;
    color: #3f5786;
    max-height: 100px;
    overflow: auto;
}

.coupon-cta-row {
    margin: 0.22rem 0 0;
}

.coupon-cta-button {
    width: 100%;
    font-size: 0.75rem;
    padding: 0.4rem 0.58rem;
}

.coupon-card {
    border: 1px solid var(--line-light);
    border-radius: 8px;
    background: var(--bg-surface);
    color: var(--text-dark);
    padding: 0.9rem;
    box-shadow: 0 8px 20px rgba(9, 18, 36, 0.1);
}

.coupon-card h2,
.coupon-card h3 {
    margin: 0.15rem 0 0.5rem;
}

.copy-code-btn {
    margin-left: 0;
    border-radius: 8px;
    border: 1px solid #b8c8e8;
    background: #fff;
    color: #193f85;
    font-size: 0.72rem;
    padding: 0.16rem 0.45rem;
    font-weight: 700;
    cursor: pointer;
}

.copy-code-btn:hover {
    background: #f1f6ff;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 0.1rem 0.38rem;
    font-size: 0.68rem;
    font-weight: 700;
}

.badge-discount {
    background: #ffe8e8;
    color: #b41f1f;
}

.badge-coupon {
    background: #e4f5ff;
    color: #0f5f8f;
}

.badge-highlight {
    background: #fff2de;
    color: #9e4d05;
}

.badge-exclusive {
    background: #f0e8ff;
    color: #5f35ae;
}

.badge-best {
    background: #dff5e8;
    color: #0f6a44;
}

.badge-best-effective {
    background: #e1f2ff;
    color: #0a5f96;
}

.badge-neutral {
    background: #e3ecff;
    color: #2a4679;
}

.badge-platform {
    background: #d9f4ff;
    color: #065f84;
}

.badge-region {
    background: #eaf8eb;
    color: #146943;
}

.badge-availability {
    background: #e6f9ef;
    color: #106d43;
}

.effective-price {
    color: #176d47;
    font-weight: 800;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #1f6ffc;
    background: linear-gradient(180deg, #2f84ff, #2462f0);
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.52rem 0.85rem;
}

.button-link:hover {
    background: linear-gradient(180deg, #3b93ff, #2e75ff);
}

.button-link.secondary {
    border-color: #5973a1;
    background: #324768;
}

.button-link.secondary:hover {
    background: #3a5279;
}

.button-link.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.empty-state {
    border: 1px dashed rgba(174, 198, 234, 0.55);
    border-radius: 8px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.notice-demo {
    border-color: rgba(47, 214, 255, 0.24);
    background: rgba(47, 214, 255, 0.06);
    color: #cfe7ff;
    margin-bottom: 0.62rem;
    font-size: 0.8rem;
    border-left: 3px solid rgba(47, 214, 255, 0.45);
}

.empty-state h3 {
    margin: 0 0 0.4rem;
    color: #f0f5ff;
}

.empty-state p {
    margin: 0;
    color: var(--text-muted);
}

.content-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.content-column {
    border: 1px solid rgba(143, 176, 227, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.85rem;
}

.content-column h3 {
    margin: 0 0 0.65rem;
    color: #fff;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8rem;
}

.article-card {
    border: 1px solid var(--line-light);
    border-radius: 8px;
    background: var(--bg-surface);
    color: var(--text-dark);
    padding: 0.85rem;
}

.article-card h2,
.article-card h4 {
    margin: 0.35rem 0 0.45rem;
    line-height: 1.3;
}

.article-card-large {
    padding: 0.75rem;
}

.article-meta {
    margin: 0;
    color: #5a6f96;
    font-size: 0.82rem;
}

.article-card-list {
    display: grid;
    gap: 0.55rem;
}

.article-image-placeholder {
    height: 120px;
    border-radius: 8px;
    background: linear-gradient(140deg, #dbe6ff, #e9edfb);
    color: #5f7092;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.article-layout {
    max-width: 880px;
    margin-inline: auto;
}

.article-teaser {
    font-size: 1.05rem;
    color: #d9e7ff;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.article-content {
    color: #dce8ff;
    line-height: 1.7;
}

.article-content strong {
    color: #fff;
}

.provider-grid,
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.provider-tile {
    border: 1px solid rgba(143, 176, 227, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
}

.provider-tile h2,
.provider-tile h3 {
    margin: 0 0 0.45rem;
}

.trust-grid article {
    border: 1px solid rgba(143, 176, 227, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.85rem;
}

.trust-grid h3 {
    margin-top: 0;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
    gap: 1rem;
}

.product-cover,
.responsive-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(143, 176, 227, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.product-cover {
    max-height: 320px;
    object-fit: cover;
}

.responsive-image {
    max-height: 420px;
    object-fit: cover;
}

.product-cover-placeholder {
    min-height: 220px;
    border-radius: 8px;
    border: 1px dashed rgba(143, 176, 227, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
}

.meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.7rem;
}

.table-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    border: 1px solid rgba(143, 176, 227, 0.3);
    border-radius: 8px;
    overflow: hidden;
    background: #edf3ff;
    color: #102147;
}

.compare-table th,
.compare-table td {
    border: 1px solid #cfdcf7;
    padding: 0.55rem 0.5rem;
    text-align: left;
    vertical-align: top;
}

.compare-table th {
    background: #dbe8ff;
    color: #183562;
    font-size: 0.86rem;
}

.compare-table td {
    font-size: 0.86rem;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.legal-note {
    margin: 0;
}

.offer-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
}

.pagination-nav {
    margin-top: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.pagination-meta {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.faq-list {
    display: grid;
    gap: 0.45rem;
}

.coupon-list li {
    margin-bottom: 0.35rem;
}

details {
    border: 1px solid rgba(143, 176, 227, 0.25);
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    background: rgba(255, 255, 255, 0.03);
}

summary {
    cursor: pointer;
    font-weight: 700;
}

.muted {
    color: var(--text-muted);
}

.active-sort {
    color: #fff;
    font-weight: 700;
}

.notice {
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin: 0.3rem 0;
    border: 1px solid rgba(143, 176, 227, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.notice.success {
    border-color: rgba(14, 188, 120, 0.6);
}

.notice.error {
    border-color: rgba(245, 83, 83, 0.7);
}

.notice.warning {
    border-color: rgba(255, 143, 40, 0.65);
}

.legal-content {
    background: rgba(255, 255, 255, 0.02);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1rem;
}

.surface-card {
    border: 1px solid rgba(143, 176, 227, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cookie-settings-section .surface-card {
    max-width: 760px;
}

.consent-banner {
    position: relative;
    z-index: 60;
    background: rgba(8, 14, 28, 0.97);
    border-top: 1px solid rgba(143, 176, 227, 0.35);
    box-shadow: inset 0 6px 18px rgba(0, 0, 0, 0.2);
}

.consent-banner.is-hidden {
    display: none;
}

.consent-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
}

.consent-copy p {
    margin: 0.2rem 0;
    color: #c5d7f8;
    font-size: 0.9rem;
}

.consent-copy a {
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.consent-controls {
    display: grid;
    gap: 0.4rem;
    justify-items: start;
}

.consent-controls .checkbox {
    color: #d8e6ff;
    font-size: 0.84rem;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #070d19, #03060d);
    padding: 1.5rem 0;
}

.footer-promo-shell {
    margin-bottom: 0.9rem;
}

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

.footer-grid section h2 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    color: #eef4ff;
    font-size: 1rem;
}

.footer-logo {
    max-width: 160px;
    max-height: 46px;
    width: auto;
    height: auto;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
    color: #adc1e7;
    font-size: 0.88rem;
}

.footer-grid ul {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.25rem;
}

.footer-grid a {
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-meta {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-meta p {
    margin: 0.35rem 0;
    color: #9cb1d8;
    font-size: 0.84rem;
}

/* Adminbereich */
body.admin {
    background: #eef2f8;
    color: #102247;
}

.admin-header {
    background: #0f172a;
    color: #fff;
    padding: 0.9rem 0;
}

.admin-nav {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
}

.admin-brand {
    font-weight: 700;
    font-size: 0.92rem;
    color: #e8f0ff;
}

.admin-nav nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    color: #dbeafe;
    text-decoration: none;
    border: 1px solid rgba(153, 187, 255, 0.2);
    border-radius: 8px;
    padding: 0.36rem 0.56rem;
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    font-size: 0.86rem;
}

.admin-nav a:hover {
    text-decoration: none;
    background: rgba(47, 117, 255, 0.24);
    border-color: rgba(120, 169, 255, 0.55);
}

.admin-nav a[aria-current="page"] {
    background: rgba(47, 117, 255, 0.3);
    border-color: rgba(143, 188, 255, 0.7);
    color: #ffffff;
}

.admin-nav nav::-webkit-scrollbar {
    height: 7px;
}

.admin-nav nav::-webkit-scrollbar-thumb {
    background: rgba(143, 176, 227, 0.42);
    border-radius: 8px;
}

.admin-nav .logout-form {
    display: inline-flex;
}

.admin-nav .logout-form button {
    padding: 0.34rem 0.6rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

main.container {
    padding-bottom: 2.2rem;
}

body.admin main.container {
    padding-top: 1rem;
}

.card {
    background: #fff;
    border: 1px solid #dde4f3;
    border-radius: 8px;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    color: #102247;
}

.card.narrow {
    max-width: 500px;
}

.simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.offer-card {
    border: 1px solid #dbe4f4;
    border-radius: 8px;
    background: #fff;
    padding: 0.75rem;
}

.warning {
    color: #9a3412;
}

.form-grid {
    display: grid;
    gap: 0.75rem;
}

label {
    display: grid;
    gap: 0.25rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="datetime-local"],
input[type="search"],
select,
textarea {
    width: 100%;
    border: 1px solid #c9d5eb;
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
    font: inherit;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

button {
    border: 1px solid #1f6ffc;
    border-radius: 8px;
    background: linear-gradient(180deg, #2f84ff, #2462f0);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 0.58rem 0.9rem;
    cursor: pointer;
}

button:hover {
    background: linear-gradient(180deg, #3b93ff, #2e75ff);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
}

th,
td {
    border: 1px solid #e1e7f4;
    padding: 0.52rem;
    text-align: left;
    vertical-align: top;
}

.inline-edit-form {
    border: 1px solid #dbe2f2;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: #fff;
}

.relation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.35rem;
}

.relation-grid-products {
    max-height: 300px;
    overflow: auto;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    padding: 0.7rem;
    background: #fff;
}

.thumb-image {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.logout-form {
    display: inline;
}

@media (max-width: 980px) {
    .header-row {
        grid-template-columns: auto 1fr auto;
    }

    .header-quicklinks {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
    }

    body.nav-open .main-nav {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .product-hero-grid {
        grid-template-columns: 1fr;
    }

    .content-grid-two {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .ad-unit-body {
        grid-template-columns: 1fr;
    }

    .consent-inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 700px) {
    .container {
        width: calc(100% - 1.2rem);
    }

    .header-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand menu"
            "search search";
    }

    .brand-block {
        grid-area: brand;
    }

    .mobile-menu-toggle {
        grid-area: menu;
    }

    .header-search {
        grid-area: search;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search button {
        width: 100%;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        align-items: stretch;
    }

    .admin-nav nav {
        padding-bottom: 0.35rem;
    }
}
