/* ============================================================
   Llamatude — Gaming / Twitch Streamer Theme
   ============================================================ */

/* Google Fonts loaded in functions.php via wp_enqueue_style */

/* ── CSS Variables — colors pulled from the Llamatude logo ─── */
:root {
    --bg:           #0c0c0c;  /* logo background black        */
    --bg2:          #161414;  /* warm near-black panels        */
    --bg3:          #1e1a1a;  /* card / input backgrounds      */
    --purple:       #cc1a1a;  /* logo red (primary accent)     */
    --purple-light: #e84040;  /* lighter red for hover states  */
    --purple-dark:  #8b0000;  /* deep crimson shadow red       */
    --cyan:         #c8941a;  /* logo gold (chest fur)         */
    --green:        #d4b84a;  /* amber highlight               */
    --red:          #ff2828;  /* LIVE badge — bright alert red */
    --text:         #f0f0f0;  /* near-white, like llama fur    */
    --text2:        #b0a8a8;  /* muted warm gray               */
    --text3:        #5a5050;  /* dark muted warm gray          */
    --border:       #2a1e1e;  /* dark border with warm tint    */
    --nav-h:        68px;
    --radius:       8px;
    --glow-purple:  0 0 30px rgba(204,26,26,0.4);
    --glow-cyan:    0 0 30px rgba(200,148,26,0.35);
    --transition:   0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-light); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', 'Rajdhani', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

/* ── Utility ───────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.text-purple { color: var(--purple); }
.text-muted  { color: var(--text2); }
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Navigation ────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(14,14,16,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.site-header.scrolled { background: rgba(14,14,16,0.98); }

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.site-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--text);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.site-logo:hover { color: var(--text); }
.site-logo .accent { color: var(--purple); }
.site-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.logo-live-indicator {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--red);
    text-transform: uppercase;
}
.logo-live-indicator .dot {
    width: 7px; height: 7px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}
body.stream-live .logo-live-indicator { display: flex; }

/* Primary nav */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.primary-nav li a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--text2);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}
.primary-nav li a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem !important;
    background: var(--purple) !important;
    color: #fff !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.04em;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
    background: var(--purple-light) !important;
    color: var(--bg) !important;
    box-shadow: var(--glow-purple) !important;
    transform: translateY(-1px);
}
.nav-cta svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 2rem 1.5rem;
    z-index: 999;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    color: var(--text2);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { color: var(--purple); }
.mobile-nav .mobile-cta {
    margin-top: 0.5rem;
    background: var(--purple);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    border-bottom: 0 !important;
    justify-content: center;
}
.mobile-nav .mobile-cta:hover { background: var(--purple-light); color: var(--bg); }

/* ── Hero — OFFLINE ────────────────────────────────────────── */
.hero-offline {
    min-height: 400px; /* height set inline from image ratio via PHP */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0c0c0c;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
.hero-bg.has-image {
    filter: brightness(0.85) saturate(1);
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%, rgba(204,26,26,0.28) 0%, rgba(139,0,0,0.10) 55%, transparent 75%),
        linear-gradient(to bottom, rgba(12,12,12,0.1) 0%, rgba(12,12,12,0.75) 85%, var(--bg) 100%);
}

/* Perspective grid */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0.06;
}
.hero-grid::before {
    content: '';
    position: absolute;
    inset: -50%;
    background-image:
        linear-gradient(var(--purple) 1px, transparent 1px),
        linear-gradient(90deg, var(--purple) 1px, transparent 1px);
    background-size: 70px 70px;
    transform: perspective(300px) rotateX(30deg) translateY(10%);
    transform-origin: center center;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 860px;
    width: 100%;
}

.hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}
.hero-status-badge.offline {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text3);
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.8rem, 9vw, 6.5rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.25rem;
}
.hero-title .word-accent { color: var(--purple); text-shadow: 0 0 50px rgba(204,26,26,0.55); }

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text2);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--text3);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-cue-arrow {
    width: 18px; height: 18px;
    border-right: 2px solid var(--text3);
    border-bottom: 2px solid var(--text3);
    transform: rotate(45deg);
}

/* ── Hero — LIVE ───────────────────────────────────────────── */
.hero-live {
    min-height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-h);
}

.stream-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0.75rem;
}
.stream-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}
.live-badge .dot {
    width: 7px; height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}
