/*
Theme Name: RageSlop
Theme URI: https://rageslop.com
Description: A dark, fire-themed WordPress theme for the RageSlop rage link aggregator. Designed to work with the RageSlop plugin.
Version: 1.0.0
Author: RageSlop
Author URI: https://rageslop.com
Text Domain: rageslop-theme
Requires at least: 5.8
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ═══════════════════════════════════════════════
   RAGESLOP THEME — Global Styles
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── Variables ── */
:root {
    --rs-bg:           #050505;
    --rs-bg-raised:    #0a0a0a;
    --rs-card:         #0d0d0d;
    --rs-card-hover:   #111;
    --rs-border:       #1a1a1a;
    --rs-border-hi:    #2a2a2a;
    --rs-border-hot:   #333;
    --rs-text:         #e5e5e5;
    --rs-text-sub:     #aaa;
    --rs-text-dim:     #666;
    --rs-text-mute:    #444;
    --rs-text-ghost:   #2a2a2a;
    --rs-accent:       #FF4500;
    --rs-accent-lt:    #FF6B35;
    --rs-accent-glow:  rgba(255, 69, 0, 0.15);
    --rs-gold:         #F59E0B;
    --rs-orange:       #F97316;
    --rs-red:          #EF4444;
    --rs-crimson:      #DC2626;
    --rs-blood:        #991B1B;
    --rs-font-display: 'Unbounded', sans-serif;
    --rs-font-body:    'Space Grotesk', sans-serif;
    --rs-font-mono:    'JetBrains Mono', monospace;
    --rs-max-width:    920px;
    --rs-nav-height:   60px;
    --rs-radius:       12px;
    --rs-radius-sm:    8px;
    --rs-radius-xs:    6px;
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--rs-font-body);
    background: var(--rs-bg);
    color: var(--rs-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: rgba(255, 69, 0, 0.25);
    color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--rs-bg); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

a {
    color: var(--rs-accent-lt);
    text-decoration: none;
    transition: color 0.15s;
}
a:hover { color: var(--rs-accent); }

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

/* ── Animations ── */
@keyframes rs-float-up {
    0%   { transform: translateY(0) scale(1); opacity: 0.18; }
    100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}
@keyframes rs-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}
@keyframes rs-slide-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes rs-fire-glow {
    0%, 100% { text-shadow: 0 0 20px rgba(255,69,0,0.3), 0 0 40px rgba(255,69,0,0.1); }
    50%      { text-shadow: 0 0 30px rgba(255,69,0,0.5), 0 0 60px rgba(255,69,0,0.2); }
}
@keyframes rs-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes rs-spin {
    to { transform: rotate(360deg); }
}

/* ── Fire particles background ── */
.rs-particles {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.rs-particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    animation: rs-float-up linear infinite;
}

/* ── Noise overlay ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}


/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */

.rs-site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #111;
}
.rs-nav-inner {
    max-width: var(--rs-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--rs-nav-height);
}

/* Logo */
.rs-site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.rs-site-logo .fire { font-size: 24px; }
.rs-site-logo .brand {
    font-family: var(--rs-font-display);
    font-weight: 900;
    font-size: 20px;
    background: linear-gradient(135deg, #FF4500, #FF6B35, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}
.rs-site-logo .tld {
    font-size: 10px;
    color: var(--rs-text-ghost);
    font-family: var(--rs-font-mono);
    align-self: flex-start;
    margin-top: 4px;
}

/* Nav links */
.rs-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.rs-nav-links a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--rs-font-mono);
    color: var(--rs-text-mute);
    text-decoration: none;
    border-radius: var(--rs-radius-xs);
    transition: all 0.15s;
}
.rs-nav-links a:hover {
    color: var(--rs-text-sub);
    background: rgba(255,255,255,0.03);
}
.rs-nav-links .current-menu-item a,
.rs-nav-links .current_page_item a {
    color: var(--rs-text);
    background: var(--rs-border);
}

