/*
Theme Name: ProgressiveAF Y2K
Theme URI: https://progressiveaf.com
Description: A retro Y2K/AOL-era political blog theme with Windows 98 popup windows, American flag patterns, and early-web aesthetics. Built for ProgressiveAF.
Author: ProgressiveAF
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: progressiveaf-y2k
*/

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    background-color: #002868;
    background-image: url('images/flag-tile.svg');
    background-repeat: repeat;
    background-size: 80px 42px;
    cursor: default;
    min-height: 100vh;
}

a {
    color: #B22234;
    font-weight: bold;
    text-decoration: underline;
}

a:hover {
    color: #FFD700;
    background-color: #000080;
}

a:visited {
    color: #800080;
}

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

/* ==========================================
   AOL-STYLE BROWSER TITLE BAR
   ========================================== */
.aol-titlebar {
    background: linear-gradient(180deg, #000080 0%, #0000CD 40%, #000080 100%);
    color: #fff;
    font-family: 'Tahoma', 'MS Sans Serif', Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #000;
    position: sticky;
    top: 0;
    z-index: 9999;
    letter-spacing: 0.5px;
}

.aol-titlebar .aol-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.aol-titlebar .aol-icon {
    width: 16px;
    height: 16px;
    background: #FFD700;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #000080;
    font-weight: bold;
}

.aol-titlebar .aol-buttons {
    display: flex;
    gap: 2px;
}

.aol-titlebar .aol-btn {
    width: 16px;
    height: 14px;
    background: #C0C0C0;
    border: 1px solid;
    border-color: #DFDFDF #404040 #404040 #DFDFDF;
    font-size: 9px;
    text-align: center;
    line-height: 12px;
    color: #000;
    cursor: pointer;
    font-family: 'Tahoma', sans-serif;
}

.aol-titlebar .aol-btn:active {
    border-color: #404040 #DFDFDF #DFDFDF #404040;
}

/* ==========================================
   MAIN SITE HEADER
   ========================================== */
.site-header {
    background: linear-gradient(180deg, #002868 0%, #001845 100%);
    border-bottom: 4px solid #B22234;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to right,
        transparent 0px,
        transparent 30px,
        rgba(255,255,255,0.03) 30px,
        rgba(255,255,255,0.03) 31px
    );
    pointer-events: none;
}

.header-flag-left,
.header-flag-right {
    font-size: 36px;
    line-height: 1;
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.site-title {
    font-family: Impact, 'Arial Black', Gadget, sans-serif;
    font-size: 42px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    text-shadow:
        3px 3px 0 #B22234,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
    line-height: 1.1;
}

.site-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.site-title a:hover {
    color: #FFD700;
    background: transparent;
}

.site-subtitle {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 18px;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-top: 2px;
}

.site-established {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    color: #B22234;
    font-weight: bold;
    font-style: italic;
    background: #FFD700;
    padding: 2px 12px;
    display: inline-block;
    transform: rotate(-3deg);
    border: 2px solid #B22234;
    margin-top: 4px;
}

/* ==========================================
   WINDOWS 98 POPUP WINDOW CHROME
   ========================================== */
.win98-window {
    border: 2px solid;
    border-color: #DFDFDF #404040 #404040 #DFDFDF;
    background: #C0C0C0;
    box-shadow:
        inset 1px 1px 0 #FFFFFF,
        inset -1px -1px 0 #808080,
        2px 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 15px;
    position: relative;
}

.win98-titlebar {
    background: linear-gradient(90deg, #000080, #1084D0);
    color: #FFFFFF;
    font-family: 'Tahoma', 'MS Sans Serif', Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    user-select: none;
    letter-spacing: 0.5px;
}

.win98-titlebar .titlebar-text {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.win98-titlebar .titlebar-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
}

.win98-buttons {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.win98-btn {
    width: 16px;
    height: 14px;
    background: #C0C0C0;
    border: 1px solid;
    border-color: #DFDFDF #404040 #404040 #DFDFDF;
    font-size: 9px;
    font-family: 'Tahoma', sans-serif;
    text-align: center;
    line-height: 12px;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.win98-btn:active {
    border-color: #404040 #DFDFDF #DFDFDF #404040;
    padding-top: 1px;
    padding-left: 1px;
}

.win98-close {
    font-weight: bold;
}

.win98-body {
    background: #FFFFFF;
    padding: 10px;
    border: 1px solid;
    border-color: #808080 #DFDFDF #DFDFDF #808080;
    margin: 2px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 13px;
    line-height: 1.5;
}

/* Inactive window */
.win98-window.inactive .win98-titlebar {
    background: linear-gradient(90deg, #808080, #B0B0B0);
}

/* ==========================================
   MAIN LAYOUT - 3 COLUMN
   ========================================== */
.site-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding: 10px;
    min-height: calc(100vh - 100px);
}

/* Left Navigation Sidebar */
.sidebar-left {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Main Content */
.main-content {
    flex: 1;
    min-width: 0;
}

/* Right Sidebar */
.sidebar-right {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================
   LEFT NAVIGATION BUTTONS
   ========================================== */
.nav-btn {
    display: block;
    background: linear-gradient(180deg, #002868 0%, #001540 100%);
    color: #FFFFFF !important;
    font-family: Tahoma, Arial, Helvetica, sans-serif !important;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    padding: 10px 8px;
    border: 3px solid;
    border-color: #4466AA #001030 #001030 #4466AA;
    letter-spacing: 1.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: none;
    line-height: 1.3;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(255,255,255,0.05) 2px,
        rgba(255,255,255,0.05) 4px
    );
    pointer-events: none;
}

.nav-btn:hover {
    background: linear-gradient(180deg, #B22234 0%, #8B0000 100%);
    color: #FFD700;
    border-color: #FF4444 #600000 #600000 #FF4444;
}

.nav-btn:active {
    border-color: #001030 #4466AA #4466AA #001030;
    padding-top: 11px;
    padding-left: 9px;
}

.nav-btn:visited {
    color: #FFFFFF;
}

.nav-btn:hover:visited {
    color: #FFD700;
}

.nav-btn.donate-btn {
    background: linear-gradient(180deg, #B22234 0%, #8B0000 100%);
    color: #FFD700;
    font-size: 16px;
    border-color: #FF6666 #4B0000 #4B0000 #FF6666;
    animation: donate-pulse 1.5s ease-in-out infinite;
}

.nav-btn.donate-btn:hover {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    color: #B22234;
}

@keyframes donate-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(178, 34, 52, 0.5); }
    50% { box-shadow: 0 0 15px rgba(178, 34, 52, 0.9), 0 0 30px rgba(255, 0, 0, 0.3); }
}

.nav-btn .nav-icon {
    margin-right: 4px;
    font-size: 12px;
}

/* ==========================================
   NEWSFEED / TICKER WINDOW
   ========================================== */
.newsfeed-window .win98-body {
    background: #002868;
    padding: 6px;
}

.newsfeed-input {
    width: 100%;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    padding: 3px 4px;
    border: 2px solid;
    border-color: #808080 #DFDFDF #DFDFDF #808080;
    background: #fff;
    margin-bottom: 6px;
}

.newsfeed-ticker {
    color: #FFD700;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
}

.newsfeed-ticker .y2k-marquee-inner {
    display: inline-block;
    animation: marquee-scroll 12s linear infinite;
}

@keyframes marquee-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Megaphone icon area */
.megaphone-icon {
    font-size: 28px;
    text-align: center;
    margin: 6px 0;
}

/* Visitor Counter */
.visitor-counter {
    background: #000;
    color: #00FF00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 10px;
    text-align: center;
    border: 2px inset #333;
    margin: 6px 0;
    letter-spacing: 2px;
}

.visitor-counter .counter-label {
    color: #FFD700;
    font-size: 10px;
    font-family: 'Tahoma', sans-serif;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

/* ==========================================
   BLOG POST CARDS (as popup windows)
   ========================================== */
.post-window .win98-body {
    background: #FFF;
}

.post-window .post-meta {
    font-family: 'Tahoma', sans-serif;
    font-size: 10px;
    color: #666;
    margin-bottom: 8px;
}

.post-window .post-thumbnail {
    float: left;
    margin: 0 10px 10px 0;
    border: 2px solid #000;
    max-width: 150px;
}

.post-window .post-excerpt {
    font-size: 13px;
    line-height: 1.5;
}

.post-window .read-more {
    display: inline-block;
    color: #B22234;
    font-weight: bold;
    font-family: Impact, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 8px;
}

.post-window .read-more:hover {
    color: #FFD700;
    background: #B22234;
    padding: 2px 6px;
}

.post-category {
    display: inline-block;
    background: #B22234;
    color: #FFD700;
    font-family: Impact, sans-serif;
    font-size: 11px;
    padding: 2px 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-title-link {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

.post-title-link:hover {
    color: #B22234;
    background: transparent;
}

/* ==========================================
   CALL TO ACTION / ALERT WINDOW
   ========================================== */
.cta-window {
    border-color: #FF0000 #800000 #800000 #FF0000;
    animation: cta-flash 2s ease-in-out infinite;
}

.cta-window .win98-titlebar {
    background: linear-gradient(90deg, #B22234, #FF0000);
}

.cta-window .win98-body {
    background: #FFFFCC;
    text-align: center;
    padding: 15px;
}

.cta-window .cta-heading {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 22px;
    color: #002868;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.cta-window .cta-text {
    font-size: 14px;
    margin-bottom: 12px;
}

.cta-window .cta-button {
    display: inline-block;
    background: #002868;
    color: #FFFFFF;
    font-family: Impact, sans-serif;
    font-size: 18px;
    padding: 8px 30px;
    border: 3px outset #4466AA;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

.cta-window .cta-button:hover {
    background: #B22234;
    color: #FFD700;
    border-color: #FF4444;
}

@keyframes cta-flash {
    0%, 100% { box-shadow: 2px 2px 8px rgba(0,0,0,0.4); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.6), 2px 2px 8px rgba(0,0,0,0.4); }
}

/* Alert starburst */
.alert-starburst {
    display: inline-block;
    background: #FFD700;
    color: #B22234;
    font-family: Impact, sans-serif;
    font-weight: bold;
    font-size: 12px;
    padding: 2px 8px;
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
        50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
    );
    width: 60px;
    height: 60px;
    line-height: 56px;
    text-align: center;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
}

/* ==========================================
   BLOG SIDEBAR (Right - Recent Posts)
   ========================================== */
.blog-sidebar .win98-body {
    padding: 8px;
}

.blog-sidebar .recent-post-item {
    border-bottom: 1px dashed #999;
    padding: 6px 0;
}

.blog-sidebar .recent-post-item:last-child {
    border-bottom: none;
}

.blog-sidebar .recent-post-link {
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    color: #0000EE;
    text-decoration: underline;
    font-weight: normal;
}

.blog-sidebar .recent-post-link:hover {
    color: #FF0000;
    background: #FFFFCC;
}

.blog-sidebar .recent-post-date {
    font-family: 'Tahoma', sans-serif;
    font-size: 10px;
    color: #999;
    display: block;
}

/* ==========================================
   TWITCH STREAM WINDOW
   ========================================== */
.twitch-window .win98-body {
    padding: 4px;
    background: #000;
}

.twitch-window iframe {
    width: 100%;
    border: none;
    display: block;
}

.twitch-offline {
    background: #1a1a2e;
    color: #9146FF;
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    text-align: center;
    padding: 20px 10px;
}

.twitch-offline .offline-icon {
    font-size: 30px;
    margin-bottom: 8px;
    display: block;
}

.live-badge {
    display: inline-block;
    background: #FF0000;
    color: #FFF;
    font-family: 'Tahoma', sans-serif;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 2px;
    animation: live-pulse 1s ease-in-out infinite;
    vertical-align: middle;
    margin-left: 4px;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================================
   STARBURST "NEW!" BADGE
   ========================================== */
.starburst {
    display: inline-block;
    position: relative;
    width: 55px;
    height: 55px;
    background: #FFD700;
    text-align: center;
    line-height: 55px;
    font-family: Impact, sans-serif;
    font-size: 14px;
    color: #B22234;
    font-weight: bold;
    clip-path: polygon(
        50% 0%, 63% 25%, 93% 12%, 78% 40%, 100% 55%,
        78% 62%, 93% 88%, 63% 75%, 50% 100%, 37% 75%,
        7% 88%, 22% 62%, 0% 55%, 22% 40%, 7% 12%, 37% 25%
    );
}

/* ==========================================
   RAISED FIST ICON
   ========================================== */
.fist-icon {
    font-size: 40px;
    display: block;
    text-align: center;
    text-shadow: 2px 2px 0 #B22234;
}

/* ==========================================
   MARQUEE / SCROLLING TEXT
   ========================================== */
.y2k-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.y2k-marquee .marquee-inner {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 15s linear infinite;
}

/* ==========================================
   SINGLE POST TEMPLATE
   ========================================== */
.single-post-content .win98-body {
    padding: 15px 20px;
    font-size: 14px;
    line-height: 1.7;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3 {
    font-family: Impact, 'Arial Black', sans-serif;
    color: #002868;
    text-transform: uppercase;
}

.single-post-content h1 {
    font-size: 28px;
    border-bottom: 3px double #B22234;
    padding-bottom: 8px;
}

.single-post-content h2 {
    font-size: 22px;
    color: #B22234;
}

.single-post-content blockquote {
    border-left: 4px solid #B22234;
    background: #FFFFCC;
    padding: 10px 15px;
    margin: 15px 0;
    font-style: italic;
}

.single-post-content img {
    border: 2px solid #000;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.post-navigation-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px dashed #B22234;
}

.post-navigation-links a {
    font-family: Impact, sans-serif;
    text-transform: uppercase;
    font-size: 13px;
}

/* ==========================================
   COMMENTS (Y2K Guestbook style)
   ========================================== */
.comments-window .comment {
    border-bottom: 1px dashed #C0C0C0;
    padding: 10px 0;
}

.comments-window .comment-author {
    font-family: 'Comic Sans MS', 'Tahoma', sans-serif;
    font-weight: bold;
    color: #002868;
}

.comments-window .comment-date {
    font-family: 'Tahoma', sans-serif;
    font-size: 10px;
    color: #999;
}

.comments-window .comment-content {
    margin-top: 4px;
}

.comments-window .comment-form input[type="text"],
.comments-window .comment-form input[type="email"],
.comments-window .comment-form textarea {
    width: 100%;
    border: 2px inset #C0C0C0;
    padding: 4px;
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    margin-bottom: 6px;
}

.comments-window .comment-form input[type="submit"] {
    background: #C0C0C0;
    border: 2px outset #C0C0C0;
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    padding: 4px 20px;
    cursor: pointer;
}

.comments-window .comment-form input[type="submit"]:active {
    border-style: inset;
}

/* ==========================================
   WELCOME POPUP
   ========================================== */
.welcome-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    width: 350px;
}

.welcome-popup .win98-body {
    text-align: center;
    padding: 20px;
}

.welcome-popup .welcome-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.welcome-popup .welcome-text {
    font-family: 'Comic Sans MS', 'Tahoma', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
}

.welcome-popup .welcome-ok {
    background: #C0C0C0;
    border: 2px outset #C0C0C0;
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    padding: 4px 30px;
    cursor: pointer;
    font-weight: bold;
}

.welcome-popup .welcome-ok:active {
    border-style: inset;
}

/* Popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

/* ==========================================
   FOOTER / STATUS BAR
   ========================================== */
.site-footer {
    background: #C0C0C0;
    border-top: 2px solid;
    border-color: #DFDFDF #404040 #404040 #DFDFDF;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Tahoma', 'MS Sans Serif', sans-serif;
    font-size: 11px;
    color: #000;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-left .status-icon {
    width: 14px;
    height: 14px;
    background: #008000;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #004000;
}

.footer-marquee {
    flex: 1;
    overflow: hidden;
    margin: 0 15px;
    padding: 2px 6px;
    border: 1px inset #C0C0C0;
    background: #FFF;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-right .footer-clock {
    border: 1px inset #C0C0C0;
    padding: 2px 8px;
    background: #FFF;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
}

.footer-start-btn {
    background: #C0C0C0;
    border: 2px outset #C0C0C0;
    padding: 2px 10px;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-start-btn:active {
    border-style: inset;
}

.footer-start-icon {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #FF0000, #00FF00, #0000FF, #FFFF00);
    display: inline-block;
}

/* ==========================================
   SCROLLBAR STYLING (Retro)
   ========================================== */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: repeating-linear-gradient(
        45deg,
        #C0C0C0,
        #C0C0C0 2px,
        #DFDFDF 2px,
        #DFDFDF 4px
    );
    border: 1px solid #808080;
}

::-webkit-scrollbar-thumb {
    background: #C0C0C0;
    border: 2px solid;
    border-color: #DFDFDF #404040 #404040 #DFDFDF;
}

::-webkit-scrollbar-button {
    background: #C0C0C0;
    border: 1px solid;
    border-color: #DFDFDF #404040 #404040 #DFDFDF;
    height: 16px;
    width: 16px;
}

/* ==========================================
   POPUP REAPPEAR ANIMATION
   ========================================== */
@keyframes popup-bounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.popup-reappear {
    animation: popup-bounce 0.4s ease-out;
}

/* ==========================================
   CURSOR TRAIL (if enabled)
   ========================================== */
.cursor-trail {
    position: absolute;
    pointer-events: none;
    color: #FFD700;
    font-size: 14px;
    z-index: 99999;
    animation: trail-fade 0.6s ease-out forwards;
}

@keyframes trail-fade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.3) translateY(-20px); }
}

/* ==========================================
   LOADING BAR
   ========================================== */
.y2k-loading-bar {
    background: #FFF;
    border: 2px inset #C0C0C0;
    height: 18px;
    padding: 2px;
    margin: 4px 0;
}

.y2k-loading-bar .loading-fill {
    background: linear-gradient(
        to right,
        #000080 0%,
        #0000FF 50%,
        #000080 100%
    );
    height: 100%;
    width: 0%;
    transition: width 0.3s;
}

/* ==========================================
   UNDER CONSTRUCTION GIF PLACEHOLDER
   ========================================== */
.under-construction {
    text-align: center;
    padding: 10px;
    font-family: 'Comic Sans MS', 'Tahoma', sans-serif;
    color: #FFD700;
    background: #000;
    border: 2px dashed #FFD700;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* ==========================================
   FLAG BORDER DECORATION
   ========================================== */
.flag-border-top {
    height: 8px;
    background: repeating-linear-gradient(
        to bottom,
        #B22234 0px, #B22234 2px,
        #FFFFFF 2px, #FFFFFF 4px,
        #B22234 4px, #B22234 6px,
        #FFFFFF 6px, #FFFFFF 8px
    );
}

.flag-border-bottom {
    height: 8px;
    background: repeating-linear-gradient(
        to bottom,
        #FFFFFF 0px, #FFFFFF 2px,
        #B22234 2px, #B22234 4px,
        #FFFFFF 4px, #FFFFFF 6px,
        #B22234 6px, #B22234 8px
    );
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
    text-align: center;
    padding: 15px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    background: #C0C0C0;
    border: 2px outset #C0C0C0;
    padding: 4px 12px;
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    color: #000;
    text-decoration: none;
    margin: 0 2px;
}

.pagination a:hover {
    background: #000080;
    color: #FFF;
}

.pagination .current {
    background: #000080;
    color: #FFF;
    border-style: inset;
}

/* ==========================================
   RESPONSIVE (basic - Y2K sites weren't responsive!)
   ========================================== */
@media (max-width: 900px) {
    .site-wrapper {
        flex-direction: column;
    }

    .sidebar-left {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }

    .sidebar-left .nav-btn {
        flex: 1;
        min-width: 100px;
        font-size: 11px;
        padding: 6px 4px;
    }

    .sidebar-right {
        width: 100%;
    }

    .site-title {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 8px;
    }

    .site-title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .site-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .header-flag-left,
    .header-flag-right {
        display: none;
    }
}

/* ==========================================
   WORDPRESS ADMIN BAR FIX
   ========================================== */
body.admin-bar .site-footer {
    bottom: 0;
}

/* ==========================================
   SELECTION STYLE
   ========================================== */
::selection {
    background: #002868;
    color: #FFD700;
}

::-moz-selection {
    background: #002868;
    color: #FFD700;
}

/* ==========================================
   BLINK TEXT (peak Y2K!)
   ========================================== */
.y2k-blink {
    animation: blink-text 1s step-end infinite;
}

@keyframes blink-text {
    0%, 50% { visibility: visible; }
    51%, 100% { visibility: hidden; }
}

/* ==========================================
   "BEST VIEWED WITH" BADGE
   ========================================== */
.best-viewed {
    text-align: center;
    font-family: 'Tahoma', sans-serif;
    font-size: 10px;
    color: #666;
    padding: 4px;
    margin-top: 8px;
}

.best-viewed strong {
    color: #000080;
}

/* ==========================================
   HIT COUNTER STYLE
   ========================================== */
.hit-counter-display {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #0f0;
    display: inline-block;
    padding: 3px 8px;
    border: 2px inset #666;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 16px;
}

/* ==========================================
   STREAMER PHOTO WINDOW
   ========================================== */
.streamer-window .win98-body {
    padding: 6px;
    text-align: center;
    background: #C0C0C0;
}

.streamer-window .streamer-photo {
    width: 100%;
    height: auto;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    display: block;
}

.streamer-window .streamer-name {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 14px;
    color: #002868;
    text-transform: uppercase;
    margin: 6px 0 2px;
    letter-spacing: 1px;
}

.streamer-window .streamer-tagline {
    font-family: 'Comic Sans MS', Tahoma, sans-serif;
    font-size: 10px;
    color: #B22234;
    font-style: italic;
}

/* ==========================================
   SOCIAL MEDIA LINKS WINDOW
   ========================================== */
.social-window .win98-body {
    padding: 8px;
    background: #FFFFFF;
}

.social-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.social-links-list li {
    margin: 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: linear-gradient(180deg, #ECECEC 0%, #D4D4D4 100%);
    border: 2px solid;
    border-color: #DFDFDF #808080 #808080 #DFDFDF;
    text-decoration: none !important;
    color: #000 !important;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: none;
}

.social-link:hover {
    background: linear-gradient(180deg, #002868 0%, #001540 100%);
    color: #FFD700 !important;
    border-color: #4466AA #001030 #001030 #4466AA;
}

.social-link:active {
    border-color: #808080 #DFDFDF #DFDFDF #808080;
}

.social-link .social-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.social-link .social-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-link.social-twitch { border-left: 3px solid #9146FF; }
.social-link.social-tiktok { border-left: 3px solid #000000; }
.social-link.social-instagram { border-left: 3px solid #E1306C; }
.social-link.social-rednote { border-left: 3px solid #FF2442; }

.social-link.social-twitch:hover { background: linear-gradient(180deg, #9146FF 0%, #6B2FCF 100%); color: #FFF !important; }
.social-link.social-tiktok:hover { background: linear-gradient(180deg, #25F4EE 0%, #FE2C55 100%); color: #FFF !important; }
.social-link.social-instagram:hover { background: linear-gradient(135deg, #405DE6, #E1306C, #FCAF45); color: #FFF !important; }
.social-link.social-rednote:hover { background: linear-gradient(180deg, #FF2442 0%, #CC0033 100%); color: #FFF !important; }

/* ==========================================
   LARGE STREAM WINDOW (Main Content)
   ========================================== */
.stream-window-large {
    margin-bottom: 15px;
}

.stream-window-large .win98-titlebar {
    background: linear-gradient(90deg, #9146FF, #6B2FCF);
}

.stream-body-large {
    padding: 0 !important;
    background: #000 !important;
    border: none !important;
    margin: 2px;
}

/* Stream + Chat side-by-side layout */
.stream-layout {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: 600px;
    width: 100%;
}

.stream-player {
    width: 70% !important;
    height: 100% !important;
    flex: none !important;
}

.stream-chat {
    width: 30% !important;
    height: 100% !important;
    flex: none !important;
    border-left: 2px solid #333;
}

.stream-player iframe,
.stream-chat iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

.stream-chat-bar {
    background: #C0C0C0;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid;
    border-color: #DFDFDF #808080 #808080 #DFDFDF;
}

/* CTA in main content area */
.main-content .cta-window {
    margin-bottom: 15px;
}

.main-content .cta-window .alert-starburst {
    width: 65px;
    height: 65px;
    line-height: 62px;
    font-size: 13px;
    top: -12px;
    right: -12px;
}

/* Body padding for fixed footer */
body {
    padding-bottom: 35px;
}

/* ==========================================
   EMAIL CAPTURE / JOIN THE MOVEMENT WINDOW
   ========================================== */
.email-capture-window .win98-titlebar {
    background: linear-gradient(90deg, #B22234, #8B0000);
}

.email-capture-body {
    background: #002868 !important;
    text-align: center;
    padding: 12px 10px !important;
}

.email-capture-stars {
    color: #FFD700;
    font-size: 14px;
    letter-spacing: 6px;
    margin: 4px 0;
}

.email-capture-heading {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 6px 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #B22234;
    line-height: 1.2;
}

.email-capture-heading em {
    color: #FFD700;
    font-style: normal;
}

.email-capture-text {
    font-family: Tahoma, sans-serif;
    font-size: 10px;
    color: #C0C0C0;
    margin: 4px 0 8px;
    line-height: 1.4;
}

.email-capture-form {
    margin: 0;
}

.email-capture-label {
    display: block;
    font-family: Tahoma, sans-serif;
    font-size: 10px;
    color: #FFD700;
    text-align: left;
    margin-bottom: 3px;
    font-weight: bold;
}

.email-capture-input {
    width: 100%;
    padding: 5px 6px;
    border: 2px inset #C0C0C0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    margin-bottom: 6px;
    background: #FFFFFF;
}

.email-capture-input::placeholder {
    color: #999;
    font-style: italic;
}

.email-capture-btn {
    width: 100%;
    background: linear-gradient(180deg, #B22234 0%, #8B0000 100%);
    color: #FFD700;
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 7px 10px;
    border: 3px solid;
    border-color: #FF6666 #4B0000 #4B0000 #FF6666;
    cursor: pointer;
}

.email-capture-btn:hover {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    color: #B22234;
    border-color: #FFEE88 #CC8800 #CC8800 #FFEE88;
}

.email-capture-btn:active {
    border-color: #4B0000 #FF6666 #FF6666 #4B0000;
}

.email-capture-disclaimer {
    font-family: Tahoma, sans-serif;
    font-size: 8px;
    color: #808080;
    margin: 6px 0 2px;
    line-height: 1.3;
}
