/* ===================================================
   GROW MY BALL (공키우기) OFFICIAL SHOWCASE STYLES
   Aesthetic: Dark Neon Arcade & Cyberpunk Gemstone Glass
   =================================================== */

:root {
  /* Color Palette */
  --bg-dark: #070913;
  --bg-card: rgba(16, 20, 38, 0.75);
  --bg-card-hover: rgba(26, 32, 60, 0.85);
  --bg-glass: rgba(13, 17, 33, 0.65);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-neon-cyan: rgba(0, 243, 255, 0.4);
  --border-neon-magenta: rgba(255, 0, 128, 0.4);

  /* Neon Accents */
  --neon-cyan: #00f3ff;
  --neon-blue: #0088ff;
  --neon-magenta: #ff007b;
  --neon-gold: #ffbe0b;
  --neon-orange: #ff5e00;
  --neon-purple: #9d4edd;
  --neon-green: #00f59b;
  --neon-red: #ff334b;

  /* Typography */
  --font-display: 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Text Colors */
  --text-white: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Elevation & Shadows */
  --glow-cyan: 0 0 25px rgba(0, 243, 255, 0.35);
  --glow-magenta: 0 0 25px rgba(255, 0, 123, 0.35);
  --glow-gold: 0 0 25px rgba(255, 190, 11, 0.35);
  --shadow-card: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, .brand-text, .metric-number {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text-white);
}