/* Submit button in nav */
.rs-nav-submit {
    padding: 7px 18px !important;
    border-radius: var(--rs-radius-sm) !important;
    border: 1px solid rgba(255,69,0,0.3) !important;
    background: linear-gradient(135deg, rgba(255,69,0,0.1), rgba(220,38,38,0.1)) !important;
    color: var(--rs-accent-lt) !important;
    font-family: var(--rs-font-display) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s !important;
}
.rs-nav-submit:hover {
    background: linear-gradient(135deg, #FF4500, #DC2626) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* Mobile nav toggle */
.rs-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--rs-text-dim);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 768px) {
    .rs-nav-toggle { display: block; }
    .rs-nav-links {
        display: none;
        position: absolute;
        top: var(--rs-nav-height);
        left: 0; right: 0;
        background: rgba(8,8,8,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--rs-border);
        gap: 4px;
    }
    .rs-nav-links.open { display: flex; }
    .rs-nav-links a {
        display: block;
        padding: 10px 14px;
        font-size: 14px;
    }
}


/* ═══════════════════════════════════════════════
   MAIN CONTENT CONTAINER
   ═══════════════════════════════════════════════ */

.rs-site-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - var(--rs-nav-height) - 200px);
}

.rs-container {
    max-width: var(--rs-max-width);
    margin: 0 auto;
    padding: 32px 20px 60px;
}


/* ═══════════════════════════════════════════════
   HOMEPAGE HERO
   ═══════════════════════════════════════════════ */

.rs-hero {
    text-align: center;
    padding: 48px 0 40px;
    animation: rs-slide-up 0.7s ease;
}
.rs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--rs-accent-glow);
    border: 1px solid rgba(255,69,0,0.2);
    font-family: var(--rs-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--rs-accent-lt);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.rs-hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--rs-accent);
    animation: rs-pulse 2s infinite;
}
.rs-hero h1 {
    font-family: var(--rs-font-display);
    font-weight: 900;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.05;
    background: linear-gradient(180deg, #f5f5f5 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.rs-hero-tagline {
    font-size: 15px;
    color: var(--rs-text-mute);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Stats bar ── */
.rs-stats-bar {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--rs-border);
}
.rs-stat {
    text-align: center;
}
.rs-stat-num {
    font-family: var(--rs-font-mono);
    font-size: 22px;
    font-weight: 800;
    color: var(--rs-accent);
}
.rs-stat-label {
    font-family: var(--rs-font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rs-text-mute);
    margin-top: 2px;
}


/* ═══════════════════════════════════════════════
   RAGE POST CARDS (archive + single)
   ═══════════════════════════════════════════════ */

.rs-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rs-card {
    background: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    overflow: hidden;
    transition: all 0.2s;
    animation: rs-slide-up 0.4s ease both;
}
.rs-card:hover {
    border-color: var(--rs-border-hot);
    transform: translateY(-1px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.rs-card-body {
    padding: 20px 24px 16px;
}

.rs-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.rs-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--rs-radius-xs);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--rs-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rs-tag-platform {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.rs-tag-category {
    background: var(--rs-border);
    color: var(--rs-text-dim);
    border: 1px solid var(--rs-border-hi);
    font-weight: 600;
    text-transform: none;
}
.rs-card-time {
    font-size: 11px;
    color: var(--rs-text-mute);
    font-family: var(--rs-font-mono);
    margin-left: auto;
}

.rs-card h2,
.rs-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--rs-text);
    line-height: 1.35;
    margin-bottom: 10px;
}
.rs-card h2 a,
.rs-card h3 a {
    color: inherit;
    text-decoration: none;
}
.rs-card h2 a:hover,
.rs-card h3 a:hover {
    color: var(--rs-accent-lt);
}

.rs-card-preview {
    font-size: 13px;
    color: var(--rs-text-dim);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 6px;
}
.rs-card-author {
    font-size: 11px;
    color: var(--rs-text-mute);
    font-family: var(--rs-font-mono);
}

/* Rage bar */
.rs-card-rage {
    padding: 0 24px 16px;
}
.rs-rage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.rs-rage-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rs-text-dim);
    font-family: var(--rs-font-mono);
}
.rs-rage-stats {
    font-size: 11px;
    color: var(--rs-text-dim);
    font-family: var(--rs-font-mono);
}
.rs-rage-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rs-rage-track {
    flex: 1;
    height: 6px;
    background: var(--rs-border);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--rs-border-hi);
}
.rs-rage-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(.4,0,.2,1);
}
.rs-rage-num {
    font-family: var(--rs-font-mono);
    font-size: 15px;
    font-weight: 800;
    min-width: 44px;
    text-align: right;
}

