:root {
    --bg: #120a12;
    --bg-soft: #1a1119;
    --panel: #211420;
    --panel-2: #2b1c2a;
    --text: #f5ebf1;
    --muted: #d2becb;
    --primary: #d86aa0;
    --primary-strong: #c44b87;
    --accent: #f1c7da;
    --gold: #d9b36f;
    --border: rgba(255,255,255,.1);
    --shadow: 0 20px 50px rgba(0,0,0,.25);
    --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(216,106,160,.14), transparent 30%),
        radial-gradient(circle at top right, rgba(217,179,111,.08), transparent 25%),
        linear-gradient(180deg, #130b13 0%, #0f0910 100%);
    color: var(--text);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 1rem; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, 100%); }
.section { padding: 72px 0; }
.section-alt { background: rgba(255,255,255,.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.site-main { min-height: 60vh; }
.announcement-bar {
    text-align: center; padding: 10px 16px; font-size: 14px; color: var(--accent);
    background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border);
}
.site-header {
    position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px);
    background: rgba(14,10,14,.82); border-bottom: 1px solid var(--border);
}
.header-shell {
    min-height: 82px; display: grid; grid-template-columns: 1.1fr auto auto; gap: 24px; align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
    width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 50%;
    background: linear-gradient(145deg, rgba(216,106,160,.25), rgba(217,179,111,.18));
    color: var(--accent); font-size: 23px; border: 1px solid var(--border);
}
.brand strong { display: block; font-size: 18px; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.main-nav, .header-actions { display: flex; align-items: center; gap: 16px; }
.main-nav a { color: var(--muted); font-weight: 500; }
.main-nav a:hover { color: var(--text); }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 700;
    border: 1px solid transparent; transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-strong)); color: #fff; box-shadow: 0 14px 30px rgba(196,75,135,.28); }
.btn-secondary, .btn-soft { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--text); }
.btn-block { width: 100%; }
.hero { padding: 84px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.eyebrow {
    display: inline-block; margin-bottom: 14px; color: var(--gold); font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .14em;
}
.hero h1, .page-hero h1 { font-size: clamp(2.4rem, 4vw, 4.7rem); max-width: 12ch; }
.hero-copy { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-panel, .feature-panel, .profile-card, .auth-card, .pricing-card, .benefits-panel, .mini-card, .story-card, .empty-state, .paywall-card {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-panel { padding: 28px; }
.panel-badge, .badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
    border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.panel-badge { background: rgba(255,255,255,.06); color: var(--accent); margin-bottom: 16px; }
.badge-free { background: rgba(217,179,111,.15); color: #f1d59f; }
.badge-premium { background: rgba(216,106,160,.18); color: #ffcce1; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.stat-card, .feature-item {
    padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.03);
}
.stat-card strong, .feature-item strong { display: block; margin-bottom: 8px; }
.stat-card span, .feature-item span { color: var(--muted); font-size: 14px; }
.section-head {
    display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px;
}
.text-link { color: var(--accent); font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.story-card { padding: 22px; position: relative; overflow: hidden; }
.story-card::after {
    content: ""; position: absolute; inset: auto -30px -60px auto; width: 150px; height: 150px; border-radius: 50%;
    background: radial-gradient(circle, rgba(216,106,160,.16), transparent 60%);
}
.story-card h2, .story-card h3 { max-width: 16ch; }
.story-card p { color: var(--muted); }
.card-meta, .card-topline {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.card-meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
.card-meta a { color: var(--accent); font-weight: 700; }
.is-premium { border-color: rgba(216,106,160,.24); }
.showcase-grid, .two-column-callout, .pricing-wrap, .auth-grid, .profile-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.stack-list { display: grid; gap: 18px; }
.mini-card { padding: 22px; }
.premium-shadow { box-shadow: 0 22px 45px rgba(196,75,135,.18); }
.feature-list { display: grid; gap: 14px; }
.cta-band { padding-top: 16px; }
.cta-band-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 28px;
    border-radius: 26px; background: linear-gradient(135deg, rgba(216,106,160,.18), rgba(255,255,255,.04));
    border: 1px solid var(--border);
}
.page-hero { padding: 68px 0 26px; }
.page-hero.compact h1 { max-width: 14ch; font-size: clamp(2rem, 4vw, 3.4rem); }
.premium-bg { background: linear-gradient(180deg, rgba(216,106,160,.08), transparent 78%); }
.date-chip {
    padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--muted); font-size: 12px;
}
.post-body {
    padding: 32px; font-size: 1.03rem; color: #f6eef3; white-space: normal;
    background: rgba(255,255,255,.03); border-radius: 26px; border: 1px solid var(--border);
}
.post-body p { margin-bottom: 1.15rem; }
.locked-body { position: relative; overflow: hidden; }
.locked-body::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
    background: linear-gradient(180deg, rgba(18,10,18,0), rgba(18,10,18,1)); pointer-events: none;
}
.paywall-card { margin-top: 28px; padding: 28px; position: relative; z-index: 1; }
.auth-section { padding-top: 84px; }
.auth-copy h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.auth-card, .pricing-card, .benefits-panel, .main-profile, .status-card { padding: 28px; }
.styled-form { display: grid; gap: 12px; }
.styled-form label { font-weight: 700; font-size: 14px; }
.styled-form input {
    min-height: 50px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.04);
    color: var(--text); padding: 0 16px; outline: none;
}
.styled-form input:focus { border-color: rgba(216,106,160,.55); box-shadow: 0 0 0 4px rgba(216,106,160,.12); }
.alert-error {
    margin-bottom: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,95,95,.12);
    border: 1px solid rgba(255,95,95,.24); color: #ffd8d8;
}
.support-copy { margin-top: 14px; color: var(--muted); font-size: 14px; }
.price-line { display: flex; align-items: end; gap: 8px; margin: 18px 0; }
.price-line strong { font-size: 3rem; line-height: 1; }
.price-line span { color: var(--muted); }
.dark-list li { color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 900; }
.profile-meta { display: grid; gap: 16px; margin-top: 24px; }
.profile-meta div { padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.profile-meta strong { display: block; margin-bottom: 6px; }
.status-active { border-color: rgba(217,179,111,.28); }
.status-inactive { border-color: rgba(216,106,160,.24); }
.empty-state { padding: 30px; text-align: center; }
.site-footer { margin-top: 30px; border-top: 1px solid var(--border); background: rgba(255,255,255,.02); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 22px; padding: 42px 0 22px; }
.footer-grid p, .footer-links a { color: var(--muted); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { padding: 14px 0 28px; color: var(--muted); font-size: 14px; }
@media (max-width: 980px) {
    .header-shell, .hero-grid, .showcase-grid, .two-column-callout, .pricing-wrap, .auth-grid, .profile-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .header-shell { padding: 16px 0; }
    .main-nav, .header-actions { flex-wrap: wrap; }
    .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
    .container { width: min(100% - 24px, 1120px); }
    .hero { padding-top: 52px; }
    .main-nav { gap: 12px; }
    .main-nav a, .header-actions { font-size: 14px; }
    .stat-row, .card-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .story-card, .mini-card, .hero-panel, .paywall-card, .auth-card, .pricing-card, .benefits-panel, .main-profile, .status-card { padding: 20px; }
    .price-line strong { font-size: 2.4rem; }
}
