/* =============================
   GLOBAL STYLES - Retro Y2K
   ============================= */

/* Force all text to Courier New, bold */
* {
    font-family: "Courier New", Courier, monospace !important;
    font-weight: bold !important;
    color: #fff !important;
    text-decoration: none !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* REMOVE text-align: center! */
}

/* Body background - Windows XP style */
body {
    background: url('https://i.imgur.com/oTrjHkT.png') no-repeat center center fixed;
    background-size: cover; /* makes it cover the screen */
    line-height: 1.5;
    text-align: center; /* centers text inside content sections */
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
}

/* =============================
   BANNER / HEADER
   ============================= */
.banner {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo left, nav right */
    position: relative; /* for absolute positioning of subtitle */
    padding: 10px;
    border-bottom: 4px outset #ff00ff;
    background: rgba(0,0,0,0.8);
}

/* Title container (logo + subtitle) */
.banner .title-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: flex-start; /* keep Laura97 left-aligned */
    position: relative;
}

/* Main title */
.banner .title {
    font-size: 2em;
    color: #ff00ff;
    text-shadow: 2px 2px #00ffff;
}

/* Subtitle centered between logo and nav */
.banner .subtitle {
    font-size: 2em; /* same as main title */
    color: #00ffff;
    text-shadow: 1px 1px #ff00ff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

/* Navigation */
.banner .nav {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

/* Compact navigation styling */
.nav-compact {
    text-align: right;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-compact a {
    color: #ff00ff;
    padding: 0 2px;
}

.nav-compact a:hover {
    color: #00ffff;
}

.separator {
    color: #fff;
    padding: 0 4px;
}

.toplink {
    padding: 6px 10px;
    background: #ff00ff;
    color: #fff;
    border: 2px outset #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.toplink:hover {
    background: #00ffff;
    color: #000;
    transform: scale(1.1);
    text-shadow: 1px 1px #ff00ff;
}

/* =============================
   PAGE HEADINGS
   ============================= */
h1, h2, h3, h4, h5, h6 {
    color: #ff00ff;
    text-shadow: 2px 2px #00ffff;
    margin-bottom: 10px;
    text-align: center;
}

/* =============================
   LINKS / BUTTONS
   ============================= */
a {
    color: #ff00ff;
    cursor: pointer;
}

a:hover {
    color: #00ffff;
    text-shadow: 1px 1px #ff00ff;
}

.buy-btn, .back-btn {
    display: inline-block;
    padding: 6px 10px;
    margin-top: 8px;
    background: #ff00ff;
    color: #fff;
    border: 2px outset #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.buy-btn:hover, .back-btn:hover {
    background: #00ffff;
    color: #000;
    transform: scale(1.1);
}

/* =============================
   MERCH GRID
   ============================= */
.merch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.merch-item {
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border: 2px outset #fff;
    width: 200px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(255,255,255,0.2);
    transition: all 0.2s ease-in-out;
}

.merch-item img {
    width: 100%;
    border: 2px solid #fff;
}

.merch-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(255,0,255,0.5);
}

/* =============================
   MODAL / POPUP
   ============================= */
.modal {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-content {
    background: #111;
    padding: 20px;
    border: 3px outset #fff;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #ff00ff;
}

.close-btn:hover {
    color: #00ffff;
}

/* =============================
   MISC
   ============================= */
body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #000;
}

body::-webkit-scrollbar-thumb {
    background: #ff00ff;
    border: 2px solid #00ffff;
    border-radius: 6px;
}

/* =============================
   MOBILE / RESPONSIVE
   ============================= */
@media screen and (max-width: 600px) {

    /* Stack banner elements vertically */
    .banner {
        flex-direction: column;
        align-items: center;
        padding: 10px 5px;
    }

    /* Center the title and remove absolute subtitle */
    .banner .subtitle {
        position: static;
        transform: none;
        font-size: 1.5em;
        margin-top: 4px;
    }

    .banner .title-container {
        align-items: center;
    }

    /* Navigation wraps under the banner */
    .banner .nav {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-top: 8px;
    }

    /* Scale merch items and iframes */
    .merch-item {
        width: 90%;
    }

    iframe {
        width: 100%;
        height: auto;
    }

    /* Smaller headings */
    h1, h2, h3 {
        font-size: 1.5em;
    }

    .buy-btn, .back-btn, .btn {
        font-size: 0.9em;
        padding: 5px 8px;
    }

    /* New Stuff section spacing */
    .new-stuff {
        padding: 10px;
    }
}

.box {
    max-width: 640px;
    margin: 32px auto 0 auto;
    padding: 24px 16px;
}

#shirt-color {
  color: #000;
  background: #fff;
  border: 2px solid #ccc;
}

#shirt-color option {
  color: #000;
  background: #fff;
}

#shirt-color, #shirt-color option {
    color: #000 !important;
    background: #fff !important;
}

.merch-item select {
  display: block;
  margin: 0 auto 8px auto;
  width: 80%;
  max-width: 160px;
  font-size: 1em;
  color: #000 !important;
  background: #fff !important;
  text-shadow: none !important;
}

#shirt-color option {
  color: #000 !important;
  background: #fff !important;
}

#pixelCanvas {
  pointer-events: none;
}
#pixelCanvas.enabled {
  pointer-events: auto;
}

.online-counter {
  color: #00ff00;
  font-weight: bold;
  text-shadow: 0 0 5px #00ff00;
}