@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --white: #ffffff;
  --silver: #c0c0c0;
  --dim: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

body {
  background: radial-gradient(ellipse 85% 50% at 95% -10%, #1a1a1a, #000 65%);
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  overflow-x: hidden;
  min-height: 100vh;
}

.page {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 48px 60px 40px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}

.hero>*:not(.hero-bg-wrap) {
  position: relative;
  z-index: 1;
}

.hero-bg-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, transparent, #000000);
  pointer-events: none;
}

.hero-text {
  flex: 1;
  min-width: 260px;
  padding-top: 4px;
  position: relative;
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  color: #fff;
  font-weight: 400;
  letter-spacing: .02em;
  transform: perspective(400px) rotateY(20deg);
  transform-origin: left center;
}

.glitch-active {
  animation: glitch .3s;
}

@keyframes glitch {
  0%   { transform: perspective(400px) rotateY(20deg) translate(0); text-shadow: none; }
  20%  { transform: perspective(400px) rotateY(20deg) translate(-2px, 1px); text-shadow: 2px 0 #ff0000; }
  40%  { transform: perspective(400px) rotateY(20deg) translate(2px, -1px); text-shadow: -2px 0 #00ffff; }
  60%  { transform: perspective(400px) rotateY(20deg) translate(-1px, 2px); text-shadow: 1px 0 #ff0000; }
  80%  { transform: perspective(400px) rotateY(20deg) translate(1px, -2px); text-shadow: -1px 0 #00ffff; }
  100% { transform: perspective(400px) rotateY(20deg) translate(0); text-shadow: none; }
}

.hero-text .glow {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 18px rgba(255, 255, 255, 0.45), 0 0 40px rgba(255, 255, 255, 0.2);
  display: inline-block;
  transform: perspective(300px) rotateY(20deg);
  transform-origin: left center;
}

.hero-sub {
  margin-top: 14px;
  font-size: 18px;
  color: #888;
}

.hero-echo {
  margin-top: 8px;
  font-size: 13px;
  color: #444;
  letter-spacing: .06em;
}

.hero-focus {
  position: absolute;
  top: 48px;
  right: 60px;
  text-align: right;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: #888;
  line-height: 1.9;
}

.hf-rows {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.hf-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 28px;
  color: #ffffff;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-align: center;
}

.hf-title::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  background: rgba(255, 255, 255, 0.7);
  margin-left: 4px;
  vertical-align: -0.1em;
  animation: caret-blink 0.8s step-end infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.hero-focus .hf-k {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: .05em;
  display: inline-block;
  width: 80px;
  text-align: right;
}

.hero-focus b {
  color: #aaa;
  font-weight: 500;
}

.hf-white {
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.45);
}

.hf-red {
  color: #e63946;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(230, 57, 70, 0.9), 0 0 20px rgba(230, 57, 70, 0.45);
}

.hf-blue {
  color: #1793d1;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(23, 147, 209, 0.9), 0 0 20px rgba(23, 147, 209, 0.45);
}

.scared-gallery {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.scared-gallery img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: -20px;
  filter: grayscale(100%);
  transform: perspective(600px) rotateY(20deg);
  transition: transform 0.3s ease, filter 0.3s ease;
  border: 2px solid #000;
}

.scared-gallery img:first-child {
  margin-left: 0;
}

.scared-gallery img:hover {
  transform: perspective(600px) rotateY(0deg);
  filter: grayscale(0%);
}

.dc-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  overflow: hidden;
  width: 300px;
  min-height: 250px;
  position: relative;
  flex-shrink: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: #f2f3f5;
}

.dc-wrap {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.dc-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: #444;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.dc-banner {
  height: 105px;
}

.dc-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.dc-loading-avatar {
  position: absolute;
  top: 59px;
  left: 12px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: dcpulse 1.4s ease-in-out infinite;
}

.dc-loading-line {
  position: absolute;
  left: 12px;
  height: 11px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  animation: dcpulse 1.4s ease-in-out infinite;
}

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

  50% {
    opacity: 0.35;
  }
}

.dc-avatar-section {
  padding: 0 12px;
  margin-top: -46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dc-body {
  padding: 0 12px 12px;
}

.dc-display-name {
  font-size: 20px;
  font-weight: 700;
  color: #f2f3f5;
  line-height: 1.2;
}

.dc-username-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.dc-username {
  font-size: 14px;
  color: #fff;
}

.dc-clan-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #2b2d31;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #f2f3f5;
}

.dc-clan-pill img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.dc-badge-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.dc-bio {
  font-size: 13px;
  color: #dbdee1;
  line-height: 1.5;
  margin: 6px 0 8px;
}

.os-sec {
  padding: 40px 60px;
}

.os-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 12px;
}