/* Vote strip */
.rs-vote-strip {
    display: flex;
    border-top: 1px solid var(--rs-border);
    background: rgba(0,0,0,0.3);
}
.rs-vote-btn {
    flex: 1;
    padding: 10px 4px;
    border: none;
    border-right: 1px solid var(--rs-border);
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: all 0.15s;
    color: inherit;
}
.rs-vote-btn:last-child { border-right: none; }
.rs-vote-btn:hover { background: rgba(255,255,255,0.02); }
.rs-vote-btn.voted { opacity: 0.35; cursor: default; }
.rs-vote-btn .emoji { font-size: 17px; }
.rs-vote-btn .label {
    font-size: 9px;
    font-weight: 600;
    color: var(--rs-text-dim);
    font-family: var(--rs-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Source link button */
.rs-source-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--rs-radius-sm);
    background: var(--rs-bg-raised);
    border: 1px solid var(--rs-border-hi);
    color: var(--rs-text-sub);
    font-family: var(--rs-font-mono);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.15s;
    margin-top: 16px;
}
.rs-source-link:hover {
    border-color: var(--rs-accent);
    color: var(--rs-accent-lt);
    background: var(--rs-accent-glow);
}


/* ═══════════════════════════════════════════════
   RAGE OF THE DAY (homepage widget)
   ═══════════════════════════════════════════════ */

.rs-rotd {
    background: linear-gradient(135deg, rgba(255,69,0,0.04), rgba(220,38,38,0.04));
    border: 1px solid rgba(255,69,0,0.12);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 32px;
    animation: rs-slide-up 0.8s ease;
}
.rs-rotd-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.rs-rotd-header .fire {
    font-size: 20px;
    animation: rs-pulse 2s infinite;
}
.rs-rotd-header span:last-child {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rs-accent);
    font-family: var(--rs-font-display);
}
.rs-rotd h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
.rs-rotd h2 a { color: var(--rs-text); }
.rs-rotd h2 a:hover { color: var(--rs-accent-lt); }
.rs-rotd-score {
    font-family: var(--rs-font-mono);
    font-size: 32px;
    font-weight: 900;
    color: var(--rs-accent);
    animation: rs-fire-glow 3s infinite;
}


/* ═══════════════════════════════════════════════
   FILTERS BAR
   ═══════════════════════════════════════════════ */

.rs-filters {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rs-sort-tabs {
    display: flex;
    gap: 4px;
    background: var(--rs-bg-raised);
    border-radius: 10px;
    padding: 4px;
    border: 1px solid var(--rs-border);
    width: fit-content;
}
.rs-sort-tab {
    padding: 8px 18px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: var(--rs-text-dim);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--rs-font-mono);
    transition: all 0.15s;
    text-decoration: none;
}
.rs-sort-tab:hover { color: var(--rs-text-sub); }
.rs-sort-tab.active {
    background: var(--rs-border);
    color: var(--rs-text);
}

.rs-filter-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.rs-filter-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rs-text-ghost);
    font-family: var(--rs-font-mono);
    margin-right: 4px;
}
.rs-filter-btn {
    padding: 5px 12px;
    border-radius: var(--rs-radius-xs);
    border: 1px solid var(--rs-border);
    background: transparent;
    color: var(--rs-text-mute);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--rs-font-mono);
    transition: all 0.15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.rs-filter-btn:hover { border-color: var(--rs-border-hi); color: var(--rs-text-dim); }
.rs-filter-btn.active {
    border-color: var(--rs-border-hot);
    background: var(--rs-border);
    color: var(--rs-text-sub);
}


/* ═══════════════════════════════════════════════
   SINGLE POST PAGE
   ═══════════════════════════════════════════════ */

.rs-single {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}
.rs-single-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--rs-font-mono);
    font-size: 12px;
    color: var(--rs-text-mute);
    margin-bottom: 24px;
    transition: color 0.15s;
}
.rs-single-back:hover { color: var(--rs-accent-lt); }

.rs-single .rs-card {
    animation: rs-slide-up 0.5s ease;
}

.rs-single-content {
    padding: 32px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--rs-text-sub);
}
.rs-single-content p { margin-bottom: 16px; }

/* Comments section */
.rs-comments {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--rs-border);
}
.rs-comments h3 {
    font-family: var(--rs-font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--rs-text);
}
.rs-comment {
    padding: 16px 0;
    border-bottom: 1px solid var(--rs-border);
}
.rs-comment-meta {
    font-family: var(--rs-font-mono);
    font-size: 11px;
    color: var(--rs-text-mute);
    margin-bottom: 8px;
}
.rs-comment-meta .author { color: var(--rs-accent-lt); font-weight: 600; }
.rs-comment-body {
    font-size: 14px;
    color: var(--rs-text-sub);
    line-height: 1.6;
}

