@charset "UTF-8";
:root, [data-theme=entity] {
  --accent-1: #00ff66;
  --accent-2: #00f0ff;
  --accent-3: #8a2be2;
  --accent-4: #3d5afe;
  --accent-1-rgb: 0, 255, 102;
  --accent-2-rgb: 0, 240, 255;
  --accent-3-rgb: 138, 43, 226;
  --gradient-main: linear-gradient(135deg, #00ff66, #00f0ff, #8a2be2);
  --bg-void: #050505;
  --bg-deep: #0a0a0a;
  --text-white: #f0f0f8;
  --text-silver: #a0a0b8;
  --text-ghost: #55556e;
  --glass-bg: rgba(0, 255, 102, 0.02);
  --glass-border: rgba(0, 255, 102, 0.3);
  --glass-hover: rgba(0, 255, 102, 0.05);
  --aurora-1: #00ff66;
  --aurora-2: #00f0ff;
  --aurora-3: #8a2be2;
  --glow-primary: rgba(0, 255, 102, 0.5);
  --glow-secondary: rgba(0, 240, 255, 0.5);
  --dot-highlight: #00ff66;
  --dot-highlight-rgb: 0, 255, 102;
}

[data-theme=ultraman] {
  --accent-1: #e0e0e0;
  --accent-2: #ff2a2a;
  --accent-3: #00f0ff;
  --accent-4: #ffd700;
  --accent-1-rgb: 224, 224, 224;
  --accent-2-rgb: 255, 42, 42;
  --accent-3-rgb: 0, 240, 255;
  --gradient-main: linear-gradient(135deg, #e0e0e0, #ff2a2a, #00f0ff);
  --bg-void: #020513;
  --bg-deep: #060918;
  --text-white: #f8f9fc;
  --text-silver: #a0a8b8;
  --text-ghost: #555c6e;
  --glass-bg: rgba(224, 224, 224, 0.03);
  --glass-border: rgba(224, 224, 224, 0.2);
  --glass-hover: rgba(0, 240, 255, 0.08);
  --aurora-1: #e0e0e0;
  --aurora-2: #ff2a2a;
  --aurora-3: #00f0ff;
  --glow-primary: rgba(224, 224, 224, 0.4);
  --glow-secondary: rgba(0, 240, 255, 0.6);
  --dot-highlight: #ff2a2a;
  --dot-highlight-rgb: 255, 42, 42;
}

[data-theme=ultraman] {
  --accent-1: #ff1744;
  --accent-2: #ffc400;
  --accent-3: #2979ff;
  --accent-4: #e0e0e0;
  --accent-1-rgb: 255, 23, 68;
  --accent-2-rgb: 255, 196, 0;
  --accent-3-rgb: 41, 121, 255;
  --gradient-main: linear-gradient(135deg, #ff1744, #ffc400, #2979ff);
  --bg-void: #050508;
  --bg-deep: #0a0a10;
  --text-white: #f5f5f5;
  --text-silver: #b0b0c0;
  --text-ghost: #606070;
  --glass-bg: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --aurora-1: #ff1744;
  --aurora-2: #ffc400;
  --aurora-3: #2979ff;
  --glow-primary: rgba(255, 23, 68, 0.5);
  --glow-secondary: rgba(255, 196, 0, 0.5);
  --dot-highlight: #ffc400;
  --dot-highlight-rgb: 255, 196, 0;
}

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

::selection {
  background: rgba(180, 77, 255, 0.4);
  color: #f0f0f8;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, sans-serif;
  background: #030308;
  color: #f0f0f8;
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}
body.loading {
  overflow: hidden;
}

#portal-gate {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#portal-gate:hover {
  transform: scale(1.08);
}
#portal-gate:hover .gate-ring {
  border-color: #00e5ff;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5), 0 0 60px rgba(0, 229, 255, 0.15);
}
#portal-gate:hover .gate-text {
  color: #00e5ff;
  letter-spacing: 8px;
}

.gate-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.25);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  animation: gateBreathe 3s ease-in-out infinite;
  position: relative;
}
.gate-ring::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  color: #00e5ff;
  opacity: 0.7;
}

@keyframes gateBreathe {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1), inset 0 0 15px rgba(0, 229, 255, 0.05);
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.25), inset 0 0 25px rgba(0, 229, 255, 0.1);
  }
}
.gate-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #55556e;
  letter-spacing: 6px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#portal-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}
#portal-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}
#portal-loader #warp-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.portal-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.3);
  animation: portalSpin 4s linear infinite, portalGrow 9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-ring-inner {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(180, 77, 255, 0.4);
  animation: portalSpinReverse 3s linear infinite;
  box-shadow: 0 0 40px rgba(180, 77, 255, 0.15), inset 0 0 40px rgba(0, 229, 255, 0.08);
}

