@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Share+Tech+Mono&display=swap');

  :root {
    --red: #cc0000;
    --red2: #ff2222;
  }

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

  #intro {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 9999;
    cursor: pointer;
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: opacity 0.8s ease;
  }
  #music-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}
#music-modal.open { display: flex; }
#music-modal-box {
  background: #0d0d0d;
  border: 1px solid #222;
  border-top: 3px solid var(--red);
  padding: 28px 28px 24px;
  width: min(360px, 90vw);
  position: relative;
}
#music-modal-box h3 {
  font-family: 'Russo One', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--red2);
  text-transform: uppercase;
  margin-bottom: 6px;
}
#music-modal-box p {
  font-size: 0.7rem;
  color: #555;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
#music-modal-box p strong { color: #aaa; }
#music-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none; border: none;
  color: #555; font-size: 1.2rem;
  cursor: pointer; line-height: 1;
  transition: color 0.15s;
}
#music-close:hover { color: #fff; }

.track-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #222;
  border-left: 3px solid transparent;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.track-item:hover { background: rgba(255,255,255,0.04); border-left-color: var(--red); }
.track-item.active {
  border-left-color: var(--red2);
  background: rgba(204,0,0,0.08);
}
.track-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: #444;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.track-item.active .track-num { color: var(--red2); }
.track-title {
  font-family: 'Russo One', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #aaa;
  text-transform: uppercase;
}
.track-item.active .track-title { color: #fff; }

@media (max-width: 768px) {
  #music-modal-box { padding: 22px 18px 20px; }
  #music-modal-box h3 { font-size: 0.82rem; }
  .track-item { padding: 12px 10px; }
  .track-title { font-size: 0.75rem; }
}
@media (max-width: 420px) {
  #music-modal-box { padding: 18px 14px 16px; }
  .track-title { font-size: 0.7rem; }
}
  #intro.hidden { opacity: 0; pointer-events: none; }
  #intro-text {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1rem, 3vw, 1.6rem);
    color: #fff;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    animation: blink 1.6s step-end infinite;
  }
  #intro-sub {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 0.15em;
  }
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
  }

  body {
    background: #000;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    min-height: 100vh;
    overflow-x: hidden;
  }
  #main-page {
    display: none;
    flex-direction: column;
    min-height: 100vh;
  }
  #main-page.visible { display: flex; }

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
  #bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.68);
  }

  nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 12px;
    min-height: 50px;
    background: rgba(0,0,0,0.92);
    border-bottom: 2px solid var(--red);
  }
  nav a, nav button.nav-btn {
    font-family: 'Russo One', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    color: #aaa;
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid transparent;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s, -webkit-text-stroke 0.15s;
  }
  nav a:hover, nav button.nav-btn:hover {
    color: #aaa;
    -webkit-text-stroke: transparent;
    border-color: var(--red);
    background: rgba(0,0,0,0.92);
  }

  #discord-banner {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 24px 12px 12px;
  }
  #discord-banner a {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.6rem, 4.5vw, 3.2rem);
    color: #ffffff;
    -webkit-text-stroke: 1.5px #cc0000;
    text-decoration:none;
    letter-spacing: 0.06em;
    transition: color 0.2s, -webkit-text-stroke 0.2s;
  }
  #discord-banner a:hover {
    color: #cc0000;
    -webkit-text-stroke: 1.5px #ffffff;
  }

  #panel-left {
    position: fixed;
    top: 68px;
    left: 16px;
    z-index: 20;
    width: 310px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  #panel-right {
    position: fixed;
    top: 68px;
    right: 16px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 190px;
  }

#discord-div img {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
#discord-div img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 4px 8px rgba(0,0,0,0.3);
}
#game-div {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  background: linear-gradient(135deg, #1e2124 0%, #2c2f33 50%, #36393f 100%);
  padding: 18px;
  border-radius: 0;
  border: 1px solid #222;
  border-left: 3px solid #ff2222;
  background-clip: padding-box;
  position: relative;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  max-width: 100%;
  margin: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
#game-div::before { display: none; }
#game-div:hover {
  transform: none;
  box-shadow: 0 6px 28px rgba(0,0,0,0.6);
  border-left-color: #e03737;
}
.image-status { position: relative; flex-shrink: 0; }
.image-status img {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}
.image-status img:hover {
  transform: scale(1.06);
  border-color: rgba(255,255,255,0.3);
}
#status-mini-icon {
  position: absolute; bottom: 2px; right: 2px;
  width: 20px; height: 20px;
  border: 2px solid #2c2f33;
  border-radius: 50%;
  display: grid; place-items: center;
  background: inherit;
  transition: all 0.2s ease;
}
#status-mini-icon:hover { transform: scale(1.1); }
#status-mini-icon-2 { display: block; width: 100%; height: 100%; border-radius: 50%; }
.status-div {
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  flex: 1;
  min-width: 0;
}
.status-div * { margin: 0; line-height: 1.4; }
#status {
  font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #e3e5e8);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