/* Comment form */
.rs-comment-form textarea {
    width: 100%;
    padding: 14px;
    background: var(--rs-bg-raised);
    border: 1px solid var(--rs-border-hi);
    border-radius: var(--rs-radius-sm);
    color: var(--rs-text);
    font-family: var(--rs-font-body);
    font-size: 14px;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s;
    min-height: 80px;
    margin-bottom: 12px;
}
.rs-comment-form textarea:focus { border-color: var(--rs-accent); }
.rs-comment-form input[type="submit"],
.rs-comment-form .submit {
    padding: 10px 24px;
    border-radius: var(--rs-radius-sm);
    border: 1px solid var(--rs-accent);
    background: var(--rs-accent-glow);
    color: var(--rs-accent-lt);
    font-family: var(--rs-font-display);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.rs-comment-form input[type="submit"]:hover {
    background: var(--rs-accent);
    color: #fff;
}


/* ═══════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════ */

.rs-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.rs-pagination a,
.rs-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--rs-radius-sm);
    border: 1px solid var(--rs-border-hi);
    background: var(--rs-bg-raised);
    color: var(--rs-text-dim);
    font-family: var(--rs-font-mono);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}
.rs-pagination a:hover {
    border-color: var(--rs-accent);
    color: var(--rs-accent-lt);
}
.rs-pagination .current {
    background: var(--rs-accent);
    border-color: var(--rs-accent);
    color: #fff;
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.rs-site-footer {
    border-top: 1px solid var(--rs-border);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.rs-footer-inner {
    max-width: var(--rs-max-width);
    margin: 0 auto;
}
.rs-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}
.rs-footer-brand .brand {
    font-family: var(--rs-font-display);
    font-weight: 800;
    font-size: 14px;
    color: var(--rs-text-mute);
}
.rs-footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}
.rs-footer-links a {
    font-family: var(--rs-font-mono);
    font-size: 11px;
    color: var(--rs-text-mute);
}
.rs-footer-links a:hover { color: var(--rs-accent-lt); }
.rs-footer-legal {
    font-family: var(--rs-font-mono);
    font-size: 10px;
    color: #1a1a1a;
    line-height: 1.8;
}


/* ═══════════════════════════════════════════════
   SIDEBAR / WIDGETS
   ═══════════════════════════════════════════════ */

.rs-sidebar {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--rs-border);
}

.rs-widget {
    background: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    padding: 20px;
    margin-bottom: 20px;
}
.rs-widget h4 {
    font-family: var(--rs-font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rs-text-dim);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rs-border);
}
.rs-widget ul {
    list-style: none;
}
.rs-widget li {
    margin-bottom: 8px;
}
.rs-widget li a {
    font-size: 13px;
    color: var(--rs-text-sub);
    transition: color 0.15s;
}
.rs-widget li a:hover { color: var(--rs-accent-lt); }


/* ═══════════════════════════════════════════════
   PAGES (about, etc.)
   ═══════════════════════════════════════════════ */

.rs-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 20px 80px;
    animation: rs-slide-up 0.5s ease;
}
.rs-page h1 {
    font-family: var(--rs-font-display);
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--rs-text);
}
.rs-page-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--rs-text-sub);
}
.rs-page-content p { margin-bottom: 16px; }
.rs-page-content h2 {
    font-family: var(--rs-font-display);
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--rs-text);
}
.rs-page-content ul, .rs-page-content ol {
    margin: 0 0 16px 24px;
}
.rs-page-content li {
    margin-bottom: 6px;
    color: var(--rs-text-dim);
}


/* ═══════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════ */

.rs-404 {
    text-align: center;
    padding: 80px 20px;
    animation: rs-slide-up 0.5s ease;
}
.rs-404-emoji { font-size: 64px; margin-bottom: 20px; }
.rs-404 h1 {
    font-family: var(--rs-font-display);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}