@keyframes portalSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes portalSpinReverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@keyframes portalGrow {
  0% {
    width: 80px;
    height: 80px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    width: 220px;
    height: 220px;
  }
  85% {
    width: 240px;
    height: 240px;
    opacity: 1;
  }
  100% {
    width: 3000px;
    height: 3000px;
    opacity: 0;
  }
}
.portal-text {
  position: absolute;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.portal-text .portal-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: rgba(0, 229, 255, 0.6);
  letter-spacing: 6px;
  text-transform: uppercase;
  animation: portalTextPulse 1.5s ease infinite;
}
.portal-text .portal-name {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 8px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 1s;
}

@keyframes portalTextPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
.portal-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.5s;
}
.portal-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  border-radius: 2px;
  animation: portalBarFill 7s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.5s;
}

@keyframes portalBarFill {
  0% {
    width: 0%;
  }
  20% {
    width: 25%;
  }
  50% {
    width: 55%;
  }
  75% {
    width: 80%;
  }
  90% {
    width: 95%;
  }
  100% {
    width: 100%;
  }
}
.portal-flash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  animation: portalFlash 1s ease forwards 8.2s;
}

@keyframes portalFlash {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

button {
  cursor: none;
}

code {
  font-family: "JetBrains Mono", monospace;
  background: rgba(0, 229, 255, 0.08);
  color: #00e5ff;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.85em;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), height 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cursor.hover .cursor-dot {
  width: 50px;
  height: 50px;
  background: rgba(0, 229, 255, 0.15);
}
.cursor.hover .cursor-ring {
  width: 60px;
  height: 60px;
  border-color: #00e5ff;
}

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

.aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: auroraFloat 20s ease-in-out infinite alternate;
}
.aurora-blob:nth-child(1) {
  width: 600px;
  height: 600px;
  background: #00e5ff;
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}
.aurora-blob:nth-child(2) {
  width: 500px;
  height: 500px;
  background: #b44dff;
  bottom: -15%;
  left: -10%;
  animation-delay: -7s;
}
.aurora-blob:nth-child(3) {
  width: 400px;
  height: 400px;
  background: #ff2d7b;
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes auroraFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(80px, -60px) scale(1.1);
  }
  66% {
    transform: translate(-40px, 40px) scale(0.9);
  }
  100% {
    transform: translate(60px, -30px) scale(1.05);
  }
}
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
#navbar.scrolled {
  padding: 14px 60px;
  background: rgba(3, 3, 8, 0.85);
  backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#navbar .nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -1px;
}
#navbar .nav-logo .accent {
  color: #00e5ff;
}
#navbar .nav-links {
  display: flex;
  gap: 36px;
}
#navbar .nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #55556e;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
#navbar .nav-links a:hover {
  color: #f0f0f8;
}
#navbar .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#navbar .nav-links a:hover::after {
  width: 100%;
}
#navbar .nav-cta {
  padding: 10px 28px;
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#navbar .nav-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4), 0 0 30px rgba(0, 229, 255, 0.12);
}

#hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 48px 80px;
}
#hero .hero-content {
  max-width: 950px;
}
#hero .hero-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
}
#hero .hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 28px;
}
#hero .hero-title .line {
  display: block;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
#hero .hero-title .line:nth-child(1) {
  animation-delay: 0.5s;
}
#hero .hero-title .line:nth-child(2) {
  animation-delay: 0.7s;
}
#hero .hero-title .line:nth-child(3) {
  animation-delay: 0.9s;
}
#hero .gradient-text {
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(0, 229, 255, 0.15);
}
#hero .hero-subtitle {
  font-size: 1.15rem;
  color: #a0a0b8;
  letter-spacing: 1px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.1s;
}
#hero .hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 72px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.3s;
}
#hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 72px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.5s;
}

.btn {
  padding: 16px 36px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35), 0 0 40px rgba(0, 229, 255, 0.105);
}
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f8;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-outline:hover {
  border-color: #00e5ff;
  color: #00e5ff;
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15), 0 0 30px rgba(0, 229, 255, 0.045);
}

.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: #55556e;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-top: 6px;
}

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.8s;
}
.scroll-indicator span {
  font-size: 0.65rem;
  color: #55556e;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.scroll-indicator .mouse {
  width: 22px;
  height: 36px;
  border: 2px solid #55556e;
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator .wheel {
  width: 3px;
  height: 7px;
  background: #00e5ff;
  border-radius: 3px;
  animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}
section {
  position: relative;
  z-index: 2;
  padding: 140px 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #a0a0b8;
  margin-bottom: 72px;
  max-width: 620px;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text p {
  color: #a0a0b8;
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.85;
}
.about-text strong {
  color: #f0f0f8;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.highlight-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.03);
}
.highlight-card:hover {
  transform: translateX(10px);
  border-color: rgba(0, 229, 255, 0.15);
}
.highlight-card .highlight-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}
.highlight-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.highlight-card p {
  font-size: 0.85rem;
  color: #55556e;
  line-height: 1.5;
}

#grind {
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 15, 0.5) 50%, transparent 100%);
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 50px;
}

