@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Courier+Prime&display=swap');

  :root {
    --fun-font: 'Fredoka One', 'Comic Sans MS', cursive;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  #password-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000080;
    background-image: repeating-linear-gradient(45deg, #000080 0px, #000080 10px, #0000a0 10px, #0000a0 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  #password-box {
    background: #000033;
    border: 4px ridge #ffff00;
    padding: 32px 40px;
    text-align: center;
    box-shadow: 0 0 0 4px #ff00ff;
    max-width: 340px;
    width: 90%;
  }

  #password-box h2 {
    font-family: Impact, sans-serif;
    font-size: 22px;
    color: #ffff00;
    text-shadow: 2px 2px #ff00ff;
    letter-spacing: 3px;
    border: none;
    margin-bottom: 8px;
  }

  #password-box p {
    font-size: 12px;
    color: #aaaaaa;
    margin-bottom: 20px;
  }

  #password-input {
    background: #000;
    border: 2px solid #ffff00;
    color: #ffff00;
    padding: 8px;
    font-family: var(--fun-font);
    font-size: 16px;
    width: 100%;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 12px;
  }

  #password-submit {
    background: #ff00ff;
    color: #ffffff;
    border: 2px solid #ffff00;
    padding: 8px 24px;
    font-family: var(--fun-font);
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
  }

  #password-submit:hover { background: #cc00cc; }

  #password-error {
    color: #ff0000;
    font-size: 13px;
    margin-top: 10px;
    min-height: 18px;
  }

  body {
    background-color: #000080;
    background-image: repeating-linear-gradient(
      45deg,
      #000080 0px, #000080 10px,
      #0000a0 10px, #0000a0 20px
    );
    font-family: var(--fun-font);
    color: #ffff00;
    min-height: 100vh;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext y='24' font-size='24'%3E⭐%3C/text%3E%3C/svg%3E") 0 0, auto;
  }

  #main-wrapper {
    max-width: 780px;
    margin: 0 auto;
    background: #000080;
    border: 4px ridge #ffff00;
    padding: 0;
    box-shadow: 0 0 0 4px #ff00ff, 0 0 0 8px #ffff00;
  }

  #header {
    background: #ff00ff;
    text-align: center;
    padding: 10px;
    border-bottom: 4px ridge #ffff00;
    position: relative;
  }

  #logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .logo-guy {
    width: 60px;
    height: 60px;
  }

  #site-title {
    font-size: 40px;
    font-weight: 900;
    color: #ffff00;
    text-shadow: 3px 3px #ff0000, -1px -1px #00ffff;
    letter-spacing: 4px;
    font-family: Impact, 'Arial Black', sans-serif;
    text-transform: uppercase;
  }

  #tagline {
    font-size: 13px;
    color: #00ffff;
    font-style: italic;
    margin-top: 2px;
    letter-spacing: 2px;
  }

  .marquee-bar {
    background: #ff0000;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 2px solid #ffff00;
    border-bottom: 2px solid #ffff00;
  }

  .marquee-inner {
    display: inline-block;
    animation: scroll-left 18s linear infinite;
  }

  @keyframes scroll-left {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
  }

  #nav {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #008000;
    border-bottom: 3px ridge #ffff00;
    flex-wrap: wrap;
  }

  .nav-btn {
    background: #008000;
    color: #ffffff;
    border: none;
    border-right: 2px ridge #ffff00;
    padding: 8px 18px;
    font-family: var(--fun-font);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.1s;
  }

  a.nav-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    line-height: normal;
  }

  .nav-btn:hover { background: #00aa00; color: #ffff00; }
  .nav-btn.active { background: #005500; color: #00ffff; text-decoration: underline; }

  #content {
    padding: 16px;
    min-height: 340px;
  }

  .page { display: none; }
  .page.active { display: block; }

  h2 {
    font-family: Impact, sans-serif;
    font-size: 26px;
    color: #00ffff;
    text-shadow: 2px 2px #ff00ff;
    text-transform: uppercase;
    border-bottom: 2px dashed #ffff00;
    margin-bottom: 12px;
    padding-bottom: 4px;
    letter-spacing: 3px;
  }

  p {
    font-size: 14px;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 10px;
  }

  #countdown-box {
    background: #000;
    border: 3px ridge #00ffff;
    box-shadow: 0 0 0 3px #ff00ff;
    padding: 14px 12px;
    margin: 14px 0;
    text-align: center;
  }

  #countdown-label {
    font-family: Impact, sans-serif;
    font-size: 13px;
    color: #ff00ff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  #countdown-clock {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .cd-unit {
    background: #000033;
    border: 2px inset #aaaaaa;
    padding: 6px 4px;
    min-width: 62px;
  }

  .cd-num {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 26px;
    font-weight: bold;
    color: #00ff00;
    letter-spacing: 2px;
  }

  .cd-word {
    display: block;
    font-size: 10px;
    color: #888888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
  }

  #countdown-note {
    font-size: 11px;
    color: #555555;
    font-style: italic;
    margin-top: 8px;
  }

  #countdown-box.arrived #countdown-label { color: #ffff00; }
  #countdown-box.arrived .cd-num { color: #ffff00; }

  .under-construction {
    text-align: center;
    padding: 20px;
    border: 3px dashed #ff0000;
    background: #000;
    margin: 10px 0;
  }

  .under-construction img { width: 48px; }

  .flash {
    animation: flash 0.5s step-end infinite;
    color: #ff0000;
    font-weight: bold;
  }

  @keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  .member-card {
    background: #000033;
    border: 2px ridge #00ffff;
    padding: 10px 14px;
    margin-bottom: 14px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .member-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 2px solid #ffff00;
    background: #ff00ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
  }

  .member-name {
    font-family: Impact, sans-serif;
    font-size: 18px;
    color: #ffff00;
    text-transform: uppercase;
  }

  .member-nickname {
    font-size: 11px;
    color: #ff00ff;
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 2px;
    text-transform: uppercase;
  }

  .member-title {
    font-size: 12px;
    color: #00ffff;
    font-style: italic;
    margin-bottom: 4px;
  }

  .member-bio { font-size: 13px; color: #cccccc; margin-bottom: 8px; }

  .member-sw {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    font-size: 11px;
  }

  .member-sw-col {
    flex: 1;
    background: #000022;
    border: 1px solid #333;
    padding: 6px 8px;
  }

  .member-sw-col strong {
    display: block;
    color: #00ffff;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  .member-sw-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .member-sw-col ul li {
    color: #aaaaaa;
    font-size: 11px;
    padding: 1px 0;
  }

  .member-sw-col ul li::before { content: "• "; color: #555; }

  .member-accolades {
    margin-top: 8px;
    font-size: 11px;
  }

  .member-accolades strong {
    display: block;
    color: #ffff00;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 3px;
    text-transform: uppercase;
  }

  .member-accolades ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .member-accolades ul li {
    color: #aaaaaa;
    font-size: 11px;
    padding: 1px 0;
  }

  .member-accolades ul li::before { content: "★ "; color: #ffff00; font-size: 9px; }

  .store-item {
    background: #330000;
    border: 2px ridge #ff0000;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .store-item-name { font-size: 15px; color: #ffff00; font-weight: bold; }
  .store-item-price { font-size: 18px; color: #00ff00; font-family: Impact, sans-serif; }
  .tally-count { font-size: 11px; color: #00ff00; margin-top: 3px; min-height: 14px; }

  #admin-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    flex-direction: column;
  }
  #admin-screen.visible { display: flex; }
  #admin-login-box {
    background: #0a0a0a;
    border: 3px solid #00ff00;
    padding: 30px 40px;
    text-align: center;
    max-width: 340px;
    width: 90%;
    font-family: 'Courier New', monospace;
  }
  #admin-login-box h2 { color: #00ff00; font-size: 18px; margin-bottom: 6px; letter-spacing: 3px; }
  #admin-login-box p { color: #555; font-size: 11px; margin-bottom: 20px; }
  #admin-pw-input {
    background: #000;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    width: 100%;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 10px;
  }
  #admin-pw-submit {
    background: #003300;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 7px 20px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    letter-spacing: 2px;
  }
  #admin-pw-submit:hover { background: #005500; }
  #admin-pw-error { color: #ff0000; font-size: 12px; margin-top: 8px; min-height: 16px; font-family: 'Courier New', monospace; }

  #admin-panel {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 30px;
    font-family: 'Courier New', monospace;
    background: #000;
  }
  #admin-panel.visible { display: block; }
  #admin-panel h1 { color: #00ff00; font-size: 20px; letter-spacing: 4px; border-bottom: 1px solid #00ff00; padding-bottom: 10px; margin-bottom: 20px; }
  .admin-section { margin-bottom: 30px; }
  .admin-section h3 { color: #00ffff; font-size: 13px; letter-spacing: 3px; margin-bottom: 12px; border-bottom: 1px dashed #333; padding-bottom: 6px; }
  .admin-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid #111; font-size: 13px; color: #aaa; }
  .admin-row .label { color: #fff; }
  .admin-row .count { color: #00ff00; font-size: 18px; font-weight: bold; min-width: 40px; text-align: right; }
  .admin-gb-entry { padding: 8px 0; border-bottom: 1px solid #111; font-size: 12px; }
  .admin-gb-name { color: #ffff00; }
  .admin-gb-msg { color: #ccc; margin-left: 8px; }
  .admin-gb-date { color: #555; margin-left: 8px; font-size: 11px; }
  .admin-email-entry { padding: 6px 0; border-bottom: 1px solid #111; font-size: 12px; color: #aaa; }
  .admin-email-date { color: #555; font-size: 11px; }
  #admin-close-btn { background: #1a0000; color: #ff4444; border: 1px solid #ff4444; padding: 8px 20px; font-family: 'Courier New', monospace; font-size: 12px; cursor: pointer; letter-spacing: 2px; margin-bottom: 20px; }
  #admin-close-btn:hover { background: #330000; }
  #admin-reset-btn { background: #000; color: #ff0000; border: 1px solid #ff0000; padding: 6px 14px; font-family: 'Courier New', monospace; font-size: 11px; cursor: pointer; letter-spacing: 1px; margin-left: 10px; }
  #admin-reset-btn:hover { background: #1a0000; }

  .buy-btn {
    background: #ff0000;
    color: #ffffff;
    border: 2px solid #ffff00;
    padding: 6px 14px;
    font-family: var(--fun-font);
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
  }

  .buy-btn:hover { background: #cc0000; }

  #email-box {
    background: #003300;
    border: 2px ridge #00ff00;
    padding: 14px;
    margin-bottom: 14px;
  }

  .email-q { color: #00ffff; font-weight: bold; font-size: 14px; margin-bottom: 4px; }
  .email-a { color: #ffffff; font-size: 13px; margin-bottom: 0; }
  .email-from { color: #aaaaaa; font-size: 11px; font-style: italic; margin-top: 4px; }

  #email-submit input {
    background: #000;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 6px;
    font-family: var(--fun-font);
    font-size: 13px;
    width: 60%;
    margin-right: 8px;
  }

  #email-submit button {
    background: #00aa00;
    color: #fff;
    border: 2px solid #00ff00;
    padding: 6px 14px;
    font-family: var(--fun-font);
    font-weight: bold;
    cursor: pointer;
  }

  #footer {
    background: #330033;
    border-top: 3px ridge #ffff00;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #aaaaaa;
  }

  #visitor-counter {
    display: inline-block;
    background: #000;
    border: 2px inset #aaaaaa;
    padding: 2px 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff00;
    letter-spacing: 3px;
    margin: 4px 0;
  }

  .gif-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 10px 0;
    font-size: 28px;
  }

  .spin { animation: spin 2s linear infinite; display: inline-block; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .bounce { animation: bounce 0.6s ease-in-out infinite alternate; display: inline-block; }
  @keyframes bounce { to { transform: translateY(-8px); } }

  .wobble { animation: wobble 1s ease-in-out infinite; display: inline-block; }
  @keyframes wobble {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
  }

  @media (max-width: 600px) {
    body { font-family: var(--fun-font); font-size: 15px; }

    #password-box { padding: 24px 20px; width: 92%; }
    #password-box h2 { font-size: 18px; letter-spacing: 1px; }
    #password-box p { font-size: 14px; }
    #password-input { font-size: 18px; padding: 10px; font-family: var(--fun-font); }
    #password-submit { font-size: 15px; padding: 12px; font-family: var(--fun-font); }

    #admin-login-box { padding: 24px 20px; width: 92%; }
    #admin-login-box h2 { font-size: 16px; }
    #admin-pw-input { font-size: 18px; padding: 10px; font-family: var(--fun-font); }
    #admin-pw-submit { font-size: 14px; padding: 12px; font-family: var(--fun-font); }

    #site-title { font-size: 20px; letter-spacing: 1px; }
    #tagline { font-size: 12px; letter-spacing: 0; }
    #logo-area { gap: 8px; padding: 8px; }
    #logo-area > div:first-child,
    #logo-area > div:last-child { font-size: 24px; }

    #nav { gap: 4px; padding: 6px 4px; flex-wrap: wrap; justify-content: center; }
    .nav-btn { font-size: 13px; padding: 7px 9px; letter-spacing: 0; font-family: var(--fun-font); }

    #content { padding: 12px 10px; }
    .page h2 { font-size: 20px; }
    .page p { font-size: 15px; line-height: 1.6; font-family: var(--fun-font); }
    .page li { font-size: 14px; line-height: 1.6; font-family: var(--fun-font); }

    .member-card { flex-direction: column; gap: 8px; }
    .member-avatar { font-size: 28px; }
    .member-name { font-size: 16px; }
    .member-nickname { font-size: 12px; }
    .member-bio { font-size: 14px; line-height: 1.6; font-family: var(--fun-font); }
    .member-sw { flex-direction: column; }
    .member-sw-col ul li { font-size: 13px; line-height: 1.5; font-family: var(--fun-font); }
    .member-sw-col strong { font-size: 11px; }
    .member-accolades ul li { font-size: 13px; line-height: 1.5; font-family: var(--fun-font); }

    #countdown-clock { gap: 5px; }
    .cd-unit { min-width: 0; flex: 1; padding: 6px 2px; }
    .cd-num { font-size: 22px; letter-spacing: 1px; }
    .cd-word { font-size: 9px; letter-spacing: 1px; }
    #countdown-label { font-size: 12px; letter-spacing: 2px; }
    #countdown-note { font-size: 11px; font-family: var(--fun-font); }

    .store-item-name { font-size: 15px; }
    .store-item-price { font-size: 18px; }
    select, input[type="text"], input[type="email"] {
      font-size: 16px !important;
      font-family: var(--fun-font) !important;
    }
    .buy-btn { font-size: 13px; padding: 8px 14px; font-family: var(--fun-font); }

    .marquee-bar { font-size: 12px; font-family: var(--fun-font); }

    #footer { font-size: 12px; padding: 12px 10px; font-family: var(--fun-font); line-height: 1.7; }
    #visitor-counter { font-size: 22px; }

    #admin-panel { padding: 16px 12px; }
    #admin-panel h1 { font-size: 15px; letter-spacing: 1px; }
    .admin-section h3 { font-size: 12px; letter-spacing: 1px; }
    .admin-row { font-size: 13px; font-family: var(--fun-font); }
    .admin-row .count { font-size: 16px; }
    .admin-gb-entry, .admin-email-entry { font-size: 13px; font-family: var(--fun-font); line-height: 1.5; }
  }