.rs-404 p {
    color: var(--rs-text-mute);
    font-family: var(--rs-font-mono);
    font-size: 14px;
    margin-bottom: 24px;
}
.rs-404 a {
    display: inline-flex;
    padding: 10px 24px;
    border-radius: var(--rs-radius-sm);
    border: 1px solid var(--rs-accent);
    color: var(--rs-accent-lt);
    font-family: var(--rs-font-mono);
    font-size: 13px;
    font-weight: 600;
}
.rs-404 a:hover { background: var(--rs-accent); color: #fff; }


/* ═══════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════ */

.rs-screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* WordPress admin bar spacing */
.admin-bar .rs-site-nav { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .rs-site-nav { top: 46px; }
}


/* ═══════════════════════════════════════════════
   SUBMIT MODAL
   ═══════════════════════════════════════════════ */

.rs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: rs-fade-in 0.2s ease;
}
.rs-modal {
    background: var(--rs-card);
    border: 1px solid var(--rs-border-hi);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
}
.rs-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rs-modal-header h2 {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--rs-font-display);
    color: var(--rs-text);
}
.rs-modal-close {
    background: none;
    border: none;
    color: var(--rs-text-dim);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.15s;
}
.rs-modal-close:hover { color: var(--rs-text); }
.rs-modal-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Form fields */
.rs-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rs-text-dim);
    margin-bottom: 8px;
    font-family: var(--rs-font-mono);
}
.rs-field-label .optional {
    color: var(--rs-text-ghost);
    font-weight: 400;
}
.rs-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--rs-bg);
    border: 1px solid var(--rs-border-hi);
    border-radius: var(--rs-radius-sm);
    color: var(--rs-text);
    font-size: 14px;
    font-family: var(--rs-font-mono);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.rs-input:focus { border-color: var(--rs-accent); }
.rs-textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--rs-bg);
    border: 1px solid var(--rs-border-hi);
    border-radius: var(--rs-radius-sm);
    color: var(--rs-text);
    font-size: 13px;
    font-family: var(--rs-font-body);
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}
.rs-textarea:focus { border-color: var(--rs-accent); }

.rs-platform-detected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--rs-radius-xs);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--rs-font-mono);
    margin-top: 8px;
}

/* Category grid */
.rs-cat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.rs-cat-btn {
    padding: 6px 12px;
    border-radius: var(--rs-radius-xs);
    border: 1px solid var(--rs-border-hi);
    background: var(--rs-bg);
    color: var(--rs-text-dim);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--rs-font-body);
}
.rs-cat-btn:hover { border-color: var(--rs-border-hot); }
.rs-cat-btn.active {
    border-color: var(--rs-accent);
    background: var(--rs-accent-glow);
    color: var(--rs-accent-lt);
}

/* Rage level grid */
.rs-rage-grid {
    display: flex;
    gap: 6px;
}
.rs-rage-btn {
    flex: 1;
    padding: 10px 4px;
    border-radius: var(--rs-radius-sm);
    border: 1px solid var(--rs-border-hi);
    background: var(--rs-bg);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
    color: inherit;
}
.rs-rage-btn .emoji { font-size: 20px; }
.rs-rage-btn .label {
    font-size: 8px;
    font-weight: 700;
    font-family: var(--rs-font-mono);
    text-transform: uppercase;
    color: var(--rs-text-dim);
}
.rs-rage-btn.active .label {
    color: inherit;
}

/* Submit action button */
.rs-submit-action {
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--rs-border);
    color: var(--rs-text-mute);
    font-size: 14px;
    font-weight: 800;
    font-family: var(--rs-font-display);
    cursor: default;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s;
    width: 100%;
}
.rs-submit-action.ready {
    background: linear-gradient(135deg, #FF4500, #DC2626);
    color: #fff;
    cursor: pointer;
}
.rs-submit-action.ready:hover {
    box-shadow: 0 4px 20px rgba(255,69,0,0.3);
    transform: translateY(-1px);
}

/* Toast notification */
.rs-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rs-card);
    border: 1px solid var(--rs-border-hot);
    border-radius: 10px;
    padding: 12px 24px;
    font-family: var(--rs-font-mono);
    font-size: 13px;
    color: var(--rs-text);
    z-index: 2000;
    animation: rs-slide-up 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    white-space: nowrap;
}

/* CAPTCHA container */
#rs-captcha-container {
    min-height: 0;
    display: flex;
    justify-content: center;
}
#rs-captcha-container:empty { min-height: 0; }
#rs-captcha-container iframe { border-radius: 8px; }

@media (max-width: 600px) {
    .rs-rage-grid { flex-wrap: wrap; }
    .rs-rage-btn { min-width: calc(33% - 4px); }
    .rs-modal { max-width: 100%; border-radius: 12px; }
}