.timeline-line {
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #00e5ff, #b44dff, #ff2d7b);
  opacity: 0.2;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item:nth-child(odd) {
  transition-delay: 0.1s;
}
.timeline-item:nth-child(even) {
  transition-delay: 0.2s;
}

.timeline-dot {
  position: absolute;
  left: -42px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.6), 0 0 24px rgba(0, 229, 255, 0.18);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.5);
}

.timeline-item.highlight .timeline-dot {
  width: 16px;
  height: 16px;
  left: -44px;
  background: #ff2d7b;
  box-shadow: 0 0 16px rgba(255, 45, 123, 0.7), 0 0 32px rgba(255, 45, 123, 0.21);
  animation: pulseDot 2.5s ease infinite;
}

@keyframes pulseDot {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 45, 123, 0.4), 0 0 24px rgba(255, 45, 123, 0.2);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 45, 123, 0.7), 0 0 48px rgba(255, 45, 123, 0.4);
  }
}
.timeline-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.timeline-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.12);
  transform: translateX(10px);
}
.timeline-item.highlight .timeline-card {
  border-color: rgba(255, 45, 123, 0.2);
  background: rgba(255, 45, 123, 0.03);
}
.timeline-item.highlight .timeline-card:hover {
  border-color: rgba(255, 45, 123, 0.35);
  box-shadow: 0 0 30px rgba(255, 45, 123, 0.06), 0 0 60px rgba(255, 45, 123, 0.018);
}

.timeline-week {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #00e5ff;
  font-size: 0.65rem;
  letter-spacing: 3px;
}

.timeline-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 10px 0;
}

.timeline-card p {
  font-size: 0.88rem;
  color: #a0a0b8;
  line-height: 1.65;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.timeline-tags span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  padding: 4px 12px;
  background: rgba(0, 229, 255, 0.06);
  color: #00e5ff;
  border-radius: 50px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 229, 255, 0.08);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.project-card {
  position: relative;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.project-card {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.03);
}
.project-card.featured {
  grid-column: 1/-1;
  border-color: rgba(180, 77, 255, 0.2);
  background: linear-gradient(135deg, rgba(180, 77, 255, 0.04), rgba(0, 229, 255, 0.02));
}
.project-card.featured:hover {
  border-color: rgba(180, 77, 255, 0.4);
  box-shadow: 0 0 30px rgba(180, 77, 255, 0.08), 0 0 60px rgba(180, 77, 255, 0.024);
}
.project-card .project-glow {
  position: absolute;
  top: -40%;
  right: -15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(180, 77, 255, 0.06), transparent 70%);
  pointer-events: none;
}
.project-card .project-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #00e5ff;
  font-size: 0.6rem;
  padding: 5px 14px;
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  color: #000;
  font-weight: 800;
  border-radius: 50px;
  letter-spacing: 2.5px;
  display: inline-block;
  margin-bottom: 18px;
}
.project-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.project-card p {
  font-size: 0.9rem;
  color: #a0a0b8;
  line-height: 1.75;
  margin-bottom: 22px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.project-tech span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  padding: 5px 14px;
  background: rgba(0, 229, 255, 0.06);
  color: #00e5ff;
  border-radius: 50px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 229, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-tech span:hover {
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1), 0 0 20px rgba(0, 229, 255, 0.03);
}

.project-links a {
  font-size: 0.85rem;
  color: #00e5ff;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.project-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #00e5ff;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-links a:hover {
  color: #b44dff;
  letter-spacing: 1.5px;
}
.project-links a:hover::after {
  width: 100%;
  background: #b44dff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.skill-category {
  padding: 36px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.skill-category:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.03);
}
.skill-category h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #00e5ff, #b44dff, #ff2d7b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.skill-category .skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-category .skill-items span {
  font-size: 0.78rem;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  color: #a0a0b8;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.skill-category .skill-items span:hover {
  background: rgba(0, 229, 255, 0.06);
  color: #00e5ff;
  border-color: rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}