.text-gradient {
  background: linear-gradient(135deg, #00f3ff 0%, #0088ff 40%, #ff007b 85%, #ffbe0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-text { color: var(--neon-gold); }
.neon-text { color: var(--neon-cyan); }
.magenta-text { color: var(--neon-magenta); }

/* Buttons & Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-neon {
  background: rgba(0, 243, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 243, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.2);
}

.badge-gold {
  background: rgba(255, 190, 11, 0.12);
  color: var(--neon-gold);
  border: 1px solid rgba(255, 190, 11, 0.4);
  box-shadow: 0 0 12px rgba(255, 190, 11, 0.2);
}

.badge-red {
  background: rgba(255, 51, 75, 0.15);
  color: var(--neon-red);
  border: 1px solid rgba(255, 51, 75, 0.4);
}

.badge-pulse {
  animation: badgePulse 2s infinite alternate;
}

@keyframes badgePulse {
  0% { transform: scale(1); box-shadow: 0 0 8px rgba(0, 243, 255, 0.2); }
  100% { transform: scale(1.04); box-shadow: 0 0 18px rgba(0, 243, 255, 0.5); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #0066ff 50%, #7b2cbf 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 243, 255, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

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

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

.btn-youtube, .btn-youtube-sm {
  background: #ff0033;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 0, 51, 0.35);
}

.btn-youtube:hover, .btn-youtube-sm:hover {
  background: #cc0029;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 51, 0.55);
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4); }
  50% { box-shadow: 0 4px 35px rgba(0, 243, 255, 0.8), 0 0 10px rgba(255, 0, 128, 0.4); }
}

/* ===================================================
   NAVIGATION BAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 19, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(7, 9, 19, 0.92);
  border-bottom-color: rgba(0, 243, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast);
}

.nav-brand:hover .brand-icon {
  transform: rotate(-8deg) scale(1.05);
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #00f3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-text small {
  font-size: 0.8rem;
  font-weight: 600;
  -webkit-text-fill-color: var(--neon-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.highlight-link {
  color: var(--neon-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: 0.3s;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
}

.hero-glow-sphere {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.sphere-1 {
  top: -100px;
  left: -150px;
  background: radial-gradient(circle, #0088ff 0%, rgba(0, 243, 255, 0.1) 70%);
}

.sphere-2 {
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, #ff007b 0%, rgba(138, 43, 226, 0.1) 70%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-logo-wrapper {
  margin-bottom: 12px;
}

.hero-logo-img {
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.4));
  animation: logoFloat 4s ease-in-out infinite alternate;
}

@keyframes logoFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero-headline {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-desc strong {
  color: var(--text-white);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn-icon {
  font-size: 1.3rem;
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(13, 17, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  width: fit-content;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--neon-cyan);
}

.metric-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}

/* 3D Tilt Hero Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-3d {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 8px;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.3) 0%, rgba(255, 0, 123, 0.2) 100%);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 136, 255, 0.3);
  transition: transform 0.2s ease-out;
  cursor: pointer;
}

.hero-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #00f3ff, #ff007b, #ffbe0b);
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
  animation: borderGlow 6s linear infinite alternate;
}

@keyframes borderGlow {
  0% { filter: blur(10px) hue-rotate(0deg); }
  100% { filter: blur(15px) hue-rotate(90deg); }
}

.hero-banner-img {
  width: 100%;
  max-width: 480px;
  border-radius: calc(var(--radius-xl) - 4px);
  display: block;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Floating Badges */
.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 17, 33, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  white-space: nowrap;
}

.tag-combo {
  top: 12%;
  left: -8%;
  color: var(--neon-gold);
  border-color: rgba(255, 190, 11, 0.4);
}

.tag-gold {
  bottom: 14%;
  right: -8%;
  color: var(--neon-cyan);
  border-color: rgba(0, 243, 255, 0.4);
}

.tag-fever {
  top: 68%;
  left: -10%;
  color: var(--neon-magenta);
  border-color: rgba(255, 0, 123, 0.4);
}

.floating-1 { animation: floatAnim1 4.5s ease-in-out infinite alternate; }
.floating-2 { animation: floatAnim2 5s ease-in-out infinite alternate; }
.floating-3 { animation: floatAnim3 4s ease-in-out infinite alternate; }

@keyframes floatAnim1 {
  0% { transform: translateY(0px) rotate(-3deg); }
  100% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes floatAnim2 {
  0% { transform: translateY(0px) rotate(3deg); }
  100% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes floatAnim3 {
  0% { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(10px) rotate(0deg); }
}

/* ===================================================
   SECTION COMMONS
   =================================================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 56px;
}

.text-center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.25);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto;
}

/* ===================================================
   FEATURES SECTION
   =================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 243, 255, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), var(--glow-cyan);
}

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

.feature-icon-box {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-fast);
}

.icon-hit { background: rgba(255, 0, 123, 0.12); border-color: rgba(255, 0, 123, 0.3); }
.icon-growth { background: rgba(0, 243, 255, 0.12); border-color: rgba(0, 243, 255, 0.3); }
.icon-balls { background: rgba(157, 78, 221, 0.12); border-color: rgba(157, 78, 221, 0.3); }
.icon-fever { background: rgba(255, 190, 11, 0.12); border-color: rgba(255, 190, 11, 0.3); }

.feature-card:hover .feature-icon-box {
  transform: scale(1.12) rotate(5deg);
}

.feature-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li::before {
  content: '✦';
  color: var(--neon-cyan);
  margin-right: 8px;
}

/* ===================================================
   PLAYABLE MINI-GAME DEMO SECTION
   =================================================== */
.minigame-section {
  background: radial-gradient(circle at 50% 30%, rgba(0, 102, 255, 0.12) 0%, transparent 60%);
}

.game-demo-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #090d1c;
  border: 2px solid rgba(0, 243, 255, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 243, 255, 0.15);
}

/* Demo HUD Top */
.demo-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(13, 19, 41, 0.95);
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  flex-wrap: wrap;
  gap: 12px;
}

.hud-stat {
  display: flex;
  flex-direction: column;
}

.hud-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.hud-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}

.combo-highlight {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
}

.gold-highlight {
  color: var(--neon-gold);
  text-shadow: 0 0 10px rgba(255, 190, 11, 0.6);
}

.hud-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

/* Canvas Area */
.canvas-container {
  position: relative;
  width: 100%;
  height: 480px;
  background: #060914;
  cursor: crosshair;
  touch-action: none;
}

#game-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.demo-overlay {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13, 19, 41, 0.85);
  border: 1px solid rgba(0, 243, 255, 0.3);
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 0.4s ease;
  animation: overlayBounce 2s infinite alternate ease-in-out;
}

@keyframes overlayBounce {
  0% { transform: translate(-50%, -50%) translateY(0); }
  100% { transform: translate(-50%, -50%) translateY(-8px); }
}

.aim-hand {
  font-size: 2rem;
  display: block;
  margin-bottom: 4px;
}

