* {
      border-radius: 0 !important;
      box-sizing: border-box;
    }

    @font-face {
      font-family: 'minecraftbold';
      src: url('fonts/minecraftbold-nmk1-webfont.woff2') format('woff2'),
           url('fonts/minecraftbold-nmk1-webfont.woff') format('woff');
    }
    @font-face {
      font-family: 'minecraftitalic';
      src: url('fonts/minecraftitalic-r8mo-webfont.woff2') format('woff2'),
           url('fonts/minecraftitalic-r8mo-webfont.woff') format('woff');
    }
    @font-face {
      font-family: 'minecraftregular';
      src: url('fonts/minecraftregular-bmg3-webfont.woff2') format('woff2'),
           url('fonts/minecraftregular-bmg3-webfont.woff') format('woff');
    }

    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      background: #0a0400;
      color: #cc7700;
      font-family: "minecraftregular", monospace;
      text-shadow: 2px 2px #1a0800;
      overflow-x: hidden;
    }

    #vanta-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    body::before {
      content: "";
      pointer-events: none;
      position: fixed;
      inset: 0;
      z-index: 9999;
      background:
        repeating-linear-gradient(
          to bottom,
          transparent 0px,
          transparent 2px,
          rgba(0, 0, 0, 0.18) 2px,
          rgba(0, 0, 0, 0.18) 4px
        );
      mix-blend-mode: multiply;
    }

    body::after {
      content: "";
      pointer-events: none;
      position: fixed;
      inset: 0;
      z-index: 9998;
      background: radial-gradient(
        ellipse at center,
        transparent 50%,
        rgba(0, 0, 0, 0.75) 100%
      );
      animation: flicker 6s infinite;
    }

    @keyframes flicker {
      0%   { opacity: 1; }
      88%  { opacity: 1; }
      90%  { opacity: 0.88; }
      91%  { opacity: 1; }
      94%  { opacity: 0.93; }
      96%  { opacity: 1; }
      100% { opacity: 1; }
    }

    #wrap {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 20px;
    }

    #content {
      text-align: center;
      max-width: 520px;
      width: 100%;
      background: rgba(10, 4, 0, 0.82);
      border: 1px solid #7a3300;
      padding: 32px 28px;
    }

    img {
      border: 1px solid #7a3300;
    }

    h1.mcbold {
      color: #ff8c00;
      font-family: "minecraftbold", monospace;
      margin: 10px 0 4px;
      font-size: 1.8em;
      text-shadow: 0 0 8px #ff4400, 3px 3px #1a0500;
    }

    h2 {
      transition: color 0.1s;
      user-select: none;
      cursor: pointer;
      margin: 20px 0 6px;
      font-size: 1em;
      color: #cc6600;
    }

    h2:hover {
      color: #ff8c00;
      text-shadow: 0 0 6px #ff6a00;
    }

    hr {
      border: none;
      border-top: 1px solid #5a2200;
      margin: 16px 0;
    }

    .about {
      font-size: 0.85em;
      line-height: 1.9;
      margin: 10px 0 16px;
      color: #bb6600;
    }

    .about p { margin: 4px 0; }

    .interests {
      list-style: none;
      padding: 0;
      margin: 6px 0 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }

    .interests li {
      font-size: 0.8em;
      background: rgba(21, 8, 0, 0.85);
      border: 1px solid #7a3300;
      padding: 4px 12px;
      color: #ff8c00;
    }

    #funFactBox {
      font-size: 0.8em;
      padding: 8px 14px;
      border: 1px solid #7a3300;
      background: rgba(17, 6, 0, 0.85);
      margin: 12px 0;
      transition: opacity 0.4s ease-in-out;
      opacity: 1;
      color: #dd7700;
    }

    .button {
      display: inline-block;
      padding: 10px 20px;
      margin: 6px;
      border: 1px solid #7a3300;
      background: rgba(26, 8, 0, 0.9);
      color: #cc7700;
      text-decoration: none;
      font-family: "minecraftregular", monospace;
      text-shadow: 2px 2px #0a0400;
      transition: color 0.1s, background 0.1s, border-color 0.1s;
      cursor: pointer;
      font-size: 0.9em;
    }

    .button:hover {
      color: #ff8c00;
      background: #2a0e00;
      border-color: #ff6a00;
      text-shadow: 0 0 6px #ff4400;
    }

    .dropdown-btns,
    .dropdown-btns1 {
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
    }

    .dropdown-container { margin-top: 4px; }

    #overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.88);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      cursor: pointer;
      transition: opacity 0.8s ease-out;
    }

    #clickText {
      font-size: 1.4em;
      color: #ff8c00;
      padding: 14px 28px;
      border: 1px solid #7a3300;
      background: rgba(14, 6, 0, 0.9);
      text-shadow: 0 0 10px #ff4400, 2px 2px #000;
    }

    #mainContent {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.8s ease-in;
    }

    #mainContent.visible {
      opacity: 1;
      visibility: visible;
    }

    @media screen and (max-width: 500px) {
      body { font-size: 0.7em; }
    }

    #player {
      position: fixed;
      bottom: 16px;
      right: 16px;
      width: 260px;
      background: rgba(10, 4, 0, 0.92);
      border: 1px solid #7a3300;
      z-index: 50;
      font-family: "minecraftregular", monospace;
      color: #cc7700;
      text-shadow: none;
      padding: 10px 12px;
    }

    #player-body {
      display: flex;
      flex-direction: column;
      gap: 7px;
    }

    #player-top {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    #album-art {
      width: 38px;
      height: 38px;
      object-fit: cover;
      flex-shrink: 0;
      background: #1a0800;
      border: 1px solid #7a3300;
    }

    #song-info { flex: 1; min-width: 0; }

    #song-title {
  font-family: "minecraftbold", monospace;
  font-size: 0.72em;
  color: #ff8c00;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

