/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --c-bg: #0a0a0f;
  --c-text: #f0f0f0;
  --c-accent1: #ff2d75;
  --c-accent2: #00f0ff;
  --c-accent3: #c8ff00;
  --c-accent4: #a855f7;
  --c-accent5: #ff6b00;

  /* Surfaces & borders */
  --c-surface: rgba(255,255,255,0.02);
  --c-surface-alt: rgba(255,255,255,0.03);
  --c-border-subtle: rgba(255,255,255,0.05);
  --c-border: rgba(255,255,255,0.06);
  --c-border-strong: rgba(255,255,255,0.08);
  --c-border-bright: rgba(255,255,255,0.15);
  --c-border-medium: rgba(255,255,255,0.2);
  --c-nav-bg: rgba(10,10,15,0.7);

  /* Text variants */
  --c-text-muted: rgba(240,240,240,0.7);
  --c-text-soft: rgba(240,240,240,0.6);
  --c-text-dim: rgba(240,240,240,0.5);
  --c-text-faint: rgba(240,240,240,0.4);
  --c-text-ghost: rgba(240,240,240,0.3);

  /* Effects */
  --c-sweep: rgba(255,255,255,0.1);
  --c-stroke: rgba(255,255,255,0.3);
  --c-shadow: rgba(0,0,0,0.3);
  --c-shadow-strong: rgba(0,0,0,0.4);
  --c-shadow-deep: rgba(0,0,0,0.5);
  --c-blob-blend: screen;
  --c-scanline: rgba(0,0,0,0.03);

  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* ═══════════════════════════════════════════
   LIGHT THEME
═══════════════════════════════════════════ */
[data-theme="light"] {
  --c-bg: #f5f3f0;
  --c-text: #1a1a2e;
  --c-accent1: #d91a50;
  --c-accent2: #0088a3;
  --c-accent3: #5a7a00;
  --c-accent4: #7c3aed;
  --c-accent5: #c44e00;

  --c-surface: rgba(0,0,0,0.025);
  --c-surface-alt: rgba(0,0,0,0.035);
  --c-border-subtle: rgba(0,0,0,0.06);
  --c-border: rgba(0,0,0,0.08);
  --c-border-strong: rgba(0,0,0,0.1);
  --c-border-bright: rgba(0,0,0,0.12);
  --c-border-medium: rgba(0,0,0,0.15);
  --c-nav-bg: rgba(245,243,240,0.85);

  --c-text-muted: rgba(26,26,46,0.75);
  --c-text-soft: rgba(26,26,46,0.6);
  --c-text-dim: rgba(26,26,46,0.5);
  --c-text-faint: rgba(26,26,46,0.4);
  --c-text-ghost: rgba(26,26,46,0.3);

  --c-sweep: rgba(0,0,0,0.06);
  --c-stroke: rgba(0,0,0,0.25);
  --c-shadow: rgba(0,0,0,0.08);
  --c-shadow-strong: rgba(0,0,0,0.12);
  --c-shadow-deep: rgba(0,0,0,0.15);
  --c-blob-blend: multiply;
  --c-scanline: rgba(0,0,0,0.02);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--c-accent1) var(--c-bg);
  overflow-x: hidden;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--c-accent2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s ease, border-color 0.3s;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--c-accent1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor.hover {
  transform: translate(-50%, -50%) scale(2.5);
  border-color: var(--c-accent3);
  background: rgba(200,255,0,0.1);
}

/* ═══════════════════════════════════════════
   NOISE OVERLAY
═══════════════════════════════════════════ */
.noise {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noiseShift 0.5s steps(10) infinite;
}
@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(3%, 8%); }
  30% { transform: translate(-8%, 2%); }
  40% { transform: translate(5%, -3%); }
  50% { transform: translate(-3%, 7%); }
  60% { transform: translate(8%, -5%); }
  70% { transform: translate(-5%, 3%); }
  80% { transform: translate(3%, -8%); }
  90% { transform: translate(7%, 5%); }
  100% { transform: translate(-2%, -2%); }
}

