html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: #0d1013;
    color: #d5dbe0;
    font-family: Arial, Helvetica, sans-serif;
}


/* ================================
   ENTER PAGE
================================ */

.enter-body {
    background: #050607;
}

.enter-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.enter-page h1 {
    margin: 0 0 25px;
    color: #e2e6e9;
    font-family: "Courier New", monospace;
    font-size: 32px;
    letter-spacing: 6px;
    text-shadow: 2px 2px 0 #000000;
}

.enter-section {
    text-align: center;
}

.enter-image {
    display: inline-block;
    padding: 4px;
    border: 2px solid #697581;
    background: #11161b;
    box-shadow:
        2px 2px 0 #000000,
        inset 1px 1px 0 #89939c;
}

.enter-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.enter-image:hover {
    border-color: #ffffff;
    box-shadow:
        3px 3px 0 #000000,
        0 0 8px rgba(160, 190, 220, 0.35);
}

.enter-text {
    margin: 10px 0 0;
    color: #b7c1ca;
    font-family: "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 1px;
}


/* ================================
   SITE
================================ */

.site {
    width: 760px;
    max-width: calc(100% - 20px);
    margin: 25px auto;
}


/* ================================
   NAVIGATION
================================ */

.nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 4px;
}

.nav a {
    display: block;
    padding: 8px 15px;
    color: #c8ced3;
    background: #252a2e;
    border-top: 2px solid #606970;
    border-left: 2px solid #606970;
    border-right: 2px solid #080a0c;
    border-bottom: 2px solid #080a0c;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000000;
    box-shadow: 1px 1px 0 #000000;
}

.nav a:hover {
    background: #343a3f;
    color: #ffffff;
    border-top-color: #858f97;
    border-left-color: #858f97;
}

.nav a:active {
    border-top-color: #080a0c;
    border-left-color: #080a0c;
    border-right-color: #69727a;
    border-bottom-color: #69727a;
    box-shadow: none;
    transform: translate(1px, 1px);
}


/* ================================
   GENERAL BOXES
================================ */

.box {
    margin-top: 15px;
    border: 2px solid #50585e;
    background: #191d20;
    box-shadow:
        3px 3px 0 #000000,
        inset 1px 1px 0 #686f75;
}

.box-title {
    padding: 7px 10px;
    background: #282e33;
    border-bottom: 2px solid #0a0c0e;
    color: #d8dde1;
    font-family: "Courier New", monospace;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0 #000000;
}

.box-content {
    padding: 15px;
    line-height: 1.5;
}

.box-content p {
    color: #aeb7be;
    font-size: 13px;
    letter-spacing: 0.3px;
}


/* ================================
   GENERAL BUTTON
================================ */

.button {
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    color: #d5dbe0;
    background: #252a2e;
    border-top: 2px solid #5d656b;
    border-left: 2px solid #5d656b;
    border-right: 2px solid #080a0c;
    border-bottom: 2px solid #080a0c;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000000;
    box-shadow: 1px 1px 0 #000000;
}

.button:hover {
    background: #343a3f;
    color: #ffffff;
}

.button:active {
    border-top-color: #080a0c;
    border-left-color: #080a0c;
    border-right-color: #69727a;
    border-bottom-color: #69727a;
    box-shadow: none;
    transform: translate(1px, 1px);
}


/* ================================
   VISITOR COUNTER
================================ */

.counter-box {
    margin-top: 15px;
    padding: 10px;
    border: 2px solid #50585e;
    background: #191d20;
    box-shadow:
        3px 3px 0 #000000,
        inset 1px 1px 0 #686f75;
    text-align: center;
}

.counter-label {
    margin-bottom: 5px;
    color: #737b81;
    font-family: "Courier New", monospace;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

#visitor-count {
    display: inline-block;
    min-width: 78px;
    padding: 5px 8px;
    background: #050607;
    border: 1px solid #30363b;
    color: #b7c1ca;
    font-family: "Courier New", monospace;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 4px rgba(180, 200, 215, 0.25);
}


/* ================================
   FOOTER
================================ */

.footer {
    margin-top: 20px;
    padding: 10px;
    color: #737b81;
    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-align: center;
}

.footer a {
    color: #737b81;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000000;
}

.footer a:hover {
    color: #ffffff;
}


