/* ════════════════════════════════════════════════════════
   ÖN YÜZ — koyu, 60-30-10
   %60 zemin (--bg) · %30 yüzeyler (--surface) · %10 vurgu (--accent)
   Vurgu rengi sadece: 1. yazı, premium çerçevesi, butonlar.
════════════════════════════════════════════════════════ */

:root {
    /* 60 */
    --bg: #0d0e11;
    /* 30 */
    --surface: #181a20;
    --surface-2: #20232b;
    --line: #2a2d36;
    /* 10 */
    --accent: #d9b36a;
    --accent-hi: #ebcd8f;
    --accent-line: rgba(217, 179, 106, 0.5);
    --ink: #17120a;                 /* vurgu üstündeki yazı */

    --text: #f4f2ee;
    --muted: #a6a8b0;

    --font: 'Inter', system-ui, sans-serif;
    --radius: 14px;
}

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

html {
    background: var(--bg);
}

body {
    min-height: 100vh;
    padding: 28px 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

.wrapper {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ── Logo ve sosyal ───────────────────────────────────── */
.logo-section {
    text-align: center;
    padding: 4px 0;
}

.logo-section img {
    height: 88px;
    width: auto;
    object-fit: contain;
}

.social-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 10px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--brand, var(--text));    /* paneldeki renk ikona uygulanır */
    font-size: 18px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.social-icon:hover {
    border-color: var(--brand, var(--accent));
    transform: translateY(-2px);
}

/* ── Slider / GIF bannerlar ───────────────────────────── */
.page-banner {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    text-decoration: none;
    transition: filter 0.2s;
}

.page-banner:hover {
    filter: brightness(1.08);
}

.page-banner__inner {
    width: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 16px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.page-banner__icon { font-size: 24px; opacity: 0.35; }
.page-banner__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.page-banner__sub { font-size: 11px; color: var(--muted); opacity: 0.75; }

/* ── Kart satırları ───────────────────────────────────── */
/* Sütun sayısı panelden gelir (--cols); eksik kalan satır ortalanır */
.card-row {
    --gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}

.card-row > .page-card {
    flex: 0 0 calc((100% - (var(--cols, 4) - 1) * var(--gap)) / var(--cols, 4));
}

/* Premium'da satır eksikse kartlar genişleyip satırı doldurur */
.card-row > .page-card--premium {
    flex-grow: 1;
}

.page-card {
    position: relative;
    min-width: 0;
    display: flex;
    container-type: inline-size;
    color: inherit;
    text-decoration: none;
}

/*
 * Kart katmanları:
 *   zemin   = ince çerçeve rengi
 *   ::before = dönen ışık (sadece 1px'lik çerçevede görünür)
 *   ::after  = kartın içi (ışığı örter) + üstte kısa altın çizgi
 */
.page-card__inner {
    --logo-h: 30px;
    --edge: var(--line);
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1px;
    border-radius: 12px;
    background: var(--edge);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.page-card__inner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -2;
    width: 260%;
    aspect-ratio: 1;
    background: conic-gradient(transparent 0 300deg, rgba(217, 179, 106, 0.75) 345deg, transparent 360deg);
    transform: translate(-50%, -50%);
    animation: card-light 7s linear infinite;
}

.page-card__inner::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: 11px;
    background:
        linear-gradient(90deg, transparent, var(--accent), transparent) 50% 0 / 55% 1px no-repeat,
        radial-gradient(80% 55% at 50% 0%, rgba(217, 179, 106, 0.09), transparent 70%),
        linear-gradient(180deg, #20232b, var(--surface));
}

@keyframes card-light {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ışıklar aynı anda dönmesin */
.card-row > .page-card:nth-child(4n + 2) .page-card__inner::before { animation-delay: -1.8s; }
.card-row > .page-card:nth-child(4n + 3) .page-card__inner::before { animation-delay: -3.6s; }
.card-row > .page-card:nth-child(4n + 4) .page-card__inner::before { animation-delay: -5.4s; }

.page-card:hover .page-card__inner {
    --edge: var(--accent-line);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 16px rgba(217, 179, 106, 0.16);
    transform: translateY(-2px);
}

/* Logo alanı sabit yükseklikte: yazılar her kartta aynı hizada başlar */
.page-card__logo {
    flex-shrink: 0;
    width: 100%;
    height: calc(var(--logo-h) + 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
}

.page-card__logo img {
    width: auto;
    max-width: min(130px, 100%);
    max-height: var(--logo-h);
    object-fit: contain;
}

.page-card__label {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 7px 6px 8px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 11px 11px;
    background: #121318;
    line-height: 1.28;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

/* yazılar süslerin üstünde kalır */
.page-card__h1,
.page-card__bonus,
.page-card__cta {
    position: relative;
    z-index: 2;
}

.page-card__h1 {
    color: var(--accent);
    font-size: clamp(12px, 8.4cqi, 16px);
    font-weight: 800;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.page-card__bonus {
    color: var(--muted);
    font-size: clamp(10px, 6.2cqi, 11.5px);
    font-weight: 500;
    text-wrap: balance;
}

/* Metalik süs (taç / elmas / yıldız): sağ altta, soluk */
.page-card__decor {
    position: absolute;
    right: -7px;
    bottom: -9px;
    z-index: 1;
    width: min(27%, 42px);
    aspect-ratio: 1;
    opacity: 0.18;
    transform: rotate(-12deg);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
}

.page-card:hover .page-card__decor {
    opacity: 0.45;
    transform: rotate(-4deg) scale(1.08);
}

.page-card__cta {
    display: none;
    flex-shrink: 0;
    align-self: center;
    margin-right: 14px;
    padding: 8px 16px;
    border: 1px solid var(--accent-line);
    border-radius: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Premium: parlak altın çerçeve, çift ışık, taç ve yıldız */
.page-card--premium .page-card__inner {
    --logo-h: 36px;
    --edge: rgba(217, 179, 106, 0.42);
}

.page-card--premium .page-card__inner::before {
    background: conic-gradient(
        transparent 0 110deg, #fff1c9 165deg, transparent 180deg,
        transparent 290deg, #fff1c9 345deg, transparent 360deg);
    animation-duration: 4.5s;
}

.page-card--premium .page-card__inner::after {
    background:
        radial-gradient(60% 130% at 18% 50%, rgba(217, 179, 106, 0.16), transparent 70%),
        linear-gradient(135deg, #2b261d, var(--surface) 70%);
}

.page-card--premium:hover .page-card__inner {
    --edge: var(--accent);
}

.page-card--premium .page-card__label {
    border-color: rgba(217, 179, 106, 0.28);
    background: rgba(217, 179, 106, 0.07);
}

.page-card--premium .page-card__bonus {
    color: var(--text);
}

.page-card--premium .page-card__decor {
    width: min(40%, 62px);
    opacity: 0.34;
}

.page-card__star {
    position: absolute;
    top: -9px;
    left: 50%;
    z-index: 3;
    width: 19px;
    height: 19px;
    filter: drop-shadow(0 0 6px rgba(217, 179, 106, 0.7));
    transform: translateX(-50%);
    pointer-events: none;
}

.page-card--premium:hover .page-card__star {
    transform: translate(-50%, -2px) scale(1.1);
}

.page-card--premium .page-card__cta {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
}

.page-card--premium:hover .page-card__cta {
    border-color: var(--accent-hi);
    background: var(--accent-hi);
}

/* Geniş kart (satırda 1-2 kart): tek sıra, alçak */
@container (min-width: 290px) {
    .page-card__inner {
        flex-direction: row;
    }

    .page-card__logo {
        width: 38%;
        height: auto;
        min-height: calc(var(--logo-h) + 24px);
    }

    .page-card__label {
        width: auto;
        min-width: 0;
        align-items: flex-start;
        padding: 8px 14px;
        border-top: 0;
        border-left: 1px solid var(--line);
        border-radius: 0;
        background: none;
        text-align: left;
    }

    .page-card__h1 { font-size: clamp(14px, 4.4cqi, 18px); }
    .page-card__bonus { font-size: clamp(11px, 3cqi, 12.5px); }

    .page-card__decor {
        right: 12px;
        bottom: -8px;
    }

    .page-card--premium .page-card__label {
        background: none;
    }

    .page-card--premium .page-card__decor {
        right: 112px;
        width: 58px;
    }

    .page-card--premium .page-card__cta {
        display: block;
    }
}

@container (min-width: 560px) {
    .page-card__logo {
        width: 30%;
    }

    .page-card__cta {
        display: block;
    }

    .page-card__decor,
    .page-card--premium .page-card__decor {
        right: 136px;
    }
}

/* Telefon: yazılar ve boşluklar küçük */
@media (max-width: 640px) {
    .card-row {
        --gap: 6px;
    }

    .page-card__inner {
        --logo-h: 22px;
        border-radius: 10px;
    }

    .page-card__inner::after {
        border-radius: 9px;
    }

    .page-card--premium .page-card__inner {
        --logo-h: 26px;
    }

    .page-card__logo {
        height: calc(var(--logo-h) + 16px);
        padding: 8px 6px;
    }

    .page-card__label {
        gap: 0;
        padding: 4px 3px 5px;
        border-radius: 0 0 9px 9px;
        line-height: 1.22;
    }

    .page-card__h1 { font-size: 11.5px; letter-spacing: -0.01em; }
    .page-card__bonus { font-size: 9.5px; }

    .page-card__decor { width: min(25%, 28px); right: -5px; bottom: -6px; }

    .page-card__cta {
        margin-right: 9px;
        padding: 6px 10px;
        border-radius: 7px;
        font-size: 10px;
    }

    .page-card__star {
        top: -7px;
        width: 15px;
        height: 15px;
    }

    /* 4'lü dizilim */
    @container (max-width: 104px) {
        .page-card__logo { padding: 8px 5px; }
        .page-card__label { padding: 4px 2px 5px; }
        .page-card__h1 { font-size: 10px; letter-spacing: -0.02em; }
        .page-card__bonus { font-size: 8.5px; letter-spacing: -0.005em; }
    }

    @container (max-width: 80px) {
        .page-card__label { padding-left: 1px; padding-right: 1px; }
        .page-card__h1 { font-size: 9px; letter-spacing: -0.03em; }
        .page-card__bonus { font-size: 8px; }
    }

    /* tek sıra kartlar */
    @container (min-width: 290px) {
        .page-card__logo {
            height: auto;
            min-height: calc(var(--logo-h) + 18px);
            padding: 8px 10px;
        }

        .page-card__label { padding: 5px 10px; border-radius: 0; }
        .page-card__h1 { font-size: 12.5px; }
        .page-card__bonus { font-size: 10px; }
        .page-card__decor { width: 34px; bottom: -5px; right: 8px; }
        .page-card--premium .page-card__decor { right: 82px; width: 38px; }
    }
}

/* Orta genişlikte kartta köşede yer var: süs tam görünsün */
@container (min-width: 150px) and (max-width: 289px) {
    .page-card__decor {
        right: 4px;
        bottom: 3px;
        width: 24px;
        opacity: 0.38;
    }
}

/* ── Alt kısım ────────────────────────────────────────── */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 24px 0 8px;
    border-top: 1px solid var(--line);
}

.footer-provided {
    line-height: 0;
}

.footer-provided img {
    height: 44px;
    width: auto;
}

/* ── Telefon ──────────────────────────────────────────── */
@media (max-width: 640px) {
    body {
        padding: 20px 10px 16px;
    }

    .logo-section img {
        height: 70px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .wrapper {
        gap: 6px;
    }
}

/* ════════════════════════════════════════════════════════
   POPUP
════════════════════════════════════════════════════════ */
.popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(5, 6, 8, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-wrap {
    position: fixed;
    inset: 0;
    z-index: 9001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#bonus-popup.is-open .popup-backdrop {
    opacity: 1;
    visibility: visible;
}

#bonus-popup.is-open .popup-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#bonus-popup.is-open .popup-panel {
    transform: none;
    opacity: 1;
}

.popup-panel {
    position: relative;
    width: 100%;
    max-width: 540px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #121318;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.38s ease;
}

.popup-close-btn {
    position: absolute;
    top: -14px;
    right: -12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
}

.popup-close-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.popup-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: inherit;
}

.popup-body > * {
    flex-shrink: 0;
}

.popup-grid-1,
.popup-grid-2,
.popup-grid-3,
.popup-grid-4,
.popup-grid-5 {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(var(--popup-cols, 1), minmax(0, 1fr));
}

.popup-grid-2 { --popup-cols: 2; }
.popup-grid-3 { --popup-cols: 3; }
.popup-grid-4 { --popup-cols: 4; }
.popup-grid-5 { --popup-cols: 5; }

.popup-card {
    min-width: 0;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.popup-card:hover {
    border-color: var(--accent-line);
    background-color: var(--surface-2);
}

.popup-card img {
    width: auto;
    max-width: 100%;
    max-height: 34px;
    object-fit: contain;
}

.popup-card__label {
    width: 100%;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

/* Büyük kart */
.popup-card--full {
    min-height: 66px;
    flex-direction: row;
    gap: 14px;
    padding: 12px 18px;
    border-color: var(--accent-line);
}

.popup-card--full .popup-card__label {
    width: auto;
    font-size: 13px;
}

.brand-text {
    color: var(--text);
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

/* Canlı yayın kutusu */
.popup-live-card {
    display: flex;
    width: 100%;
    border: 1px solid var(--accent-line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(217, 179, 106, 0.12), rgba(217, 179, 106, 0.02)),
        var(--surface);
    text-decoration: none;
    transition: border-color 0.2s;
}

.popup-live-card:hover {
    border-color: var(--accent);
}

.popup-live-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
}

.popup-live-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff6b6b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.popup-live-card__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d4d;
    animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.55); }
    70%  { box-shadow: 0 0 0 6px rgba(255, 77, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.popup-live-card__text {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-wrap: balance;
}

.popup-live-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.popup-live-card:hover .popup-live-card__btn {
    background: var(--accent-hi);
}

.popup-banner {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
}

.popup-banner__inner {
    width: 100%;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.popup-banner__icon { font-size: 18px; opacity: 0.35; }
.popup-banner__label { font-size: 11px; font-weight: 600; color: var(--muted); }
.popup-banner__sub { font-size: 10px; color: var(--muted); opacity: 0.75; }

/* Görsel şekli seçenekleri */
.popup-card.popup-card--strip_gif {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 6px;
}

.popup-card.popup-card--strip_gif img {
    width: 100%;
    max-height: 180px;
}

.popup-card.popup-card--square_gif {
    min-height: 180px;
    padding: 10px;
}

.popup-card.popup-card--square_gif img {
    width: 100%;
    max-height: 220px;
}

.popup-card.popup-card--logo_gif img { max-height: 44px; }
.popup-card.popup-card--logo_std img { max-height: 36px; }

.popup-card.popup-card--sm {
    min-height: 82px;
    padding: 10px 5px 9px;
    gap: 7px;
}

.popup-card.popup-card--sm img { max-height: 28px; }
.popup-card--sm .popup-card__label { font-size: 10px; }

body.popup-active {
    overflow: hidden;
}

@media (max-width: 560px) {
    .popup-wrap {
        padding: 24px 12px;
    }

    .popup-body {
        gap: 8px;
        padding: 14px 10px;
    }

    .popup-grid-2,
    .popup-grid-3,
    .popup-grid-4,
    .popup-grid-5 {
        gap: 7px;
    }

    .popup-card {
        min-height: 84px;
        padding: 11px 5px 10px;
        gap: 8px;
    }

    .popup-card__label { font-size: 10px; }
    .popup-card--sm .popup-card__label { font-size: 9px; }
    .popup-card--full .popup-card__label { font-size: 12px; }
    .popup-live-card__text { font-size: 13px; }
}

/* ════════════════════════════════════════════════════════
   YAN BANNERLAR
════════════════════════════════════════════════════════ */
.side-banner {
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: auto;
    z-index: 8000;
    display: flex;
}

.side-banner--left { left: 0; padding-right: 8px; }
.side-banner--right { right: 0; padding-left: 8px; }

.side-banner a {
    display: block;
    height: 100%;
}

.side-banner img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.side-banner--left img { object-position: left center; }
.side-banner--right img { object-position: right center; }

@media (max-width: 1240px) {
    .side-banner {
        display: none;
    }
}

/* ════════════════════════════════════════════════════════
   ALT SABİT BANNER
════════════════════════════════════════════════════════ */
body.has-bottom-banner {
    padding-bottom: 96px;
}

.bottom-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 8500;
    width: 100%;
    max-width: 750px;
    transform: translateX(-50%);
    border: 1px solid var(--accent-line);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: var(--surface);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
}

.bb-close {
    position: absolute;
    top: -12px;
    right: -10px;
    z-index: 10;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    font-size: 12px;
    cursor: pointer;
}

.bottom-banner-container {
    position: relative;
    width: 100%;
    height: 72px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.bottom-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.bottom-banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.bb-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 20px;
    color: var(--text);
    text-decoration: none;
}

.bb-logo {
    flex: 0 0 130px;
    min-width: 0;
    display: flex;
    align-items: center;
}

.bb-logo img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}

.bb-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    overflow: hidden;
    text-align: center;
}

.bb-title,
.bb-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.bb-title { color: var(--accent); font-size: 16px; font-weight: 800; }
.bb-desc { color: var(--muted); font-size: 13px; font-weight: 500; }

.bb-btn {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.bb-content:hover .bb-btn {
    background: var(--accent-hi);
}

@media (max-width: 640px) {
    body.has-bottom-banner { padding-bottom: 88px; }

    .bottom-banner-wrapper {
        bottom: 8px;
        width: 96%;
        border-bottom: 1px solid var(--accent-line);
        border-radius: 14px;
    }

    .bottom-banner-container {
        height: 60px;
        border-radius: 14px;
    }

    .bb-content { gap: 8px; padding: 0 10px; }
    .bb-logo { flex: 0 0 78px; }
    .bb-logo img { max-height: 28px; }
    .bb-title { font-size: 13px; }
    .bb-desc { font-size: 11px; }
    .bb-btn { padding: 7px 11px; font-size: 10px; }
    .bb-close { top: -10px; right: -5px; width: 24px; height: 24px; font-size: 10px; }
}

/* ════════════════════════════════════════════════════════
   UYGULAMA YÜKLE BİLDİRİMİ
════════════════════════════════════════════════════════ */
.pwa-toast {
    position: fixed;
    bottom: 30px;
    right: -400px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    text-decoration: none;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pwa-toast.show { right: 20px; }

.pwa-toast .pwa-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
}

.pwa-toast__logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
    background: var(--bg);
}

.pwa-toast__text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pwa-toast__label { font-size: 11px; color: var(--muted); font-weight: 600; }
.pwa-toast__name { font-size: 14px; font-weight: 700; color: var(--accent); }

body.has-bottom-banner .pwa-toast { bottom: 110px; }

@media (max-width: 768px) {
    .pwa-toast { bottom: 85px; }
    body.has-bottom-banner .pwa-toast { bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