.stream-title { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.stream-game  { font-size: 0.82rem; color: var(--purple-light); }
.stream-topbar-right a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: rgba(204,26,26,0.15);
    border: 1px solid rgba(204,26,26,0.3);
    border-radius: var(--radius);
    color: var(--purple-light);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition);
}
.stream-topbar-right a:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}
.stream-topbar-right a svg { width: 14px; height: 14px; fill: currentColor; }

.embed-wrapper {
    flex: 1;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    min-height: 420px;
}
.embed-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.stream-cta-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.stream-cta-strip p { color: var(--text2); font-size: 0.9rem; }
.stream-cta-strip p strong { color: var(--text); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.btn-primary {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}
.btn-primary:hover {
    background: var(--purple-light);
    border-color: var(--purple-light);
    color: var(--bg);
    box-shadow: var(--glow-purple);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: 0 0 20px rgba(204,26,26,0.15);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.8rem;
}

/* ── Section Base ──────────────────────────────────────────── */
section { padding: 5rem 0; }

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.6rem;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background: var(--purple);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text2);
    font-size: 1.05rem;
    max-width: 580px;
    line-height: 1.7;
}

/* ── About Section ─────────────────────────────────────────── */
.about-section { background: var(--bg); }

.about-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 5rem;
    align-items: center;
}

.about-photo-wrap {
    position: relative;
}
.about-photo-wrap img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 3/4;
    object-fit: cover;
}
/* Decorative corner accent */
.about-photo-wrap::before,
.about-photo-wrap::after {
    content: '';
    position: absolute;
    border: 2px solid var(--purple);
    border-radius: 12px;
    opacity: 0.45;
}
.about-photo-wrap::before { inset: -10px -10px; }
.about-photo-wrap::after  { inset: -18px -18px; opacity: 0.15; }

.about-placeholder-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--bg3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}
.about-placeholder-photo svg { width: 80px; height: 80px; fill: var(--text3); }

.about-text { color: var(--text2); }
.about-text p { margin-bottom: 1.1rem; line-height: 1.8; font-size: 1.05rem; }
.about-text p:last-child { margin-bottom: 0; }

.stats-source {
    font-size: 0.72rem;
    color: var(--text3);
    margin-top: 0.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0 0.75rem;
}
.stat-box {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    text-align: center;
    transition: border-color var(--transition);
}
.stat-box:hover { border-color: var(--purple); }
.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--purple);
    display: block;
    line-height: 1;
    margin-bottom: 0.35rem;
}
.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text3);
}

/* ── Schedule Section ──────────────────────────────────────── */
.schedule-section { background: var(--bg2); }

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.schedule-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.schedule-card:hover { border-color: rgba(204,26,26,0.4); transform: translateY(-2px); }
.schedule-card.today {
    border-color: var(--purple);
    background: rgba(204,26,26,0.06);
}
.schedule-card.today::before {
    content: 'TODAY';
    position: absolute;
    top: 0; right: 0;
    background: var(--purple);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    border-bottom-left-radius: var(--radius);
}

.sched-day {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.schedule-card.today .sched-day { color: var(--purple); }

.sched-time {
    font-size: 0.82rem;
    color: var(--text2);
    margin-bottom: 0.4rem;
}
.sched-game {
    font-size: 0.78rem;
    color: var(--purple-light);
    font-weight: 500;
}
.sched-off {
    font-size: 0.82rem;
    color: var(--text3);
    font-style: italic;
}

/* ── Clips Section ─────────────────────────────────────────── */
.clips-section { background: var(--bg); }

.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.clip-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}
.clip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    border-color: rgba(204,26,26,0.35);
}

.clip-thumb {
    aspect-ratio: 16/9;
    background: var(--bg3);
    position: relative;
    overflow: hidden;
}
.clip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.clip-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity var(--transition);
}
.clip-card:hover .clip-play-btn { opacity: 1; }
.clip-play-btn span {
    width: 54px; height: 54px;
    background: rgba(204,26,26,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-purple);
}
.clip-play-btn svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }

.clip-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.clip-placeholder svg { width: 40px; height: 40px; fill: var(--text3); }

.clip-body { padding: 1rem; flex: 1; }
.clip-title { font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 0.35rem; line-height: 1.4; }
.clip-meta  { font-size: 0.78rem; color: var(--text3); }

.clip-type-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(0,0,0,0.75);
    color: var(--purple-light);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    backdrop-filter: blur(4px);
}

.clips-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text3);
}
.clips-empty p { font-size: 1rem; }

