/* -------------------------- © 2025 - ZiolKen • ジオルケン -------------------------- */

    * {
        cursor: url(assets/cursor.png) 16 16, auto !important;
    }

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

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: white;
      /*
      background: url(https://r2.guns.lol/66859255-5918-4218-9bd3-0488061afbe3.mp4);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      */
      overflow: visible;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }
    
    #bg-video {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -100;
    }

    @font-face {
      font-family: 'Chillax';
      src: url('fonts/chillax.ttf') format('truetype');
      font-weight: 500;
      font-display: swap;
      font-style: normal;
    }

    @font-face {
      font-family: 'BitcountGridDouble';
      src: url('fonts/bitcountgriddouble.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }

    @font-face {
      font-family: 'EduVICWANTHand';
      src: url('fonts/eduvicwanthand.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }

    @font-face {
      font-family: 'NotoSerifJP';
      src: url('fonts/notoserifjp.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }

    #enter-overlay {
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 999999;
      display: flex;
      justify-content: center;
      align-items: center;
      letter-spacing: 0.2em;
      text-align: center;
      transition: opacity 0.6s ease;
      cursor: pointer;
      pointer-events: all;
    }

    #enter-overlay.hidden {
      pointer-events: none;
    }

    #enter-text {
      font-family: 'BitcountGridDouble', monospace;
      color: #f9a8d4;
      font-size: 2rem;
      letter-spacing: 0.3rem;
      cursor: pointer;
      animation: pulse 2s infinite;
      pointer-events: none;
      font-weight: bold;
      text-shadow: 0 0 10px #f9a8d4, 0 0 30px #a855f7;
    }

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

    #music-toggle-wrapper {
      display: flex;
      align-items: center;
      gap: 15px;
      position: fixed;
      top: 15px;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      left: 15px;
      padding: 12px;
      border-radius: 18px;
      background: rgba(250, 250, 250, 0.05);
      border: 2px solid rgba(250, 250, 250, 0.2);
      box-shadow: 0 8px 32px 0 rgba(168, 85, 247, 0.15);
      cursor: pointer;
      overflow: hidden;
      width: 64px;
      height: 64px;
      transition: width 0.4s ease, box-shadow 0.3s ease;
      z-index: 9999;
    }

    #music-toggle-wrapper:hover {
      width: 200px;   
      box-shadow: 0 8px 32px rgba(168,85,247,0.25);
    }

    #music-volume-slider {
      -webkit-appearance: none;
      width: 120px;
      height: 6px;
      -webkit-backdrop-filter: blur(8px);
      background: rgba(188,122,191,0.4);
      border-radius: 3px;
      outline: none;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.3s ease;
      transform: translateX(-20px); 
    }

    #music-toggle-wrapper:hover #music-volume-slider {
      opacity: 1;
      pointer-events: all;
      transform: translateX(0);
    }

    #music-volume-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 16px;
      height: 16px;
      background: rgba(188,122,191,1);
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,0.2);
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    #music-volume-slider::-moz-range-thumb {
      width: 16px;
      height: 16px;
      background: rgba(188,122,191,1);
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,0.2);
      cursor: pointer;
    }

    #music-toggle {
      width: 35px;
      height: auto;
      transform-style: preserve-3d;
      backface-visibility: hidden;
      will-change: transform;
      transition: all 0.3s ease-in-out;
      cursor: pointer;
      background: transparent;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    #music-toggle:hover {
      transform: scale(1.1);
    }
    
    #particles-js {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: -1;
    }

    .overlay {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      padding: 2rem 2rem;
      border-radius: 48px;
      text-align: center;
      max-width: 450px;
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      --hover-scale: 1;
      transform-style: preserve-3d;
      transform: scale(var(--hover-scale)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
      width: 95vw;
      overflow: visible;
      background-clip: padding-box;
      gap: 0.5rem;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      transition: all 0.3s ease-in-out;
      background: rgba(250, 250, 250, 0.05);
      border: 2px solid rgba(250, 250, 250, 0.2);
      box-shadow: 0 8px 32px 0 rgba(168, 85, 247, 0.15);
    }
    
    .overlay:hover {
      --hover-scale: 1.1;
      border-color: rgba(250, 250, 250, 0.3);
      box-shadow: 0 0 7px rgba(250, 250, 250, 0.2), 0 0 15px rgba(250, 250, 250, 0.1);
    }
    
    .avatar-border:hover,
    .discord-card:hover {
      transform: scale(1.1);
      background: rgba(168, 85, 247, 0.08);
      border-color: rgba(168, 85, 247, 0.3);
      box-shadow: 0 12px 40px 0 rgba(168, 85, 247, 0.25);
    }
    
    .overlay.show {
      animation: popIn 0.6s ease-in-out;
      opacity: 1;
      --rx: 0deg;
      --ry: 0deg;
      --hover-scale: 1;
      pointer-events: auto;
    }
    
    @keyframes popIn {
      0% {
        transform: scale(0);
        opacity: 0;
      }

      100% {
        transform: scale(1);
        opacity: 1;
      }
    }
    
    .grid-bg {
      background-image:
        linear-gradient(rgba(168, 85, 247, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.1) 1px, transparent 1px);
      background-size: 50px 50px;
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: -1;
      opacity: 0.3;
    }

/* ------------- ███████╗██╗░█████╗░██╗░░░░░██╗░░██╗███████╗███╗░░██╗ ------------- */
/* ------------- ╚════██║██║██╔══██╗██║░░░░░██║░██╔╝██╔════╝████╗░██║ ------------- */
/* ------------- ░░███╔═╝██║██║░░██║██║░░░░░█████═╝░█████╗░░██╔██╗██║ ------------- */
/* ------------- ██╔══╝░░██║██║░░██║██║░░░░░██╔═██╗░██╔══╝░░██║╚████║ ------------- */
/* ------------- ███████╗██║╚█████╔╝███████╗██║░╚██╗███████╗██║░╚███║ ------------- */
/* ------------- ╚══════╝╚═╝░╚════╝░╚══════╝╚═╝░░╚═╝╚══════╝╚═╝░░╚══╝ ------------- */

    .profile {
      display: flex;
      position: relative;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      gap: 5px;
      margin-bottom: 0.5rem;
      width: 100%;
    }

    .avatar-wrapper {
      flex-shrink: 0;
    }

    .avatar-border {
      padding: 4px;
      border: 2px solid rgba(250, 250, 250, 0.2);
      border-radius: 50%;
      transition: all 0.3s ease-in-out;
      text-align: left;
      align-items: flex-start;
      display: inline-block;
      box-shadow: 0 0 15px rgba(250, 250, 250, 0.2), 0 0 30px rgba(250, 250, 250, 0.1);
    }

    .avatar {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      display: block;
    }

    .text-group {
      display: flex;
      position: relative;
      flex-direction: column;
      justify-content: center;
      gap: 0.1rem;
      min-height: 70px;
      min-width: 190px;
      margin-left: 5px;
      flex-grow: 1;
      margin-top: -18px;
      text-align: left;
    }

    .text-group h1,
    .text-group p {
      display: inline-block;
      vertical-align: center;
    }

    .text-group h1 {
      font-family: 'Chillax', monospace;
      min-height: 40px;
      font-size: 1.8rem;
      font-weight: 500;
      background: linear-gradient(90deg, #a855f7, #f9a8d4);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 0 6px #f9a8d4, 0 0 12px #a855f7;
    }

    .text-group p {
      font-family: 'Chillax', monospace;
      min-height: 50px;
      min-height: 1.8rem;
      font-weight: 400;
      font-size: 1.1rem;
      opacity: 0.85;
      margin-top: 0.1rem;
      color: #80ef80;
      text-shadow: 0 0 4px #80ef80, 0 0 8px #80ef80;
    }

    .typing {
      border-right: 2px solid white;
      animation: blink-caret 0.8s steps(1) infinite;
      display: inline-block;
    }

    @keyframes blink-caret {
      0%, 100% { border-color: white; }
      50% { border-color: transparent; }
    }

    .btn img {
      filter: drop-shadow(0 0 15px #f9a8d4) drop-shadow(0 0 15px #a855f7);
      width: 40px;
      height: 40px;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    .btn img:hover {
      transform: scale(1.1);
      filter: drop-shadow(0 0 20px #f9a8d4) drop-shadow(0 0 20px #a855f7);
    }

    .links {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 0.5rem;
      flex-wrap: wrap;
      margin-bottom: 0.5rem;
      width: 100%;
    }

    .links .btn {
      filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.6)) drop-shadow(0 0 30px rgba(249, 168, 212, 0.5));
      display: inline-flex;
      transition: background 0.3s ease, transform 0.2s ease;
      cursor: pointer;
    }

    .links .btn img {
      filter: brightness(1);
      transition: filter 0.3s ease;
    }

    .links .btn:hover {
      background: rgba(255, 255, 255, 0.35);
    }

    #bmc-wbtn {
      box-shadow: 0 0 15px #bd5fff, 0 0 30px #bd5fff;
      transition: box-shadow 0.3s ease-in-out;
    }

    @keyframes glow-pulse {
      0% {
        box-shadow: 0 0 5px #bd5fff, 0 0 10px #bd5fff;
      }
      50% {
        box-shadow: 0 0 20px #bd5fff, 0 0 40px #bd5fff;
      }
      100% {
        box-shadow: 0 0 5px #bd5fff, 0 0 10px #bd5fff;
      }
    }

    #bmc-wbtn {
      animation: glow-pulse 2s infinite;
    }

    .cursor-pulse {
      position: fixed;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.8);
      pointer-events: none;
      mix-blend-mode: difference;
      transform: translate(-50%, -50%);
      animation: Cpulse 1.2s infinite;
      z-index: 999999;
    }

    @keyframes Cpulse {
      0% {
        box-shadow:
          0 0 6px rgba(255,255,255,0.6),
          0 0 12px rgba(255,255,255,0.4),
          0 0 18px rgba(255,255,255,0.2);
        opacity: 1;
      }
      50% {
        box-shadow:
          0 0 20px rgba(255,255,255,1.1),
          0 0 40px rgba(255,255,255,0.8),
          0 0 60px rgba(255,255,255,0.5);
        opacity: 1;
      }
      100% {
        box-shadow:
          0 0 6px rgba(255,255,255,0.6),
          0 0 12px rgba(255,255,255,0.4),
          0 0 18px rgba(255,255,255,0.2);
        opacity: 1;
      }
    }

    .discord-card {
      width: 100%;
      height: 85px;
      padding: 10px;
      transition: all 0.3s ease-in-out;
      margin-bottom: 10px;
      border-radius: 25px;
      background: rgba(255, 255, 255, 0.05);
      border: 1.5px solid rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    .discord-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .discord-avatar {
      position: relative;
      width: 60px;
      height: 60px;
    }

    .discord-avatar img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,0.2);
    }

    .status-dot {
      position: absolute;
      bottom: 2px;
      right: 2px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      border: 2px solid #1e1e1e;
    }

    .status-dot.online  { background: #02c46c; }
    .status-dot.idle    { background: #faa61a; }
    .status-dot.dnd     { background: #f04747; }
    .status-dot.offline { background: #747f8d; }

    .discord-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
    }

    .discord-text h2 {
      font-size: 17px;
      margin: 0;
      font-weight: 600;
      color: #fff;
      align-items: flex-start;
    }

    .discord-text p {
      font-size: 13px;
      align-items: flex-start;
      color: rgba(255,255,255,0.7);
    }
    
    .cyber-grid {
      background-image:
        repeating-linear-gradient(0deg,
          transparent,
          transparent 2px,
          rgba(168, 85, 247, 0.03) 2px,
          rgba(168, 85, 247, 0.03) 4px);
    }
    
    @media (max-width: 768px) {
      .overlay {
        transform: none !important;
        --rx: 0deg;
        --ry: 0deg;
        --hover-scale: 1;
      }
    }
    
    @supports (-webkit-touch-callout: none) {
      .overlay {
        transform: none !important;
        --rx: 0deg;
        --ry: 0deg;
        --hover-scale: 1;
      }
    }
    
/* -------------------------- © 2025 - ZiolKen • ジオルケン -------------------------- */
