:root {
  --bg-dark: #121212;
  --bg-card: rgba(26, 26, 26, 0.65);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;
  --gold-led: #ffd700;
  --white-led: #ffffff;
  --pill-bg: rgba(255, 255, 255, 0.05);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

::selection {
  background: transparent;
  color: inherit;
}

::-moz-selection {
  background: transparent;
  color: inherit;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

body, button, a, input {
  cursor: none !important;
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffd700, 0 0 20px #ffffff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 215, 0, 0.45);
  background: rgba(255, 215, 0, 0.05);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cursor-follower.hovered {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.35);
}

.cursor-follower.active {
  transform: translate(-50%, -50%) scale(0.8);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
}

.glow-bg {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.header {
  position: sticky;
  top: 24px;
  display: flex;
  justify-content: center;
  z-index: 100;
  padding: 0 16px;
}

.nav-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--pill-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  padding: 5px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  transition: all 0.35s var(--ease);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  user-select: none;
}

.nav-tab svg {
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.nav-tab:hover {
  color: var(--text-main);
}

.nav-tab:hover svg {
  transform: translateY(-1px);
}

.nav-tab.active {
  color: #ffffff;
}

.main-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 280px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 20px;
  min-height: 520px;
  padding: 10px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #ffd700 80%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(255, 215, 0, 0.25));
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e5e7eb;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.hero-description {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15), 0 0 25px rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25), 0 0 35px rgba(255, 215, 0, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.hero-socials-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-wrapper {
  position: relative;
  display: inline-flex;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.25s var(--ease);
}

.social-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 215, 0, 0.15);
}

.social-btn.copied {
  border-color: #22c55e !important;
  color: #22c55e !important;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.4) !important;
}

.social-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #18181b;
  border: 1px solid rgba(255, 215, 0, 0.6);
  color: #ffd700;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 215, 0, 0.2);
  z-index: 1000;
}

.social-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hero-stage-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  min-height: 520px;
}

.stage-aura {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: auraPulse 4s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

.stage-display {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sonic-stand-actor {
  position: relative;
  width: 520px;
  height: 520px;
  max-width: 100%;
  animation: sonicFloatingStance 4s ease-in-out infinite alternate;
}

@keyframes sonicFloatingStance {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.sonic-actor-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(255, 215, 0, 0.25));
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 30px;
  min-height: 500px;
  padding: 10px 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
}

.about-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.about-heading {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0;
  color: #ffffff;
}

.status-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  padding: 5px 12px;
  backdrop-filter: blur(10px);
  transition: all 0.25s var(--ease);
}

.status-box:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7280;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e, 0 0 18px rgba(34, 197, 94, 0.6);
}

.status-dot.idle {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b, 0 0 18px rgba(245, 158, 11, 0.6);
}

.status-dot.dnd {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 18px rgba(239, 68, 68, 0.6);
}

.status-dot.offline {
  background: #6b7280;
  box-shadow: none;
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5e7eb;
  letter-spacing: -0.01em;
}

.about-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  width: 100%;
}

.about-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

.point-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 0 8px #ffd700, 0 0 14px rgba(255, 215, 0, 0.6);
  flex-shrink: 0;
}

.languages-section {
  width: 100%;
}

.languages-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e5e7eb;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.languages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 480px;
}

.lang-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 18px;
  backdrop-filter: blur(10px);
  transition: all 0.2s var(--ease);
}

.lang-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(255, 255, 0, 0.06);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 215, 0, 0.15);
}

.lang-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f3f4f6;
  letter-spacing: -0.01em;
}

.about-stage-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  min-height: 500px;
}

.victory-aura {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(255, 255, 255, 0.07) 35%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  animation: victoryAuraPulse 3.5s ease-in-out infinite alternate;
}

@keyframes victoryAuraPulse {
  0% { transform: scale(0.94); opacity: 0.75; }
  100% { transform: scale(1.1); opacity: 1; }
}

.confetti-canvas {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  pointer-events: none;
  z-index: 8;
}

.sonic-victory-actor {
  position: relative;
  width: 340px;
  height: 520px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  animation: victoryCheer 3.6s ease-in-out infinite alternate;
}

@keyframes victoryCheer {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

.sonic-victory-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(255, 215, 0, 0.45));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  pointer-events: none;
}

.files-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 30px;
  min-height: 520px;
  padding: 10px 0;
}

.files-content {
  width: 100%;
  z-index: 10;
}

.files-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.files-stage-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  min-height: 520px;
}

.book-aura {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 215, 0, 0.16) 38%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  animation: bookAuraPulse 3s ease-in-out infinite alternate;
}

@keyframes bookAuraPulse {
  0% { transform: scale(0.92); opacity: 0.65; }
  100% { transform: scale(1.12); opacity: 1; }
}

.sonic-book-actor {
  position: relative;
  width: 500px;
  height: 530px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  animation: bookReadingFloat 3.8s ease-in-out infinite alternate;
}

@keyframes bookReadingFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.sonic-book-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px rgba(255, 215, 0, 0.35));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  pointer-events: none;
}

@media (hover: none) and (pointer: coarse) {
  body, button, a, input {
    cursor: auto !important;
  }
  .custom-cursor, .cursor-follower {
    display: none !important;
  }
}

@media (max-width: 920px) {
  .hero-layout, .about-layout, .files-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-content, .about-content, .files-content {
    align-items: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-socials-group {
    justify-content: center;
  }

  .about-points-list {
    align-items: center;
  }

  .about-header-row {
    justify-content: center;
  }

  .languages-grid {
    justify-content: center;
  }

  .sonic-stand-actor {
    width: 400px;
    height: 400px;
  }

  .sonic-victory-actor {
    width: 300px;
    height: 460px;
  }

  .sonic-book-actor {
    width: 380px;
    height: 410px;
  }
}

@media (max-width: 680px) {
  .header {
    top: 14px;
  }

  .nav-bar {
    width: auto;
  }

  .nav-tab {
    padding: 7px 14px;
    font-size: 0.82rem;
    gap: 5px;
  }

  .content-box {
    padding: 20px;
  }

  .languages-grid {
    justify-content: center;
  }

  .sonic-stand-actor {
    width: 320px;
    height: 320px;
  }

  .sonic-victory-actor {
    width: 250px;
    height: 390px;
  }

  .sonic-book-actor {
    width: 300px;
    height: 330px;
  }
}
