/* ============================================================
   SUNFH – Apple-style Design System
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=Instrument+Serif:ital@0;1&display=swap');

/* ── Variables ── */
:root {
    --accent:        #0071e3;
    --accent-dark:   #005bb5;
    --accent-light:  #e8f0fe;
    --green:         #30d158;
    --green-bg:      #e9faf0;
    --yellow:        #f4a32a;
    --yellow-bg:     #fff8e8;
    --red:           #ff3b30;
    --dark:          #1d1d1f;
    --mid:           #3d3d3f;
    --muted:         #6e6e73;
    --border:        rgba(0,0,0,.08);
    --border-strong: rgba(0,0,0,.14);
    --bg:            #f5f5f7;
    --surface:       #ffffff;
    --surface-2:     #fafafa;
    --shadow-sm:     0 2px 12px rgba(0,0,0,.06);
    --shadow-md:     0 8px 32px rgba(0,0,0,.10);
    --shadow-lg:     0 20px 60px rgba(0,0,0,.13);
    --radius-sm:     8px;
    --radius-md:     14px;
    --radius-lg:     20px;
    --radius-xl:     28px;
    --radius-pill:   999px;
    --ease:          cubic-bezier(.22,.68,0,1.2);
    --trans:         .25s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px) saturate(200%);
    -webkit-backdrop-filter: blur(18px) saturate(200%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* Logo */
.logo { display: flex; flex-direction: column; flex-shrink: 0; }
.logo h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: -.02em;
}
.logo h1 i { color: var(--accent); font-size: 1rem; }
.tagline { color: var(--muted); font-size: .72rem; font-weight: 500; margin-top: -1px; }

/* Search */
.search-box {
    position: relative;
    flex: 1;
    max-width: 380px;
    height: 36px;
}
.search-box i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: .85rem;
    pointer-events: none;
}
.search-box input {
    width: 100%;
    height: 100%;
    padding: 0 14px 0 38px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: .9rem;
    font-family: inherit;
    color: var(--dark);
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus {
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(0,113,227,.12);
}

/* Lang selector */
.lang-selector { position: relative; flex-shrink: 0; height: 36px; }
.lang-btn {
    height: 36px;
    padding: 0 14px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.lang-btn:hover { background: #ebebed; border-color: var(--border-strong); }
.lang-btn i { font-size: .7rem; color: var(--muted); transition: transform .2s; }
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    min-width: 150px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 600;
}
.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: .88rem;
    color: var(--dark);
    font-weight: 500;
    transition: background .15s;
    border-bottom: 1px solid var(--border);
}
.lang-dropdown a:last-child { border-bottom: none; }
.lang-dropdown a:hover, .lang-dropdown a.active {
    background: var(--accent-light);
    color: var(--accent);
}
.lang-dropdown.show { display: block; }

/* Admin button */
.admin-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    background: var(--dark);
    color: white;
    border-radius: var(--radius-pill);
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
}
.admin-btn:hover { background: var(--mid); transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(140deg, #fff 0%, #e8f0fe 45%, #fce4ec 100%);
    padding: 72px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 55% at 82% 18%, rgba(0,113,227,.14) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 12% 82%, rgba(255,45,85,.09) 0%, transparent 60%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.18;
    letter-spacing: -.025em;
    margin-bottom: 18px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
    font-weight: 400;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: var(--radius-pill);
    font-size: .88rem;
    font-weight: 500;
    color: var(--mid);
}
.stat i { font-size: .9rem; }
.stat i.fa-star        { color: var(--yellow); }
.stat i.fa-globe-europe{ color: var(--accent); }
.stat i.fa-euro-sign   { color: var(--green); }

/* ============================================================
   PAGE HEADER (category / offer)
   ============================================================ */
.page-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 28px 0 24px;
}
.page-header h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--dark);
    letter-spacing: -.02em;
    margin-top: 8px;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: .82rem;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.breadcrumbs a {
    color: var(--accent);
    font-weight: 500;
    transition: opacity .15s;
}
.breadcrumbs a:hover { opacity: .7; }
.breadcrumbs span { color: var(--muted); }