#contact {
  text-align: center;
}
#contact .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 52px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  min-width: 240px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.03);
}
.contact-card .contact-icon {
  font-size: 2.2rem;
}
.contact-card .contact-label {
  font-size: 0.7rem;
  color: #55556e;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}
.contact-card .contact-value {
  font-size: 0.85rem;
  color: #00e5ff;
  font-weight: 500;
}

footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #55556e;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}
footer strong {
  color: #a0a0b8;
}

*,
*::before,
*::after {
  transition: color 0.6s ease, background-color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
}

body {
  background: var(--bg-void);
  color: var(--text-white);
}

.nav-logo .accent {
  color: var(--accent-1);
}

.nav-cta {
  background: var(--gradient-main) !important;
}

.nav-links a::after {
  background: var(--gradient-main);
}

.hero-tag {
  color: var(--accent-1);
}

.gradient-text {
  background: var(--gradient-main) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.hero-subtitle {
  color: var(--text-silver);
}

.btn-primary {
  background: var(--gradient-main) !important;
}

.btn-outline:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
}

.stat-number {
  background: var(--gradient-main) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.stat-label {
  color: var(--text-ghost);
}

.scroll-indicator .wheel {
  background: var(--accent-1);
}

.section-tag {
  color: var(--accent-1);
}

.section-subtitle {
  color: var(--text-silver);
}

.about-text p {
  color: var(--text-silver);
}

.about-text strong {
  color: var(--text-white);
}

.highlight-card p {
  color: var(--text-ghost);
}

.highlight-card:hover {
  border-color: rgba(var(--accent-1-rgb), 0.15);
}

.aurora-blob:nth-child(1) {
  background: var(--aurora-1);
}

.aurora-blob:nth-child(2) {
  background: var(--aurora-2);
}

.aurora-blob:nth-child(3) {
  background: var(--aurora-3);
}

.timeline-line {
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-2), var(--accent-3));
}

.timeline-dot {
  background: var(--accent-1);
  box-shadow: 0 0 12px rgba(var(--accent-1-rgb), 0.6), 0 0 24px rgba(var(--accent-1-rgb), 0.3);
}

.timeline-item.highlight .timeline-dot {
  background: var(--dot-highlight);
  box-shadow: 0 0 16px rgba(var(--dot-highlight-rgb), 0.7), 0 0 32px rgba(var(--dot-highlight-rgb), 0.35);
}

.timeline-week {
  color: var(--accent-1);
}

.timeline-card p {
  color: var(--text-silver);
}

.timeline-card:hover {
  border-color: rgba(var(--accent-1-rgb), 0.12);
}

.timeline-item.highlight .timeline-card {
  border-color: rgba(var(--dot-highlight-rgb), 0.2);
  background: rgba(var(--dot-highlight-rgb), 0.03);
}

.timeline-tags span {
  background: rgba(var(--accent-1-rgb), 0.06);
  color: var(--accent-1);
  border-color: rgba(var(--accent-1-rgb), 0.08);
}

.project-card p {
  color: var(--text-silver);
}

.project-card:hover {
  border-color: rgba(var(--accent-1-rgb), 0.2);
}

.project-card.featured {
  border-color: rgba(var(--accent-2-rgb), 0.2);
  background: linear-gradient(135deg, rgba(var(--accent-2-rgb), 0.04), rgba(var(--accent-1-rgb), 0.02));
}

.project-card.featured:hover {
  border-color: rgba(var(--accent-2-rgb), 0.4);
}

.project-badge {
  background: var(--gradient-main) !important;
}

.project-tech span {
  background: rgba(var(--accent-1-rgb), 0.06);
  color: var(--accent-1);
  border-color: rgba(var(--accent-1-rgb), 0.06);
}

.project-tech span:hover {
  background: rgba(var(--accent-1-rgb), 0.12);
}

.project-links a {
  color: var(--accent-1);
}

.project-links a:hover {
  color: var(--accent-2);
}

.project-links a:hover::after {
  background: var(--accent-2);
}

.skill-category h3 {
  background: var(--gradient-main) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.skill-category:hover {
  border-color: rgba(var(--accent-1-rgb), 0.15);
}

.skill-items span {
  color: var(--text-silver);
}

.skill-items span:hover {
  background: rgba(var(--accent-1-rgb), 0.06);
  color: var(--accent-1);
  border-color: rgba(var(--accent-1-rgb), 0.15);
}

.contact-card:hover {
  border-color: rgba(var(--accent-1-rgb), 0.3);
}

.contact-value {
  color: var(--accent-1);
}

code {
  background: rgba(var(--accent-1-rgb), 0.08);
  color: var(--accent-1);
}

.gate-ring {
  border-color: rgba(var(--accent-1-rgb), 0.25);
}
.gate-ring::after {
  color: var(--accent-1);
}

#portal-gate:hover .gate-ring {
  border-color: var(--accent-1);
}

.portal-ring {
  border-color: rgba(var(--accent-1-rgb), 0.3);
}

.portal-ring-inner {
  border-color: rgba(var(--accent-2-rgb), 0.4);
}

.portal-label {
  color: rgba(var(--accent-1-rgb), 0.6);
}