/* ================================
   SMALL ABOUT BUTTON
================================ */

.footer-about {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 8px;
    background: #252a2e;
    color: #9da5ab;
    border-top: 1px solid #606970;
    border-left: 1px solid #606970;
    border-right: 1px solid #080a0c;
    border-bottom: 1px solid #080a0c;
    font-family: "Courier New", monospace;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000000;
    box-shadow: 1px 1px 0 #000000;
}

.footer-about:hover {
    background: #343a3f;
    color: #ffffff;
    border-top-color: #858f97;
    border-left-color: #858f97;
}

.footer-about:active {
    border-top-color: #080a0c;
    border-left-color: #080a0c;
    border-right-color: #69727a;
    border-bottom-color: #69727a;
    box-shadow: none;
    transform: translate(1px, 1px);
}


/* ================================
   STATS
================================ */

.stats-page {
    background: #030303;
    color: #d56a6a;
}


/* NAVIGATION */

.stats-page .nav a {
    background: #0b0b0b;
    color: #d05a5a;

    border-top-color: #482525;
    border-left-color: #482525;
    border-right-color: #020202;
    border-bottom-color: #020202;
}

.stats-page .nav a:hover {
    background: #171010;
    color: #f07878;

    border-top-color: #704040;
    border-left-color: #704040;
}


/* BOXES */

.stats-page .box {
    background: #080808;
    border-color: #482626;

    box-shadow:
        3px 3px 0 #000000,
        inset 1px 1px 0 #5a3030;
}

.stats-page .box-title {
    background: #100909;
    border-bottom-color: #020202;

    color: #e06a6a;
    letter-spacing: 2px;
}

.stats-page .box-content {
    background: #080808;
}


/* TABLE */

.stats-page .stats-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Courier New", monospace;
    font-size: 12px;
}

.stats-page .stats-table th {
    padding: 8px 10px;

    background: #160b0b;
    border: 1px solid #502a2a;

    color: #e36d6d;
    text-align: left;
    letter-spacing: 1px;
}

.stats-page .stats-table td {
    padding: 8px 10px;

    border: 1px solid #3b2020;

    color: #d66b6b;
}

.stats-page .stats-table tr:nth-child(even) td {
    background: #0e0707;
}

.stats-page .stats-table tr:hover td {
    background: #1b0c0c;
    color: #f07a7a;
}


/* FOOTER */

.stats-page .footer a {
    color: #914747;
}

.stats-page .footer a:hover {
    color: #d86a6a;
}


/* ================================
   ZOMBIES PLAYER TABS
================================ */

.stats-page .zombies-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    white-space: nowrap;
}

.stats-page .zombies-title > span:first-child {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
}

.stats-page .zombies-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 3px;
}

.stats-page .zombies-tab {
    display: inline-block;
    flex: 0 0 auto;

    margin: 0;
    padding: 4px 7px;

    background: #0b0b0b;
    color: #b95757;

    border-top: 1px solid #482525;
    border-left: 1px solid #482525;
    border-right: 1px solid #020202;
    border-bottom: 1px solid #020202;

    border-radius: 0;

    font-family: "Courier New", monospace;
    font-size: 9px;
    font-weight: bold;
    line-height: normal;

    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000000;

    box-sizing: border-box;
    cursor: pointer;

    -webkit-user-select: none;
    user-select: none;
}

.stats-page .zombies-tab:hover {
    background: #171010;
    color: #ed7777;
}

.stats-page .zombies-tab:active {
    background: #241010;
    color: #f07a7a;

    border-top-color: #704040;
    border-left-color: #704040;
}

.stats-page .zombies-tab.active {
    background: #241010;
    color: #f07a7a;

    border-top-color: #704040;
    border-left-color: #704040;
}


/* HIDDEN PLAYER TABLES */

.stats-page .zombies-board[hidden] {
    display: none !important;
}


/* ================================
   STATS FOOTER ABOUT BUTTON
================================ */

.stats-page .footer .footer-about {
    background: #0b0b0b;
    color: #d05a5a;
    border-top-color: #482525;
    border-left-color: #482525;
    border-right-color: #020202;
    border-bottom-color: #020202;
}

.stats-page .footer .footer-about:hover {
    background: #171010;
    color: #f07878;
    border-top-color: #704040;
    border-left-color: #704040;
}


