/* ===== 3DFX Interactive Tribute Website - Shared Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #111118;
  --color-bg-card: #16161f;
  --color-bg-card-hover: #1e1e2a;
  --color-text-primary: #e8e8f0;
  --color-text-secondary: #9898b0;
  --color-text-muted: #5a5a72;
  --color-accent-purple: #8b5cf6;
  --color-accent-purple-light: #a78bfa;
  --color-accent-green: #10b981;
  --color-accent-green-light: #34d399;
  --color-accent-cyan: #06b6d4;
  --color-accent-gold: #f59e0b;
  --color-border: rgba(139, 92, 246, 0.15);
  --color-border-hover: rgba(139, 92, 246, 0.4);
  --color-glow-purple: rgba(139, 92, 246, 0.3);
  --color-glow-green: rgba(16, 185, 129, 0.3);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a0a2e 40%, #0a1a1a 70%, #0a0a0f 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent-purple) 0%, var(--color-accent-cyan) 100%);
  --gradient-card: linear-gradient(145deg, var(--color-bg-card) 0%, #12121a 100%);
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--color-glow-purple);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-purple-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-cyan);
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-purple-light);
  margin-bottom: 20px;
}

.section-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-purple);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 36px;
  filter: brightness(1.1);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent-purple-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  letter-spacing: 1px;
}

.lang-switch:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--color-border-hover);
  color: var(--color-accent-purple-light);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(2px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 10, 15, 0.3) 0%,
      rgba(10, 10, 15, 0.1) 40%,
      rgba(10, 10, 15, 0.6) 80%,
      rgba(10, 10, 15, 1) 100%);
  z-index: 1;
}

/* Animated grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }

  100% {
    transform: perspective(500px) rotateX(60deg) translateY(80px);
  }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-accent-purple-light);
  border-radius: 50%;
  opacity: 0;
  animation: float-up 8s infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.particle:nth-child(2) {
  left: 25%;
  animation-delay: 1.2s;
  animation-duration: 9s;
}

.particle:nth-child(3) {
  left: 40%;
  animation-delay: 0.5s;
  animation-duration: 6s;
}

.particle:nth-child(4) {
  left: 55%;
  animation-delay: 2s;
  animation-duration: 8s;
}

.particle:nth-child(5) {
  left: 70%;
  animation-delay: 0.8s;
  animation-duration: 10s;
}

.particle:nth-child(6) {
  left: 85%;
  animation-delay: 1.5s;
  animation-duration: 7.5s;
}

.particle:nth-child(7) {
  left: 15%;
  animation-delay: 3s;
  animation-duration: 9s;
  background: var(--color-accent-green-light);
}

.particle:nth-child(8) {
  left: 50%;
  animation-delay: 2.5s;
  animation-duration: 8s;
  background: var(--color-accent-cyan);
}

.particle:nth-child(9) {
  left: 65%;
  animation-delay: 4s;
  animation-duration: 11s;
}

.particle:nth-child(10) {
  left: 90%;
  animation-delay: 1s;
  animation-duration: 6.5s;
  background: var(--color-accent-green-light);
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-logo {
  width: 180px;
  margin: 0 auto 32px;
  animation: logo-glow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 30px var(--color-glow-purple));
}

@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 20px var(--color-glow-purple));
  }

  100% {
    filter: drop-shadow(0 0 50px var(--color-glow-purple)) brightness(1.15);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 3px;
}

.hero-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent-purple-light);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent-purple), transparent);
  animation: scroll-line 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes scroll-line {
  0% {
    opacity: 1;
    transform: scaleY(1);
  }

  100% {
    opacity: 0;
    transform: scaleY(0.3);
    transform-origin: top;
  }
}

/* ===== History / Timeline Section ===== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
      transparent,
      var(--color-accent-purple) 10%,
      var(--color-accent-purple) 90%,
      transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 60px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent-purple);
  box-shadow: 0 0 20px var(--color-glow-purple), 0 0 40px var(--color-glow-purple);
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent-purple-light);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===== Products Section ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), transparent 50%, rgba(6, 182, 212, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-border-hover);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.product-card-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--color-bg-card), transparent);
  pointer-events: none;
}

.product-card-body {
  padding: 24px 28px 28px;
}

.product-card-year {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-accent-green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--color-accent-purple-light);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ===== Technology Section ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.tech-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.tech-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--color-glow-purple) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.tech-card:hover::after {
  opacity: 0.08;
}

.tech-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.tech-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}

.tech-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ===== Games Section ===== */
.games-intro {
  max-width: 800px;
  margin: -40px auto 60px;
  text-align: center;
}

.games-intro p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 2;
}

.games-intro strong {
  color: var(--color-accent-purple-light);
  font-weight: 600;
}

.games-intro em {
  color: var(--color-text-primary);
  font-style: normal;
  font-weight: 500;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.game-detail-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
}

