/* ============================================
   GAME PORTFOLIO - MODERN THEME
   Dark Cyberpunk / Gaming Aesthetic
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap");

:root {
  /* Primary Colors */
  --neon-blue: #00f3ff;
  --neon-purple: #bc13fe;
  --neon-pink: #ff006e;
  --neon-green: #39ff14;
  --neon-orange: #ff9500;

  /* Dark Theme */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-hover: #252542;

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--neon-blue) 0%,
    var(--neon-purple) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--neon-pink) 0%,
    var(--neon-orange) 100%
  );
  --gradient-success: linear-gradient(
    135deg,
    var(--neon-green) 0%,
    #00ff88 100%
  );
  --gradient-dark: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.9) 0%,
    rgba(10, 10, 15, 1) 100%
  );

  /* Effects */
  --glow-blue: 0 0 20px rgba(0, 243, 255, 0.5);
  --glow-purple: 0 0 20px rgba(188, 19, 254, 0.5);
  --glow-pink: 0 0 20px rgba(255, 0, 110, 0.5);

  /* Typography */
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
}

::-webkit-scrollbar {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ============================================
   FLOATING PARTICLES - FIXED
   ============================================ */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Animated Background Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-blue);
  border-radius: 50%;
  opacity: 0;
  /* PASTIKAN animation terdefinisi dengan benar */
  animation-name: float;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  box-shadow: 0 0 10px var(--neon-blue);

  /* Posisi awal random di bawah layar */
  bottom: -1000px;
  left: var(--particle-left, 50%);
}

@keyframes float {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
    transform: translateY(50vh) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(-20vh) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-50vh) scale(0.5);
  }
}

/* ============================================
   NAVIGATION - HIDDEN AT TOP, SHOW ON SCROLL
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  padding: var(--space-sm) 5%;
  /* AWAL: hidden di atas */
  transform: translateY(-100%);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* MUNCUL saat scroll ke bawah */
nav.visible {
  transform: translateY(0);
  box-shadow: 0 10px 40px rgba(0, 243, 255, 0.1);
}

/* Style tambahan saat sudah scroll jauh */
nav.scrolled {
  background: rgba(10, 10, 15, 0.98);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.logo i {
  color: var(--neon-blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color 0.3s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 8px;
  background: var(--neon-blue);
  filter: blur(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--neon-blue);
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a:hover::after {
  width: 100%;
  opacity: 0.5;
}

/* Admin Badge */
.admin-badge {
  background: var(--gradient-secondary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow:
      0 0 5px var(--neon-pink),
      0 0 10px var(--neon-pink);
  }
  to {
    box-shadow:
      0 0 20px var(--neon-pink),
      0 0 30px var(--neon-pink);
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--neon-blue);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px var(--neon-blue);
}

/* ============================================
   INDEX PAGE ONLY - BODY NAIK
   ============================================ */

/* Hanya index page yang naik */
body.index-page main {
  margin-top: -28px;
}

/* Section lain di index tetap normal */
body.index-page section {
  position: relative;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* ============================================
   HERO SECTION - Gaming Style
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 243, 255, 0.15) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--neon-blue);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--neon-blue);
  margin-bottom: var(--space-md);
  animation: slideDown 0.8s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  animation: glitch 3s infinite;
}

.hero h1 .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -2px 0 var(--neon-pink);
  top: 0;
  color: var(--neon-pink);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip-path: inset(20% 0 80% 0);
  }
  20% {
    clip-path: inset(60% 0 10% 0);
  }
  40% {
    clip-path: inset(40% 0 50% 0);
  }
  60% {
    clip-path: inset(80% 0 5% 0);
  }
  80% {
    clip-path: inset(10% 0 70% 0);
  }
  100% {
    clip-path: inset(30% 0 20% 0);
  }
}

.hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-blue);
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: var(--neon-blue);
}