/* ============================================================
   SECTION LAYOUTS
   ============================================================ */
.categories-section { padding: 56px 0; }
.offers-section      { padding: 0 0 80px; }

.section-header { margin-bottom: 28px; }
.section-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}
.section-header h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--dark);
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-header h3 i { color: var(--accent); font-size: 1.1rem; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px 20px;
    text-align: center;
    cursor: pointer;
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,113,227,.25);
}
.category-card:active { transform: scale(.97); }

.all-categories {
    background: linear-gradient(135deg, var(--accent) 0%, #4f8ef7 100%);
    border-color: transparent;
}
.all-categories h4 { color: #fff !important; }

.category-icon { font-size: 2.2rem; line-height: 1; }
.category-card h4 {
    font-size: .92rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

/* ============================================================
   OFFER CARDS
   ============================================================ */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.offer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform var(--trans), box-shadow var(--trans);
}
.offer-card:hover {
    transform: translateY(-6px) scale(1.008);
    box-shadow: var(--shadow-lg);
}
.offer-card:active { transform: scale(.98); }

/* Image / logo area */
.offer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    height: 190px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 16px;
}
.offer-header img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.offer-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-light) 0%, #fce4ec 100%);
    font-size: 2.5rem;
    color: var(--muted);
}

/* Content */
.offer-content { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.offer-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

.category-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.offer-badge-horizontal {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.cashback, .rating {
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    font-size: .70rem;
    font-weight: 700;
}
.cashback {
    background: var(--green-bg);
    color: #1a9e40;
    border: 1px solid rgba(48,209,88,.2);
}
.rating {
    background: var(--yellow-bg);
    color: #c07c00;
    border: 1px solid rgba(244,163,42,.2);
}
.rating i { margin-right: 2px; }

.offer-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-content p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.offer-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    flex: 1;
    transition: background .2s, transform .15s, box-shadow .2s;
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,113,227,.35);
}
.btn-primary:active { transform: scale(.97); }
.btn-primary i { font-size: .75rem; }

.btn-secondary {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--border-strong);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
    transition: border-color .2s, color .2s, background .2s;
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
    align-self: flex-start;
    flex: none;
}

.btn-accept {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: .88rem;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-accept:hover { background: var(--accent-dark); }

/* ============================================================
   OFFER DETAIL PAGE
   ============================================================ */
.offer-detail { padding: 40px 0 80px; }

.offer-detail-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.offer-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 36px;
}

.offer-image-large {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    min-height: 240px;
}
.offer-image-large img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.offer-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.offer-meta p {
    font-size: 1rem;
    color: var(--mid);
    line-height: 1.5;
}
.offer-meta strong { color: var(--dark); }

.cashback-big {
    font-size: 2rem;
    font-weight: 700;
    color: #1a9e40;
    letter-spacing: -.03em;
}

.offer-description, .offer-full-content {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    margin-top: 4px;
}
.offer-description h2, .offer-full-content h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -.02em;
}
.offer-description p, .offer-full-content p {
    color: var(--mid);
    line-height: 1.8;
    font-size: .95rem;
}
.offer-full-content { margin-top: 0; }

/* ============================================================
   CATEGORY DETAIL
   ============================================================ */
.category-description {
    background: var(--accent-light);
    border: 1px solid rgba(0,113,227,.12);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 14px;
    font-size: .93rem;
    color: var(--mid);
    line-height: 1.7;
}
.category-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 16px 0;
    font-size: .93rem;
    color: var(--mid);
    line-height: 1.8;
}

/* ============================================================
   FLOATING BUTTON
   ============================================================ */