/* ================================
   ABOUT PAGE
================================ */

.about-page {
    background: #030303;
    color: #e5e5e5;
}

.about-page .box {
    background: #080808;
    border-color: #252525;
    box-shadow:
        3px 3px 0 #000000,
        inset 1px 1px 0 #303030;
}

.about-page .box-title {
    background: #0d0d0d;
    border-bottom-color: #020202;
    color: #d8d8d8;
}

.about-page .box-content {
    background: #080808;
}

.about-page .box-content p {
    color: #e5e5e5;
}

.about-email {
    color: #eeeeee;
    text-decoration: none;
}

.about-email:hover {
    color: #ffffff;
    text-decoration: underline;
}

.about-page .footer a {
    color: #666666;
}

.about-page .footer a:hover {
    color: #ffffff;
}

.about-page .footer .footer-about {
    color: #9da5ab;
}

.about-page .footer .footer-about:hover {
    color: #ffffff;
}

.about-box {
    text-align: center;
}

.about-gif {
    display: block;
    width: 150px;
    height: auto;
    margin: 18px auto 0 auto;
}


/* ================================
   MEDIA PLAYER CONTAINER
================================ */

.media-player-container {
    margin-top: 15px;
}


/* ================================
   WINDOWS 98 MEDIA PLAYER
================================ */

.win-player {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background: #c0c0c0;
    color: #000000;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 3px solid #404040;
    border-bottom: 3px solid #404040;
    box-sizing: border-box;
    font-family: Courier New, Helvetica, sans-serif;
}

.player-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 4px;
    background: #000080;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

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

.window-buttons span {
    width: 14px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c0c0c0;
    color: #000000;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #404040;
    border-bottom: 1px solid #404040;
    font-size: 10px;
    line-height: 10px;
}

.player-content {
    display: flex;
    gap: 10px;
    padding: 10px;
}

.album-area {
    flex: 0 0 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #808080;
    border-top: 2px solid #404040;
    border-left: 2px solid #404040;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    overflow: hidden;
}

.album-area img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #000000;
    box-sizing: border-box;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.now-playing {
    margin-bottom: 8px;
    padding: 5px;
    background: #ffffff;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    font-family: "Courier New", monospace;
    font-size: 13px;
    font-weight: bold;
}

.time-display {
    display: flex;
    gap: 4px;
    margin-bottom: 5px;
    font-family: "Courier New", monospace;
    font-size: 11px;
}

.progress-container {
    margin-bottom: 10px;
    padding: 2px 3px;
    background: #c0c0c0;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.progress-container input {
    display: block;
    width: 100%;
    height: 14px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: #c0c0c0;
    cursor: pointer;
}

.progress-container input::-webkit-slider-runnable-track {
    height: 4px;
    background: #808080;
    border-top: 1px solid #404040;
    border-left: 1px solid #404040;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.progress-container input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 10px;
    height: 16px;
    margin-top: -7px;
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
}

.progress-container input::-moz-range-track {
    height: 4px;
    background: #808080;
    border: none;
}

.progress-container input::-moz-range-thumb {
    width: 10px;
    height: 16px;
    background: #c0c0c0;
    border: 0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    border-radius: 0;
}


/* ================================
   PLAYER CONTROLS
================================ */

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

.controls button {
    padding: 4px 9px;
    background: #c0c0c0;
    color: #000000;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    font-size: 10px;
    cursor: pointer;
}

.controls button:active {
    border-top: 2px solid #404040;
    border-left: 2px solid #404040;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.volume {
    width: 85px;
}

.volume-label {
    margin-bottom: 2px;
    color: #000000;
    font-size: 9px;
    font-weight: bold;
}

.volume-slider {
    padding: 2px 3px;
    background: #c0c0c0;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.volume input {
    display: block;
    width: 78px;
    height: 14px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: #c0c0c0;
    cursor: pointer;
}

.volume input::-webkit-slider-runnable-track {
    height: 4px;
    background: #808080;
    border-top: 1px solid #404040;
    border-left: 1px solid #404040;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.volume input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 10px;
    height: 16px;
    margin-top: -7px;
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
}

.volume input::-moz-range-track {
    height: 4px;
    background: #808080;
    border: none;
}

.volume input::-moz-range-thumb {
    width: 10px;
    height: 16px;
    background: #c0c0c0;
    border: 0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    border-radius: 0;
}


