/*
Theme Name: Ember Reviews
Theme URI: https://example.com/ember
Author: Demo
Description: A modern, elegant dark theme with a light-red accent, designed for editorial reviews of amateur adult portals.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: demo-theme
*/

:root {
    --bg:            #0c0c10;
    --bg-elev:       #141419;
    --surface:       #1a1a21;
    --surface-2:     #22222b;
    --border:        #2a2a35;
    --border-strong: #3a3a48;
    --text:          #ececf1;
    --text-muted:    #a0a0ac;
    --text-dim:      #6f6f7a;
    --accent:        #ff6b7a;
    --accent-soft:   #ff8a96;
    --accent-glow:   rgba(255, 107, 122, 0.35);
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --shadow-1: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-2: 0 20px 60px -20px rgba(0,0,0,0.7), 0 8px 20px -10px rgba(0,0,0,0.5);
    --container: 1160px;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(255, 107, 122, 0.10), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(255, 107, 122, 0.06), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-soft); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 .6em;
    color: var(--text);
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; color: var(--text); }
p.lead { color: var(--text-muted); font-size: 1.1rem; }

/* ——— Header ——— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    background: rgba(12, 12, 16, 0.72);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-soft), var(--accent) 70%, #aa2a38);
    box-shadow: 0 0 24px var(--accent-glow);
}
.nav {
    display: flex; gap: 1.5rem;
    font-size: .95rem;
}
.nav a {
    color: var(--text-muted);
    font-weight: 500;
}
.nav a:hover { color: var(--text); }

/* ——— Hero ——— */
.hero {
    padding: 5rem 0 3rem;
    text-align: left;
}
.hero .eyebrow {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    padding: .4rem .75rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(255, 107, 122, 0.05);
    margin-bottom: 1.2rem;
}
.hero h1 span.accent {
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero .lead { max-width: 640px; }
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    padding: .75rem 1.1rem;
    background: var(--accent);
    color: #1a0a0c;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    box-shadow: 0 10px 30px -10px var(--accent-glow);
    transition: transform .15s ease, box-shadow .2s ease;
}
.hero-cta:hover {
    color: #1a0a0c;
    transform: translateY(-1px);
    box-shadow: 0 14px 40px -10px var(--accent-glow);
}

/* ——— Section heading ——— */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 3rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: .8rem;
}
.section-head h2 { margin: 0; }
.section-head .hint { color: var(--text-dim); font-size: .9rem; }

/* ——— Review grid ——— */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.review-card {
    position: relative;
    background: linear-gradient(180deg, var(--surface), var(--bg-elev));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.4rem 1.2rem;
    transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
    overflow: hidden;
}
.review-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 60%, var(--accent-glow));
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    mix-blend-mode: screen;
}
.review-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-2);
}
.review-card:hover::after { opacity: 1; }
.review-card h3 { margin-bottom: .35rem; }
.review-card h3 a { color: var(--text); }
.review-card h3 a:hover { color: var(--accent-soft); }
.review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .9rem;
    font-size: .85rem;
    color: var(--text-dim);
}
.review-excerpt { color: var(--text-muted); font-size: .95rem; }
.review-footer {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.review-read {
    font-size: .85rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .02em;
}

/* ——— Rating ——— */
.rating {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: .9rem;
    color: var(--accent);
    padding: .25rem .55rem;
    background: rgba(255, 107, 122, 0.08);
    border: 1px solid rgba(255, 107, 122, 0.25);
    border-radius: 999px;
}
.rating::before {
    content: "★";
    color: var(--accent);
}

/* ——— Single post ——— */
.single-article {
    max-width: 780px;
    margin: 3rem auto;
}
.single-article .entry-meta {
    color: var(--text-dim);
    font-size: .9rem;
    margin-bottom: 1.2rem;
}
.single-article .entry-content p { color: var(--text); font-size: 1.05rem; }
.single-article .entry-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-style: italic;
}

/* ——— Footer ——— */
.site-footer {
    margin-top: 5rem;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: .9rem;
}
.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ——— Utility ——— */
.pill {
    display: inline-block;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: var(--surface-2);
}

@media (max-width: 640px) {
    .nav { display: none; }
    .hero { padding-top: 3rem; }
    .section-head { flex-direction: column; align-items: flex-start; gap: .25rem; }
}
