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

/* FONTS */
@font-face {
    font-family: "Baskerville";
    src: url(https://files.catbox.moe/4bjzjt.otf);
}

@font-face {
    font-family: "PC98"; 
    src: url(https://files.catbox.moe/i0ns2d.ttf) format('truetype');
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.5) 25%, 
        rgba(0, 0, 0, 0) 25%
    );
    background-size: 100% 6px; 
    z-index: 999999; 
    pointer-events: none; 
    animation: tv-wave 4s ease-in-out infinite alternate, tv-flicker 0.15s infinite;
}

@keyframes tv-wave {
    0% {
        transform: translateX(-1px) scaleY(1);
        filter: hue-rotate(0deg);
    }
    50% {
        transform: translateX(1px) scaleY(1.01); 
    }
    100% {
        transform: translateX(-1px) scaleY(0.99);
        filter: hue-rotate(5deg);
    }
}

@keyframes tv-flicker {
    0% { opacity: 0.45; }
    20% { opacity: 0.55; }
    40% { opacity: 0.40; }
    60% { opacity: 0.50; }
    80% { opacity: 0.60; }
    100% { opacity: 0.48; }
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden; 
    background-color: #000000;
    background-image: 
        linear-gradient(to right, rgba(255, 18, 0, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 18, 0, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    background-attachment: fixed;
    font-family: Baskerville, serif;
    color: #ffffff;
}

/* Master Grid Structure Layout */
.page-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Sidebar Navigation styling profiles */
.sidebar {
    width: 220px;
    height: 100%;
    background-color: #000000;
    border-right: 3px dashed #ff1200; 
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px 15px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sidebar-btn {
    width: 100%;
    background: transparent;
    color: #ff1200;
    border: 2px solid #ff1200;
    padding: 12px;
    font-family: inherit;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.sidebar-btn:hover {
    background-color: #ff1200;
    color: #000000;
    box-shadow: 0 0 12px rgba(255, 18, 0, 0.6);
}

/* Main Content Workspace Layout Panel */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px 60px;
    box-sizing: border-box;
    overflow-y: auto; /* Allows smooth scrolling through all lists */
}

/* 🔥 1. INTERESTS HEADER: Red background with black text */
.interests-header {
    background-color: #ff1200;
    padding: 25px;
    width: 100%;
    max-width: 940px;
    text-align: center;
    box-sizing: border-box;
    border: 2px solid #ff1200;
    margin-bottom: 35px;
}

.interests-title {
    color: #000000; /* Bold black text over red */
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin: 0;
    margin-bottom: 10px;
    line-height: 1;
}

.masonry-columns-container {
    display: flex;
    width: 100%;
    max-width: 940px;
    gap: 25px; /* Spacing between the columns */
    box-sizing: border-box;
}

/* Individual vertical channels that force content tightly upwards */
.masonry-column-channel {
    flex: 1; /* Splits the space completely evenly into 3 columns */
    display: flex;
    flex-direction: column;
    gap: 25px; /* Space between boxes stacked vertically within the same column */
}


/* 🔥 2. MULTI-COLUMN MASONRY GRID SYSTEM */
.masonry-grid {
    display: grid;
    /* Spawns up to 3 columns side-by-side that shrink seamlessly on smaller viewports */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px; /* Even spacing boundaries between stacked lists */
    width: 100%;
    max-width: 940px;
    align-items: start;
}

/* Keeps your signature blinkie-style box decoration */
.list-card-box {
    width: 100%;
    background-color: #000000;
    border: 2px solid #ff1200;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Top bar style matching the .blinkies-title geometry precisely */
.list-card-title {
    text-align: right;
    font-weight: bold;
    color: #ff1200;
    border-bottom: 1px solid #ff1200;
    padding: 6px 12px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    background-color: rgba(255, 18, 0, 0.05);
}

/* List internal tracking configurations */
.list-card-content {
    margin: 0;
    padding: 15px 15px 15px 30px; /* Indentation layout alignment handles */
    list-style-type: square; /* Clean old-school tech square bullet points */
    box-sizing: border-box;
}

.list-card-content li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.list-card-content li:last-child {
    margin-bottom: 0;
}