:root {
    color-scheme: dark;
    --navy: #003399;
    --deep-blue: #001f66;
    --yahoo-purple: #5f1696;
    --yellow: #ffe500;
    --orange: #ff7a00;
    --cyan: #00e5ff;
    --hot-pink: #ff2bd6;
    --lime: #65ff57;
    --panel: #f7f7ff;
    --ink: #11142a;
    --border: #1f4da0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: #f6f7ff;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 10px 10px, #ffffff 1px, transparent 2px)
            0 0 / 42px 42px,
        radial-gradient(circle at 30px 25px, #707bff 1px, transparent 2px)
            0 0 / 55px 55px,
        linear-gradient(135deg, #03051a, #111653 45%, #050619);
    background-attachment: fixed;
}

a {
    color: #0037c4;
    font-weight: bold;
}

a:hover {
    color: #e00072;
    text-decoration-style: wavy;
}

button,
input,
textarea {
    font: inherit;
}

.browser-warning {
    min-height: 25px;
    padding: 5px 12px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #000;
    font: bold 11px "Courier New", monospace;
    background: repeating-linear-gradient(
        -45deg,
        #ffe500,
        #ffe500 12px,
        #111 12px,
        #111 24px
    );
}

.browser-warning span {
    padding: 2px 7px;
    background: #ffe500;
}

.yahoo-bar {
    min-height: 56px;
    padding: 8px clamp(12px, 4vw, 45px);
    display: flex;
    align-items: center;
    gap: 25px;
    color: #111;
    background: linear-gradient(#fff882, #ffd600);
    border-top: 3px solid #fff;
    border-bottom: 5px ridge #8c7400;
}

.yahoo-logo {
    color: #d60000;
    font-family: Georgia, serif;
    font-size: clamp(25px, 4vw, 42px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -3px;
    text-decoration: none;
    text-shadow: 2px 2px #fff;
    transform: rotate(-3deg);
}

.yahoo-bar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 17px;
    flex: 1;
}

.yahoo-bar nav a {
    color: #00157a;
    font-size: 13px;
}

.tiny-status {
    font: bold 10px "Courier New", monospace;
    white-space: nowrap;
}

.status-light {
    width: 9px;
    height: 9px;
    display: inline-block;
    background: #00b82e;
    border: 1px solid #004d14;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff40;
}

.ticker {
    overflow: hidden;
    color: #fff;
    background: #161616;
    border-bottom: 2px solid var(--cyan);
    font: bold 12px "Courier New", monospace;
}

.ticker-track {
    width: max-content;
    padding: 7px 0;
    animation: ticker 26s linear infinite;
}

@keyframes ticker {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-100%);
    }
}

.page-shell {
    width: min(1460px, calc(100% - 24px));
    margin: 18px auto 50px;
}

.hero {
    min-height: 225px;
    padding: clamp(22px, 5vw, 58px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 70, .25)),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 5px,
            rgba(255, 255, 255, .05) 6px
        ),
        linear-gradient(135deg, #5900a7, #0039a9 52%, #0099a8);
    border: 5px ridge #bfceff;
    box-shadow:
        0 0 0 5px #121212,
        0 0 30px rgba(0, 229, 255, .55);
}

.hero::after {
    content: "★ ✦ ★ ✦ ★ ✦ ★ ✦ ★ ✦";
    position: absolute;
    inset: 15px 20px auto auto;
    color: var(--yellow);
    letter-spacing: 9px;
    transform: rotate(4deg);
}

.eyebrow {
    margin: 0;
    color: var(--yellow);
    font: bold 14px "Courier New", monospace;
    letter-spacing: 4px;
}

.hero h1 {
    margin: 5px 0;
    color: #fff;
    font-size: clamp(44px, 9vw, 108px);
    line-height: .78;
    letter-spacing: -6px;
    text-shadow:
        4px 4px 0 #001e66,
        7px 7px 0 #ff1bb9;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-tagline {
    max-width: 700px;
    margin: 22px 0 0;
    font: bold clamp(15px, 2vw, 21px) "Courier New", monospace;
}

.hero-badge {
    min-width: 210px;
    padding: 22px;
    text-align: center;
    color: #111;
    background: var(--yellow);
    border: 5px double #111;
    transform: rotate(3deg);
    box-shadow: 9px 9px 0 rgba(0, 0, 0, .55);
}

.hero-badge span,
.hero-badge strong,
.hero-badge small {
    display: block;
}

.hero-badge strong {
    margin: 5px;
    font-size: 25px;
}