/* ═══════════════════════════════════════════
   CANVAS BACKGROUND
═══════════════════════════════════════════ */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background: var(--c-nav-bg);
  border-bottom: 1px solid var(--c-border-subtle);
}
nav .logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--c-accent1), var(--c-accent2), var(--c-accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 3s ease infinite;
  background-size: 200% 200%;
}
@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
nav .nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
nav .nav-links a {
  color: var(--c-text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: color 0.3s;
}
nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--c-accent1);
  transition: width 0.3s ease;
}
nav .nav-links a:hover { color: var(--c-accent2); }
nav .nav-links a:hover::after { width: 100%; background: var(--c-accent2); }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 5rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--c-accent3);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-name-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}
.hero h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.95;
  position: relative;
  margin-bottom: 0;
}
.hero h1 .line {
  display: block;
}
.hero h1 .glitch {
  position: relative;
  display: inline-block;
}
.hero h1 .glitch::before,
.hero h1 .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.hero h1 .glitch::before {
  color: var(--c-accent1);
  animation: glitch1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  z-index: -1;
}
.hero h1 .glitch::after {
  color: var(--c-accent2);
  animation: glitch2 3s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  z-index: -1;
}
@keyframes glitch1 {
  0%, 90%, 100% { transform: none; opacity: 1; }
  91% { transform: translate(-3px, -1px) skewX(-1deg); }
  92% { transform: translate(3px, 1px) skewX(1deg); }
  93% { transform: translate(-2px, 0px); }
  94% { transform: none; }
}
@keyframes glitch2 {
  0%, 85%, 100% { transform: none; opacity: 1; }
  86% { transform: translate(3px, 1px) skewX(1deg); }
  87% { transform: translate(-3px, -1px) skewX(-1deg); }
  88% { transform: translate(2px, 0px); }
  89% { transform: none; }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  max-width: 700px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
  text-align: center;
}
.hero-subtitle .highlight {
  color: var(--c-accent2);
  font-weight: 600;
}
.hero-subtitle .highlight2 {
  color: var(--c-accent1);
  font-weight: 600;
}
.hero-subtitle .highlight3 {
  color: var(--c-accent3);
  font-weight: 600;
}

.hero-location {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-text-faint);
  letter-spacing: 2px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

.hero-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.1s forwards;
}
.hero-social a {
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--c-border-bright);
  border-radius: 50px;
  color: var(--c-text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hero-social a::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--c-sweep), transparent);
  transition: left 0.5s;
}
.hero-social a:hover::before { left: 100%; }
.hero-social a:hover {
  border-color: var(--c-accent2);
  box-shadow: 0 0 20px rgba(0,240,255,0.2), inset 0 0 20px rgba(0,240,255,0.05);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.5s forwards;
  width: max-content;
  text-align: center;
}
.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--c-text-ghost);
  display: block;
  text-align: center;
}
.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--c-accent1);
  border-bottom: 2px solid var(--c-accent1);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   SECTION TITLES
═══════════════════════════════════════════ */
.section-header {
  margin-bottom: 4rem;
  position: relative;
}
.section-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--c-accent1);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.2em;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent1), var(--c-accent2), var(--c-accent3));
  border-radius: 2px;
  animation: gradientSlide 3s ease infinite;
  background-size: 200% 100%;
}
@keyframes gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ═══════════════════════════════════════════
   ABOUT / ROLES