#song-title-inner {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
}

#song-title-inner.short {
  padding-left: 0;
  animation: none;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

    #song-artist {
      font-size: 0.6em;
      color: #7a4400;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: 1px;
    }

    #player-controls {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .ctrl-btn {
      background: none;
      border: none;
      color: #cc7700;
      cursor: pointer;
      font-size: 0.85em;
      padding: 3px 5px;
      transition: color 0.15s;
      text-shadow: none;
      line-height: 1;
    }

    .ctrl-btn:hover {
      color: #ff8c00;
      text-shadow: 0 0 6px #ff4400;
    }

    #play-btn { font-size: 1.1em; }

    #player-progress {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 0.58em;
      color: #7a4400;
    }

    #player-progress input[type=range] { flex: 1; }

    #player-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
    }

    #volume-row {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 0.7em;
    }

    input[type=range] {
      -webkit-appearance: none;
      appearance: none;
      height: 3px;
      background: #3a1800;
      outline: none;
      cursor: pointer;
    }

    input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 10px;
      height: 10px;
      background: #ff6a00;
      cursor: pointer;
    }

    #volume-slider { width: 56px; }

    #playlist-toggle {
      font-size: 0.58em;
      background: rgba(21, 8, 0, 0.9);
      border: 1px solid #7a3300;
      color: #cc7700;
      padding: 3px 7px;
      cursor: pointer;
      font-family: "minecraftregular", monospace;
      text-shadow: none;
      transition: background 0.15s, color 0.15s;
    }

    #playlist-toggle:hover {
      background: #2a0e00;
      color: #ff8c00;
    }

    #playlist-panel {
      position: fixed;
      bottom: calc(16px + 10px);
      right: 16px;
      width: 260px;
      background: rgba(8, 3, 0, 0.96);
      border: 1px solid #7a3300;
      z-index: 49;
      display: none;
      flex-direction: column;
      max-height: 300px;
      overflow: hidden;
      font-family: "minecraftregular", monospace;
      text-shadow: none;
    }

    #playlist-panel.open {
      display: flex;
      bottom: calc(16px + 148px);
    }

    #playlist-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      border-bottom: 1px solid #5a2200;
      font-size: 0.72em;
      color: #ff8c00;
      font-family: "minecraftbold", monospace;
    }

    #playlist-list { overflow-y: auto; flex: 1; }

    .pl-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      cursor: pointer;
      border-bottom: 1px solid #2a0e00;
      transition: background 0.1s;
      font-size: 0.68em;
    }

    .pl-item:hover { background: #1a0800; }
    .pl-item.active { background: #2a0e00; border-left: 2px solid #ff6a00; }

    .pl-art {
      width: 30px;
      height: 30px;
      object-fit: cover;
      background: #1a0800;
      flex-shrink: 0;
      border: 1px solid #5a2200;
    }

    .pl-info { flex: 1; min-width: 0; text-align: left; }
    .pl-name { color: #cc7700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pl-artist { color: #7a4400; font-size: 0.9em; margin-top: 1px; }