.game-detail-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), transparent 50%, rgba(6, 182, 212, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.game-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15), 0 0 40px rgba(139, 92, 246, 0.08);
  border-color: var(--color-border-hover);
}

.game-detail-card:hover::before {
  opacity: 1;
}

.game-detail-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.game-detail-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.game-detail-card:hover .game-detail-img-wrapper img {
  transform: scale(1.08);
}

.game-detail-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--color-bg-card), transparent);
  pointer-events: none;
}

.game-detail-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 14px;
  background: rgba(139, 92, 246, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.game-detail-body {
  padding: 20px 28px 28px;
}

.game-detail-year {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-accent-green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.game-detail-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.game-detail-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.game-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--color-accent-cyan);
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all var(--transition-fast);
}

.game-detail-card:hover .game-tag {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
}

/* Keep old game-card styles for backward compatibility */
.games-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.game-card:hover img {
  transform: scale(1.1);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background var(--transition-smooth);
}

.game-card:hover .game-card-overlay {
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.3) 60%);
}

.game-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.game-card-info {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== Specs Table Section ===== */
.specs-table-wrapper {
  overflow-x: auto;
  margin-top: -20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--gradient-card);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 0.88rem;
}

.specs-table thead th {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent-purple-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: left;
  padding: 18px 20px;
  border-bottom: 2px solid var(--color-border);
  background: rgba(139, 92, 246, 0.06);
  white-space: nowrap;
}

.specs-table tbody tr {
  transition: background var(--transition-fast);
}

.specs-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.specs-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.08);
}

.specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  vertical-align: middle;
}

.specs-table td:first-child {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 0.9rem;
  white-space: nowrap;
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table .spec-highlight {
  color: var(--color-accent-cyan);
  font-weight: 600;
}

.specs-table .spec-legendary {
  background: rgba(139, 92, 246, 0.08);
}

.specs-table .spec-legendary td {
  color: var(--color-accent-purple-light);
  font-style: italic;
}

.specs-table .spec-legendary td:first-child {
  color: var(--color-accent-purple-light);
}

.spec-note {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 8px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 100px;
  color: var(--color-accent-purple-light);
  margin-left: 8px;
  font-weight: 600;
  vertical-align: middle;
}

/* ===== Founders Section ===== */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.founder-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.founder-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--color-glow-purple) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.founder-card:hover::after {
  opacity: 0.06;
}

.founder-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--color-border);
  transition: border-color var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.founder-card:hover .founder-avatar {
  border-color: var(--color-accent-purple);
  box-shadow: 0 0 20px var(--color-glow-purple);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.founder-role {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent-green);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.founder-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== Community Section ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.community-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.community-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.community-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--transition-slow);
}

.community-card:hover .community-card-img {
  transform: scale(1.05);
}

.community-card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.community-card-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--color-bg-card), transparent);
  pointer-events: none;
}

.community-card-body {
  padding: 24px 28px 28px;
}

.community-card-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.community-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.community-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.community-card-desc strong {
  color: var(--color-accent-purple-light);
}

/* ===== Legacy Section ===== */
.legacy-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.legacy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.legacy-text {
  max-width: 560px;
}

.legacy-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legacy-text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.legacy-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.legacy-image img {
  width: 100%;
  transition: transform var(--transition-slow);
}

.legacy-image:hover img {
  transform: scale(1.03);
}

/* ===== Quote Block ===== */
.quote-block {
  text-align: center;
  padding: 80px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.quote-text::before {
  content: '"';
  color: var(--color-accent-purple);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
}

.quote-text::after {
  content: '"';
  color: var(--color-accent-purple);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.4em;
  margin-left: 4px;
}

.quote-author {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== Finale Section ===== */
.finale-section {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.finale-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 24px;
  position: relative;
}

.finale-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.finale-blockquote {
  position: relative;
  padding: 28px 32px;
  margin-bottom: 36px;
  border-left: 4px solid var(--color-accent-purple);
  background: rgba(139, 92, 246, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.finale-blockquote p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.finale-blockquote p:last-child {
  margin-bottom: 0;
}

.finale-attribution {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 500;
}

.finale-body {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 2;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .finale-card {
    padding: 40px 28px;
    margin: 0 16px;
  }

  .finale-blockquote {
    padding: 20px 24px;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 28px;
  opacity: 0.7;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 2px;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-accent-purple-light);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===== Separator Line ===== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-purple) 50%, transparent);
  opacity: 0.3;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .legacy-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legacy-text {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    gap: 24px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 52px;
    padding-right: 16px;
  }

  .timeline-item::before {
    left: 12px !important;
    right: auto !important;
  }

  .products-grid,
  .tech-grid,
  .games-showcase,
  .games-grid,
  .founders-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero-logo {
    width: 120px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .container {
    padding: 0 16px;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }
}