.portal-name {
  background: var(--gradient-main) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.portal-bar-fill {
  background: var(--gradient-main);
}

.glitch:hover::before {
  color: var(--accent-1);
}

.glitch:hover::after {
  color: var(--accent-3);
}

.theme-switcher {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-switcher:hover {
  border-color: rgba(var(--accent-1-rgb), 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.theme-switcher .theme-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-main);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px var(--glow-primary);
}
.theme-switcher .theme-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-ghost);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.theme-switcher:hover .theme-label {
  color: var(--text-silver);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.github-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 40px;
}

.github-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.github-stat-card:hover {
  border-color: rgba(var(--accent-1-rgb), 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.github-stat-icon {
  font-size: 1.6rem;
}

.github-stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.github-stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-ghost);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.github-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.github-languages .lang-tag {
  padding: 6px 16px;
  background: rgba(var(--accent-1-rgb), 0.06);
  border: 1px solid rgba(var(--accent-1-rgb), 0.08);
  border-radius: 50px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--accent-1);
  letter-spacing: 1px;
}

.github-recent h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-ghost);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.github-events {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.github-event {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.github-event:hover {
  border-color: rgba(var(--accent-1-rgb), 0.15);
}
.github-event .event-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.github-event .event-text {
  font-size: 0.85rem;
  color: var(--text-silver);
  line-height: 1.5;
}
.github-event .event-text strong {
  color: var(--accent-1);
}
.github-event .event-time {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  color: var(--text-ghost);
  letter-spacing: 1px;
  white-space: nowrap;
}

.news-ticker {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(var(--accent-1-rgb), 0.03);
  border-top: 1px solid rgba(var(--accent-1-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--accent-1-rgb), 0.08);
  padding: 12px 0;
}

.ticker-label {
  flex-shrink: 0;
  padding: 6px 20px;
  margin-left: 20px;
  background: var(--gradient-main);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 12px;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
  margin-left: 20px;
}

.ticker-content {
  display: flex;
  gap: 60px;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
  color: var(--text-silver);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}
.ticker-content a {
  color: var(--text-silver);
  text-decoration: none;
  transition: color 0.2s ease;
}
.ticker-content a:hover {
  color: var(--accent-1);
}
.ticker-content .ticker-dot {
  color: var(--accent-1);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.terminal {
  max-width: 750px;
  margin: 40px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-1-rgb), 0.12);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}
.terminal-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.terminal-dots .dot.red {
  background: #ff5f57;
}
.terminal-dots .dot.yellow {
  background: #febc2e;
}
.terminal-dots .dot.green {
  background: #28c840;
}

.terminal-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-ghost);
  letter-spacing: 1px;
}

.terminal-body {
  padding: 20px 20px 10px;
  max-height: 350px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.terminal-body::-webkit-scrollbar {
  width: 4px;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.terminal-line {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-silver);
}
.terminal-line.input {
  color: var(--accent-1);
}
.terminal-line.input::before {
  content: "$ ";
  color: var(--text-ghost);
}
.terminal-line.output {
  color: var(--text-silver);
}
.terminal-line.error {
  color: #ff5f57;
}
.terminal-line .cmd-highlight {
  color: var(--accent-1);
  font-weight: 700;
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 18px;
}

.terminal-prompt {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent-1);
  font-weight: 700;
}

.terminal-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-white);
  caret-color: var(--accent-1);
}
.terminal-input::placeholder {
  color: rgba(255, 255, 255, 0.15);
}