#note { font-size: 12px; font-style: italic; color: #888; }
#game { font-size: 13px; font-weight: 600; color: #ccc; }
#game-time {
  font-size: 11px; font-family: 'Share Tech Mono', monospace;
  background: rgba(0,0,0,0.4);
  padding: 3px 8px;
  border-radius: 0;
  display: inline-block; margin-top: 3px;
  border: 1px solid #333;
  color: #aaa;
  letter-spacing: 0.5px;
}
.nickname { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.nickname h1 {
  font-size: 22px; font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
}
.nickname #discord-status {
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 600; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.8px;
  transition: all 0.2s ease;
}
.status-online  { color: #57f287; border: 1px solid #57f287; background: rgba(87,242,135,0.1); }
.status-idle    { color: #fee75c; border: 1px solid #fee75c; background: rgba(254,231,92,0.1); }
.status-dnd     { color: #ed4245; border: 1px solid #ed4245; background: rgba(237,66,69,0.1); }
.status-offline { color: #747f8d; border: 1px solid #747f8d; background: rgba(116,127,141,0.1); }

  .crypto-card {
    background: rgba(0,0,0,0.85);
    border: 1px solid #222;
    border-left: 3px solid var(--red);
    padding: 9px 13px;
  }
  .crypto-name {
    font-family: 'Russo One', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--red2);
    text-transform: uppercase;
  }
  .crypto-price { font-size: 1rem; color: #fff; margin-top: 3px; }
  .crypto-change { font-size: 0.7rem; margin-top: 2px; }
  .up   { color: #4caf50; }
  .down { color: #f44336; }
  .crypto-loading { color: #555; font-size: 0.75rem; }

  #vol-wrap {
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.82);
    border: 1px solid #222;
    border-left: 3px solid var(--red);
    padding: 7px 12px;
  }
  #vol-wrap label {
    font-family: 'Russo One', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--red2);
    text-transform: uppercase;
    white-space: nowrap;
  }
  #vol-slider {
    -webkit-appearance: none; appearance: none;
    width: 90px; height: 3px;
    background: #333; outline: none; cursor: pointer;
  }
  #vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    background: var(--red); cursor: pointer;
  }
  #vol-slider::-moz-range-thumb {
    width: 12px; height: 12px;
    background: var(--red); border: none; cursor: pointer;
  }
  #vol-val { font-size: 0.65rem; color: #666; width: 28px; text-align: right; }

  #wp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
  }
  #wp-modal.open { display: flex; }
  #wp-modal-box {
    background: #0d0d0d;
    border: 1px solid #222;
    border-top: 3px solid var(--red);
    padding: 28px 28px 24px;
    width: min(360px, 90vw);
    position: relative;
  }
  #wp-modal-box h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--red2);
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  #wp-modal-box p {
    font-size: 0.7rem;
    color: #555;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
  }
  .wp-btns {
    display: flex;
    gap: 10px;
  }
  .wp-btn {
    flex: 1;
    font-family: 'Russo One', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 1px solid #333;
    border-left: 3px solid var(--red);
    padding: 12px 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, border-color 0.2s;
  }
  .wp-btn:hover {
    background: rgba(204,0,0,0.1);
    border-color: var(--red2);
  }
  .wp-btn span.wp-icon { font-size: 1.4rem; }
  .wp-btn span.wp-label { font-size: 0.7rem; color: #aaa; }
  #wp-close {
    position: absolute;
    top: 10px; right: 14px;
    background: none; border: none;
    color: #555; font-size: 1.2rem;
    cursor: pointer; line-height: 1;
    transition: color 0.15s;
  }
  #wp-close:hover { color: #fff; }

  footer {
    position: relative;
    z-index: 10;
    margin-top: auto;
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
    color: #cc0000;
  }

  @media (max-width: 768px) {

    nav {
      padding: 4px 8px;
      gap: 2px;
      min-height: 44px;
      justify-content: flex-start;
      overflow-x: auto;
      flex-wrap: nowrap;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    nav::-webkit-scrollbar { display: none; }
    nav a, nav button.nav-btn {
      padding: 10px 12px;
      font-size: 0.78rem;
      letter-spacing: 0.06em;
      white-space: nowrap;
      flex-shrink: 0;
      min-height: 44px;
      display: flex;
      align-items: center;
    }

    #discord-banner {
      padding: 14px 12px 8px;
    }
    #discord-banner a {
      font-size: clamp(1.4rem, 6vw, 2.4rem);
      letter-spacing: 0.04em;
    }

    #panel-left, #panel-right {
      position: relative;
      top: auto; left: auto; right: auto;
      width: 100%;
    }
    #panels-mobile {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 10px 10px 0;
      position: relative;
      z-index: 10;
    }
    #panel-right {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 8px;
    }

    #game-div {
      gap: 14px;
      padding: 14px;
    }
    .image-status img {
      width: 58px;
      height: 58px;
    }
    .nickname h1 {
      font-size: 18px;
    }
    #status { font-size: 13px; }
    #note   { font-size: 11px; }
    #game   { font-size: 12px; }
    #game-time { font-size: 10px; }

    .crypto-card {
      flex: 1 1 calc(50% - 4px);
      min-width: 120px;
      padding: 10px 12px;
    }
    .crypto-name  { font-size: 0.68rem; }
    .crypto-price { font-size: 0.9rem; }
    .crypto-change { font-size: 0.68rem; }

    #vol-wrap {
      position: fixed;
      bottom: 0;
      right: 0;
      left: 0;
      width: 100%;
      border-left: none;
      border-top: 2px solid var(--red);
      border-right: none;
      border-bottom: none;
      padding: 10px 16px;
      border-radius: 0;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
    #vol-slider {
      flex: 1;
      width: auto;
      height: 6px;
    }
    #vol-slider::-webkit-slider-thumb {
      width: 20px;
      height: 20px;
    }
    #vol-slider::-moz-range-thumb {
      width: 20px;
      height: 20px;
    }
    #vol-val { font-size: 0.7rem; }

    #wp-modal-box {
      padding: 22px 18px 20px;
    }
    #wp-modal-box h3 { font-size: 0.82rem; }
    .wp-btns { flex-direction: column; gap: 8px; }
    .wp-btn {
      padding: 14px 10px;
      font-size: 0.82rem;
      min-height: 52px;
    }

    .contactForm { padding: 14px 12px; }
    .contactForm input,
    .contactForm textarea { font-size: 0.7rem; padding: 9px 10px; }
    .contactForm textarea { height: 70px; }
    .contactForm #sendBtn {
      font-size: 0.7rem;
      padding: 12px;
      min-height: 48px;
    }
    #contact-box { width: 100%; }

    footer {
      padding-bottom: calc(56px + env(safe-area-inset-bottom));
      font-size: 0.62rem;
    }
  }

  @media (max-width: 420px) {
    nav a, nav button.nav-btn {
      padding: 10px 9px;
      font-size: 0.6rem;
    }

    #game-div {
      padding: 12px;
      gap: 10px;
    }
    .image-status img {
      width: 50px;
      height: 50px;
    }
    .nickname h1 { font-size: 16px; }
    .nickname #discord-status { font-size: 9px; padding: 2px 6px; }

    .crypto-card {
      flex: 1 1 100%;
    }

    #discord-banner a {
      font-size: clamp(1.1rem, 7vw, 1.8rem);
    }

    #intro-text {
      font-size: clamp(0.85rem, 4vw, 1.2rem);
      letter-spacing: 0.15em;
    }

    #wp-modal-box { padding: 18px 14px 16px; }
    .wp-btn { font-size: 0.78rem; }
  }

  .contactForm {
    background: rgba(0,0,0,0.82);
    border: 1px solid #222;
    border-left: 3px solid var(--red);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
  }
  .contactForm label {
    display: block;
    font-family: 'Russo One', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 4px;
    margin-top: 10px;
  }
  .contactForm label:first-child { margin-top: 0; }
  .contactForm br { display: none; }
  .contactForm input,
  .contactForm textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: none;
    border-bottom: 1px solid var(--red);
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.82rem;
    padding: 7px 10px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    resize: none;
  }
  .contactForm input:focus,
  .contactForm textarea:focus {
    border-bottom-color: var(--red2);
    background: rgba(204,0,0,0.05);
  }
  .contactForm textarea { height: 72px; }
  .contactForm .cf-turnstile { margin-top: 12px; }
  .contactForm #formError { font-size: 0.72rem; margin-top: 6px; }
  .contactForm #sendBtn {
    margin-top: 12px;
    width: 100%;
    font-family: 'Russo One', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 1px solid var(--red);
    padding: 9px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .contactForm #sendBtn:hover { background: var(--red); }
  .contactForm #sendBtn:disabled { opacity: 0.5; cursor: not-allowed; }