/* ================================
   PLAYER SEARCH
================================ */

.player-tools {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.player-search {
    flex: 1;
    min-width: 0;
    margin-left: auto;
}

.player-search input {
    display: block;
    width: 100%;
    height: 20px;
    padding: 3px 7px;
    box-sizing: border-box;

    background: #ffffff;
    color: #000000;

    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;

    outline: none;
}

.player-search input:focus {
    background: #ffffff;
}

.player-search input::placeholder {
    color: #808080;
    opacity: 1;
}


/* ================================
   WINDOWS 98 PLAYLIST
================================ */

.playlist {
    height: 145px;
    margin: 0 10px 10px;
    overflow-y: auto;
    background: #d4d0c8;
    border-top: 2px solid #404040;
    border-left: 2px solid #404040;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    box-sizing: border-box;
}

.playlist::-webkit-scrollbar {
    width: 16px;
}

.playlist::-webkit-scrollbar-track {
    background: #c0c0c0;
    border-left: 1px solid #808080;
}

.playlist::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
}

.playlist::-webkit-scrollbar-button {
    display: block;
    height: 16px;
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
}

.playlist {
    scrollbar-width: auto;
}

.playlist-header {
    display: grid;
    grid-template-columns: 1fr 60px;
    gap: 5px;
    padding: 4px 6px;
    background: #c0c0c0;
    color: #ffffff;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    box-sizing: border-box;
}

.track {
    display: grid;
    grid-template-columns: 1fr 60px;
    gap: 5px;
    padding: 5px 6px;
    background: #d4d0c8;
    color: #000000;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
}

.track:nth-child(odd) {
    background: #c8d0d8;
}

.track:hover {
    background: #316ac5;
    color: #ffffff;
}

.track.active {
    background: #000080;
    color: #ffffff;
}


/* ================================
   ENERGY CALCULATOR
================================ */

.energy-calculator {
    width: 100%;
    max-width: none;
    margin: 25px 0 0;
    font-family: "Courier New", monospace;
}

.energy-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 25px;
}

.energy-group {
    background: #191d20;
    border: 2px solid #30363b;
    box-shadow:
        inset 1px 1px 0 #181d21,
        2px 2px 0 #000000;
}

.energy-name {
    padding: 8px 10px;
    border-bottom: 1px solid #30363b;
    font-family: "Courier New", monospace;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.energy-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 7px;
}

.energy-options button {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 10px 5px;

    background: #252a2e;
    color: #d5dbe0;

    border-top: 2px solid #606970;
    border-left: 2px solid #606970;
    border-right: 2px solid #080a0c;
    border-bottom: 2px solid #080a0c;

    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;

    cursor: pointer;

    text-shadow: 1px 1px 0 #000000;

    box-shadow:
        1px 1px 0 #000000;

    touch-action: manipulation;
}

.energy-options button:hover {
    background: #343a3f;
}


/* ================================
   ENERGY SPECIAL LAYOUTS
================================ */

.ghost-group .energy-options {
    grid-template-columns: 1fr;
}

.c4-group .full-width-option {
    grid-column: 1 / -1;
}

.bang-group .energy-options {
    grid-template-columns: 1fr;
}

.sparkler-group .energy-options {
    grid-template-columns: 1fr;
}


/* ================================
   ENERGY COLORS
================================ */

.ghost-group .energy-name {
    color: #8fc79a;
}

.ghost-group .energy-options button {
    color: #8fc79a !important;
    -webkit-text-fill-color: #8fc79a !important;
    border-top-color: #52765a !important;
    border-left-color: #52765a !important;
}

.ghost-group .energy-options button:hover {
    background: #1d2b21;
    color: #b5e4bd !important;
    -webkit-text-fill-color: #b5e4bd !important;
    border-top-color: #719d79 !important;
    border-left-color: #719d79 !important;
}

.redbull-group .energy-name {
    color: #82a9d4;
}

.redbull-group .energy-options button {
    color: #82a9d4 !important;
    -webkit-text-fill-color: #82a9d4 !important;
    border-top-color: #4d6580 !important;
    border-left-color: #4d6580 !important;
}

.redbull-group .energy-options button:hover {
    background: #1c2530;
    color: #acd0f5 !important;
    -webkit-text-fill-color: #acd0f5 !important;
    border-top-color: #6b8daf !important;
    border-left-color: #6b8daf !important;
}

