/* --- 1. Core Layout --- */
body { 
    background: #0e1338; 
    color: #e0e0e0; 
    font-family: serif; 
    padding: 50px; 
    line-height: 1.6; 
}

h1 { 
    font-weight: normal; 
    border-bottom: 1px solid #333; 
    padding-bottom: 10px;
    text-align: center;
    max-width: fit-content;
    margin: 0 auto 20px auto;
}

.content { 
    max-width: 600px; 
    margin: 0 auto; 
    text-align: center;
}

/* --- 2. Image Styling & Rotation --- */
.header-image-container {
    width: 100%;
    max-width: 800px; 
    margin: 20px auto; 
    display: flex;
    justify-content: center;
    overflow: visible; /* Allows rotated image to breathe */
}

.header-photo {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid #e6b800;
    border-radius: 4px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    filter: grayscale(100%); 
    -webkit-filter: grayscale(100%); 
    mix-blend-mode: screen; 
    transition: filter 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease;
    transform-origin: center;
}

/* THE FIX: Home Hero Rotation */
.home-hero .header-photo {
    transform: rotate(270deg) scale(0.7); 
}

/* Hover State (Back to Color) */
.header-photo:hover {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    mix-blend-mode: normal; 
    box-shadow: 0 0 20px rgba(230, 184, 0, 0.4); 
    cursor: crosshair;
}

/* Keep rotation on hover for Home Page */
.home-hero .header-photo:hover {
    transform: rotate(270deg) scale(0.75); 
}

/* --- 3. The Ledger (Archive) --- */
.archive-section {
    margin-top: 100px;
    padding-top: 50px;
    border-top: 1px dashed #333;
}

.archive-title {
    font-family: serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.archive-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.archive-item {
    margin-bottom: 40px;
    padding-left: 0;
    position: relative;
    text-align: center;
    width: 100%;
}

.archive-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #444;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.archive-item:hover::after {
    background: #e6b800;
}

.archive-date {
    font-family: monospace;
    font-size: 0.75rem;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.archive-link {
    color: #b1b1b1;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.archive-link:hover {
    color: #ffffff;
}

/* --- 4. Ticker / Chyron --- */
.ticker-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background-color: #0e1338; 
    border-top: 1px solid #e6b800; 
    padding: 12px 0;
    z-index: 9999;
    display: flex;
}

.ticker {
    display: inline-flex;
    white-space: nowrap;
    padding-left: 100%;
    will-change: transform;
}

.ticker__item {
    display: inline-flex;
    align-items: center;
    padding: 0 4rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: #b1b1b1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes ticker-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

/* --- 5. Status Dot --- */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ff4444; 
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0; 
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.8);
    animation: blink-animation 1.5s ease-in-out infinite;
}

@keyframes blink-animation {
    0% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.2; filter: brightness(1.5); }
    100% { opacity: 1; filter: brightness(1); }
}