/* ============================================
   BUTTONS - Neon Style
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: transparent;
  color: white;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  z-index: -2;
  transition: all 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  z-index: -1;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}

.btn:hover::before {
  filter: brightness(1.3);
}

.btn:hover::after {
  background: transparent;
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary::before {
  background: var(--gradient-primary);
}

.btn-secondary::before {
  background: linear-gradient(135deg, #636e72 0%, #b2bec3 100%);
}

.btn-danger::before {
  background: var(--gradient-secondary);
}

.btn-success::before {
  background: var(--gradient-success);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

/* Button with Icon Animation */
.btn-animated {
  position: relative;
  padding-left: 3.5rem;
}

.btn-animated i {
  position: absolute;
  left: 1.2rem;
  transition: all 0.3s ease;
}

.btn-animated:hover i {
  left: 1.5rem;
  transform: scale(1.2);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-md);
  font-size: 1.1rem;
}

/* ============================================
   FILTER SECTION
   ============================================ */
.filter-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-md);
  background: rgba(26, 26, 46, 0.5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 243, 255, 0.1);
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(0, 243, 255, 0.3);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--neon-blue);
  color: white;
  box-shadow: var(--glow-blue);
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

/* Search Container */
.search-container {
  position: relative;
  flex: 1;
  max-width: 400px;
  min-width: 250px;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 3rem;
  background: rgba(0, 243, 255, 0.05);
  border: 2px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
  background: rgba(0, 243, 255, 0.1);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neon-blue);
  transition: all 0.3s ease;
}

.search-container:focus-within .search-icon {
  transform: translateY(-50%) scale(1.2);
  filter: drop-shadow(0 0 5px var(--neon-blue));
}

/* ============================================
   GAME CARDS - 3D Hover Effect
   ============================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
  padding: var(--space-md);
  perspective: 1000px;
}

.game-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 243, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  cursor: pointer;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 243, 255, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 243, 255, 0.3),
    var(--glow-blue);
}

.game-card:hover::before {
  opacity: 1;
}

/* Card Image Container */
.game-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image {
  transform: scale(1.1);
}

/* Image Overlay with Play Button */
.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.game-card:hover .image-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.3s ease;
  box-shadow: var(--glow-blue);
}

.game-card:hover .play-btn {
  transform: scale(1);
}

.play-btn i {
  color: white;
  font-size: 1.5rem;
  margin-left: 5px;
}

/* Platform Tags */
.platform-tags {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.platform-tag {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(0, 243, 255, 0.3);
  color: var(--neon-blue);
}

/* Rating Badge */
.rating-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--gradient-primary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.rating-badge i {
  color: var(--neon-orange);
}

/* Card Content */
.game-info {
  padding: var(--space-md);
  position: relative;
}

.game-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: #ffffff;
  transition: color 0.3s ease;
}

.game-card:hover .game-title {
  color: var(--neon-blue);
}

.game-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Meta */
.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.genre-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--neon-purple);
  font-weight: 600;
  font-size: 0.9rem;
}

.genre-tag i {
  font-size: 0.8rem;
}

.release-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Card Action Button */
.card-action {
  margin-top: var(--space-md);
}

.card-action .btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.9rem;
}

/* ============================================
   ABOUT DEVELOPER SECTION
   ============================================ */
.about-section {
  position: relative;
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Developer Profile Card */
.dev-profile {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid rgba(0, 243, 255, 0.2);
  overflow: hidden;
}

.dev-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.dev-photo-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-primary);
}

.dev-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-card);
}

.dev-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: var(--neon-green);
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(57, 255, 20, 0);
  }
}

.dev-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.dev-role {
  color: var(--neon-blue);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.dev-bio {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.dev-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.dev-meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.dev-meta-item i {
  color: var(--neon-blue);
  width: 20px;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-blue);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a i {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.social-links a:hover i {
  color: white;
}

/* Right Column - Skills & Achievements */
.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Skills Section */
.skills-section h3,
.achievements-section h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--neon-blue);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-md);
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 243, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-name {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.skill-level {
  font-size: 0.8rem;
  color: var(--neon-purple);
  font-weight: 600;
  text-transform: uppercase;
}

/* Achievements Timeline */
.achievements-timeline {
  position: relative;
  padding-left: 30px;
}

.achievements-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--neon-blue),
    var(--neon-purple),
    transparent
  );
}