.c4-group .energy-name {
    color: #d4876f;
}

.c4-group .energy-options button {
    color: #d4876f !important;
    -webkit-text-fill-color: #d4876f !important;
    border-top-color: #805144 !important;
    border-left-color: #805144 !important;
}

.c4-group .energy-options button:hover {
    background: #301d18;
    color: #efa08a !important;
    -webkit-text-fill-color: #efa08a !important;
    border-top-color: #a86a58 !important;
    border-left-color: #a86a58 !important;
}

.coffee-group .energy-name {
    color: #c5a078;
}

.coffee-group .energy-options button {
    color: #c5a078 !important;
    -webkit-text-fill-color: #c5a078 !important;
    border-top-color: #765d43 !important;
    border-left-color: #765d43 !important;
}

.coffee-group .energy-options button:hover {
    background: #2d241b;
    color: #e1bd91 !important;
    -webkit-text-fill-color: #e1bd91 !important;
    border-top-color: #987957 !important;
    border-left-color: #987957 !important;
}

.bang-group .energy-name {
    color: #a88bc7;
}

.bang-group .energy-options button {
    color: #a88bc7 !important;
    -webkit-text-fill-color: #a88bc7 !important;
    border-top-color: #654f7d !important;
    border-left-color: #654f7d !important;
}

.bang-group .energy-options button:hover {
    background: #251d2d;
    color: #c8afe3 !important;
    -webkit-text-fill-color: #c8afe3 !important;
    border-top-color: #80669b !important;
    border-left-color: #80669b !important;
}

.sparkler-group .energy-name {
    color: #c05a9a;
}

.sparkler-group .energy-options button {
    color: #c05a9a !important;
    -webkit-text-fill-color: #c05a9a !important;
    border-top-color: #74375d !important;
    border-left-color: #74375d !important;
}

.sparkler-group .energy-options button:hover {
    background: #301624;
    color: #e184bb !important;
    -webkit-text-fill-color: #e184bb !important;
    border-top-color: #955076 !important;
    border-left-color: #955076 !important;
}


/* ================================
   ENERGY ACTIVE BUTTON
================================ */

.energy-options button:active {
    background: #111416;
    border-top-color: #080a0c;
    border-left-color: #080a0c;
    border-right-color: #69727a;
    border-bottom-color: #69727a;
    box-shadow: none;
    transform: translate(1px, 1px);
}


/* ================================
   STACK
================================ */

.stack-box {
    margin-bottom: 18px;
    background: #050607;
    border: 2px solid #30363b;
    box-shadow:
        inset 1px 1px 0 #181d21,
        2px 2px 0 #000000;
}

.stack-title {
    padding: 8px 10px;
    background: #191d20;
    border-bottom: 1px solid #30363b;
    color: #9da6ad;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

#stack-list {
    min-height: 42px;
}

.stack-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 9px 10px;
    color: #c8ced3;
    font-family: "Courier New", monospace;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #202529;
}

.stack-row:last-child {
    border-bottom: none;
}

.stack-name {
    text-align: left;
}

.stack-quantity {
    text-align: center;
}

.stack-amount {
    text-align: right;
}

.stack-empty {
    padding: 15px 10px;
    color: #504f49;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
}


/* ================================
   TOTAL CAFFEINE
================================ */

.caffeine-result {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 15px;

    margin-bottom: 12px;

    background: #171509;

    border: 2px solid #806f2e;

    box-shadow:
        inset 1px 1px 0 #332d14,
        2px 2px 0 #000000;
}

.result-label {
    margin: 0;
    color: #c7b35b;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: left;
}

#caffeine-total {
    color: #f2d75e;
    font-family: "Courier New", monospace;
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(242, 215, 94, 0.3);
}


/* ================================
   CLEAR SELECTION
================================ */

.clear-button {
    display: block;
    width: 180px;
    box-sizing: border-box;

    margin: 0 auto;

    padding: 8px 20px;

    background: #25200b;
    color: #f2d75e;

    border-top: 2px solid #806f2e;
    border-left: 2px solid #806f2e;
    border-right: 2px solid #0d0b04;
    border-bottom: 2px solid #0d0b04;

    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;

    cursor: pointer;

    text-shadow: 1px 1px 0 #000000;

    box-shadow:
        2px 2px 0 #000000;

    touch-action: manipulation;
}

