/* ===================================================
   PATRYCJA PATER — TRUE CRIME ARCHIVE STYLES
   =================================================== */

:root {
    --bg-main: #0a0d13;
    --bg-surface: #121722;
    --bg-card: #181f2d;
    --bg-card-hover: #20293c;
    --border-color: #273347;
    --border-light: rgba(255, 255, 255, 0.08);

    --primary-red: #e03131;
    --primary-red-hover: #f03e3e;
    --primary-red-dark: #a61e1e;
    --primary-red-glow: rgba(224, 49, 49, 0.35);

    --tape-yellow: #fcc419;
    --tape-dark: #1a1a1a;
    --tape-text: #000000;

    --text-main: #f8f9fa;
    --text-muted: #9ba3b4;
    --text-dim: #647087;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --font-typewriter: 'Special Elite', monospace;

    --cork-bg: #2d1f14;
    --cork-border: #4d3320;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(224, 49, 49, 0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(224, 49, 49, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(51, 154, 240, 0.03) 0%, transparent 45%),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* Flashlight Spotlight Effect */
.flashlight-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        circle 220px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        transparent 0%,
        rgba(5, 7, 10, 0.82) 80%,
        rgba(5, 7, 10, 0.95) 100%
    );
}

body.torch-active .flashlight-overlay {
    opacity: 1;
}

/* Crime Tape Strip */
.crime-tape {
    background-color: var(--tape-yellow);
    color: var(--tape-text);
    font-family: var(--font-typewriter);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    user-select: none;
    position: relative;
    z-index: 100;
}

.tape-track {
    display: inline-block;
    animation: tapeScroll 35s linear infinite;
}

@keyframes tapeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
.main-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background-color: rgba(10, 13, 19, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-main);
    position: relative;
}

.stamp-badge {
    font-family: var(--font-typewriter);
    font-size: 0.65rem;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: -2px;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 1.5px;
}

.logo-name strong {
    color: var(--primary-red);
}

.logo-tag {
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-torch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-torch:hover, .btn-torch.active {
    background-color: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    box-shadow: 0 0 15px var(--primary-red-glow);
}

.btn-torch .icon-svg {
    width: 16px;
    height: 16px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Typography & Helpers */
.highlight-red {
    color: var(--primary-red);
    text-shadow: 0 0 15px var(--primary-red-glow);
}

.serif-text {
    font-family: var(--font-heading);
    font-weight: 700;
}

.font-italic {
    font-style: italic;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 56px;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-typewriter);
    color: var(--primary-red);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding: 4px 12px;
    background: rgba(224, 49, 49, 0.1);
    border: 1px dashed var(--primary-red);
    border-radius: var(--radius-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-red-glow);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(224, 49, 49, 0.5);
}

.btn-secondary {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
    padding: 90px 0 110px;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 60% 30%, rgba(224, 49, 49, 0.08) 0%, transparent 60%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dossier-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(24, 31, 45, 0.8);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-red);
    animation: pulseGlow 1.8s infinite;
}

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

.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 580px;
}

.hero-subtitle strong {
    color: #fff;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-typewriter);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-red);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin-top: 4px;
}

/* Hero Investigator Dossier Card */
.case-file-card {
    background: #151a24;
    border: 2px solid #2d384c;
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-soft), 0 0 30px rgba(0, 0, 0, 0.7);
    transform: rotate(1deg);
    transition: var(--transition);
}

.case-file-card:hover {
    transform: rotate(0deg) translateY(-4px);
    border-color: rgba(224, 49, 49, 0.4);
    box-shadow: var(--shadow-soft), 0 0 35px var(--primary-red-glow);
}

.card-clip {
    position: absolute;
    top: -14px;
    left: 42px;
    width: 44px;
    height: 32px;
    background: #718096;
    border-radius: 4px;
    border: 2px solid #a0aec0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.classified-stamp {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--primary-red);
    font-family: var(--font-typewriter);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    border: 3px solid var(--primary-red);
    padding: 4px 14px;
    border-radius: 4px;
    transform: rotate(12deg);
    opacity: 0.88;
    user-select: none;
}