.os-title .os-sub {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.08em;
}

.os-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.glass-card {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  min-height: 140px;
  transform: perspective(600px) rotateY(8deg);
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: perspective(600px) rotateY(0deg);
}

.gc-logo {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  height: 70%;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.gc-top {
  position: relative;
  z-index: 1;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gc-top h3 {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f2f3f5;
}

.glass-card[data-o="w"] h3 {
  color: #0078d4;
  text-shadow: 0 0 8px rgba(0, 120, 212, 0.8), 0 0 20px rgba(0, 120, 212, 0.4);
}

.glass-card[data-o="a"] h3 {
  color: #1793d1;
  text-shadow: 0 0 8px rgba(23, 147, 209, 0.8), 0 0 20px rgba(23, 147, 209, 0.4);
}

.glass-card[data-o="k"] h3 {
  color: #367bf0;
  text-shadow: 0 0 8px rgba(54, 123, 240, 0.8), 0 0 20px rgba(54, 123, 240, 0.4);
}

.glass-card[data-o="b"] h3 {
  color: #b22222;
  text-shadow: 0 0 8px rgba(178, 34, 34, 0.8), 0 0 20px rgba(178, 34, 34, 0.4);
}

.glass-card[data-o="p"] h3 {
  color: #2ece71;
  text-shadow: 0 0 8px rgba(46, 206, 113, 0.8), 0 0 20px rgba(46, 206, 113, 0.4);
}

.glass-card[data-o="q"] h3 {
  color: #3874d8;
  text-shadow: 0 0 8px rgba(56, 116, 216, 0.8), 0 0 20px rgba(56, 116, 216, 0.4);
}

.glass-card[data-o="t"] h3 {
  color: #6e4c9e;
  text-shadow: 0 0 8px rgba(110, 76, 158, 0.8), 0 0 20px rgba(110, 76, 158, 0.4);
}

.gc-tags {
  position: relative;
  z-index: 1;
  padding: 0 16px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gc-tags span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: #666;
  background: none;
  border: none;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2px;
}

.gc-tags span::before {
  content: '· ';
  color: #444;
}

.sk-list {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 4px;
  list-style: none;
  width: 40%;
}

.sk-item {
  padding: 4px 0 4px 12px;
  border-left: 3px solid var(--skc, #fff);
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: #fff;
}

.sk-item[data-c="off"] {
  --skc: #e63946;
}

.sk-item[data-c="priv"] {
  --skc: #7b2d8b;
}

.sk-item[data-c="inf"] {
  --skc: #1d6fa4;
}

.sk-sec {
  position: relative;
}

.sk-sec>*:not(.sk-bg):not(.sk-bg-wrap) {
  position: relative;
  z-index: 1;
}

.sk-bg-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, #000000, transparent);
  pointer-events: none;
}

.sk-col {
  position: relative;
}

.sk-col>*:not(.sk-bg-wrap) {
  position: relative;
  z-index: 1;
}

.sk-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.sk-cat {
  font-size: 11px;
  color: #666;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.sk-red {
  text-shadow: 0 0 8px rgba(230, 57, 70, .9), 0 0 20px rgba(230, 57, 70, .45);
}

.sk-white {
  text-shadow: 0 0 8px rgba(255, 255, 255, .9), 0 0 20px rgba(255, 255, 255, .45);
}

.sk-glow {
  color: #e63946;
  text-shadow: 0 0 8px rgba(230, 57, 70, .9), 0 0 20px rgba(230, 57, 70, .45);
}

.sk-about {
  font-size: 12px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 24px;
}

#splash {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#splash-gengar {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 70%;
  opacity: 0.2;
  pointer-events: none;
}

#splash-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

#splash-who {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: #444;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

#splash-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(48px, 8vw, 96px);
  color: #fff;
  font-weight: 400;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 18px rgba(255, 255, 255, 0.45), 0 0 40px rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
}

#splash-enter {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: #555;
  margin-top: 16px;
  letter-spacing: 0.1em;
  animation: blink 1.2s ease-in-out infinite;
}

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

  50% {
    opacity: 0;
  }
}

#splash.hide {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}