.clear-button:hover {
    background: #332c10;
    color: #ffe875;
    border-top-color: #a9923e;
    border-left-color: #a9923e;
}

.clear-button:active {
    background: #171207;
    border-top-color: #0d0b04;
    border-left-color: #0d0b04;
    border-right-color: #806f2e;
    border-bottom-color: #806f2e;
    box-shadow: none;
    transform: translate(1px, 1px);
}

.secret-page .secret-image {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 20px auto;
    object-fit: contain;
}



/* ================================
   MOBILE
================================ */

@media (max-width: 600px) {

    .site {
        width: auto;
        margin: 10px;
    }


    /* ENTER PAGE */

    .enter-page h1 {
        font-size: 26px;
    }

    .enter-image img {
        max-width: calc(100vw - 40px);
    }


    /* NAVIGATION */

    .nav {
        margin-bottom: 10px;
    }

    .nav a {
        padding: 7px 11px;
        font-size: 10px;
    }


    /* GENERAL */

    .box-title {
        font-size: 11px;
    }

    .stats-table {
        font-size: 11px;
    }

    .stats-table th,
    .stats-table td {
        padding: 7px;
    }

    .counter-box {
        margin-top: 15px;
    }

    #visitor-count {
        font-size: 15px;
    }


    /* FOOTER */

    .footer {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding-bottom: 15px;
    }

    .footer-about {
        display: inline-block;
        visibility: visible;
    }


    /* MEDIA */

    .media-player-container {
        margin-top: 0 !important;
        padding-top: 15px;
    }

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

    .album-area {
        width: 150px;
        flex-basis: 150px;
        margin: 0 auto;
    }

    .player-info {
        width: 100%;
    }


    /* MOBILE MUSIC PLAYER */

    .player-info .volume {
        display: none !important;
    }

    .player-info .controls {
        width: 100%;
        display: flex;
    }

    .player-info .controls button {
        flex: 1;
    }


    /* PLAYLIST */

    .playlist {
        height: 145px;
        max-height: 145px;
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .playlist-header,
    .track {
        grid-template-columns: 1fr 55px;
    }

    .playlist-header {
        font-weight: bold;
    }

    .track {
        font-weight: bold;
    }

    .track span {
        font-weight: bold;
    }


    /* ================================
       ENERGY MOBILE
    ================================ */

    .energy-calculator {
        width: 100%;
        margin-top: 20px;
    }

    .energy-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .energy-group {
        border-width: 2px;
    }

    .energy-name {
        padding: 8px;
        font-size: 11px;
    }

    .energy-options {
        display: grid;
        width: 100%;
        box-sizing: border-box;

        gap: 5px;
        padding: 6px;

        grid-template-columns: 1fr 1fr;
    }

    .energy-options button {
        display: block;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;

        padding: 9px 3px;

        font-size: 10px;

        touch-action: manipulation;
    }


    /* GHOST */

    .ghost-group .energy-options {
        grid-template-columns: 1fr;
    }


    /* C4 */

    .c4-group .full-width-option {
        grid-column: 1 / -1;
    }


    /* BANG */

    .bang-group .energy-options {
        grid-template-columns: 1fr;
    }


    /* SPARKLER */

    .sparkler-group .energy-options {
        grid-template-columns: 1fr;
    }


    /* MOBILE GHOST */

    .ghost-group .energy-options button {
        color: #8fc79a !important;
        -webkit-text-fill-color: #8fc79a !important;
        border-top-color: #52765a !important;
        border-left-color: #52765a !important;
    }

    .ghost-group .energy-options button:hover {
        background: #1d2b21;
        color: #b5e4bd !important;
        -webkit-text-fill-color: #b5e4bd !important;
        border-top-color: #719d79 !important;
        border-left-color: #719d79 !important;
    }


    /* MOBILE RED BULL */

    .redbull-group .energy-options button {
        color: #82a9d4 !important;
        -webkit-text-fill-color: #82a9d4 !important;
        border-top-color: #4d6580 !important;
        border-left-color: #4d6580 !important;
    }

    .redbull-group .energy-options button:hover {
        background: #1c2530;
        color: #acd0f5 !important;
        -webkit-text-fill-color: #acd0f5 !important;
        border-top-color: #6b8daf !important;
        border-left-color: #6b8daf !important;
    }


    /* MOBILE C4 */

    .c4-group .energy-options button {
        color: #d4876f !important;
        -webkit-text-fill-color: #d4876f !important;
        border-top-color: #805144 !important;
        border-left-color: #805144 !important;
    }

    .c4-group .energy-options button:hover {
        background: #301d18;
        color: #efa08a !important;
        -webkit-text-fill-color: #efa08a !important;
        border-top-color: #a86a58 !important;
        border-left-color: #a86a58 !important;
    }


    /* MOBILE COFFEE */

    .coffee-group .energy-options button {
        color: #c5a078 !important;
        -webkit-text-fill-color: #c5a078 !important;
        border-top-color: #765d43 !important;
        border-left-color: #765d43 !important;
    }

    .coffee-group .energy-options button:hover {
        background: #2d241b;
        color: #e1bd91 !important;
        -webkit-text-fill-color: #e1bd91 !important;
        border-top-color: #987957 !important;
        border-left-color: #987957 !important;
    }


    /* MOBILE BANG */

    .bang-group .energy-name {
        color: #a88bc7;
    }

    .bang-group .energy-options button {
        color: #a88bc7 !important;
        -webkit-text-fill-color: #a88bc7 !important;
        border-top-color: #654f7d !important;
        border-left-color: #654f7d !important;
    }

    .bang-group .energy-options button:hover {
        background: #251d2d;
        color: #c8afe3 !important;
        -webkit-text-fill-color: #c8afe3 !important;
        border-top-color: #80669b !important;
        border-left-color: #80669b !important;
    }


    /* MOBILE SPARKLER */

    .sparkler-group .energy-name {
        color: #c05a9a;
    }

    .sparkler-group .energy-options button {
        color: #c05a9a !important;
        -webkit-text-fill-color: #c05a9a !important;
        border-top-color: #74375d !important;
        border-left-color: #74375d !important;
    }

    .sparkler-group .energy-options button:hover {
        background: #301624;
        color: #e184bb !important;
        -webkit-text-fill-color: #e184bb !important;
        border-top-color: #955076 !important;
        border-left-color: #955076 !important;
    }


    /* STACK */

    .stack-row {
        font-size: 11px;
        padding: 8px;
    }

    .stack-title {
        font-size: 10px;
    }

    .stack-empty {
        font-size: 10px;
    }


    /* TOTAL CAFFEINE */

    .caffeine-result {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 9px 10px;

        margin-bottom: 12px;
    }

    .result-label {
        font-size: 10px;
    }

    #caffeine-total {
        font-size: 18px;
    }


    /* CLEAR SELECTION */

    .clear-button {
        width: 180px;
        padding: 8px 16px;
        font-size: 10px;
    }

}