.demo-overlay p {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.demo-overlay small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.fever-banner {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: linear-gradient(90deg, #ff007b, #ff5e00);
  color: #fff;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  box-shadow: 0 0 25px rgba(255, 0, 123, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fever-banner.active {
  opacity: 1;
  transform: translateX(-50%) scale(1.05);
}

/* Demo HUD Bottom */
.demo-hud-bottom {
  padding: 16px 24px;
  background: rgba(13, 19, 41, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-btn-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.btn-skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.skill-icon { font-size: 1.5rem; margin-bottom: 4px; }
.skill-name { font-size: 0.85rem; font-weight: 700; }
.skill-tag { font-size: 0.72rem; color: var(--text-muted); }

.skill-fever:hover {
  background: rgba(255, 94, 0, 0.2);
  border-color: var(--neon-orange);
  box-shadow: 0 0 15px rgba(255, 94, 0, 0.4);
  transform: translateY(-2px);
}

.skill-summon:hover {
  background: rgba(157, 78, 221, 0.2);
  border-color: var(--neon-purple);
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
  transform: translateY(-2px);
}

.skill-bomb:hover {
  background: rgba(255, 0, 123, 0.2);
  border-color: var(--neon-magenta);
  box-shadow: 0 0 15px rgba(255, 0, 123, 0.4);
  transform: translateY(-2px);
}

.skill-reset:hover {
  background: rgba(0, 243, 255, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
  transform: translateY(-2px);
}

/* ===================================================
   BALL SHOWCASE & EVOLUTION
   =================================================== */
.balls-section {
  background: radial-gradient(circle at 50% 60%, rgba(138, 43, 226, 0.12) 0%, transparent 65%);
}

.ball-showcase-container {
  max-width: 1040px;
  margin: 0 auto;
}

/* Ball Tabs */
.ball-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.ball-tab {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-ball-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-fast);
}

.ball-ico-8 { background: #111; color: #fff; }
.ball-ico-fire { background: #4a0e00; color: #ff5e00; }
.ball-ico-thunder { background: #00364d; color: #00f3ff; }
.ball-ico-rocket { background: #4d001e; color: #ff007b; }
.ball-ico-cosmic { background: #26004d; color: #d000ff; }

.tab-ball-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

.tab-ball-type {
  font-size: 0.75rem;
}

.ball-tab:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.ball-tab.active {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.15) 0%, rgba(138, 43, 226, 0.2) 100%);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.ball-tab.active .tab-ball-icon {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

/* Ball Display Card */
.ball-display-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-neon-cyan);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  align-items: center;
}

.ball-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ball-orb-preview {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.orb-core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #1e1e24 40%, #000 100%);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), inset -5px -5px 15px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  z-index: 2;
  transition: all 0.4s ease;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(0, 243, 255, 0.5);
  pointer-events: none;
}

.ring-1 {
  width: 160px;
  height: 160px;
  animation: rotateRing 8s linear infinite;
}

.ring-2 {
  width: 190px;
  height: 190px;
  border-style: dotted;
  border-color: rgba(255, 0, 123, 0.4);
  animation: rotateRingRev 12s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateRingRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.orb-glow {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.4) 0%, transparent 70%);
  filter: blur(15px);
  z-index: 1;
  transition: all 0.4s ease;
}

.ball-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ball-header {
  margin-bottom: 24px;
}

.ball-tag-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ball-title-text {
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.ball-sub-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stat Gauges */
.ball-stats-gauges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.stat-gauge-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gauge-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.gauge-label strong {
  font-family: var(--font-display);
  color: var(--neon-cyan);
}

.gauge-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.gauge-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fill-power { background: linear-gradient(90deg, #ff007b, #ff5e00); }
.fill-speed { background: linear-gradient(90deg, #00f3ff, #0088ff); }
.fill-size { background: linear-gradient(90deg, #9d4edd, #d000ff); }
.fill-crit { background: linear-gradient(90deg, #ffbe0b, #ff5e00); }
.fill-fever { background: linear-gradient(90deg, #ff0033, #ff007b); }

/* Upgrade Simulator Slider Box */
.upgrade-simulator-box {
  background: rgba(7, 10, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.sim-level-disp strong {
  color: var(--neon-gold);
  font-family: var(--font-display);
}

.sim-slider {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
  accent-color: var(--neon-cyan);
  margin-bottom: 12px;
}

.sim-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

/* ===================================================
   CHALLENGE ARENA SECTION
   =================================================== */
.arena-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.arena-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.arena-card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  pointer-events: none;
}

.card-boss .arena-card-glow { background: #ff0055; }
.card-time .arena-card-glow { background: #00f3ff; }
.card-sniper .arena-card-glow { background: #ffbe0b; }
.card-frenzy .arena-card-glow { background: #ff5e00; }

.arena-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.arena-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.arena-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.arena-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.arena-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.arena-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-main);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* ===================================================
   OFFICIAL YOUTUBE & SOSOGAME HUB
   =================================================== */
.youtube-section {
  background: radial-gradient(circle at 50% 20%, rgba(255, 0, 51, 0.08) 0%, transparent 60%);
}

.yt-link-inline {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 700;
}

.yt-link-inline:hover {
  text-decoration: underline;
}

/* Developer Banner Card */
.developer-showcase-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.dev-banner-wrap {
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  position: relative;
}

.dev-banner-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.dev-info-content {
  padding: 32px 36px;
}

.dev-profile-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dev-profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 245, 155, 0.4);
}

.dev-name-meta {
  flex: 1;
}

.dev-team-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.dev-team-handle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.dev-motto {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
}

.dev-motto strong {
  color: var(--neon-gold);
}

.dev-pillars {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pillar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Videos Grid */
.videos-heading {
  margin-bottom: 24px;
}

.videos-heading h3 {
  font-size: 1.45rem;
  font-weight: 800;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 51, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 0, 51, 0.25);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-thumb-wrap:hover .video-thumb-img {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: background var(--transition-fast);
}

.play-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 0, 51, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 0, 51, 0.6);
  transition: transform var(--transition-fast);
}

.video-thumb-wrap:hover .play-circle {
  transform: scale(1.15);
  background: #ff0033;
}

.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.video-card-body {
  padding: 24px;
}

.video-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--text-white);
}

.video-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.video-channel {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
}

.btn-play-action {
  background: none;
  border: none;
  color: var(--neon-cyan);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.btn-play-action:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===================================================
   SCREENSHOT & ART GALLERY
   =================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 9 / 16;
  background: #0d1222;
  transition: all var(--transition-smooth);
}

.gallery-item-wide {
  grid-column: span 4;
  aspect-ratio: 16 / 7;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 19, 0.9) 0%, rgba(7, 9, 19, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.gallery-caption {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--glow-cyan);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-hover {
  opacity: 1;
}

/* ===================================================
   CALL TO ACTION & DOWNLOAD
   =================================================== */
.cta-section {
  padding: 80px 0 120px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(13, 27, 62, 0.85) 0%, rgba(32, 10, 48, 0.85) 100%);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 60px 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 136, 255, 0.2);
  position: relative;
}

.cta-icon-float {
  width: 90px;
  height: 90px;
  margin: -105px auto 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 243, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-app-icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #111527;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 14px 28px;
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-store-badge:hover {
  transform: translateY(-3px);
  background: #192038;
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 25px rgba(0, 243, 255, 0.3);
}

.btn-yt-badge:hover {
  border-color: #ff0033;
  box-shadow: 0 10px 25px rgba(255, 0, 51, 0.3);
}

.store-text {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.store-text small {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.store-text strong {
  font-size: 1.1rem;
  font-weight: 800;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: #04060c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.footer-logo img {
  border-radius: var(--radius-sm);
}

.footer-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: #ff0033;
  border-color: #ff0033;
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--neon-cyan);
}

.footer-info-item {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-info-item strong {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-badge-slogan {
  color: var(--neon-gold);
  font-style: italic;
}

/* ===================================================
   MODALS & LIGHTBOX
   =================================================== */
.modal, .lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal.open, .lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop, .lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.modal-dialog, .lightbox-dialog {
  position: relative;
  z-index: 2;
  background: #0d1222;
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-dialog {
  max-width: 540px;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
}

.modal-close, .lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.8rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close:hover, .lightbox-close:hover {
  background: #ff0055;
  border-color: #ff0055;
  transform: scale(1.1);
}

.modal-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-video-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.modal-video-info {
  padding: 20px 24px;
}

.modal-video-info h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.modal-video-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lightbox-image {
  max-height: 80vh;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 243, 255, 0.3);
  display: block;
  margin: 0 auto;
}

.lightbox-caption {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES
   =================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-badges, .hero-cta-group, .hero-metrics {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .ball-display-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 19, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .hero-headline {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .skill-btn-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .canvas-container {
    height: 400px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