.chatbot-fab {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999999;
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.2), inset 0 0 15px rgba(0, 229, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chatbot-fab::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00e5ff, #a855f7, #ff006e);
  z-index: -1;
  opacity: 0.5;
  filter: blur(8px);
  animation: pulseGlow 3s infinite alternate;
}
.chatbot-fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.4), inset 0 0 20px rgba(0, 229, 255, 0.3);
  border-color: rgba(0, 229, 255, 0.8);
}
.chatbot-fab:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}
.chatbot-fab .fab-icon {
  font-size: 1.5rem;
}
.chatbot-fab .fab-label {
  position: absolute;
  right: 80px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-1);
  animation: fabPulse 2s ease-out infinite;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.chatbot-window {
  position: fixed;
  bottom: 170px;
  right: 32px;
  width: 380px;
  max-height: 500px;
  border-radius: 20px;
  background: rgba(8, 8, 16, 0.95);
  border: 1px solid rgba(var(--accent-1-rgb), 0.15);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  animation: chatSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chatbot-window.open {
  display: flex;
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(var(--accent-1-rgb), 0.05);
  border-bottom: 1px solid rgba(var(--accent-1-rgb), 0.1);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  font-size: 1.4rem;
}

.chatbot-name {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 2px;
}

.chatbot-status {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  color: #28c840;
  letter-spacing: 1px;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--text-ghost);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.chatbot-close:hover {
  color: var(--text-white);
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 340px;
}
.chatbot-messages::-webkit-scrollbar {
  width: 3px;
}
.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.chat-msg {
  display: flex;
}
.chat-msg.bot {
  justify-content: flex-start;
}
.chat-msg.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.55;
}
.bot .chat-bubble {
  background: rgba(var(--accent-1-rgb), 0.08);
  color: var(--text-silver);
  border-bottom-left-radius: 4px;
}
.user .chat-bubble {
  background: var(--gradient-main);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-input-area {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(var(--accent-1-rgb), 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.chatbot-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 10px 16px;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 0.8rem;
  color: var(--text-white);
  outline: none;
  transition: border-color 0.3s ease;
}
.chatbot-input:focus {
  border-color: rgba(var(--accent-1-rgb), 0.3);
}
.chatbot-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

/* --- Chatbot Utility Buttons --- */
.chatbot-voice-toggle,
.chatbot-mic,
.chatbot-lang-toggle {
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0.7;
  outline: none;
}
.chatbot-voice-toggle:hover,
.chatbot-mic:hover,
.chatbot-lang-toggle:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.chatbot-voice-toggle, .chatbot-mic {
  padding: 8px;
  border-radius: 50%;
}

.chatbot-lang-toggle {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
  padding: 4px 8px;
}

.chatbot-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.chatbot-send:hover {
  transform: scale(1.1);
}

.portal-skip {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.35);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 3px;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.portal-skip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.desktop-only {
  display: inline-block;
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  a, button {
    cursor: auto;
  }
  .cursor {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .desktop-only {
    display: none;
  }
  #navbar {
    padding: 14px 24px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 3, 8, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--text-silver);
    transition: color 0.3s ease;
  }
  .nav-links a:hover {
    color: var(--accent-1);
  }
  .nav-links a::after {
    display: none;
  }
  #hero {
    padding: 100px 24px 60px;
  }
  .hero-stats {
    gap: 36px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .section-container {
    padding: 0 24px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card.featured {
    grid-column: auto;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .contact-links {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .theme-switcher {
    bottom: 16px;
    left: 16px;
    right: auto;
    padding: 8px 14px;
  }
  .portal-skip {
    bottom: 20px;
    right: 20px;
  }
  .github-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .terminal {
    margin: 24px -8px 0;
    border-radius: 16px;
  }
  .chatbot-fab {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .chatbot-window {
    right: 10px;
    left: 10px;
    bottom: 140px;
    width: auto;
  }
}
/* --- PREMIUM GLASSMORPHISM & NEW UI ELEMENTS --- */
.glass-dashboard {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.glass-dashboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  animation: shine 6s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}
.glass-dashboard:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.1);
  transform: translateY(-5px);
}

.glass-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.glass-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -36px;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  background: linear-gradient(135deg, #00e5ff, #b44dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

/* Containment Field Cards (Projects & About) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 0px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: var(--accent-1);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(var(--accent-1-rgb), 0.15), inset 0 0 20px rgba(var(--accent-1-rgb), 0.05);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--accent-1);
  border-left: 2px solid var(--accent-1);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

/* Infinite Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 30px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: inline-block;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  margin: 0 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  color: #a0a0b8;
  transition: all 0.3s ease;
}

.marquee-item:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.5);
  color: #fff;
  transform: scale(1.05);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .hero-stats.glass-dashboard {
    flex-direction: column;
    gap: 32px;
    padding: 24px;
  }
  .glass-stat:not(:last-child)::after {
    display: none;
  }
}
/* --- VANGUARD UI: FLASHLIGHT SPOTLIGHT EFFECT --- */
.glass-card::after, .glass-dashboard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.glass-card:hover::after, .glass-dashboard:hover::after {
  opacity: 1;
}

/* ========================================
   ULTRA-ALIEN OVERHAUL: BETA CAPSULE & COLOR TIMER
   ======================================== */
/* Beta Capsule Flash Intro */
#beta-capsule-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1.5s cubic-bezier(0.8, 0, 0.2, 1);
  pointer-events: none;
}

#beta-capsule-flash.hidden {
  opacity: 0;
}

.capsule-core {
  width: 100px;
  height: 100px;
  background: var(--accent-3);
  border-radius: 50%;
  box-shadow: 0 0 100px 50px var(--accent-3), 0 0 300px 150px #ffffff;
  animation: pulseCore 0.5s ease-in-out infinite alternate;
}

@keyframes pulseCore {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 1;
  }
}
/* Color Timer Hover Effect (Cards) */
.glass-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: var(--accent-3);
  box-shadow: 0 0 20px rgba(var(--accent-3-rgb), 0.4);
  animation: colorTimerWarning 2s linear forwards;
}

