/* Design System variables */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-dark: #0B0F16;
  --surface-card: #111827;
  --text-primary: #F3EFE7;
  --text-muted: #9CA3AF;
  --accent-gold: #D4AF37;
  --accent-cyan: #00D4FF;
  
  /* Fonts */
  --font-headings: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;

  /* Font Sizes - Rule of 3 (responsive clamp implementations) */
  --size-hero: clamp(2.5rem, 8vw, 4.5rem);      /* 72px at desktop (4.5rem) */
  --size-title: clamp(1.8rem, 5vw, 2.25rem);    /* 36px at desktop (2.25rem) */
  --size-body: clamp(0.95rem, 2.5vw, 1.125rem); /* 18px at desktop (1.125rem) */
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --glass-bg: rgba(17, 24, 39, 0.85);
  --border-glow: 0 0 15px rgba(212, 175, 55, 0.15);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

/* Typography settings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

p, span, li, a, label, input, textarea {
  font-family: var(--font-body);
  font-size: var(--size-body);
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-card);
  border: 1px solid var(--accent-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.8rem 2rem;
  background: rgba(11, 15, 22, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

.logo span {
  color: var(--accent-gold);
  font-family: var(--font-headings);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent-gold);
}

.nav-links a.active::after {
  background: var(--accent-gold);
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(17, 24, 39, 0.4) 0%, var(--bg-dark) 100%);
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: var(--size-hero);
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(243, 239, 231, 0.1);
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.35em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 0.8rem;
  width: 100%;
  max-width: 500px;
}

.hero-desc {
  font-size: var(--size-body);
  max-width: 650px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Premium Buttons */
.btn {
  position: relative;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4), 0 0 0 1px var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.05);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3), 0 0 0 1px var(--accent-gold);
  transform: translateY(-2px);
}

/* Sections Layout */
section {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
}

.section-title {
  font-size: var(--size-title);
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title span {
  color: var(--accent-gold);
  font-family: var(--font-headings);
}

.section-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  margin: 0 auto;
  border-radius: 2px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.about-left {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, transparent 50%, var(--accent-cyan) 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-dark);
  filter: grayscale(20%) contrast(110%);
  transition: var(--transition-smooth);
}

.profile-frame:hover .profile-image {
  filter: grayscale(0%) contrast(100%);
}

.profile-frame::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  pointer-events: none;
  z-index: -1;
  transition: var(--transition-smooth);
}

.profile-frame:hover::after {
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-color: rgba(212, 175, 55, 0.4);
}

.about-right {
  display: flex;
  flex-direction: column;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--surface-card);
  border: 1px solid rgba(243, 239, 231, 0.05);
  padding: 1.5rem;
  border-radius: 6px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card h3 {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.05);
}

.about-text {
  font-size: var(--size-body);
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.tag {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--accent-cyan);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: var(--surface-card);
  border: 1px solid rgba(243, 239, 231, 0.05);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--accent-gold);
}

.skill-card:hover .skill-icon {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotateY(360deg);
  transition: transform 0.8s ease;
}

.skill-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.skill-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
}

/* Featured Games Section */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.featured-card {
  background: var(--surface-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 231, 0.04);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 45px rgba(0, 212, 255, 0.12);
}

.game-thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.featured-card:hover .game-thumb {
  transform: scale(1.08);
}

.game-genre-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 15, 22, 0.85);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  z-index: 5;
}

.game-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.game-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.game-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-tech-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.game-tech-list span {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(243, 239, 231, 0.03);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  border: 1px solid rgba(243, 239, 231, 0.05);
}

/* Dynamic Catalog Filter & Search Section (All Games) */
.catalog-controls {
  background: var(--surface-card);
  border: 1px solid rgba(243, 239, 231, 0.05);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-box-container {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid rgba(243, 239, 231, 0.1);
  padding: 1rem 1.5rem 1rem 3rem;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

.search-icon-svg {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  fill: var(--text-muted);
  width: 1.2rem;
  height: 1.2rem;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.search-input:focus + .search-icon-svg {
  fill: var(--accent-cyan);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(243, 239, 231, 0.15);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.filter-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  min-height: 200px;
}

/* Regular catalog cards style */
.game-card {
  background: var(--surface-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 231, 0.04);
  transition: var(--transition-smooth), opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.game-card.hide {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.08);
}

.game-card .game-info {
  padding: 1.5rem;
}

.game-card .game-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.game-card .game-desc {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px dashed rgba(243, 239, 231, 0.1);
  border-radius: 8px;
}

/* Achievements Grid & Cards Styles - HUD Achievement Theme */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  min-height: 250px;
}

.achievement-card {
  position: relative;
  background: rgba(22, 28, 45, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(243, 239, 231, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.achievement-card.hide {
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

/* Accent Indicator Lines */
.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-cyan);
  z-index: 5;
  transition: all 0.3s ease;
}

.achievement-card[data-categories*="leadership"]::before {
  background: var(--accent-gold);
}

/* Hover Shimmer Slide */
.achievement-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: skewX(-20deg);
  transition: none;
  z-index: 10;
}

.achievement-card:hover::after {
  left: 150%;
  transition: all 0.8s ease;
}

/* Hover Effects */
.achievement-card:hover {
  transform: translateY(-10px);
  background: rgba(22, 28, 45, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.achievement-card[data-categories*="leadership"]:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.achievement-card:not([data-categories*="leadership"]):hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.2);
}

.achievement-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #05070a;
  border-bottom: 1px solid rgba(243, 239, 231, 0.06);
}

/* Image overlay for cinematic dark look */
.achievement-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 15, 22, 0.3), rgba(11, 15, 22, 0.85));
  z-index: 2;
  transition: all 0.3s ease;
}

