/* ==========================================
850 UNDERGROUND
INDEPENDENT INTERNET HEADQUARTERS
EST. 2026
========================================== */

@font-face {
font-family: "XBAND";
src: url("fonts/XBAND-Rough.ttf.woff") format("woff");
font-style: normal;
font-weight: normal;
font-display: swap;
}

:root {
--blue: #2835a2;
--electric: #384bdb;
--yellow: #ffe32a;
--orange: #ff831e;
--black: #080a10;
--panel: #111827;
--panel-light: #19233b;
--white: #f5f5ed;
--muted: #aab5cc;
--border: #43527b;
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
margin: 0;
color: var(--white);
background-color: #080d25;
background-image:
repeating-linear-gradient(
135deg,
transparent 0,
transparent 18px,
rgba(255,255,255,.025) 18px,
rgba(255,255,255,.025) 20px
),
linear-gradient(180deg, #1b2992, #070b1c 620px);
background-attachment: fixed;
font: 14px/1.55 Verdana, Geneva, sans-serif;
}

a {
color: var(--yellow);
}

a:hover {
color: var(--orange);
}

img {
max-width: 100%;
}

h1, h2, h3, p {
overflow-wrap: anywhere;
}

h2, h3 {
margin-top: 0;
}

.site {
max-width: 1080px;
margin: 20px auto;
border: 3px solid #05060a;
outline: 2px solid #5367c0;
background: var(--black);
box-shadow: 12px 12px 0 rgba(0,0,0,.5);
}

/* TOP UTILITY BAR */

.utility {
background: #05070c;
color: var(--muted);
border-bottom: 1px solid #455ca3;
padding: 6px 14px;
display: flex;
justify-content: space-between;
gap: 12px;
font: bold 10px Verdana, sans-serif;
letter-spacing: 1px;
}

.utility strong {
color: var(--yellow);
}

/* HEADER */

header {
background:
radial-gradient(
ellipse at 70% 30%,
rgba(63,91,255,.65),
transparent 65%
),
repeating-linear-gradient(
-45deg,
transparent 0 12px,
rgba(0,0,0,.18) 12px 24px
),
#111b65;
border-bottom: 5px solid var(--yellow);
padding: 18px 24px;
display: flex;
align-items: center;
gap: 24px;
min-height: 230px;
}

.logo {
width: 205px;
flex-shrink: 0;
display: block;
}

.logo img {
width: 100%;
height: auto;
display: block;
}

.brand {
min-width: 0;
}

.brand h1 {
margin: 0;
color: #fff;
font: normal clamp(32px, 5vw, 58px)/1.05
"XBAND", Impact, sans-serif;
text-shadow:
4px 4px 0 #000,
6px 6px 0 var(--orange);
}

.brand p {
margin: 14px 0 0;
color: var(--yellow);
font: bold 13px Verdana, sans-serif;
letter-spacing: 2px;
text-shadow: 2px 2px #000;
}

.brand .small {
display: block;
margin-top: 12px;
font: bold 10px Verdana, sans-serif;
color: #d5ddff;
letter-spacing: 1px;
}

/* NAVIGATION */

nav {
background: #05070b;
border-bottom: 3px solid var(--orange);
padding: 6px;
}

nav ul {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin: 0;
padding: 0;
list-style: none;
}

nav li {
flex: 1 1 auto;
}

nav a {
display: block;
padding: 10px 8px;
text-align: center;
text-decoration: none;
color: #050505;
background: var(--yellow);
border: 2px outset #fff78e;
font: bold 12px Verdana, sans-serif;
text-transform: uppercase;
white-space: nowrap;
}

nav a:hover,
nav a:focus-visible {
background: var(--orange);
color: #000;
}

nav a:active {
border-style: inset;
}

/* TOP HOST PSA */

.psa {
position: relative;
margin: 12px;
padding: 18px 22px;
border: 3px ridge var(--orange);
background:
repeating-linear-gradient(
-45deg,
rgba(255,227,42,.07) 0 10px,
transparent 10px 20px
),
#1d1720;
text-align: center;
box-shadow: inset 0 0 25px #000;
}

.psa-label {
display: inline-block;
color: #000;
background: var(--orange);
padding: 4px 12px;
font: bold 11px Verdana, sans-serif;
letter-spacing: 2px;
}

.psa h2 {
color: var(--yellow);
font: normal clamp(27px, 5vw, 46px)/1.1
"XBAND", Impact, sans-serif;
margin: 14px 0 8px;
text-shadow: 3px 3px #000;
}

.psa p {
margin: 8px 0 16px;
font-weight: bold;
}

/* TOP HOST VOTING BANNER */

.psa-photo {
display: block;
width: 100%;
max-width: 650px;
height: auto;
margin: 12px auto 16px;
border: 3px solid var(--yellow);
box-shadow: 5px 5px 0 #000;
}

.psa-caption {
font: bold 10px Verdana, sans-serif;
color: #d5ddff;
letter-spacing: 1px;
}

.big-button {
display: inline-block;
background: var(--yellow);
color: #000;
border: 4px outset #fff39a;
padding: 11px 26px;
font: bold 17px Verdana, sans-serif;
text-decoration: none;
box-shadow: 5px 5px 0 #000;
}

.big-button:hover {
background: var(--orange);
color: #000;
}

.big-button:active {
border-style: inset;
box-shadow: none;
}

/* SECTION HEADERS */

.section-title {
margin: 0 0 12px;
padding: 7px 10px;
background: var(--blue);
border-left: 6px solid var(--yellow);
border-bottom: 2px solid #070912;
color: var(--yellow);
font: bold 13px Verdana, sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
}

/* THREE COLUMN LAYOUT */

.content {
display: grid;
grid-template-columns: 190px minmax(0, 1fr) 190px;
gap: 10px;
padding: 0 12px 12px;
}

.sidebar,
main {
min-width: 0;
}

.sidebar {
font-size: 12px;
}

.panel {
background: var(--panel);
border: 1px solid var(--border);
margin-bottom: 12px;
padding: 12px;
box-shadow: inset 2px 2px rgba(255,255,255,.04);
}

.panel p:last-child {
margin-bottom: 0;
}

.panel ul {
margin: 6px 0;
padding-left: 18px;
}

.panel li {
margin-bottom: 6px;
}

.date {
color: var(--orange);
font: bold 10px Verdana, sans-serif;
}

.mini-heading {
color: var(--yellow);
font-weight: bold;
text-transform: uppercase;
}

.status {
display: inline-block;
background: #101a08;
border: 1px solid #a7d14c;
padding: 4px 6px;
color: #bfff55;
font: bold 10px monospace;
}

/* MAIN CONTENT */

.welcome {
padding: 18px;
background:
linear-gradient(135deg, #2334a0, #11172c 75%);
border: 2px solid #6074c6;
margin-bottom: 12px;
}

.welcome h2 {
margin: 0 0 12px;
font: normal 35px/1.1 "XBAND", Impact, sans-serif;
color: var(--yellow);
text-shadow: 3px 3px #000;
}

.welcome p {
margin-bottom: 0;
}

.feature {
background: var(--panel);
border: 1px solid var(--border);
margin-bottom: 12px;
}

.feature-top {
padding: 7px 12px;
color: #000;
background: var(--yellow);
font: bold 11px Verdana, sans-serif;
}

.feature-body {
padding: 16px;
}

.feature h3 {
color: var(--yellow);
font: normal 28px/1.1 "XBAND", Impact, sans-serif;
margin: 0 0 10px;
}

.feature p {
color: #dce3f5;
}

/* DEAD MALL FUNERAL THUMBNAIL */

.feature-art {
display: flex;
justify-content: center;
align-items: center;
border: 3px solid #000;
background: #090b14;
overflow: hidden;
}

.feature-art img {
display: block;
width: auto;
max-width: 100%;
max-height: 320px;
height: auto;
object-fit: contain;
}

.tag {
display: inline-block;
background: #27397a;
border: 1px solid #667ad0;
padding: 3px 6px;
margin: 0 4px 6px 0;
font: bold 10px Verdana, sans-serif;
color: #fff;
}

.read-link {
display: inline-block;
margin-top: 10px;
background: var(--orange);
color: #000;
border: 2px outset #ffc17d;
padding: 7px 12px;
font: bold 11px Verdana, sans-serif;
text-decoration: none;
}

.read-link:hover {
background: var(--yellow);
color: #000;
}

.two-up {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}

.mini-feature {
background: #111827;
border: 1px solid var(--border);
padding: 12px;
}

.mini-feature h3 {
color: var(--yellow);
margin: 0 0 6px;
font: bold 13px Verdana, sans-serif;
}

.mini-feature p {
font-size: 12px;
margin: 0;
}

/* RETRO LINK BUTTONS */

.link-buttons {
display: flex;
flex-wrap: wrap;
gap: 5px;
justify-content: center;
}

.pixel-button {
width: 88px;
min-height: 31px;
display: flex;
justify-content: center;
align-items: center;
padding: 2px;
background: #000;
color: var(--yellow);
border: 2px outset #7681af;
text-align: center;
text-decoration: none;
font: bold 9px/1.1 Verdana, sans-serif;
}

.pixel-button:hover {
color: #000;
background: var(--yellow);
}

/* MARQUEE / TICKER */

.ticker {
background: #050505;
color: var(--yellow);
border-top: 2px solid var(--orange);
border-bottom: 2px solid var(--orange);
overflow: hidden;
padding: 7px;
font: bold 11px monospace;
text-align: center;
}

/* FOOTER */

footer {
background: #11194a;
border-top: 4px solid var(--yellow);
padding: 22px;
text-align: center;
color: #d8e0ff;
font-size: 11px;
}

footer strong {
color: var(--yellow);
}

footer p {
margin: 7px 0;
}

/* RESPONSIVE DESIGN */

@media (max-width: 850px) {
.content {
grid-template-columns: 160px minmax(0, 1fr);
}

.sidebar.right {
grid-column: 1 / -1;
}
}

@media (max-width: 620px) {
.site {
margin: 0;
border-left: 0;
border-right: 0;
outline: 0;
box-shadow: none;
}

.utility {
flex-direction: column;
gap: 3px;
text-align: center;
}

header {
flex-direction: column;
text-align: center;
gap: 6px;
padding: 16px;
}

.logo {
width: 155px;
}

.brand h1 {
font-size: 35px;
}

.brand p {
font-size: 10px;
letter-spacing: 1px;
}

nav li {
flex: 1 1 30%;
}

.content {
display: flex;
flex-direction: column;
}

main {
order: 1;
}

.sidebar.left {
order: 2;
}

.sidebar.right {
order: 3;
}

.two-up {
grid-template-columns: 1fr;
}

.psa {
padding: 14px 10px;
}

.big-button {
font-size: 14px;
padding: 10px 14px;
}
}

@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}

/* RADIO LAUNCH / TOP HOST THANK-YOU */
.psa .big-button, #radio .read-link {cursor:pointer}
.ticker {padding:0;text-align:left;white-space:nowrap}
.ticker-track {display:flex;width:max-content;animation:radioTicker 32s linear infinite}
.ticker-track span {flex:none;padding:8px 0}
@keyframes radioTicker {to {transform:translateX(-50%)}}
#radioFrame {position:fixed;right:0;bottom:0;width:min(550px,100vw);height:116px;border:0;background:transparent;z-index:9000}
#radioFrame.expanded {inset:0;width:100vw;height:100dvh}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none;white-space:normal;width:auto;display:block}.ticker-track span:nth-child(2){display:none}}

/* Ensure expanded iframe fills the viewport even on local file previews */
#radioFrame.expanded {position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;z-index:99999!important}
