* {
    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; }
}

/* Core Page Reset & Background Grid Setup */
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: 20px 20px;
    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 field wrapper (Vertical block grouping flow) */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px 60px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* HEADER MASTER WRAPPER */
.site-header {
    position: relative;
    width: 940px;
    left: 100px;
    max-width: 940px;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 160px; /* Locked structural baseline for the titles */
    z-index: 10;
}

/* 🔥 1. FULLY DETACHED ARTWORK LAYER */
/* You can now move, nudge, or scale this anywhere completely independently */
.art-container {
    position: absolute;
    z-index: 1; 
}

.side-png {
    width: 420px;
    height: auto;
    object-fit: contain;
}


.header-group {
    position: absolute;
    left: 460px; 
    width: 540px;
    top: 50px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}


.site-title {
    color: #ffffff;
    font-size: 5.5rem;
    margin: 0;
    margin-bottom: -20px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

.site-subtitle {
    color: #ff1200;
    font-size: 1.8rem;
    margin: 5px 0 0 20px; /* Indentation alignment matching the reference design */
    font-weight: normal;
    letter-spacing: 4px;
}

/* MAIN CONTENT FIELD GRID: Splits into content block and update box side-by-side */
.content-section {
    display: flex;
    gap: 40px;
    margin-top: 230px;
    align-items: flex-start;
    width: 100%;
    max-width: 940px;
}

/* Consolidated textbox element block rules */
.text-content-wrapper {
    flex: 1;
    max-width: 560px;
    margin-top: 15px;
    background: #000000;
    padding: 15px;
    border: 2px solid #ff1200;
}

/* Inline warning textual rules matching reference values */
.view-notice-text {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: bold;
    margin: 0 0 25px 0;
    text-decoration: underline;
    text-align: left;
}

.content-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
}
/* Master Frame Box containing the whole interface */
.reviews-master-panel {
    width: 100%;
    margin-left: 35px;
    margin-top: -10px;
    max-width: 900px; /* Spans across the full width of your content grid */
    background-color: #000000;
    border: 2px solid #ff1200;
    display: flex;
    height: 390px;
    flex-direction: column;
    box-sizing: border-box;
}

/* Header Strip running across the top edge */
.panel-header-strip {
    text-align: right;
    font-weight: bold;
    color: #ff1200;
    border-bottom: 2px solid #ff1200;
    padding: 8px 15px;
    font-size: 1rem;
    letter-spacing: 2px;
    background-color: rgba(255, 18, 0, 0.05);
    text-transform: uppercase;
}

/* The vertical window container that handles internal scrolling layout */
.panel-view-scroll {
    height: 480px; /* Adjust height based on how much screen space you want it to take */
    overflow-y: scroll;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 35px; /* Creates an even padding separation between stacked rows */
}

/* Custom Red Scrollbar elements for the main viewport track */
.panel-view-scroll::-webkit-scrollbar { width: 6px; }
.panel-view-scroll::-webkit-scrollbar-track { background: #000; }
.panel-view-scroll::-webkit-scrollbar-thumb { background: #ff1200; }

/* 🔥 THE STACKABLE LAYOUT ROW: Image Left, Text Right */
.review-row {
    display: flex;
    gap: 25px; /* Space between the left poster image and right content block */
    align-items: flex-start;
    width: 100%;
    padding-bottom: 25px;
    border-bottom: 1px dashed rgba(255, 18, 0, 0.3); /* Subtle divider between logs */
}

/* Removes the dashed border line from the absolute last item in the list */
.review-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Left column containing image asset sizes */
.row-left-art {
    flex-shrink: 0;
}

.row-poster {
    width: 140px; /* Locked size constraints for game posters */
    height: 190px;
    border: 1px solid #ff1200;
    background: #000000;
    object-fit: cover;
}

/* Right column containing the stacked typography items */
.row-right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Typography styles for entries */
.entry-title {
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0;
    font-weight: bold;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.entry-meta {
    color: #ff1200;
    font-size: 1rem;
    margin: 4px 0 15px 0;
    font-weight: normal;
    letter-spacing: 1px;
}

.content-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.9);
}

.content-text:last-child {
    margin-bottom: 0;
}


/* Custom Scrollbars elements mapping details */
.review-body-scroll::-webkit-scrollbar { width: 6px; }
.review-body-scroll::-webkit-scrollbar-track { background: #000; }
.review-body-scroll::-webkit-scrollbar-thumb { background: #ff1200; }