.achievement-item {
  position: relative;
  padding-bottom: var(--space-lg);
  padding-left: var(--space-md);
}

.achievement-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
  transition: all 0.3s ease;
}

.achievement-item:hover::before {
  background: var(--neon-blue);
  transform: scale(1.3);
}

.achievement-year {
  display: inline-block;
  background: var(--gradient-primary);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.achievement-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.achievement-event {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================================
   COMMISSION SECTION
   ============================================ */
.commission-section {
  background: linear-gradient(
    135deg,
    rgba(0, 243, 255, 0.05) 0%,
    rgba(188, 19, 254, 0.05) 100%
  );
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.commission-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 243, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.commission-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.commission-header {
  margin-bottom: var(--space-lg);
}

.commission-header h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.status-indicator.open {
  background: rgba(57, 255, 20, 0.2);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  animation: pulse-green 2s infinite;
}

.status-indicator.closed {
  background: rgba(255, 0, 110, 0.2);
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
}

@keyframes pulse-green {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.6);
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.commission-description {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* Commission Form */
.commission-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--neon-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group label .required {
  color: var(--neon-pink);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(0, 243, 255, 0.05);
  border: 2px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
  background: rgba(0, 243, 255, 0.1);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300f3ff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Form Focus Animation */
.form-group:focus-within label {
  color: var(--neon-blue);
  text-shadow: 0 0 10px var(--neon-blue);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 243, 255, 0.1);
  padding: var(--space-xl) 5%;
  margin-top: var(--space-xl);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-social a {
  width: 50px;
  height: 50px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-blue);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--neon-blue);
  color: var(--bg-primary);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: var(--glow-blue);
}

.footer-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.footer-text i {
  color: var(--neon-pink);
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* ============================================
   ALERTS & NOTIFICATIONS
   ============================================ */
.alert {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  z-index: 9999;
  animation:
    slideInRight 0.5s ease,
    glow-pulse 2s infinite;
  backdrop-filter: blur(10px);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px currentColor;
  }
  50% {
    box-shadow: 0 0 40px currentColor;
  }
}

.alert-success {
  background: rgba(57, 255, 20, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
}

.alert-error {
  background: rgba(255, 0, 110, 0.15);
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
}

.alert i {
  font-size: 1.2rem;
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 80px;
  height: 80px;
  position: relative;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 4px solid transparent;
  border-top-color: var(--neon-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-ring:nth-child(2) {
  inset: 10px;
  border-top-color: var(--neon-purple);
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.loader-ring:nth-child(3) {
  inset: 20px;
  border-top-color: var(--neon-pink);
  animation-duration: 2s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--neon-blue);
  letter-spacing: 3px;
  animation: text-pulse 1.5s infinite;
}

@keyframes text-pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Animation Delays */
.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .dev-profile {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 2rem;
    --space-lg: 1.5rem;
  }

  .hero {
    padding: var(--space-lg);
  }

  .filter-section {
    flex-direction: column;
  }

  .search-container {
    width: 100%;
  }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-blue);
}

/* Selection Color */
::selection {
  background: var(--neon-blue);
  color: var(--bg-primary);
}

/* ============================================
   GAME DETAIL PAGE
   ============================================ */
.game-detail-hero {
  position: relative;
  padding-top: 100px;
  min-height: 100vh;
}

.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 5%;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.detail-cover {
  position: relative;
}

.detail-cover > div {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(0, 243, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 243, 255, 0.2);
  transition: all 0.4s ease;
}

.detail-cover:hover > div {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 243, 255, 0.3);
}

.detail-info h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff, var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* Gallery Section */
.media-gallery {
  margin-top: 4rem;
}

.gallery-section h3 {
  color: var(--neon-blue);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Enhanced Screenshot Gallery */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.screenshot-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(0, 243, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.screenshot-item:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.screenshot-item:hover img {
  transform: scale(1.1);
}

.screenshot-item.video-item {
  border-color: var(--neon-pink);
}

.screenshot-item.video-item:hover {
  box-shadow: var(--glow-pink);
}

/* Play Overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
}