.card-header-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-typewriter);
    font-size: 0.76rem;
    color: var(--text-dim);
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.card-photo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.investigator-avatar {
    width: 130px;
    height: 145px;
    background: #0f131a;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.avatar-silhouette {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
}

.svg-fingerprint {
    width: 100%;
    height: 100%;
}

.photo-caption {
    font-family: var(--font-typewriter);
    font-size: 0.62rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-top: 8px;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.88rem;
}

.d-label {
    font-family: var(--font-typewriter);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.d-val {
    color: var(--text-main);
    font-weight: 500;
}

.card-barcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-top: 1px dashed var(--border-color);
    padding-top: 14px;
}

.barcode-lines {
    width: 100%;
    height: 24px;
    background: repeating-linear-gradient(
        90deg,
        #fff 0px,
        #fff 2px,
        transparent 2px,
        transparent 5px,
        #fff 5px,
        #fff 8px,
        transparent 8px,
        transparent 10px,
        #fff 10px,
        #fff 11px
    );
    opacity: 0.7;
}

.card-barcode span {
    font-family: var(--font-typewriter);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-dim);
}

/* ===================================================
   DOSSIER / O MNIE SECTION
   =================================================== */
.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    margin-bottom: 60px;
}

.dossier-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dossier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary-red);
    opacity: 0;
    transition: var(--transition);
}

.dossier-card:hover {
    background-color: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(224, 49, 49, 0.35);
    box-shadow: var(--shadow-glow);
}

.dossier-card:hover::before {
    opacity: 1;
}

.card-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(224, 49, 49, 0.1);
    border: 1px solid rgba(224, 49, 49, 0.25);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.card-icon-box svg {
    width: 26px;
    height: 26px;
}

