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

/* ==========================================================================
   Lilu Mania - Pure White & Rose Manga Syndicate Edition
   Clean White Background with Radiant Ruby & Charcoal Typography
   100% English Language Compliance - Pure CSS Design System
   ========================================================================== */

@font-face {
    font-family: 'Maletha Signature';
    src: url('fonts/Maletha-Collection-Signature-otf.otf') format('opentype'),
         url('fonts/Maletha Collection Signature ttf.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cutie Botie';
    src: url('fonts/CUTIE-BOTIE.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-main: #ffffff;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-subtle: #f8fafc;
    --border-card: #e2e8f0;
    --border-hover: #f43f5e;
    
    --ruby-primary: #e11d48;
    --ruby-glow: #be123c;
    --ruby-dark: #881337;
    --ruby-light: #fff1f2;
    --ruby-border: #fecdd3;
    
    --accent-purple: #7e22ce;
    --accent-amber: #d97706;
    --accent-cyan: #0284c7;
    
    --text-main: #0f172a;
    --text-headings: #1e293b;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-card: 0 4px 18px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 8px 24px rgba(225, 29, 72, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
}

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

html {
    scroll-behavior: smooth;
    background-color: #ffffff;
}

body {
    background-color: #ffffff;
    background-image: radial-gradient(circle at 50% 0%, #fff1f2 0%, #f8fafc 40%, #ffffff 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    font-size: 14px;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.22s ease-in-out;
}

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

/* ==========================================================================
   Top System Bar
   ========================================================================== */
.sys-ticker {
    background: #ffffff;
    border-bottom: 1px solid var(--border-card);
    padding: 8px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sys-ticker-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sys-status-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.sys-badges {
    display: flex;
    gap: 12px;
}

.sys-badge-pill {
    background: #fff1f2;
    border: 1px solid var(--ruby-border);
    color: var(--ruby-primary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ==========================================================================
   Main Grid Container (Preserving original structural blocks)
   ========================================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    display: grid;
    grid-template-columns: 290px 1fr 1fr 290px;
    grid-template-areas:
        "nav nav nav nav"
        "categories categories categories categories"
        "sidebar main main main"
        "content1 content2 content2 forads"
        "content1 content3 content3 forads"
        "footer footer footer footer";
    gap: 20px;
}

/* ==========================================================================
   NAV: Header Branding & Syndicate Command Bar
   ========================================================================== */
nav {
    grid-area: nav;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ruby-primary), var(--accent-purple), var(--accent-amber));
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-title {
    font-family: 'Maletha Signature', 'Cutie Botie', cursive;
    font-size: 64px;
    line-height: 1;
    color: var(--ruby-primary);
    text-shadow: 0 2px 12px rgba(225, 29, 72, 0.22);
    letter-spacing: 1px;
    transform: rotate(-1.5deg);
    display: inline-block;
    padding-right: 8px;
}

.brand-sub {
    display: flex;
    flex-direction: column;
}

.brand-tagline {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ruby-glow);
}

.brand-desc {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-stats-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-item {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    text-align: center;
}

.stat-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-headings);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-action-btn {
    background: linear-gradient(135deg, var(--ruby-primary), var(--ruby-glow));
    border: 1px solid var(--ruby-glow);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-action-btn:hover {
    background: linear-gradient(135deg, var(--ruby-glow), var(--ruby-dark));
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   CATEGORY BAR: Clean White & Rose Categories Navigation
   ========================================================================== */
.category-bar {
    grid-area: categories;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.category-bar-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ruby-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 14px;
    border-right: 2px solid var(--ruby-border);
    white-space: nowrap;
}

.category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.category-pill {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-headings);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.category-pill:hover {
    background: var(--ruby-primary);
    border-color: var(--ruby-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25);
}

.category-pill-count {
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    background: #ffe4e6;
    color: var(--ruby-primary);
    padding: 1px 6px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.category-pill:hover .category-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   SIDEBAR: Left Manga Artwork Poster
   ========================================================================== */
#sidebar {
    grid-area: sidebar;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#sidebar:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.poster-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-card);
}

.poster-badge {
    background: #fff1f2;
    border: 1px solid var(--ruby-border);
    color: var(--ruby-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.poster-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-card);
    background: #f1f5f9;
}

.poster-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poster-frame:hover img {
    transform: scale(1.05);
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%);
    padding: 16px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.poster-title {
    font-weight: 800;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.poster-meta {
    font-size: 11px;
    color: #fda4af;
    font-weight: 600;
}

.poster-btn {
    background: #fff1f2;
    border: 1px solid var(--ruby-border);
    color: var(--ruby-primary);
    text-align: center;
    padding: 9px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.poster-btn:hover {
    background: var(--ruby-primary);
    border-color: var(--ruby-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

/* ==========================================================================
   MAIN: 8 Picture Gallery Releases
   ========================================================================== */
main {
    grid-area: main;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-card);
    margin-bottom: 2px;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-headings);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title span.indicator {
    color: var(--ruby-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-card {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.25s ease;
}

.gallery-card:hover {
    background: #fff5f7;
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.gallery-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.gallery-badge {
    background: #fff1f2;
    border: 1px solid var(--ruby-border);
    color: var(--ruby-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.gallery-rating {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent-amber);
    font-weight: 700;
}

.gallery-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.gallery-card:hover .gallery-title {
    color: var(--ruby-primary);
}

.gallery-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-card);
}

.gallery-info {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    font-weight: 500;
}

.gallery-btn {
    background: #e11d48;
    border: 1px solid var(--ruby-glow);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.2);
}

.gallery-btn:hover {
    background: var(--ruby-glow);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.35);
    color: #ffffff;
}

/* ==========================================================================
   CONTENT1: 3x3 Cute Icon Sticker Categories
   ========================================================================== */
#content1 {
    grid-area: content1;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cute-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cute-card {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.cute-card:hover {
    background: #fff5f7;
    border-color: var(--border-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.15);
}

.cute-icon-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #ffe4e6 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cute-card:hover .cute-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.cute-icon-wrap img {
    max-width: 48px;
    max-height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.cute-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-headings);
    line-height: 1.2;
}

.cute-card:hover .cute-title {
    color: var(--ruby-primary);
}

.cute-count {
    font-size: 9px;
    color: var(--ruby-primary);
    font-weight: 600;
}

/* ==========================================================================
   CONTENT2 & CONTENT3: Center Spotlight Features (Eliminating Void)
   ========================================================================== */
#content2 {
    grid-area: content2;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#content3 {
    grid-area: content3;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spotlight-card {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}

.spotlight-card:hover {
    background: #fff5f7;
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.12);
}

.spotlight-icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #fff1f2;
    border: 1px solid var(--ruby-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-icon-box img {
    max-width: 32px;
    max-height: 32px;
}

.spotlight-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spotlight-top-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spotlight-badge {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #b45309;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.spotlight-score {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent-amber);
    font-weight: 700;
}

.spotlight-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-headings);
    line-height: 1.3;
}

.spotlight-card:hover .spotlight-heading {
    color: var(--ruby-primary);
}

.spotlight-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.spotlight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.spotlight-views {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.spotlight-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--ruby-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.spotlight-card:hover .spotlight-link {
    color: var(--ruby-glow);
}

/* ==========================================================================
   FORADS: Right Cartoon Parody Poster
   ========================================================================== */
#forads {
    grid-area: forads;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#forads:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   FOOTER: BBS 4-Column Matrix Table + SEO Tags + Network Strip + Legal
   ========================================================================== */
footer {
    grid-area: footer;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bbs-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.bbs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.bbs-table th {
    background: #f8fafc;
    color: var(--ruby-primary);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 2px solid var(--ruby-border);
}

.bbs-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
    vertical-align: middle;
}

.bbs-table tr:nth-child(even) {
    background: #fbfcfe;
}

.bbs-table tr:hover td {
    background: #fff5f7;
    color: var(--text-headings);
}

.bbs-file-link {
    font-weight: 600;
    color: var(--text-headings);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bbs-file-link:hover {
    color: var(--ruby-primary);
    text-decoration: underline;
}

.bbs-file-icon {
    display: inline-block;
    padding: 1px 6px;
    font-size: 9px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    border-radius: 3px;
    background: #e2e8f0;
    color: #475569;
}

.bbs-cat-pill {
    display: inline-block;
    padding: 2px 7px;
    font-size: 9px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    border-radius: 4px;
    background: #fff1f2;
    border: 1px solid var(--ruby-border);
    color: var(--ruby-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 6px;
    transition: all 0.2s ease;
}

.bbs-cat-pill:hover {
    background: var(--ruby-primary);
    border-color: var(--ruby-primary);
    color: #ffffff;
}

.bbs-view-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--ruby-primary);
    background: #fff1f2;
    border: 1px solid var(--ruby-border);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

a.bbs-view-badge:hover {
    background: var(--ruby-primary);
    border-color: var(--ruby-primary);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(225, 29, 72, 0.25);
    transform: translateY(-1px);
}

/* ==========================================================================
   Keyword Cloud
   ========================================================================== */
.keyword-section {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 18px;
}

.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.keyword-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-headings);
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.keyword-item:hover {
    background: var(--ruby-primary);
    border-color: var(--ruby-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25);
}

/* ==========================================================================
   Partner Traffic Exchange
   ========================================================================== */
.partners-section {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 18px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 10px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.partner-card:hover {
    background: #fff5f7;
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.partner-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-headings);
    display: block;
}

.partner-card:hover .partner-name {
    color: var(--ruby-primary);
}

.partner-sub {
    font-size: 9px;
    color: var(--text-muted);
}

/* ==========================================================================
   Fictional Adult Fantasy Notice & Compliance Box
   ========================================================================== */
.fictional-disclaimer-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.18);
    margin-bottom: 20px;
}

.fictional-disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #d97706;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.fictional-disclaimer-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #78350f;
    line-height: 1.6;
    max-width: 980px;
    margin: 0 auto;
}

/* ==========================================================================
   Legal & Compliance Footer
   ========================================================================== */
.legal-footer {
    border-top: 1px solid var(--border-card);
    padding-top: 18px;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}

.legal-notice {
    max-width: 900px;
    margin: 0 auto 10px;
}

.legal-notice strong {
    color: var(--text-headings);
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.legal-links a:hover {
    color: var(--ruby-primary);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 260px 1fr 1fr;
        grid-template-areas:
            "nav nav nav"
            "categories categories categories"
            "sidebar main main"
            "content1 content2 content2"
            "content1 content3 content3"
            "forads forads forads"
            "footer footer footer";
    }
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "nav"
            "categories"
            "sidebar"
            "main"
            "content1"
            "content2"
            "content3"
            "forads"
            "footer";
        gap: 16px;
        padding: 12px;
    }
    
    nav {
        flex-direction: column;
        text-align: center;
        padding: 18px;
    }
    
    .brand-wrapper {
        flex-direction: column;
    }
    
    .brand-title {
        font-size: 52px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .brand-title {
        font-size: 42px;
    }
    
    .cute-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .cute-icon-wrap {
        width: 44px;
        height: 44px;
    }
    
    .cute-icon-wrap img {
        max-width: 34px;
        max-height: 34px;
    }
    
    .bbs-table th, .bbs-table td {
        padding: 8px 6px;
        font-size: 10px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}