.blink {
    animation: blink .8s steps(2, start) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.retro-divider {
    height: 18px;
    margin: 15px 0;
    background:
        linear-gradient(
            90deg,
            var(--yellow) 0 12.5%,
            var(--hot-pink) 12.5% 25%,
            var(--cyan) 25% 37.5%,
            var(--lime) 37.5% 50%,
            var(--yellow) 50% 62.5%,
            var(--hot-pink) 62.5% 75%,
            var(--cyan) 75% 87.5%,
            var(--lime) 87.5% 100%
        );
    border: 3px outset #fff;
}

.three-column-layout {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(240px, 315px);
    gap: 14px;
    align-items: start;
}

.left-column,
.center-column,
.right-column {
    display: grid;
    gap: 14px;
}

.myspace-box {
    overflow: hidden;
    color: var(--ink);
    background: var(--panel);
    border: 3px solid #7896d2;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .5);
}

.myspace-box > h2 {
    margin: 0;
    padding: 7px 9px;
    color: #fff;
    font-size: 15px;
    background: linear-gradient(#3d73c9, var(--navy));
    border-bottom: 2px solid #001a56;
}

.profile-card {
    padding-bottom: 14px;
}

.profile-card > h2 {
    font-size: 25px;
}

.profile-photo {
    margin: 13px;
    padding: 5px;
    background: #fff;
    border: 2px solid #111;
}

.profile-photo img {
    width: 100%;
    display: block;
}

.quote {
    margin: 12px;
    color: #b50000;
    font-family: "Comic Sans MS", cursive;
    font-weight: bold;
    text-align: center;
}

.profile-facts {
    margin: 10px 13px 0;
    font-size: 12px;
}

.profile-facts div {
    display: grid;
    grid-template-columns: 75px 1fr;
    padding: 4px 0;
    border-bottom: 1px dotted #8c8c8c;
}

.profile-facts dt {
    color: #555;
    font-weight: bold;
}

.profile-facts dd {
    margin: 0;
    font-weight: bold;
}

.contact-grid {
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.contact-grid a {
    padding: 7px 5px;
    color: #002c9f;
    font-size: 11px;
    text-align: center;
    background: #dce7ff;
    border: 2px outset #fff;
    text-decoration: none;
}

.contact-grid a:active {
    border-style: inset;
}

.interest-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.interest-table th,
.interest-table td {
    padding: 8px;
    vertical-align: top;
    border: 1px solid #b6c6ea;
}

.interest-table th {
    width: 70px;
    color: #ff5300;
    text-align: left;
    background: #dce7ff;
}

.counter-box {
    padding: 14px;
    text-align: center;
    color: #00ff55;
    background: #050505;
    border: 4px ridge #d0d0d0;
    font-family: "Courier New", monospace;
}

.counter-box span,
.counter-box small {
    display: block;
}

.counter-box strong {
    display: inline-block;
    margin: 8px;
    padding: 5px 8px;
    color: #ff3434;
    font-size: 24px;
    letter-spacing: 5px;
    background: #160000;
    border: 2px inset #aaa;
}

.blurb {
    padding: 12px 15px;
}

.blurb + .blurb {
    border-top: 1px dashed #8d9ec4;
}

.blurb h3 {
    margin: 0 0 5px;
    color: #ff4f00;
    font-size: 15px;
}

.blurb p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.bulletin {
    padding: 17px;
    color: #101010;
    background:
        linear-gradient(rgba(255, 255, 255, .94), rgba(255, 255, 255, .94)),
        repeating-linear-gradient(
            0deg,
            transparent 0 26px,
            #9cc2ff 27px
        );
    border: 4px double #ff7600;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .5);
}

.bulletin-title {
    margin: -17px -17px 16px;
    padding: 6px 12px;
    color: #fff;
    background: #ff6500;
    font-size: 12px;
    font-weight: bold;
}

.bulletin h2 {
    margin: 0 0 10px;
    color: #0037a5;
    font: bold 27px Georgia, serif;
}

.bulletin-meta {
    margin-top: 13px;
    color: #666;
    font-size: 11px;
}

.blog-entry {
    padding: 13px;
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 12px;
    border-bottom: 1px dotted #7b8ab1;
}

.blog-entry:last-child {
    border-bottom: 0;
}

.blog-entry time {
    color: #f04600;
    font-size: 11px;
    font-weight: bold;
}

.blog-entry h3 {
    margin: 0 0 5px;
    color: #003bb0;
    font-size: 16px;
}

.blog-entry p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.music-player {
    padding: 14px;
    color: #e5f7ff;
    background: linear-gradient(#444, #080808);
    border: 5px ridge #b7b7b7;
}

.music-screen {
    padding: 13px;
    color: #63ff5f;
    background: #031505;
    border: 3px inset #aaa;
    font-family: "Courier New", monospace;
}

.music-screen span,
.music-screen strong,
.music-screen small {
    display: block;
}

.music-screen strong {
    margin: 7px 0;
    color: #7effff;
}

.player-controls {
    margin: 10px 0;
    display: flex;
    gap: 5px;
}

.player-controls button,
.win98-button {
    padding: 6px 12px;
    color: #000;
    background: #c6c6c6;
    border: 3px outset #fff;
    font-weight: bold;
}

.equalizer {
    height: 45px;
    display: flex;
    align-items: end;
    gap: 4px;
}

.equalizer i {
    width: 8%;
    min-height: 7px;
    background: linear-gradient(#ff3434, #ffe600, #42ff43);
    animation: equalize 1s ease-in-out infinite alternate;
}

.equalizer i:nth-child(2n) {
    animation-duration: .55s;
}

.equalizer i:nth-child(3n) {
    animation-duration: 1.3s;
}

@keyframes equalize {
    from {
        height: 15%;
    }

    to {
        height: 100%;
    }
}

.music-player p {
    margin-bottom: 0;
    color: #ccc;
    font-size: 11px;
}

.guestbook {
    padding-bottom: 12px;
}

.guestbook-entry {
    margin: 12px;
    padding: 10px;
    background: #fff7c6;
    border: 1px dashed #9c7900;
}

.guestbook-entry p {
    margin: 4px 0 0;
    font-family: "Comic Sans MS", cursive;
}

.guestbook .win98-button {
    margin: 0 12px;
    opacity: .75;
}

.directory-box {
    color: #161616;
    background: #fff;
    border: 4px ridge #b0b0b0;
}

.directory-header {
    padding: 9px;
    color: #111;
    background: linear-gradient(#fff875, #ffd600);
    border-bottom: 2px solid #987b00;
    font: bold 13px Arial, sans-serif;
}

.directory-header span {
    margin-right: 7px;
    color: #d10000;
    font: italic 24px Georgia, serif;
}

.directory-intro {
    margin: 10px;
    font-size: 12px;
}

.directory-item {
    padding: 9px 10px;
    position: relative;
    border-top: 1px solid #d4d4d4;
}

.directory-item a {
    color: #4d0694;
    font-family: Georgia, serif;
    font-size: 17px;
}

.directory-item p {
    margin: 3px 0;
    padding-right: 57px;
    font-size: 11px;
}

.directory-item span {
    padding: 2px 4px;
    position: absolute;
    top: 10px;
    right: 7px;
    color: #fff;
    background: #244a9c;
    font: bold 8px "Courier New", monospace;
}

.top-eight {
    padding-bottom: 10px;
}

#top-eight-grid {
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.top-eight-item {
    min-height: 72px;
    padding: 7px;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .15), transparent),
        #291177;
    border: 3px outset #a7bfff;
    font: bold 12px "Comic Sans MS", cursive;
}

.top-eight-item:nth-child(2n) {
    background-color: #005f8e;
}

.top-eight-item:nth-child(3n) {
    background-color: #861062;
}

.geo-box {
    padding: 12px;
    color: #fff;
    background:
        linear-gradient(rgba(34, 0, 77, .83), rgba(34, 0, 77, .83)),
        radial-gradient(circle, #fff 1px, transparent 2px)
            0 0 / 18px 18px;
    border: 4px ridge #ff61eb;
}

.geo-box h2 {
    margin: 0;
    color: var(--yellow);
    font-family: "Comic Sans MS", cursive;
    text-shadow: 2px 2px #f000a8;
}

.geo-box a {
    color: #75ffff;
}

.construction-strip {
    height: 15px;
    margin: 12px 0;
    background: repeating-linear-gradient(
        -45deg,
        #ffd400 0 10px,
        #111 10px 20px
    );
    border: 2px outset #ddd;
}

.small-copy {
    font-size: 10px;
    line-height: 1.5;
}

.node-monitor {
    padding: 10px;
    color: #55ff77;
    background: #040904;
    border: 4px inset #aaa;
    font: bold 11px "Courier New", monospace;
}

.node-monitor h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 14px;
}

.node-monitor div {
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #185521;
}

.green {
    color: #4dff54;
}

.yellow {
    color: #ffe600;
}

.blue {
    color: #62d8ff;
}

footer {
    margin-top: 18px;
    padding: 18px;
    color: #dbe4ff;
    text-align: center;
    background: rgba(0, 0, 30, .9);
    border: 4px ridge #a9b8e3;
    font: 11px "Courier New", monospace;
}

.footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.footer-buttons span {
    padding: 4px 7px;
    color: #fff;
    background: #1c3488;
    border: 2px outset #91a8ff;
    font-size: 9px;
}

@media (max-width: 1050px) {
    .three-column-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .right-column {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .browser-warning {
        display: none;
    }

    .yahoo-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .tiny-status {
        display: none;
    }

    .hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-badge {
        min-width: 0;
        width: 100%;
        transform: none;
    }

    .three-column-layout {
        grid-template-columns: 1fr;
    }

    .right-column {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .blog-entry {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