@keyframes colorTimerWarning {
  0% {
    border-color: var(--accent-3);
    box-shadow: 0 0 20px rgba(var(--accent-3-rgb), 0.4);
  }
  50% {
    border-color: var(--accent-3);
    box-shadow: 0 0 20px rgba(var(--accent-3-rgb), 0.4);
  }
  60% {
    border-color: var(--accent-2);
    box-shadow: 0 0 30px rgba(var(--accent-2-rgb), 0.6);
  }
  65% {
    border-color: transparent;
    box-shadow: none;
  }
  70% {
    border-color: var(--accent-2);
    box-shadow: 0 0 30px rgba(var(--accent-2-rgb), 0.6);
  }
  75% {
    border-color: transparent;
    box-shadow: none;
  }
  80% {
    border-color: var(--accent-2);
    box-shadow: 0 0 40px rgba(var(--accent-2-rgb), 0.8);
  }
  85% {
    border-color: transparent;
    box-shadow: none;
  }
  90% {
    border-color: var(--accent-2);
    box-shadow: 0 0 40px rgba(var(--accent-2-rgb), 0.8);
  }
  95% {
    border-color: transparent;
    box-shadow: none;
  }
  100% {
    border-color: var(--accent-2);
    box-shadow: 0 0 50px rgba(var(--accent-2-rgb), 1);
  }
}
/* Chromatic Glitch on images */
.project-card:hover .project-image {
  animation: chromaticGlitch 0.3s ease-in-out forwards;
}

@keyframes chromaticGlitch {
  0% {
    filter: hue-rotate(0deg) contrast(100%);
    transform: scale(1.05);
  }
  20% {
    filter: hue-rotate(90deg) contrast(200%) invert(20%);
    transform: scale(1.08) translateX(-5px);
  }
  40% {
    filter: hue-rotate(-90deg) contrast(300%) invert(0%);
    transform: scale(1.02) translateX(5px);
  }
  60% {
    filter: hue-rotate(180deg) contrast(150%) invert(10%);
    transform: scale(1.06) translateY(5px);
  }
  100% {
    filter: hue-rotate(0deg) contrast(120%);
    transform: scale(1.05);
  }
}
/* Matrix Background Canvas */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10; /* Behind everything */
  pointer-events: none;
  opacity: 0.8;
}

/* Scanner Sweep Overlay */
#scanner-sweep {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  /* Ultra-Alien Cyan Scanner */
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 240, 255, 0.05) 50%, rgba(0, 240, 255, 0.3) 100%);
  height: 10px;
  opacity: 0.6;
  animation: scanSweep 6s linear infinite;
}

@keyframes scanSweep {
  0% {
    transform: translateY(-10vh);
  }
  100% {
    transform: translateY(110vh);
  }
}
/* ========================================
   ALIEN COMPANION (ZORB)
   ======================================== */
#alien-companion {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 60px;
  pointer-events: none;
  z-index: 999990; /* Just under UFO */
}

.alien-bubble {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 10px;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 50% 50% 40% 40%;
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: alienHover 3s ease-in-out infinite alternate;
  box-shadow: inset 0 0 10px rgba(57, 255, 20, 0.2), 0 0 15px rgba(57, 255, 20, 0.3);
  transition: transform 0.2s; /* for flipping horizontally */
  pointer-events: auto;
  cursor: pointer;
}

.alien-body-svg {
  width: 45px;
  height: 65px;
  filter: drop-shadow(0 0 5px #39ff14);
  animation: alienFloat 4s ease-in-out infinite alternate;
}

.alien-body-svg svg {
  width: 100%;
  height: 100%;
}

@keyframes alienFloat {
  0% {
    transform: translateY(-2px) rotate(-2deg);
  }
  100% {
    transform: translateY(2px) rotate(2deg);
  }
}
.alien-shadow {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 4px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  filter: blur(2px);
  animation: shadowPulse 3s ease-in-out infinite alternate;
}

@keyframes alienHover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}
@keyframes shadowPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.2;
  }
}
@media (max-width: 768px) {
  #alien-companion {
    transform: scale(0.7) !important;
    transform-origin: bottom right;
  }
}
[data-theme=ultraman] #alien-companion {
  width: 100px;
  height: 100px;
  /* Adjust origin because of new size */
  transform-origin: center center;
}
[data-theme=ultraman] #alien-companion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("ultraman.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.6));
  pointer-events: none;
}
[data-theme=ultraman] #alien-companion .alien-bubble, [data-theme=ultraman] #alien-companion .alien-core, [data-theme=ultraman] #alien-companion .alien-ring, [data-theme=ultraman] #alien-companion .alien-eye {
  display: none !important;
}
[data-theme=ultraman] #alien-companion .alien-speech-bubble {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* ========================================
   ZORB SPEECH BUBBLE & UFO CURSOR
   ======================================== */
