/* ── predunyam — Public Theme ── */
:root {
    --bg: #0a0e1a;
    --bg-2: #111827;
    --card: #151b2e;
    --border: #1f2937;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --primary: #3b82f6;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex; flex-direction: column;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: #60a5fa; }
img { max-width:100%; display:block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.site-main { flex: 1; padding: 30px 0 60px; }

/* Header */
.site-header {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.header-inner { display:flex; align-items:center; justify-content:space-between; padding: 16px 20px; gap: 24px; }
.site-logo { display:flex; flex-direction:column; line-height:1.1; }
.logo-text { font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -0.5px; }
.logo-tag { color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.main-nav { display:flex; gap: 4px; flex-wrap:wrap; }
.main-nav a {
    color: var(--text); padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 14px;
    transition: background .2s;
}
.main-nav a:hover { background: var(--card); color: #fff; }
.nav-toggle { display:none; background:none; border:none; color: #fff; font-size: 22px; cursor:pointer; }

@media (max-width: 900px) {
    .nav-toggle { display:block; }
    .main-nav { display:none; flex-direction:column; position:absolute; top:64px; left:0; right:0; background:var(--bg-2); padding:14px; border-bottom: 1px solid var(--border); }
    .main-nav.open { display:flex; }
}

/* Hero / Featured */
.hero-section { margin-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.hero-card {
    background: var(--card); border-radius: 16px; overflow: hidden;
    position: relative; min-height: 380px; display:flex; flex-direction:column; justify-content:flex-end;
    background-size: cover; background-position: center;
    transition: transform .3s;
}
.hero-card:hover { transform: translateY(-3px); }
.hero-card::after {
    content:''; position:absolute; inset:0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}
.hero-card-content { position:relative; z-index:1; padding: 24px; color: #fff; }
.hero-card-content h2 { font-size: 28px; font-weight: 800; margin: 0 0 8px; line-height:1.2; }
.hero-card-meta { display:flex; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.hero-card-meta .category-tag {
    display:inline-block; padding: 3px 10px; border-radius: 99px; font-weight: 700;
    background: var(--primary); color: #fff;
}
.hero-side { display:flex; flex-direction:column; gap: 12px; }
.hero-side .hero-card { min-height: 184px; }
.hero-side .hero-card-content h2 { font-size: 16px; }

@media (max-width: 800px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card { min-height: 260px; }
}

/* Section heading */
.section-head { display:flex; justify-content:space-between; align-items:end; margin: 30px 0 18px; }
.section-head h2 { margin:0; font-size: 22px; font-weight: 800; color: #fff; }
.section-head h2 small { display:block; font-weight: 400; font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.section-head .more-link { font-size: 13px; color: var(--text-muted); }
.section-head .more-link:hover { color: var(--primary); }

/* Posts grid */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.post-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden; transition: transform .25s, border-color .2s;
    display:flex; flex-direction:column;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.post-card-img { aspect-ratio: 16/9; background: #1f2937 center/cover no-repeat; }
.post-card-body { padding: 16px; flex: 1; display:flex; flex-direction:column; }
.post-card-meta { display:flex; gap:8px; font-size:11px; color: var(--text-muted); margin-bottom: 8px; align-items:center; }
.post-card-meta .category-tag {
    display:inline-block; padding: 2px 8px; border-radius: 4px; font-weight: 700; font-size:10px; text-transform: uppercase;
}
.post-card h3 {
    color: #fff; font-size: 16px; line-height: 1.35; margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card p {
    color: var(--text-muted); font-size: 13px; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Partner products section */
.partner-section {
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(16,185,129,0.05));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 24px;
    margin: 40px 0;
}
.partner-products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
}
.product-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; overflow:hidden; position:relative;
    transition: transform .25s, box-shadow .25s;
    display:flex; flex-direction:column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.product-card-img { aspect-ratio: 1; background:#1f2937 center/cover no-repeat; position:relative; }
.product-badge {
    position:absolute; top:10px; left:10px;
    padding: 3px 10px; border-radius: 99px; font-size:10px; font-weight:800;
    color: #fff; text-transform: uppercase; letter-spacing: 0.5px;
}
.product-card-body { padding: 14px; flex:1; display:flex; flex-direction:column; }
.product-card h4 {
    color:#fff; font-size:14px; line-height:1.35; margin:0 0 10px; min-height: 38px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price { display:flex; align-items:center; gap: 8px; margin-bottom: 12px; }
.price-now { font-size: 20px; font-weight: 800; color: var(--success); }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.product-cta {
    display:block; text-align:center; background: var(--primary); color:#fff;
    padding: 10px; border-radius: 8px; font-weight:700; font-size: 13px;
    transition: background .2s;
}
.product-cta:hover { background: #2563eb; color:#fff; }

/* Breadcrumbs */
.breadcrumbs {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    color: var(--text-muted); font-size: 13px; margin-bottom: 18px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { color: #4b5563; }
.breadcrumbs .current { color: #d1d5db; font-weight: 500; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Post içi CTA kart (içerik içinde "Anlaşmalı Mağaza" yönlendirme kutusu) */
.post-content .cta-card {
    margin: 30px 0;
    padding: 24px 26px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4c1d95 100%);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 18px 48px -16px rgba(139, 92, 246, 0.4);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.post-content .cta-card::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(500px 200px at 100% -10%, rgba(245, 158, 11, 0.25), transparent 60%),
        radial-gradient(400px 180px at 0% 110%, rgba(16, 185, 129, 0.18), transparent 60%);
    pointer-events: none;
}
.post-content .cta-card > * { position: relative; z-index: 1; }
.post-content .cta-card h3 {
    color: #fff !important;
    margin: 0 0 12px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px;
}
.post-content .cta-card p {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px;
}
.post-content .cta-card p strong { color: #fbbf24; }
.post-content .cta-card ul {
    margin: 0 0 18px;
    padding-left: 0;
    list-style: none;
}
.post-content .cta-card ul li {
    color: #cbd5e1;
    font-size: 14px;
    padding: 4px 0;
    line-height: 1.5;
}
.post-content .cta-card ul li strong { color: #fff; }
.post-content .cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff !important;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 10px 24px -6px rgba(245, 158, 11, 0.55);
    transition: transform .2s, box-shadow .2s;
}
.post-content .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px rgba(245, 158, 11, 0.75);
    color: #fff !important;
}
.post-content .cta-card small {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .post-content .cta-card { padding: 20px 18px; }
    .post-content .cta-card h3 { font-size: 17px !important; }
    .post-content .cta-btn { width: 100%; justify-content: center; }
}

/* Post detail */
.post-detail { max-width: 820px; margin: 0 auto; }
.post-detail .post-hero-img { width:100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 14px; margin-bottom: 22px; background:#1f2937; }
.post-detail h1 { font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 14px; letter-spacing: -0.5px; line-height: 1.2; }
.post-detail .post-meta { display:flex; gap: 14px; color: var(--text-muted); font-size: 13px; margin-bottom: 24px; align-items:center; }
.post-detail .post-content { font-size: 16px; line-height: 1.85; color: #d1d5db; }
.post-detail .post-content img { border-radius: 10px; margin: 18px 0; }
.post-detail .post-content h2, .post-detail .post-content h3 { color: #fff; margin-top: 28px; }

/* Category page */
.category-header { background: var(--card); border-radius: 14px; padding: 30px; margin-bottom: 26px; border-left: 5px solid var(--primary); }
.category-header h1 { color: #fff; margin: 0 0 12px; font-size: 28px; font-weight: 800; }
.cat-desc { color: var(--text-muted); margin: 0; line-height: 1.7; position: relative; }
.cat-desc-inner { font-size: 14px; }
.cat-desc-inner strong { color: #e5e7eb; }
.cat-desc-inner br + br { display: block; content: ""; margin-top: 6px; }
.cat-desc.collapsible {
    max-height: 110px;
    overflow: hidden;
    transition: max-height .4s ease;
}
.cat-desc.collapsible.expanded { max-height: 2400px; }
.cat-desc-fade {
    position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
    background: linear-gradient(to bottom, transparent, var(--card) 85%);
    pointer-events: none; transition: opacity .25s;
}
.cat-desc.expanded .cat-desc-fade { opacity: 0; }
.cat-desc-toggle {
    background: transparent; border: 1px solid var(--border);
    color: var(--primary); padding: 7px 16px; margin-top: 12px;
    border-radius: 99px; cursor: pointer; font-weight: 600; font-size: 13px;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background .2s, border-color .2s;
}
.cat-desc-toggle:hover { background: rgba(59,130,246,0.1); border-color: var(--primary); }
.cat-desc-toggle .less { display: none; }
.cat-desc-toggle[aria-expanded="true"] .more { display: none; }
.cat-desc-toggle[aria-expanded="true"] .less { display: inline-flex; align-items: center; gap: 6px; }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 40px 0 16px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 24px; }
.footer-brand h4 { color: #fff; margin: 0 0 8px; font-weight: 800; }
.footer-brand p { color: var(--text-muted); font-size: 14px; }
.footer-links h5 { color: #fff; font-size: 14px; margin: 0 0 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display:block; color: var(--text-muted); font-size: 14px; padding: 4px 0; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-muted); text-align:center; font-size: 12px; }

@media (max-width: 700px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* Pagination */
.pagination-wrap { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:6px; margin: 30px 0; max-width:100%; }
.pagination-wrap a, .pagination-wrap span {
    min-width: 38px; height: 38px; padding: 0 10px; display:inline-flex; align-items:center; justify-content:center;
    border-radius: 8px; background: var(--card); color: var(--text); border: 1px solid var(--border); font-size:14px; box-sizing:border-box;
}
.pagination-wrap .ellipsis { border:none; background:transparent; min-width: 20px; }
.pagination-wrap a:hover { background: var(--primary); color:#fff; border-color: var(--primary); }
.pagination-wrap .current { background: var(--primary); color: #fff; border-color: var(--primary); font-weight:700; }

/* Partner Promo Card */
.partner-promo {
    position: relative;
    margin: 36px 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e1b4b 0%, #0a0e1a 60%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 20px 60px -20px rgba(99, 102, 241, 0.4);
}
.partner-promo-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(800px 300px at 90% -10%, rgba(139,92,246,0.3), transparent 60%),
        radial-gradient(600px 240px at 0% 110%, rgba(16,185,129,0.18), transparent 60%);
    pointer-events: none;
}
.partner-promo-content { position: relative; padding: 28px 30px 22px; }

.partner-promo-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
    margin-bottom: 22px; flex-wrap: wrap;
}
.partner-promo-brand { flex: 1; min-width: 240px; }
.partner-brand-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(139,92,246,0.18); color: #c4b5fd;
    padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid rgba(139,92,246,0.35); margin-bottom: 10px;
}
.partner-promo-brand h3 {
    color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 6px;
    letter-spacing: -0.4px; line-height: 1.25;
}
.partner-promo-brand p { color: #cbd5e1; margin: 0; font-size: 14px; line-height: 1.55; max-width: 540px; }

.partner-promo-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff; padding: 12px 22px; border-radius: 12px;
    font-weight: 700; font-size: 14px; text-decoration: none;
    box-shadow: 0 8px 20px -6px rgba(245,158,11,0.6);
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.partner-promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -8px rgba(245,158,11,0.8);
    color: #fff;
}

.partner-promo-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px;
    margin-bottom: 16px;
}
.partner-promo-item {
    display: flex; gap: 10px; align-items: center;
    background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 10px; text-decoration: none;
    transition: transform .2s, border-color .2s, background .2s;
}
.partner-promo-item:hover {
    transform: translateY(-2px);
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(245,158,11,0.4);
}
.ppi-img {
    width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0;
    background: #1f2937 center/cover no-repeat;
}
.ppi-body { flex: 1; min-width: 0; }
.ppi-body h5 {
    color: #fff; font-size: 12px; font-weight: 600; margin: 0 0 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.3;
}
.ppi-price { display: flex; gap: 6px; align-items: center; }
.ppi-price strong { color: #10b981; font-size: 14px; font-weight: 800; }
.ppi-old { color: #6b7280; font-size: 11px; text-decoration: line-through; }

.partner-promo-foot {
    color: #94a3b8; font-size: 12px;
    padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.partner-promo-foot strong { color: #e2e8f0; }

@media (max-width: 600px) {
    .partner-promo-content { padding: 22px 18px 16px; }
    .partner-promo-brand h3 { font-size: 19px; }
    .partner-promo-cta { width: 100%; justify-content: center; }
}

/* Ad Zones */
.ad-zone { margin: 24px 0; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.ad-banner { display: block; max-width: 100%; line-height: 0; border-radius: 12px; overflow: hidden; transition: transform .2s; }
.ad-banner:hover { transform: translateY(-2px); }
.ad-banner img { max-width: 100%; height: auto; display: block; }
.ad-code { width: 100%; display:flex; justify-content:center; }
.ad-zone-home_top, .ad-zone-home_middle { margin: 20px 0; }
.ad-zone-post_top { margin-bottom: 24px; }

/* Hero Sponsor Banner — Anasayfa üstü gerçek reklam */
.hero-ad-banner {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    background: #0f172a;
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 24px 60px -20px rgba(99, 102, 241, 0.45);
    transition: transform .25s, box-shadow .25s;
}
.hero-ad-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 70px -20px rgba(99, 102, 241, 0.6);
    color: #fff;
}
.hero-ad-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(700px 320px at 100% -10%, rgba(245, 158, 11, 0.28), transparent 60%),
        radial-gradient(600px 280px at 0% 110%, rgba(139, 92, 246, 0.32), transparent 60%),
        linear-gradient(135deg, #1e1b4b 0%, #0f172a 55%, #1e293b 100%);
    pointer-events: none;
}
.hero-ad-stripes {
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.025) 18px 19px);
    pointer-events: none;
}
.hero-ad-content {
    position: relative;
    display: grid; grid-template-columns: 1fr auto; gap: 24px;
    padding: 26px 30px;
    align-items: center;
}
.hero-ad-left { min-width: 0; }
.hero-ad-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    padding: 4px 12px; border-radius: 99px;
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.2px;
    margin-bottom: 10px;
    box-shadow: 0 4px 14px -2px rgba(245, 158, 11, 0.5);
}
.hero-ad-title {
    font-size: 24px; font-weight: 800;
    margin: 0 0 8px; line-height: 1.25;
    color: #fff; letter-spacing: -0.4px;
}
.hero-ad-title span {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-ad-sub {
    color: #cbd5e1; font-size: 14px; line-height: 1.5;
    margin: 0 0 12px; max-width: 560px;
}
.hero-ad-features {
    display: flex; flex-wrap: wrap; gap: 14px;
    color: #94a3b8; font-size: 12px;
}
.hero-ad-features span { display: inline-flex; align-items: center; gap: 5px; }
.hero-ad-features i { color: #10b981; font-size: 11px; }

.hero-ad-right {
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
    flex-shrink: 0;
}
.hero-ad-price {
    text-align: right;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 14px; border-radius: 10px;
}
.hero-ad-price small { display: block; color: #94a3b8; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.hero-ad-price strong { color: #f59e0b; font-size: 22px; font-weight: 800; line-height: 1; }
.hero-ad-price strong span { color: #94a3b8; font-size: 11px; font-weight: 400; margin-left: 4px; }

.hero-ad-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    padding: 13px 24px; border-radius: 12px;
    font-weight: 700; font-size: 14px;
    box-shadow: 0 10px 22px -8px rgba(245, 158, 11, 0.6);
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.hero-ad-banner:hover .hero-ad-cta {
    transform: translateX(3px);
    box-shadow: 0 14px 28px -8px rgba(245, 158, 11, 0.8);
}

@media (max-width: 820px) {
    .hero-ad-content { grid-template-columns: 1fr; padding: 20px 18px; gap: 18px; }
    .hero-ad-title { font-size: 19px; }
    .hero-ad-sub { font-size: 13px; }
    .hero-ad-right { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
    .hero-ad-cta { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
    .hero-ad-features { gap: 10px; font-size: 11px; }
    .hero-ad-right { flex-direction: column; align-items: stretch; }
    .hero-ad-cta, .hero-ad-price { width: 100%; }
    .hero-ad-price { text-align: center; }
}

/* Demo Reklam Yer Tutucuları (admin için referans) */
.demo-ad {
    --c1: #3b82f6;
    --c2: #8b5cf6;
    width: 100%;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    color: #fff;
    border-radius: 14px;
    padding: 18px 22px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.5);
    position: relative; overflow: hidden;
}
.demo-ad::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(500px 200px at 100% -10%, rgba(255,255,255,0.18), transparent 60%);
    pointer-events: none;
}
.demo-ad-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(255,255,255,0.2); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.demo-ad-bigicon { font-size: 28px; opacity: 0.8; flex-shrink: 0; }
.demo-ad-text { flex: 1; min-width: 0; line-height: 1.45; }
.demo-ad-text strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.demo-ad-text small { display: block; font-size: 12px; color: rgba(255,255,255,0.82); }
.demo-ad-text code {
    background: rgba(255,255,255,0.18); padding: 1px 7px; border-radius: 4px;
    font-size: 11px; font-family: 'Courier New', monospace;
}
.demo-ad-btn {
    background: #fff; color: #1e293b;
    padding: 9px 18px; border-radius: 10px;
    font-weight: 700; font-size: 13px; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap; flex-shrink: 0;
    transition: transform .2s;
}
.demo-ad-btn:hover { transform: translateY(-2px); color: #1e293b; }

.demo-ad-compact { padding: 14px 18px; }
.demo-ad-compact > i:first-child { font-size: 22px; opacity: 0.9; flex-shrink: 0; }

.demo-ad-placeholder {
    background: rgba(31, 41, 55, 0.5);
    color: #cbd5e1;
    border: 2px dashed #374151;
    box-shadow: none;
    max-width: 728px; margin: 0 auto;
    padding: 24px;
}
.demo-ad-placeholder::before { display: none; }
.demo-ad-placeholder .demo-ad-text strong { color: #e5e7eb; }
.demo-ad-placeholder .demo-ad-text small { color: #9ca3af; }
.demo-ad-placeholder .demo-ad-text code { background: rgba(255,255,255,0.08); }

@media (max-width: 640px) {
    .demo-ad { flex-direction: column; align-items: flex-start; text-align: left; padding: 16px; gap: 12px; }
    .demo-ad-btn { width: 100%; justify-content: center; }
    .demo-ad-text strong { font-size: 14px; }
    .demo-ad-text small { font-size: 11px; }
    .demo-ad-compact { flex-direction: row; align-items: center; }
}

/* Empty state */
.empty-state { text-align:center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 48px; opacity: 0.3; margin-bottom: 14px; }