═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.role-card {
  padding: 2rem;
  border: 1px solid var(--c-border-strong);
  border-radius: 16px;
  background: var(--c-surface);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  opacity: 0;
  transform: translateY(40px);
  text-decoration: none;
  color: var(--c-text);
  display: block;
}
.role-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,45,117,0.08), transparent 50%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.role-card:hover::before { opacity: 1; }
.role-card:hover {
  border-color: rgba(255,45,117,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--c-shadow);
}
.role-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.role-card .card-img {
  width: 100%;
  height: 200px;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.role-card .card-img.papa-img {
  height: 240px;
}
.role-card .card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.role-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.role-card p {
  color: var(--c-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.role-card .card-accent {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
}
.card-accent.a1 { background: linear-gradient(90deg, var(--c-accent1), var(--c-accent4)); }
.card-accent.a2 { background: linear-gradient(90deg, var(--c-accent2), var(--c-accent3)); }
.card-accent.a3 { background: linear-gradient(90deg, var(--c-accent3), var(--c-accent5)); }
.card-accent.a4 { background: linear-gradient(90deg, var(--c-accent4), var(--c-accent2)); }

/* ═══════════════════════════════════════════
   GAMES SHOWCASE
═══════════════════════════════════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
}
.game-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--c-border);
  background: var(--c-surface-alt);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  opacity: 0;
  transform: translateY(40px) rotate(1deg);
}
.game-card.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}
.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0,240,255,0.3);
  box-shadow: 0 30px 60px var(--c-shadow-strong), 0 0 40px rgba(0,240,255,0.1);
}
.game-card .game-visual {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.game-card .game-visual .gradient-bg {
  width: 100%; height: 100%;
  animation: colorShift 5s ease infinite;
  background-size: 200% 200%;
}
@keyframes colorShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.game-card .game-visual .game-emoji {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 4rem;
  filter: drop-shadow(0 4px 20px var(--c-shadow-deep));
}
.game-card .game-info {
  padding: 1.5rem;
}
.game-card .game-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.game-card .game-info p {
  color: var(--c-text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.game-card .game-info .game-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.game-tag {
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tag-award { background: rgba(200,255,0,0.15); color: var(--c-accent3); }
.tag-steam { background: rgba(0,240,255,0.15); color: var(--c-accent2); }
.tag-itch { background: rgba(255,45,117,0.15); color: var(--c-accent1); }
.tag-gdc { background: rgba(168,85,247,0.15); color: var(--c-accent4); }

.game-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--c-border-bright);
  border-radius: 50px;
  color: var(--c-text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: all 0.3s;
}
.game-link:hover {
  border-color: var(--c-accent3);
  background: rgba(200,255,0,0.1);
  box-shadow: 0 0 15px rgba(200,255,0,0.15);
}

/* ═══════════════════════════════════════════
   TALKS
═══════════════════════════════════════════ */
.talks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.talk-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-surface);
  text-decoration: none;
  color: var(--c-text);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-30px);
}
.talk-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.talk-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--c-accent1), var(--c-accent4));
  transition: width 0.3s;
}
.talk-item:hover::before { width: 6px; }
.talk-item:hover {
  border-color: rgba(168,85,247,0.3);
  transform: translateX(8px);
  box-shadow: 0 10px 30px var(--c-shadow);
}
.talk-item .talk-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.talk-item .talk-info h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.talk-item .talk-info span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.talk-item .talk-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
  color: var(--c-accent2);
}
.talk-item:hover .talk-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════
   RESEARCH
═══════════════════════════════════════════ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
}
.research-card {
  padding: 2rem;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background: var(--c-surface);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  display: block;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  opacity: 0;
  transform: translateY(40px);
}
.research-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.research-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-accent4), var(--c-accent2));
}
.research-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 20px 40px var(--c-shadow), 0 0 30px rgba(168,85,247,0.1);
}
.research-card .research-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-accent4);
  margin-bottom: 0.8rem;
}
.research-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}
.research-card p {
  color: var(--c-text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* MARQUEE removed */

/* ═══════════════════════════════════════════
   FLOATING COLOR BLOBS
═══════════════════════════════════════════ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: var(--c-blob-blend);
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--c-accent1);
  top: 10%; left: -10%;
  animation: float1 15s ease infinite;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--c-accent2);
  top: 50%; right: -10%;
  animation: float2 18s ease infinite;
}
.blob-3 {
  width: 350px; height: 350px;
  background: var(--c-accent3);
  bottom: 10%; left: 30%;
  animation: float3 20s ease infinite;
}
.blob-4 {
  width: 300px; height: 300px;
  background: var(--c-accent4);
  top: 30%; left: 50%;
  animation: float1 22s ease infinite reverse;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -50px) scale(1.1); }
  50% { transform: translate(-30px, 30px) scale(0.9); }
  75% { transform: translate(40px, 20px) scale(1.05); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -30px) scale(1.15); }
  66% { transform: translate(40px, 50px) scale(0.85); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(30px, -40px) scale(1.1); }
  40% { transform: translate(-50px, 20px) scale(0.95); }
  60% { transform: translate(40px, 40px) scale(1.05); }
  80% { transform: translate(-20px, -30px) scale(0.9); }
}

/* ═══════════════════════════════════════════
   CTA / CONTACT
═══════════════════════════════════════════ */
.cta-section {
  text-align: center;
  padding: 8rem 0;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--c-accent1), var(--c-accent4), var(--c-accent2), var(--c-accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300% 300%;
  animation: gradientText 5s ease infinite;
}
.cta-subtitle {
  color: var(--c-text-dim);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}
.cta-btn.primary {
  background: linear-gradient(135deg, var(--c-accent1), var(--c-accent4));
  color: white;
  border: none;
}
.cta-btn.primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255,45,117,0.3);
}
.cta-btn.secondary {
  border: 1px solid var(--c-border-medium);
  color: var(--c-text);
  background: transparent;
}
.cta-btn.secondary:hover {
  border-color: var(--c-accent2);
  box-shadow: 0 0 25px rgba(0,240,255,0.2), inset 0 0 25px rgba(0,240,255,0.05);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   HERO PORTRAIT
═══════════════════════════════════════════ */
.hero-portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--c-border-bright);
  box-shadow: 0 0 30px rgba(255,45,117,0.15), 0 0 60px rgba(0,240,255,0.08);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════
   HERO DOWNLOAD BUTTONS