.floating-close, .floating-back {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    transition: background .2s, transform .2s;
    text-decoration: none;
    z-index: 400;
}
.floating-close:hover, .floating-back:hover {
    background: var(--mid);
    transform: scale(1.08);
}
.floating-close:active, .floating-back:active { transform: scale(.95); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    color: white;
    padding: 56px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.footer-logo h3 i { color: var(--accent); }
.footer-logo p {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
    margin-top: 4px;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.footer-links h4, .footer-contact h4 {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 14px;
}
.footer-links a {
    font-size: .9rem;
    color: rgba(255,255,255,.75);
    padding: 5px 0;
    transition: color .15s;
}
.footer-links a:hover { color: white; }

.footer-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-languages a {
    padding: 5px 12px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 500;
    transition: background .15s, color .15s;
}
.footer-languages a:hover, .footer-languages a.active {
    background: var(--accent);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
    text-align: center;
    font-size: .82rem;
    color: rgba(255,255,255,.35);
    line-height: 1.8;
}
.footer-bottom p { margin-bottom: 4px; }
.affiliate-disclosure { font-size: .78rem; }
.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
}
.disclaimer i { color: rgba(255,255,255,.4); }

/* ============================================================
   GDPR BANNER
   ============================================================ */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(29,29,31,.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.1);
    color: white;
    padding: 14px 0;
    z-index: 600;
    display: none;
}
.gdpr-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.gdpr-banner p { font-size: .88rem; color: rgba(255,255,255,.7); flex: 1; min-width: 200px; }
.gdpr-banner a { color: var(--accent); text-decoration: underline; }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(4px);
    z-index: 700;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-content {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.modal-content h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 16px;
}
.modal-content p { font-size: .9rem; color: var(--mid); line-height: 1.7; }
.close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    transition: color .15s;
}
.close:hover { color: var(--dark); }

/* ============================================================
   LEGAL / ABOUT PAGES
   ============================================================ */
.legal-section, .about-section { padding: 48px 0 80px; }
.legal-card, .about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.legal-card h2, .about-card h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -.02em;
}
.legal-card p, .about-card p {
    font-size: .93rem;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 12px;
}
.legal-card p:last-child, .about-card p:last-child { margin-bottom: 0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeUp .55s var(--ease) both; }
.d1  { animation-delay: .06s } .d2  { animation-delay: .11s }
.d3  { animation-delay: .16s } .d4  { animation-delay: .21s }
.d5  { animation-delay: .08s } .d6  { animation-delay: .13s }
.d7  { animation-delay: .18s } .d8  { animation-delay: .23s }
.d9  { animation-delay: .28s } .d10 { animation-delay: .10s }
.d11 { animation-delay: .15s } .d12 { animation-delay: .20s }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }

    .header { height: 54px; }
    .header-container { gap: 10px; }

    .search-box { max-width: none; height: 34px; }
    .lang-btn { height: 34px; padding: 0 10px; font-size: .82rem; }
    .lang-selector { height: 34px; }

    .hero { padding: 44px 0 40px; }
    .hero h2 { font-size: 2rem; }
    .hero-description { font-size: .95rem; }

    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
    .category-card { padding: 18px 12px 14px; }
    .category-icon { font-size: 1.8rem; }

    .offers-grid { grid-template-columns: 1fr; }
    .offer-header { height: 160px; }

    .offer-detail-card { padding: 20px; }
    .offer-detail-header { grid-template-columns: 1fr; gap: 20px; }
    .offer-image-large { min-height: 160px; }
    .cashback-big { font-size: 1.6rem; }
    .btn-large { align-self: stretch; justify-content: center; }

    .footer-content { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer-languages { justify-content: center; }
    .disclaimer { flex-direction: column; gap: 4px; }
    .gdpr-banner .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .category-card { padding: 14px 8px 12px; }
    .category-icon { font-size: 1.5rem; }
    .category-card h4 { font-size: .82rem; }
    .offer-header { height: 130px; }
    .offer-detail-card { padding: 16px; }
    .legal-card, .about-card { padding: 20px; }
    .modal-content { padding: 24px 20px; }
    .floating-close, .floating-back { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