/* ================================
   RNG
================================ */

.rng-panel {
    max-width: 490px;
    margin: 4px auto;
    font-family: "Courier New", monospace;
}

.rng-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rng-field label {
    display: block;
    margin-bottom: 7px;
    color: #9da6ad;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.rng-field input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    border: 2px solid;
    border-color: #080a0c #626b71 #626b71 #080a0c;
    border-radius: 0;
    outline-offset: 2px;
    background: #0d1013;
    color: #d5dbe0;
    font-family: "Courier New", monospace;
    font-size: 16px;
}

.rng-field input:focus-visible {
    outline: 1px solid #aeb9c2;
}

.rng-display {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 134px;
    margin: 18px 0 12px;
    padding: 12px;
    border: 2px solid;
    border-color: #080a0c #626b71 #626b71 #080a0c;
    background: #080b0d;
    text-align: center;
}

#rng-result {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #e2e6e9;
    font-family: "Courier New", monospace;
    font-size: clamp(30px, 7vw, 60px);
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 2px 2px 0 #000;
}

.rng-actions {
    text-align: center;
}

.rng-generate {
    min-width: 155px;
    cursor: pointer;
}

.rng-error {
    margin: 4px 0 12px;
    color: #e09898 !important;
    font-family: "Courier New", monospace;
    font-size: 11px !important;
    text-align: center;
}

.rng-error[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .rng-display {
        min-height: 110px;
    }

    .rng-field input {
        font-size: 16px;
    }
}