═══════════════════════════════════════════ */
.hero-downloads {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.3s forwards;
}
.download-btn {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--c-accent1);
  border-radius: 50px;
  color: var(--c-accent1);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.download-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,45,117,0.1), transparent);
  transition: left 0.5s;
}
.download-btn:hover::before { left: 100%; }
.download-btn:hover {
  background: var(--c-accent1);
  color: #fff;
  box-shadow: 0 0 20px rgba(255,45,117,0.3);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.contact-links a {
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--c-border-bright);
  border-radius: 50px;
  color: var(--c-text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-links a::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--c-sweep), transparent);
  transition: left 0.5s;
}
.contact-links a:hover::before { left: 100%; }
.contact-links a:hover {
  border-color: var(--c-accent2);
  box-shadow: 0 0 20px rgba(0,240,255,0.2), inset 0 0 20px rgba(0,240,255,0.05);
  transform: translateY(-2px);
}
.contact-links .download-btn {
  border-color: var(--c-accent1);
  color: var(--c-accent1);
  font-weight: 700;
}
.contact-links .download-btn:hover {
  background: var(--c-accent1);
  color: #fff;
  box-shadow: 0 0 20px rgba(255,45,117,0.3);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-text-muted);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--c-border-bright);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  resize: vertical;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(0,0,0,0.05);
  border-color: var(--c-border-bright);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-accent2);
  box-shadow: 0 0 12px rgba(0,240,255,0.15);
}
.contact-submit {
  align-self: flex-start;
  padding: 0.8rem 2.5rem;
  border: 1px solid var(--c-accent2);
  border-radius: 50px;
  background: transparent;
  color: var(--c-accent2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contact-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.1), transparent);
  transition: left 0.5s;
}
.contact-submit:hover::before { left: 100%; }
.contact-submit:hover {
  background: var(--c-accent2);
  color: var(--c-bg);
  box-shadow: 0 0 20px rgba(0,240,255,0.3);
  transform: translateY(-2px);
}
.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
}
.form-feedback.success {
  display: block;
  background: rgba(0, 200, 100, 0.15);
  color: #00c864;
  border: 1px solid rgba(0, 200, 100, 0.3);
}
.form-feedback.error {
  display: block;
  background: rgba(255, 80, 80, 0.15);
  color: #ff5050;
  border: 1px solid rgba(255, 80, 80, 0.3);
}

/* ═══════════════════════════════════════════
   COOKIE CONSENT BANNER
═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-content {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border-bright);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 -4px 30px var(--c-shadow-deep);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cookie-content p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--c-text-muted);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}
.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--c-border-bright);
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.cookie-btn.accept {
  background: var(--c-accent1);
  color: #fff;
  border-color: var(--c-accent1);
}
.cookie-btn.accept:hover {
  box-shadow: 0 0 20px rgba(255,45,117,0.4);
  transform: translateY(-2px);
}
.cookie-btn.reject {
  background: transparent;
  color: var(--c-text-muted);
}
.cookie-btn.reject:hover {
  border-color: var(--c-text-muted);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--c-border-subtle);
}
footer p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-text-ghost);
  letter-spacing: 2px;
}
footer .footer-emojis {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}
.footer-name {
  transition: color 0.3s;
  cursor: default;
}
.footer-name:hover {
  color: var(--c-accent2);
}
.cookie-settings-link {
  display: inline-block;
  margin-top: 0.75rem;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-text-ghost);
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s;
}
.cookie-settings-link:hover {
  color: var(--c-accent2);
}

/* ═══════════════════════════════════════════
   ABOUT BIO
═══════════════════════════════════════════ */
.about-bio {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--c-text-muted);
  max-width: 800px;
  margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER
═══════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  padding: 0.2rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--c-text-dim);
  cursor: none;
  transition: all 0.3s ease;
  border-radius: 4px;
}
.lang-btn.active {
  color: var(--c-accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-btn:hover {
  color: var(--c-accent2);
}
.lang-sep {
  color: var(--c-text-ghost);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  user-select: none;
}

/* ═══════════════════════════════════════════
   HORIZONTAL SCROLL BAND
═══════════════════════════════════════════ */
.color-band {
  height: 6px;
  background: linear-gradient(90deg,
    var(--c-accent1), var(--c-accent2), var(--c-accent3),
    var(--c-accent4), var(--c-accent5), var(--c-accent1));
  background-size: 200% 100%;
  animation: gradientSlide 4s linear infinite;
}

/* ═══════════════════════════════════════════
   STICKER EFFECT LABELS
═══════════════════════════════════════════ */
.sticker {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--c-accent1);
  color: var(--c-bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--c-shadow);
}
.sticker.s2 { background: var(--c-accent2); transform: rotate(1deg); }
.sticker.s3 { background: var(--c-accent3); transform: rotate(-1deg); }

/* ═══════════════════════════════════════════
   THEME TOGGLE
═══════════════════════════════════════════ */
.theme-toggle {
  background: none;
  border: 1px solid var(--c-border-bright);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  font-size: 1.1rem;
  color: var(--c-text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--c-accent3);
  box-shadow: 0 0 15px rgba(200,255,0,0.2);
  transform: rotate(30deg) scale(1.1);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}
.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* Theme transition */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, fill 0.4s ease !important;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
  nav .nav-links { display: none; }
  section { padding: 4rem 0; }
  .hero { padding-top: 4rem; }
  .about-grid, .games-grid, .research-grid {
    grid-template-columns: 1fr;
  }
  .talk-item { flex-direction: column; text-align: center; gap: 0.8rem; padding: 1.2rem 1rem; }
  .talk-item .talk-arrow { display: none; }
  .hero-name-row { flex-direction: column; gap: 1rem; }
  .hero-portrait { width: 100px; height: 100px; }
  .contact-wrapper { max-width: 100%; }
  .contact-links { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  footer { padding-bottom: 5rem; }
  .container { padding: 0 1rem; }
  .blob { display: none; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .scroll-indicator { bottom: 5rem; }
  nav { padding: 0.8rem 1rem; }
  .cookie-content { margin: 0 0.5rem 1rem; padding: 1rem; }
  .talk-item .talk-info h3 { font-size: 0.9rem; word-break: break-word; }
}

/* ═══════════════════════════════════════════
   SCANLINE OVERLAY
═══════════════════════════════════════════ */
.scanlines {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9997;
  background: repeating-linear-gradient(
    0deg,
    var(--c-scanline) 0px,
    transparent 1px,
    transparent 2px
  );
}

/* ═══════════════════════════════════════════
   DISTORTION ON SCROLL
═══════════════════════════════════════════ */
.distort-on-scroll {
  transition: transform 0.3s ease;
}

/* ═══════════════════════════════════════════
   PODCAST SECTION
═══════════════════════════════════════════ */
.podcast-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-surface);
  text-decoration: none;
  color: var(--c-text);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}
.podcast-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--c-accent1), var(--c-accent4));
}
.podcast-item:hover {
  border-color: rgba(255,107,0,0.3);
  transform: translateX(8px);
  box-shadow: 0 10px 30px var(--c-shadow);
}

/* ═══════════════════════════════════════════
   EDUCATIONAL SECTION
═══════════════════════════════════════════ */
.edu-card {
  padding: 2rem;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background: var(--c-surface);
  text-decoration: none;
  color: var(--c-text);
  display: block;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}
.edu-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.edu-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,0,0.1), transparent);
  transform: translate(30%, -30%);
}
.edu-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200,255,0,0.3);
  box-shadow: 0 20px 40px var(--c-shadow);
}
.edu-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.edu-card p {
  color: var(--c-text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}
