linear-gradient(to right, #000080, #1084d0);* {
    box-sizing: border-box;
}

body {
    font-family: 'unifont', monospace;
    color: rgba(255,255,255,0.85);
    margin: 0;
    min-height: 100vh;
    background-image: url("trees.png");
    background-size: cover;        /* Makes it fill the screen */
    background-position: center;   /* Keeps it centered */
    background-repeat: no-repeat;  /* Prevents tiling */
}
/* ===== RETRO HEADER ===== */
header {
    display: table;     /* Alternative shrink-to-fit method */
    margin: 20px auto;
    padding: 12px 20px;
    background: #000080;
    border: 2px solid #444;
    border-top: 2px solid #666;
    border-left: 2px solid #666;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    box-shadow:
        inset 1px 1px 0px #777,
        inset -1px -1px 0px #000;
}

header h1 {
    margin: 0;
    font-family: 'Unifont', monospace;
    letter-spacing: 2px;
    color: white;
}
/* ===== RETRO NAV BUTTON ===== */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 8px 8px;
    background: #000080;
    border-top: 2px solid #666;
    border-left: 2px solid #666;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;

    box-shadow:
        inset 1px 1px 0px #777,
        inset -1px -1px 0px #000;

    transition: all 0.15s ease;
}

nav a:hover {
    background: #2a2a2a;
}

nav a:active {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;

    box-shadow:
        inset -1px -1px 0px #777,
        inset 1px 1px 0px #000;

    transform: translateY(1px);
}
/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes unwanted bottom whitespace */
    margin: 0 auto; /* Centers the image */
}

/* ===== MAIN CONTAINER ===== */
.retro-authentic {
    background-color: #c0c0c0;
    padding: 16px;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
}

/* ===== FOOTER ===== */
footer {
    z-index: 2000;
    width: 100%;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px;
    text-align: center;
}

/* ===== WINDOWS 98 HAMBURGER ===== */
.hamburger {
    position: absolute;
    top: 10px;
    left: 10px;

    font-family: "MS Sans Serif", Tahoma, sans-serif;
    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
    z-index: 1000;

    padding: 6px 10px;

    background: #c0c0c0;              /* Win98 base grey */
    color: black;

    border-top: 2px solid #ffffff;    /* light bevel */
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #808080; /* dark bevel */
    border-right: 2px solid #808080;

    border-radius: 0;                 /* no rounded corners */
}

/* Pressed effect */
.hamburger:active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;

    padding-top: 7px;
    padding-left: 13px;
}

/* ===== SIDE MENU ===== */
.side-menu {

    position: fixed;
    top: 0;
    width: 260px;
    height: 100vh;

    padding: 120px 20px 20px 20px;

    display: flex;
    flex-direction: column;
    gap: 24px;

    transition: transform 0.35s ease;

    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    background: rgba(20,20,30,0.85);

    border-right: 1px solid rgba(255,255,255,0.15);

    z-index: 5000;

    transform: translateX(-100%);
}

.side-menu a {
    z-index: 1500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s ease;
}

.side-menu a:hover {
    transform: translateX(6px);
}
.side-menu.open {
    transform: translateX(0);
}
/* ===== CLOSE BUTTON ===== */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    transition: 0.2s ease;
}

.close-btn:hover {
    background: rgba(255,255,255,0.18);
}
/* ===== FEATURED POSTS ====== */
.featured-posts {
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

/* ===== Retro Post Panels ===== */
.post {
    background: #c0c0c0; /* classic UI grey */
    padding: 16px;
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    border-right: 3px solid #404040;
    border-bottom: 3px solid #404040;
    box-shadow: inset 1px 1px 0 #dfdfdf,
                inset -1px -1px 0 #808080;
    max-width: 500px;
}

/* Optional: make images feel embedded */
.post img {
    display: block;
    width: 100%;
    border-top: 2px solid #404040;
    border-left: 2px solid #404040;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}
.post a {
    display: block;
    transition: transform 0.2s ease-in-out;
}

.post a:hover {
    transform: scale(1.02); /* Makes the whole card grow slightly when hovered */
}

body {
    font-family: 'Unifont', monospace;
}

/* ===== Windows ===== */
.window {
    width: 80%;
    max-width: 800px;
    margin: 40px auto;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
}

/* Player slightly smaller */
.player-window {
    max-width: 500px;
}

/* Title Bar */
.title-bar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 4px 6px;
    font-size: 18px;
}

/* Window Body */
.window-body {
    padding: 14px;
}

/* ===== Retro Buttons ===== */
.player-body button {
    font-family: 'Unifont', monospace;
    font-size: 18px;
    padding: 4px 10px;
    margin-right: 6px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    cursor: pointer;
}

.player-body button:active {
    border-color: #404040 #ffffff #ffffff #404040;
}

/* Seek Bar */
#seekBar {
    width: 100%;
    margin-top: 10px;
}
/* Layout row */
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Left buttons */
.left-controls button {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    padding: 4px 10px;
    margin-right: 6px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    cursor: pointer;
}

.left-controls button:active {
    border-color: #404040 #ffffff #ffffff #404040;
}

/* Volume section */
.right-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vol-label {
    font-size: 16px;
}

/* Retro slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #808080;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
}

/* Slider thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 18px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 18px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    cursor: pointer;
}

/* Seek bar spacing */
#seekBar {
    width: 100%;
    margin-top: 6px;
}

.icon-btn {
  font-family: "Material Icons";
  font-size: 24px;
  background: none;
  border: none;
  color: white; /* controls icon color */
}

/* VIDEO PLAYER */
/* Window container */
.win98-player {
    width: 70%;
    max-width: 1000px;
    margin: 0 auto;
    background: #c0c0c0;
    border: 2px solid #000;
    box-shadow:
        inset -2px -2px #808080,
        inset 2px 2px #ffffff;
}

/* Title bar */
.title-bar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    font-weight: bold;
    font-size: 14px;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.win-btn {
    width: 20px;
    height: 20px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-size: 12px;
    padding: 0;
    cursor: pointer;
}

.win-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}

.win-btn.close {
    color: black;
}

/* Video container */
.video-container {
    background: black;
    padding: 4px;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
}

video {
    width: 100%;
    height: auto;
    display: block;
}

/* Controls */
.controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px;
}

/* Classic 3D button look */
.control-btn {
    width: 30px;
    height: 30px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.control-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}

/* Seek bar */
.seek-bar {
    flex: 1;
    height: 16px;
    appearance: none;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
}

.seek-bar::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 20px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    cursor: pointer;
}

/* Time text */
.time {
    font-size: 12px;
}

/* Status bar */
.status-bar {
    background: #c0c0c0;
    padding: 4px;
    font-size: 12px;
    border-top: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
}