.alien-speech-bubble {
  position: absolute;
  bottom: 80px;
  right: -50px;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(57, 255, 20, 0.5);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
  backdrop-filter: blur(8px);
  color: var(--text-white);
  padding: 10px 15px;
  border-radius: 12px 12px 12px 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  width: max-content;
  max-width: 200px;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.alien-speech-bubble.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.alien-text {
  display: block;
  line-height: 1.4;
  white-space: pre-wrap;
}

.alien-mute {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(57, 255, 20, 0.5);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #39ff14;
  cursor: pointer !important;
  pointer-events: auto;
  z-index: 10;
  transition: all 0.2s ease;
}

.alien-mute:hover {
  background: rgba(57, 255, 20, 0.2);
  transform: scale(1.1);
}

/* UFO Cursor */
#ufo-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  mix-blend-mode: screen;
}

.ufo-core {
  width: 12px;
  height: 12px;
  background: var(--accent-1);
  border-radius: 50%;
  box-shadow: 0 0 15px 5px var(--accent-1), 0 0 30px 10px rgba(0, 255, 102, 0.8);
  position: relative;
  z-index: 2;
  animation: corePulse 2s infinite alternate;
}

.ufo-ring {
  position: absolute;
  width: 30px;
  height: 8px;
  border: 2px solid var(--accent-1);
  border-radius: 50%;
  transform: perspective(100px) rotateX(60deg);
  box-shadow: 0 0 10px var(--accent-1), inset 0 0 10px var(--accent-1);
  animation: ringSpin 3s linear infinite;
}

.ufo-beam {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 0;
  background: linear-gradient(to bottom, var(--glow-primary) 0%, transparent 100%);
  transform-origin: top center;
  transform: perspective(100px) rotateX(40deg);
  transition: height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes ringSpin {
  0% {
    transform: perspective(100px) rotateX(60deg) rotateZ(0deg);
  }
  100% {
    transform: perspective(100px) rotateX(60deg) rotateZ(360deg);
  }
}
@keyframes corePulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}
#ufo-cursor.scanning .ufo-beam {
  height: 200px;
  animation: ufoScan 0.3s ease-in-out infinite alternate;
}

@keyframes ufoScan {
  0% {
    transform: translate(-50%, 0) perspective(100px) rotateX(40deg) scaleX(1);
  }
  100% {
    transform: translate(-50%, 0) perspective(100px) rotateX(40deg) scaleX(1.8);
  }
}
#ufo-particles {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999998;
}

.ufo-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-1);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
}

/* Hide UFO cursor on Ultraman mode if needed, or dynamically recolor it. Since we use var(--accent-1), it will automatically become Silver/Cyan in Ultraman mode and Green in Entity mode! */
/* ========================================
   IDLE FIGHT SCREENSAVER
   ======================================== */
#idle-fight-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 999900;
}

.idle-enemy, .enemy-ship {
  position: absolute;
  width: 40px;
  height: 30px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.idle-enemy .enemy-ship-base, .enemy-ship .enemy-ship-base {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 15px;
  background: var(--enemy-color, #ff0055);
  border-radius: 50% 50% 10% 10%;
  box-shadow: 0 0 10px var(--enemy-color, #ff0055);
}
.idle-enemy .enemy-ship-dome, .enemy-ship .enemy-ship-dome {
  position: absolute;
  top: 0;
  left: 10px;
  width: 20px;
  height: 15px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50% 50% 0 0;
  backdrop-filter: blur(2px);
}

.idle-kaiju {
  position: absolute;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: 50px;
  filter: drop-shadow(0 0 15px var(--enemy-color, #ffcc00));
  display: flex;
  justify-content: center;
  align-items: center;
}
.idle-kaiju .kaiju-icon {
  animation: kaijuRoar 1s infinite alternate;
}

@keyframes kaijuRoar {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.laser-beam {
  position: absolute;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 10px var(--accent-1);
  transform-origin: top center;
  z-index: 999901;
  border-radius: 2px;
}

#hyperspace-canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999800; /* Just below the fight container */
  background: transparent;
  opacity: 0;
  animation: hyperspaceFadeIn 1s forwards;
}

@keyframes hyperspaceFadeIn {
  to {
    opacity: 0.9;
  }
}
/* ========================================
   BOOT SCREEN
   ======================================== */
#boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--accent-1);
  font-family: "Courier New", Courier, monospace;
}

.boot-title {
  font-size: 2.5rem;
  letter-spacing: 5px;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--accent-1);
}

.boot-status {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
  animation: blink 1s infinite;
}

.boot-progress-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.boot-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-1);
  box-shadow: 0 0 10px var(--accent-1);
  animation: bootLoad 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes bootLoad {
  0% {
    width: 0%;
  }
  40% {
    width: 30%;
  }
  70% {
    width: 80%;
  }
  100% {
    width: 100%;
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
/* ========================================
   MOBILE OPTIMIZATION
   ======================================== */
@media (max-width: 768px) {
  #alien-companion, #ufo-cursor {
    display: none !important;
  }
  body {
    cursor: auto !important; /* Restore default cursor */
  }
  * {
    cursor: auto !important;
  }
}

/*# sourceMappingURL=style.css.map */
