:root {
    --zf-accent: #ff5a2b;

    --bg: #0b0f1a;
    --bg-elev: #131a2c;
    --bg-elev-2: #1b2438;
    --text: #edf2ff;
    --text-muted: #b9c2db;
    --border: #2a3552;
    --success: #39d98a;
    --bg-body-end: #070a13;
    --bg-light-start: #f9fbff;
    --zf-density: 1;
    --zf-container-max: 1160px;

    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-sm: 0 10px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
}

:root[data-theme='light'] {
    --bg: #f3f6ff;
    --bg-elev: #ffffff;
    --bg-elev-2: #ecf1ff;
    --text: #10182b;
    --text-muted: #4f5e7d;
    --border: #d3dff7;
    --shadow-sm: 0 10px 20px rgba(10, 25, 72, 0.08);
    --shadow-lg: 0 24px 60px rgba(10, 25, 72, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 90, 43, 0.14), transparent 42%),
        radial-gradient(circle at 80% -5%, rgba(57, 217, 138, 0.1), transparent 38%),
        linear-gradient(170deg, var(--bg) 0%, var(--bg-body-end) 100%);
    min-height: 100vh;
    line-height: 1.6;
}

:root[data-theme='light'] body {
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 90, 43, 0.15), transparent 36%),
        radial-gradient(circle at 80% -5%, rgba(57, 217, 138, 0.1), transparent 34%),
        linear-gradient(170deg, var(--bg-light-start) 0%, var(--bg) 100%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--zf-accent);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.7rem;
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

p {
    margin: 0 0 1rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    background: var(--zf-accent);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
}

.skip-link:focus {
    left: 1rem;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    padding: calc(2rem * var(--zf-density)) 0 calc(4rem * var(--zf-density));
}

.container {
    width: min(var(--zf-container-max), calc(100% - calc(2rem * var(--zf-density))));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    width: min(calc(var(--zf-container-max) + 40px), calc(100% - calc(2rem * var(--zf-density))));
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: calc(1.5rem * var(--zf-density));
    align-items: center;
    padding: calc(0.8rem * var(--zf-density)) 0;
}

.site-title {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
}

/* Logo image in nav — constrain to header height */
.site-title-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1;
    transition: color 0.15s;
}

.site-title-link:hover {
    color: var(--zf-accent);
}

.site-logo-img {
    display: block;
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

/* WordPress custom-logo wrapper */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    display: block;
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.theme-toggle,
.nav-toggle {
    border: 1px solid var(--border);
    background: var(--bg-elev);
    color: var(--text);
    border-radius: 999px;
    min-height: 40px;
    cursor: pointer;
}

.nav-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.3rem 0.65rem 0.3rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 1px solid var(--border);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.nav-live-pill.is-live {
    color: #ff9ca6;
    background: color-mix(in srgb, #d72638 22%, transparent);
}

.nav-live-pill.is-live .live-dot {
    background: #ff9ca6;
    animation: pulse-live 1.6s ease-in-out infinite;
}

.nav-live-pill.is-offline {
    color: var(--text-muted);
    background: transparent;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.75); }
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
}

.theme-toggle .icon-moon,
.theme-toggle .icon-sun {
    pointer-events: none;
}

:root[data-theme='dark'] .theme-toggle .icon-sun { display: none; }
:root[data-theme='light'] .theme-toggle .icon-moon { display: none; }

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 10px;
}

.hamburger span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.nav-toggle {
    display: none;
}

.nav-menu-wrapper {
    justify-self: end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    display: inline-block;
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 700;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--text);
    background: var(--bg-elev);
}

.nav-menu-wrapper {
    justify-self: center;
}

.hero {
    padding-top: 1.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
}

.hero-content,
.hero-panel,
.feature-card,
.post-card,
.entry,
.archive-header,
.sidebar .widget,
.section-cta .container {
    background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hero-content,
.hero-panel {
    padding: clamp(1.2rem, 2.8vw, 2rem);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--zf-accent) 18%, transparent);
    color: color-mix(in srgb, var(--zf-accent) 65%, white);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.7rem);
}