/* ── Social Section ────────────────────────────────────────── */
.social-section {
    background: var(--bg2);
    text-align: center;
}
.social-section .section-eyebrow,
.social-section .section-title,
.social-section .section-subtitle { margin-left: auto; margin-right: auto; justify-content: center; }
.social-section .section-eyebrow::before { display: none; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1.75rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text2);
    min-width: 110px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.social-link::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.social-link:hover { color: var(--text); transform: translateY(-4px); border-color: rgba(204,26,26,0.4); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.social-link:hover::before { transform: scaleX(1); }

.social-link.twitch::before  { background: #cc1a1a; }
.social-link.discord::before { background: #5865f2; }
.social-link.youtube::before { background: #ff0000; }
.social-link.twitter::before { background: #1da1f2; }
.social-link.tiktok::before  { background: #ff0050; }
.social-link.instagram::before { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }

.social-link svg { width: 30px; height: 30px; fill: currentColor; }
.social-link .sl-name { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text2);
    letter-spacing: 0.06em;
}
.footer-logo .accent { color: var(--purple); }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { color: var(--text3); font-size: 0.85rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--purple); }
.footer-copy { color: var(--text3); font-size: 0.8rem; }

/* ── Blog / Archive / Page ─────────────────────────────────── */
.page-hero {
    padding: calc(var(--nav-h) + 3rem) 0 3rem;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--text2); }

.main-content { padding: 4rem 0; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.post-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.post-thumb { aspect-ratio: 16/9; background: var(--bg3); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 1.25rem; }
.post-meta { font-size: 0.78rem; color: var(--text3); margin-bottom: 0.5rem; }
.post-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.35; }
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--purple); }
.post-excerpt { font-size: 0.88rem; color: var(--text2); line-height: 1.6; }

.single-article { padding: 4rem 0; }
.single-article .article-inner { max-width: 800px; margin: 0 auto; }
.article-header { margin-bottom: 2rem; }
.article-header .post-meta { font-size: 0.85rem; color: var(--text3); margin-bottom: 0.75rem; }
.article-header h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.2; margin-bottom: 0.5rem; }
.article-content { color: var(--text2); line-height: 1.85; font-size: 1.05rem; }
.article-content h2, .article-content h3 { color: var(--text); margin: 2rem 0 0.75rem; }
.article-content p { margin-bottom: 1.25rem; }
.article-content a { color: var(--purple); }
.article-content a:hover { color: var(--purple-light); }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content blockquote {
    border-left: 3px solid var(--purple);
    padding: 0.75rem 1.25rem;
    background: var(--bg2);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
    color: var(--text2);
    font-style: italic;
}
.article-content pre {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    overflow-x: auto;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}
.article-content code { font-family: 'Courier New', monospace; background: var(--bg3); padding: 0.15em 0.4em; border-radius: 3px; font-size: 0.88em; }
.article-content pre code { background: none; padding: 0; }
.article-content img { border-radius: var(--radius); margin: 1.5rem 0; }

/* 404 */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-h);
}
.page-404-inner { max-width: 540px; }
.page-404 .error-code {
    font-family: 'Orbitron', monospace;
    font-size: clamp(5rem, 20vw, 10rem);
    font-weight: 900;
    color: var(--purple);
    text-shadow: 0 0 60px rgba(204,26,26,0.4);
    line-height: 1;
    margin-bottom: 1rem;
}
.page-404 h1 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.page-404 p { color: var(--text2); margin-bottom: 2rem; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(9px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .about-grid { grid-template-columns: 340px 1fr; gap: 3rem; }
    .schedule-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-photo-wrap { max-width: 380px; }
    .about-stats { justify-content: flex-start; }
    .schedule-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    :root { --nav-h: 60px; }
    .primary-nav { display: none; }
    .hamburger { display: flex; }
    section { padding: 3.5rem 0; }
    .about-stats { gap: 0.75rem; }
    .stat-box { padding: 1rem; }
    .stat-value { font-size: 1.25rem; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
    .clips-grid { grid-template-columns: 1fr; }
    .social-links { gap: 0.75rem; }
    .social-link { padding: 1.1rem 1.25rem; min-width: 90px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .stream-topbar { flex-direction: column; align-items: flex-start; }
    .stream-cta-strip { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero-title { font-size: 2.4rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { flex-wrap: wrap; }
    .stat-box { flex: 1; min-width: 100px; }
}

/* ── WP Core Compatibility ─────────────────────────────────── */
.wp-block-image { margin: 1.5em 0; }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.alignleft  { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