.dossier-card h3 {
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.dossier-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.card-tag {
    font-family: var(--font-typewriter);
    font-size: 0.74rem;
    color: var(--primary-red);
    font-weight: 600;
}

/* Quote Banner */
.quote-banner {
    background: linear-gradient(135deg, #151a24 0%, #1f2737 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-red);
    border-radius: var(--radius-md);
    padding: 38px 44px;
    position: relative;
    margin-top: 30px;
}

.quote-symbol {
    position: absolute;
    top: 10px;
    right: 28px;
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.32rem;
    font-style: italic;
    color: #f1f3f5;
    line-height: 1.5;
    margin-bottom: 14px;
}

.quote-author {
    font-family: var(--font-typewriter);
    font-size: 0.88rem;
    color: var(--primary-red);
    font-style: normal;
    display: block;
}

/* ===================================================
   INTERACTIVE EVIDENCE BOARD (CORKBOARD)
   =================================================== */
.board-section {
    background-color: #0d1017;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.corkboard-frame {
    background: #3e2723;
    border: 14px solid #281815;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8), var(--shadow-soft);
    padding: 10px;
    position: relative;
}

.corkboard {
    background: #4a3525 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23n)" opacity="0.18"/></svg>');
    min-height: 580px;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
}

.strings-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.board-item {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    z-index: 10;
    user-select: none;
}

.board-item:hover {
    transform: scale(1.08) rotate(0deg) !important;
    z-index: 20;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(224, 49, 49, 0.4);
}

.pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    z-index: 15;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
}

.red-pin {
    background: radial-gradient(circle at 35% 35%, #ff6b6b, #c92a2a, #800000);
}

.yellow-pin {
    background: radial-gradient(circle at 35% 35%, #ffe066, #f59f00, #b26a00);
}

.blue-pin {
    background: radial-gradient(circle at 35% 35%, #74c0fc, #1971c2, #0c4277);
}

.click-hint {
    display: block;
    text-align: center;
    font-family: var(--font-typewriter);
    font-size: 0.65rem;
    color: #e03131;
    font-weight: 700;
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.board-item:hover .click-hint {
    opacity: 1;
}

/* Polaroid item */
.board-item.polaroid {
    background: #fdfdfd;
    padding: 10px 10px 16px;
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
    width: 170px;
    transform: rotate(-3deg);
}

.polaroid .photo-placeholder {
    width: 100%;
    height: 120px;
    background: #1a1d24;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    margin-bottom: 8px;
}

.silhouette-dna {
    font-size: 2.5rem;
}

.polaroid-text {
    display: block;
    text-align: center;
    font-family: var(--font-typewriter);
    font-size: 0.8rem;
    color: #1a1a1a;
    font-weight: 700;
}

/* Post-it Note */
.board-item.postit {
    width: 190px;
    padding: 18px 16px;
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
    transform: rotate(2deg);
}

.yellow-postit {
    background: #fff3bf;
    color: #2b2b2b;
}

.pink-postit {
    background: #fcc2d7;
    color: #2b2b2b;
}

.postit-title {
    font-family: var(--font-typewriter);
    font-weight: 700;
    font-size: 0.84rem;
    margin-bottom: 6px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
    padding-bottom: 4px;
}

.postit-text {
    font-family: var(--font-typewriter);
    font-size: 0.78rem;
    line-height: 1.4;
}

/* Newspaper cutout */
.board-item.newspaper {
    background: #f1ebd9;
    color: #111;
    width: 220px;
    padding: 16px;
    border: 1px solid #d4cbb8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transform: rotate(-2deg);
}

.newspaper-header {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid #111;
    text-align: center;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.newspaper h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 6px;
}

.newspaper-snippet {
    font-family: var(--font-typewriter);
    font-size: 0.74rem;
    line-height: 1.35;
}

/* File tag */
.board-item.file-tag {
    background: #e2d9c2;
    color: #222;
    width: 200px;
    padding: 16px;
    border-left: 8px solid #c92a2a;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
    transform: rotate(3deg);
}

.tag-title {
    font-family: var(--font-typewriter);
    font-weight: 700;
    font-size: 0.88rem;
    color: #c92a2a;
    margin-bottom: 4px;
}

.tag-text {
    font-size: 0.78rem;
    line-height: 1.35;
}

/* ===================================================
   RECOMMENDATIONS SECTION
   =================================================== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.tab-btn.active {
    background-color: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    box-shadow: 0 0 16px var(--primary-red-glow);
}

.recs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.rec-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.rec-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    border-color: rgba(224, 49, 49, 0.4);
    box-shadow: var(--shadow-glow);
}

.rec-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-typewriter);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}

.rec-badge.book {
    background: rgba(77, 171, 247, 0.15);
    color: #74c0fc;
    border: 1px solid rgba(77, 171, 247, 0.3);
}

.rec-badge.movie {
    background: rgba(224, 49, 49, 0.15);
    color: #ff8787;
    border: 1px solid rgba(224, 49, 49, 0.3);
}

.rec-badge.podcast {
    background: rgba(250, 176, 5, 0.15);
    color: #ffd43b;
    border: 1px solid rgba(250, 176, 5, 0.3);
}

.rec-rating {
    color: #fcc419;
    font-size: 0.86rem;
    margin-bottom: 8px;
}

.rec-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
    line-height: 1.35;
    padding-right: 70px;
}

.rec-author {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 14px;
    font-weight: 500;
}

.rec-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.rec-opinion {
    background: rgba(10, 13, 19, 0.6);
    border-left: 3px solid var(--primary-red);
    padding: 12px 14px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.opinion-label {
    display: block;
    font-family: var(--font-typewriter);
    font-size: 0.72rem;
    color: var(--primary-red);
    margin-bottom: 4px;
}

.opinion-quote {
    font-size: 0.86rem;
    font-style: italic;
    color: var(--text-main);
}

/* ===================================================
   PROFILER QUIZ SECTION
   =================================================== */
.quiz-container {
    max-width: 820px;
    margin: 0 auto;
}

.quiz-box {
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: #11151e;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 14px;
}

.quiz-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
    transition: width 0.4s ease;
}

.quiz-step-indicator {
    font-family: var(--font-typewriter);
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.quiz-question-view {
    display: none;
}

.quiz-question-view.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.q-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 26px;
    line-height: 1.45;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #111622;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.96rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.quiz-option:hover {
    background: #1a2233;
    border-color: var(--primary-red);
    transform: translateX(4px);
}

.opt-key {
    width: 32px;
    height: 32px;
    background: rgba(224, 49, 49, 0.15);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    font-family: var(--font-typewriter);
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.opt-label {
    flex-grow: 1;
}

/* Quiz Result View */
.quiz-result-view {
    display: none;
    text-align: center;
    padding: 20px 10px;
}

.quiz-result-view.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.result-badge-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.result-stamp {
    display: inline-block;
    font-family: var(--font-typewriter);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    border: 2px dashed var(--primary-red);
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.result-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.result-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 34px;
    line-height: 1.65;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===================================================
   COMMUNITY BOARD SECTION
   =================================================== */
.community-section {
    background-color: #0b0f17;
    border-top: 1px solid var(--border-color);
}

.community-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.form-container, .wall-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 34px;
}

.form-header, .wall-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 14px;
}

.form-header h3, .wall-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.form-icon {
    font-size: 1.4rem;
}

.badge-count {
    background: rgba(224, 49, 49, 0.15);
    color: var(--primary-red);
    font-family: var(--font-typewriter);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(224, 49, 49, 0.3);
}

.rec-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #0e131d;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.94rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red-glow);
}

.wall-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

.wall-items::-webkit-scrollbar {
    width: 6px;
}

.wall-items::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.wall-card {
    background: #111622;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.wall-card:hover {
    border-color: rgba(224, 49, 49, 0.3);
}

.wall-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wall-category {
    font-family: var(--font-typewriter);
    font-size: 0.72rem;
    color: var(--primary-red);
    font-weight: 700;
}

.wall-date {
    font-size: 0.74rem;
    color: var(--text-dim);
}

.wall-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.wall-card-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.wall-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    padding-top: 8px;
    margin-top: 4px;
}

.wall-author {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-style: italic;
}

.wall-like-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.wall-like-btn:hover {
    color: var(--primary-red);
}

/* ===================================================
   MODAL DIALOG
   =================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.modal-dialog {
    background: #141924;
    border: 2px solid #2f3b52;
    border-radius: var(--radius-md);
    max-width: 600px;
    width: 100%;
    padding: 36px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-red);
}

.modal-stamp {
    font-family: var(--font-typewriter);
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.modal-meta {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
}

.modal-body {
    color: var(--text-main);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 26px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

/* ===================================================
   FOOTER
   =================================================== */
.main-footer {
    background-color: #07090e;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 30px;
    flex-wrap: wrap;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
    max-width: 380px;
}

.footer-status-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-typewriter);
    font-size: 0.8rem;
    color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
    border: 1px solid rgba(81, 207, 102, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #51cf66;
    border-radius: 50%;
    box-shadow: 0 0 8px #51cf66;
}

.host-badge {
    font-family: var(--font-typewriter);
    font-size: 0.74rem;
    color: var(--text-dim);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 0.82rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-credits {
    font-style: italic;
}

/* ===================================================
   RESPONSIVE DESIGN (Media Queries)
   =================================================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .community-layout {
        grid-template-columns: 1fr;
    }

    .corkboard {
        min-height: 720px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0b0e14;
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quiz-box {
        padding: 26px 20px;
    }

    .recs-grid {
        grid-template-columns: 1fr;
    }

    /* Evidence board adjustments on mobile */
    .corkboard {
        min-height: 850px;
    }

    .board-item.polaroid,
    .board-item.postit,
    .board-item.newspaper,
    .board-item.file-tag {
        width: 150px;
    }

    .postit-text, .newspaper-snippet, .tag-text {
        font-size: 0.7rem;
    }
}