.hero-tagline {
    max-width: 48ch;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    border-radius: 999px;
    min-height: 44px;
    padding: 0.4rem 1rem;
}

.btn-primary {
    background: var(--zf-accent);
    color: #fff;
}

.btn-secondary {
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
}

.hero-panel ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.section {
    margin-top: calc(2rem * var(--zf-density));
}

.section-alt .container {
    padding-top: 1rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 1rem;
}

.section-head a {
    color: var(--zf-accent);
    text-decoration: none;
    font-weight: 700;
}

.feature-grid,
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.mockup-card {
    margin: 0;
    background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.8rem;
    box-shadow: var(--shadow-sm);
}

.mockup-card img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.mockup-card figcaption {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.stream-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.zf-stream-hub-card {
    background: linear-gradient(165deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.zf-stream-hub-title {
    margin-bottom: 0.8rem;
}

.zf-stream-hub-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.zf-stream-pill {
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.zf-stream-pill.is-live {
    background: color-mix(in srgb, #d72638 24%, transparent);
    color: #ff9ca6;
}

.zf-stream-pill.is-offline {
    background: color-mix(in srgb, #667085 30%, transparent);
    color: #d0d5dd;
}

.zf-stream-viewers {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.zf-stream-hub-block {
    margin-bottom: 0.8rem;
}

.zf-stream-hub-label {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.zf-stream-hub-value {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.zf-stream-hub-link {
    color: var(--zf-accent);
    text-decoration: none;
    font-weight: 700;
}

.zf-stream-schedule-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.zf-stream-schedule-list li {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    border-left: 2px solid var(--border);
    padding-left: 0.5rem;
}

.zf-stream-schedule-slot {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 700;
}

.zf-stream-schedule-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.zf-stream-sponsor-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.zf-stream-sponsor-list li a,
.zf-stream-sponsor-list li span {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.82rem;
}

.zf-stream-sponsor-list li a:hover {
    border-color: var(--zf-accent);
    color: var(--zf-accent);
}

.zf-stream-platform-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.zf-stream-platform-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.zf-stream-platform-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
}

.zf-live-badge {
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.72rem;
    border: 1px solid var(--border);
}

.zf-live-badge.is-live {
    color: #ff9ca6;
    background: color-mix(in srgb, #d72638 24%, transparent);
}

.zf-live-badge.is-offline {
    color: var(--text-muted);
    background: color-mix(in srgb, #667085 22%, transparent);
}

.zf-live-badge.is-neutral {
    color: var(--text-muted);
    background: color-mix(in srgb, #5e718f 20%, transparent);
}

.zf-affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.zf-affiliate-card {
    background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.zf-affiliate-image {
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.zf-affiliate-card h3 {
    margin-bottom: 0.45rem;
}

.zf-affiliate-card p {
    color: var(--text-muted);
}

.zf-affiliate-disclosure {
    margin: 0 0 0.9rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg-elev-2) 68%, transparent);
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.zf-affiliate-disclosure a {
    color: var(--zf-accent);
    text-decoration: none;
    font-weight: 700;
}

.zf-steam-inventory-card {
    background: linear-gradient(165deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.zf-steam-inventory-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.zf-steam-inventory-head h3 {
    margin: 0;
}

.zf-steam-inventory-head a {
    color: var(--zf-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

.zf-steam-inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
}

.zf-steam-item {
    background: color-mix(in srgb, var(--bg-elev-2) 74%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.7rem;
    position: relative;
}

.zf-steam-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
}

.zf-steam-item h4 {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.3;
}

.zf-steam-item-type {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.zf-steam-item-count {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, #1f5fff 22%, transparent);
    color: #dbe5ff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.05rem 0.35rem;
}

.zf-creator-feed-card,
.zf-discord-widget-card {
    background: linear-gradient(165deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.zf-creator-feed-card h3,
.zf-discord-widget-head h3 {
    margin: 0 0 0.75rem;
}

.zf-creator-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.zf-creator-feed-col {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.8rem;
    background: color-mix(in srgb, var(--bg-elev-2) 68%, transparent);
}

.zf-feed-label {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.zf-feed-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.zf-feed-list li a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.35;
}

.zf-feed-list li span {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-size: 0.74rem;
}

.zf-discord-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.zf-discord-widget-head a {
    color: var(--zf-accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
}

.zf-discord-widget-card iframe {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.zf-linktree-wrap {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 1.2rem;
}

.zf-linktree-avatar {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 999px;
    border: 3px solid var(--border);
    margin: 0 auto 0.9rem;
}

.zf-linktree-intro {
    color: var(--text-muted);
}

.zf-linktree-header {
    margin: 0.15rem 0;
    font-weight: 800;
    font-size: 1rem;
}

.zf-linktree-subheader {
    margin: 0 0 0.2rem;
    color: var(--text-muted);
}

.zf-linktree-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.zf-linktree-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
}

.zf-linktree-arrow {
    color: var(--zf-accent);
    font-size: 0.82rem;
    font-weight: 700;
}

.zf-linktree-custom-header,
.zf-linktree-custom-line {
    background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.95rem;
    text-align: left;
}

.zf-linktree-custom-header strong {
    display: block;
    font-size: 0.95rem;
}

.zf-linktree-custom-header span,
.zf-linktree-subline {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.feature-card,
.post-card {
    padding: 1rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.post-card-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0.9rem;
}

.post-card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.badge {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.12rem 0.48rem;
}

.post-card-title {
    font-size: 1.25rem;
}

.post-card-title a,
.read-more {
    text-decoration: none;
}

.read-more {
    margin-top: auto;
    color: var(--zf-accent);
    font-weight: 700;
}

.empty-state {
    margin: 0;
    color: var(--text-muted);
}

.content-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.content-single {
    max-width: 860px;
}

.main-column {
    min-width: 0;
}

.entry,
.archive-header,
.sidebar .widget {
    padding: 1.1rem;
}

.entry {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.entry-meta,
.entry-content,
.post-nav a {
    color: var(--text-muted);
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre {
    margin-bottom: 1rem;
}

.entry-content a {
    color: var(--zf-accent);
}

.entry-content code,
.entry-content pre {
    font-family: var(--font-mono);
}

.entry-content pre {
    background: #0a0f1d;
    color: #d7deef;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    overflow-x: auto;
}

:root[data-theme='light'] .entry-content pre {
    background: #1d2332;
    color: #e7ecff;
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.sidebar .widget {
    margin-bottom: 1rem;
}

.widget-title {
    margin-bottom: 0.5rem;
}

.pagination .page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    text-decoration: none;
}

.pagination .current {
    border-color: var(--zf-accent);
    color: var(--zf-accent);
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 82%, black 18%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem 0 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-site-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    letter-spacing: 0.01em;
}

.footer-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    padding: 0.3rem 0.7rem;
    margin-top: 0.4rem;
    align-self: flex-start;
}

.footer-theme-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

:root[data-theme='dark'] .footer-theme-toggle .icon-sun { display: none; }
:root[data-theme='light'] .footer-theme-toggle .icon-moon { display: none; }

.footer-section h3 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.footer-copy,
.footer-menu a,
.social-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.legal-copy {
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.legal-copy a {
    color: var(--zf-accent);
    text-decoration: none;
}

.footer-menu,
.social-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 1rem 0;
    width: min(var(--zf-container-max), calc(100% - calc(2rem * var(--zf-density))));
    margin: 0 auto;
}

.reveal-up {
    opacity: 1;
    transform: none;
}

.zf-reveal-enabled .reveal-up {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.zf-reveal-enabled .reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid,
    .feature-grid,
    .mockup-grid,
    .posts-grid,
    .footer-content,
    .content-shell {
        grid-template-columns: 1fr;
    }

    .nav-container {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            'logo actions'
            'menu menu';
    }

    .nav-logo {
        grid-area: logo;
    }

    .nav-actions {
        grid-area: actions;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu-wrapper {
        grid-area: menu;
        justify-self: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .nav-menu-wrapper.active {
        max-height: 300px;
    }

    .nav-menu {
        display: grid;
        gap: 0.15rem;
        padding-top: 0.5rem;
    }

    .zf-creator-feed-grid {
        grid-template-columns: 1fr;
    }

    .zf-content-split {
        grid-template-columns: 1fr;
    }

    .zf-community-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================================
   STREAMER SHORTCODE STYLES
=========================================================== */

/* --- Stream Status Card -----------------------------------*/
.zf-stream-status {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md, 8px);
    background: var(--color-surface, #1a1e2a);
    border: 1px solid var(--color-border, #2d3145);
    max-width: 420px;
}

.zf-stream-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    width: fit-content;
}

.zf-stream-status.is-live .zf-stream-status-pill {
    background: var(--color-accent, #ff6b6b);
    color: #fff;
}

.zf-stream-status.is-offline .zf-stream-status-pill {
    background: var(--color-border, #2d3145);
    color: var(--color-text-muted, #94a3b8);
}

.zf-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    animation: pulse-live 1.4s ease-in-out infinite;
}

.zf-stream-title {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text, #e2e8f0);
}

.zf-stream-meta {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-muted, #94a3b8);
}

.zf-stream-viewers {
    color: var(--color-accent, #ff6b6b);
}

/* --- Stream Schedule List ---------------------------------*/
.zf-schedule-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.zf-schedule-item {
    display: grid;
    grid-template-columns: 6rem 1fr auto;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.75rem 1rem;
    background: var(--color-surface, #1a1e2a);
    border-radius: var(--radius-sm, 6px);
    border: 1px solid var(--color-border, #2d3145);
}

.zf-schedule-day {
    font-weight: 700;
    color: var(--color-text, #e2e8f0);
    font-size: 0.9rem;
}

.zf-schedule-time {
    color: var(--color-text-muted, #94a3b8);
    font-size: 0.875rem;
}

.zf-schedule-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent, #ff6b6b);
    white-space: nowrap;
}

/* --- YouTube Feed List ------------------------------------*/
.zf-youtube-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.zf-youtube-feed-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border, #2d3145);
}

.zf-youtube-feed-list li:last-child {
    border-bottom: none;
}

.zf-youtube-feed-list a {
    color: var(--color-text, #e2e8f0);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.18s ease;
}

.zf-youtube-feed-list a:hover {
    color: var(--color-accent, #ff6b6b);
}

.zf-feed-date {
    font-size: 0.75rem;
    color: var(--color-text-muted, #94a3b8);
}

/* --- Affiliate List ---------------------------------------*/
.zf-affiliate-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.zf-affiliate-item {
    background: var(--color-surface, #1a1e2a);
    border: 1px solid var(--color-border, #2d3145);
    border-radius: var(--radius-md, 8px);
    transition: border-color 0.18s ease;
}

.zf-affiliate-item:hover {
    border-color: var(--color-accent, #ff6b6b);
}

.zf-affiliate-link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.125rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.zf-affiliate-title {
    font-weight: 600;
    color: var(--color-text, #e2e8f0);
    font-size: 0.95rem;
}

.zf-affiliate-desc {
    font-size: 0.825rem;
    color: var(--color-text-muted, #94a3b8);
    line-height: 1.4;
}

/* --- Discord Widget Wrap ----------------------------------*/
.zf-discord-widget-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.zf-discord-widget-wrap iframe {
    width: 100%;
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--color-border, #2d3145);
    display: block;
}

.zf-discord-join-btn {
    align-self: flex-start;
}

/* --- Linktree List ----------------------------------------*/
.zf-linktree-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.zf-linktree-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    background: var(--color-surface, #1a1e2a);
    border: 1px solid var(--color-border, #2d3145);
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    color: var(--color-text, #e2e8f0);
    font-weight: 600;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.zf-linktree-item:hover {
    border-color: var(--color-accent, #ff6b6b);
    background: var(--color-surface-hover, #1f2435);
}

.zf-linktree-arrow {
    color: var(--color-accent, #ff6b6b);
    font-size: 1.1rem;
}

/* --- Homepage Layout Helpers ------------------------------*/
.zf-content-split {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}

.zf-aside-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted, #94a3b8);
    margin: 0 0 0.75rem;
}

.zf-community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.zf-community-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.zf-schedule-wrap {
    max-width: 640px;
}

.eyebrow--live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-accent, #ff6b6b);
}

.zf-hero-live-game {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.zf-hero-live-viewers {
    font-size: 0.9rem;
    color: var(--color-text-muted, #94a3b8);
    margin: 0;
}

.zf-empty-state {
    color: var(--color-text-muted, #94a3b8);
    font-style: italic;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-head h2 {
    margin: 0;
}

.section-head a {
    font-size: 0.875rem;
    color: var(--color-accent, #ff6b6b);
    text-decoration: none;
    white-space: nowrap;
}

.section-head a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Quick Links — top bar and floating panel
   ========================================================================== */

/* Top bar: full-width sticky strip that scrolls away with the page */
.zf-quick-links-bar {
    --zf-quickbar-h: 2.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    overflow-x: auto;
    scrollbar-width: none;
    height: var(--zf-quickbar-h);
    padding: 0 1rem;
    background: var(--zf-accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.zf-quick-links-bar::-webkit-scrollbar {
    display: none;
}

.zf-quick-links-bar .zf-quick-link {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    letter-spacing: 0.02em;
    transition: background 0.15s;
}

.zf-quick-links-bar .zf-quick-link:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Floating panels: fixed to left or right side, centered vertically */
.zf-quick-links-float {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.zf-quick-links-float--left {
    left: 0;
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.zf-quick-links-float--right {
    right: 0;
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.zf-quick-links-float .zf-quick-link {
    display: block;
    padding: 0.45rem 0.875rem;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    text-align: center;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.zf-quick-links-float .zf-quick-link:hover {
    background: var(--zf-accent);
    color: #fff;
}

@media (max-width: 640px) {
    .zf-quick-links-float {
        display: none;
    }
}

/* ==========================================================================
   Footer legal nav
   ========================================================================== */

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 2rem;
}

.footer-legal-nav {
    flex: 1 1 auto;
}

.footer-legal-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.15s;
}

.footer-legal-menu a:hover {
    color: var(--zf-accent);
}

/* ==========================================================================
   Steam Inventory Grid
   ========================================================================== */

.zf-steam-inventory {
    margin: 0;
}

.zf-steam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.zf-steam-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-top: 3px solid var(--item-rarity, var(--border));
    border-radius: var(--radius-md);
    padding: 0.75rem 0.5rem 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
    position: relative;
}

.zf-steam-card:hover {
    box-shadow: var(--shadow-lg);
}

.zf-steam-card__img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.zf-steam-card__name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
}

.zf-steam-card__type {
    font-size: 0.66rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
}

.zf-steam-card__qty {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--zf-accent);
}

.zf-steam-inventory__footer {
    text-align: right;
    font-size: 0.8rem;
    margin: 0;
}

.zf-steam-inventory__footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.zf-steam-inventory__footer a:hover {
    color: var(--zf-accent);
}

@media (max-width: 480px) {
    .zf-steam-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.5rem;
    }
}

/* ==========================================================================
   Video Highlights
   ========================================================================== */

.zf-highlights {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.zf-highlights--cols-2 { grid-template-columns: repeat(2, 1fr); }
.zf-highlights--cols-3 { grid-template-columns: repeat(3, 1fr); }
.zf-highlights--cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .zf-highlights--cols-3,
    .zf-highlights--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .zf-highlights--cols-2,
    .zf-highlights--cols-3,
    .zf-highlights--cols-4 {
        grid-template-columns: 1fr;
    }
}

.zf-highlight-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.zf-highlight-embed-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-elev);
}

.zf-highlight-embed-wrap .zf-highlight-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
}

.zf-highlight-title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

.zf-highlight-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s;
}

.zf-highlight-title a:hover {
    color: var(--zf-accent);
}

.zf-highlight-item--twitch .zf-highlight-embed-wrap {
    border-top: 2px solid #9146ff;
}

.zf-highlight-item--youtube .zf-highlight-embed-wrap {
    border-top: 2px solid #ff0000;
}