.achievement-card:hover .achievement-img-container::after {
  background: linear-gradient(to bottom, rgba(11, 15, 22, 0.1), rgba(11, 15, 22, 0.7));
}

.achievement-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(110%);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
}

.achievement-card:hover .achievement-img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(100%);
}

.achievement-info {
  position: relative;
  padding: 2.2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  z-index: 3;
}

.achievement-date {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
}

/* Tiny game HUD dot next to date */
.achievement-date::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin-right: 8px;
  box-shadow: 0 0 8px var(--accent-gold);
}

.achievement-card:not([data-categories*="leadership"]) .achievement-date {
  color: var(--accent-cyan);
}

.achievement-card:not([data-categories*="leadership"]) .achievement-date::before {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.achievement-role {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.achievement-org {
  font-size: 0.95rem;
  color: rgba(243, 239, 231, 0.7);
  font-weight: 600;
  margin-bottom: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px dashed rgba(243, 239, 231, 0.08);
  padding-bottom: 0.6rem;
}

.achievement-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  flex-grow: 1;
}

/* Experience Section (Timeline) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-cyan) 50%, var(--accent-gold) 100%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem 3rem;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 2.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-gold);
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  transform: scale(1.3);
}

.timeline-content {
  background: var(--surface-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(243, 239, 231, 0.04);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.05);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.timeline-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem;
  border-radius: 6px;
  background: var(--surface-card);
  border: 1px solid rgba(243, 239, 231, 0.04);
  transition: var(--transition-smooth);
}

.contact-link-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.03);
  transform: translateX(5px);
}

.contact-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.contact-link-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.contact-link-details a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-link-details a:hover {
  color: var(--accent-cyan);
}

.contact-form {
  background: var(--surface-card);
  border: 1px solid rgba(243, 239, 231, 0.05);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid rgba(243, 239, 231, 0.10);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.12);
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

.form-error {
  font-size: 0.8rem;
  color: #ff5252;
  margin-top: 0.4rem;
  display: none;
}

.form-group.invalid .form-input {
  border-color: #ff5252;
}

.form-group.invalid .form-error {
  display: block;
}

.form-success-msg {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: none;
}

/* Footer */
footer {
  background: #070a0f;
  border-top: 1px solid rgba(243, 239, 231, 0.05);
  padding: 4rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.footer-logo span {
  color: var(--accent-gold);
  font-family: var(--font-headings);
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid rgba(243, 239, 231, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.15);
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(156, 163, 175, 0.6);
}

/* Game Detail Page Specific Layouts */
.detail-back-bar {
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.back-link:hover {
  color: var(--accent-gold);
  transform: translateX(-5px);
}

.detail-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(243, 239, 231, 0.05);
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, var(--bg-dark) 5%, rgba(11, 15, 22, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
}

.detail-title {
  font-size: var(--size-hero);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.detail-genre {
  font-size: 1.1rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.detail-main h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(243, 239, 231, 0.1);
  padding-bottom: 0.5rem;
  color: var(--text-primary);
}

.detail-description {
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.detail-features {
  margin-bottom: 3rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--text-muted);
}

.features-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
}

.gallery-section h2 {
  margin-bottom: 1.5rem;
}

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

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

@media (max-width: 600px) {
  .gallery-grid.portrait {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 231, 0.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-grid.portrait .gallery-item {
  aspect-ratio: 9/16;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--accent-cyan);
}

.gallery-item:hover img {
  filter: brightness(1.1);
}

.detail-sidebar {
  position: sticky;
  top: 7rem;
  background: var(--surface-card);
  border: 1px solid rgba(243, 239, 231, 0.05);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.meta-block {
  margin-bottom: 2rem;
}

.meta-block:last-of-type {
  margin-bottom: 2.5rem;
}

.meta-label {
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.meta-value {
  font-weight: 500;
  color: var(--text-primary);
}

.tech-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-actions .btn {
  text-align: center;
  width: 100%;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .about-grid, .contact-container, .detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-left {
    order: -1;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid rgba(212, 175, 55, 0.1);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 1005;
  }

  .nav-links.active {
    right: 0;
  }

  /* Hamburger transform when menu is active */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    text-align: center;
  }
}

/* Gameplay Video Player Styles (YouTube Shorts format) */
.video-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9/16;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(243, 239, 231, 0.08);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
