/* ========================================
   GAMINUTE - COMPLETE STYLES
   Single-page portfolio for Android games
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
  /* Brand Colors */
  --cyan: #00d4ff;
  --pink: #ff3366;
  --bg: #0a0e1a;
  --surface: #141b2e;
  --surface-2: #1a2333;
  --text: #e8f0f7;
  --dim: #a0aec0;
  --tertiary: #6b7789;
  --success: #00ff88;
  --error: #ff4757;
  
  /* Layout */
  --container: 1080px;
  --radius: 16px;
  --pad-section: clamp(80px, 12vh, 140px);
  --gap: 24px;
  --shadow: 0 10px 40px rgba(0,0,0,.4);
  --header-h: 72px;
  
  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Simple noise texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .05;
  mix-blend-mode: soft-light;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.50'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
  color: var(--text);
}

h3 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
}

p {
  margin-bottom: 0;
  color: var(--dim);
}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--dim);
  line-height: 1.65;
}

/* ========== LAYOUT HELPERS ========== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 32px);
}

.section {
  padding-block: var(--pad-section);
  position: relative;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-subtitle {
  color: var(--dim);
  font-size: clamp(16px, 1.8vw, 18px);
  margin-top: 12px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .3px;
  transition: all .25s var(--ease-smooth);
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: #0a0e1a;
  box-shadow: 0 4px 20px rgba(0,212,255,.25);
}

.btn-primary:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,51,102,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,.25);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-1px);
}

/* Disabled/Static Button State */
.btn-static {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--dim);
  cursor: default;
  box-shadow: none;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

/* ========== HEADER ========== */
#main-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(12px);
  background: rgba(10,14,26,.95);
  border-bottom: 1px solid rgba(255,255,255,.15);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -.3px;
  transition: opacity .2s ease;
}

.brand:hover {
  opacity: .85;
}

.brand img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0,0,0,.3));
}

.brand-word {
  display: inline-flex;
  gap: 0;
  line-height: 1;
}

.brand .ga {
  color: var(--pink);
}

.brand .minute {
  color: var(--cyan);
}

/* Desktop Nav */
#desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--dim);
  transition: all .2s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform .2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

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

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

#desktop-nav .btn {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
  margin-left: 4px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  transition: all .2s ease;
  z-index: 2100;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s var(--ease-smooth);
}

.hamburger:hover {
  background: rgba(255,255,255,.10);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Mobile Panel */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 2050;
  pointer-events: none;
}

.mobile-panel[aria-hidden="false"] {
  pointer-events: auto;
}

.mobile-panel__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7,10,18,.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease;
}

.mobile-panel[aria-hidden="false"] .mobile-panel__backdrop {
  opacity: 1;
}

.mobile-panel__sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 380px);
  background: linear-gradient(135deg, rgba(10,14,26,.98), rgba(10,14,26,.95));
  border-left: 1px solid rgba(255,255,255,.2);
  padding: 88px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(100%);
  transition: transform .3s var(--ease-smooth);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,.5);
}

.mobile-panel[aria-hidden="false"] .mobile-panel__sheet {
  transform: translateX(0);
}

.mobile-link {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  transition: all .2s ease;
}

.mobile-link:active {
  background: rgba(255,255,255,.08);
}

.mobile-panel__sheet .btn {
  width: 100%;
  margin-top: 8px;
}

/* ========== HERO SECTION ========== */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.3);
  color: #b8e7ff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.9); }
}

.hero-title {
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1.05;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--text) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 50px;
  max-width: 900px;
  margin-inline: auto;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

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

.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== GAMES SECTION (OPEN LAYOUT) ========== */
.games-section {
  background: var(--bg);
}

.controls-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 80px;
  align-items: center;
}

.search-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--dim);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 48px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: all .2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.search-input::placeholder {
  color: var(--tertiary);
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}

.chip:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
  color: var(--text);
}

.chip.active {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}

.sort-select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s ease;
}

.sort-select:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}

.sort-select option {
  background: var(--bg);
  color: var(--text);
  padding: 12px;
}

/* Games Grid - Flex Column for Zig-Zag */
.games-grid {
  display: flex;
  flex-direction: column;
  gap: 120px; /* Big space between games */
}

.game-card {
  display: flex;
  align-items: center;
  gap: 64px;
  transition: opacity .3s var(--ease-smooth);
}

/* Even cards (2nd, 4th...) reverse order */
.game-card:nth-child(even) {
  flex-direction: row-reverse;
}

/* Image container with Glow */
.game-thumb {
  flex: 1.1;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6); /* Deep shadow */
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

/* Specific Glows based on Brand */
.game-card:nth-child(odd) .game-thumb {
  /* Cyan glow for odd */
  box-shadow: 0 0 0 1px rgba(0,212,255,0.1), 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0,212,255,0.15);
}

.game-card:nth-child(even) .game-thumb {
  /* Pink glow for even */
  box-shadow: 0 0 0 1px rgba(255, 51, 102,0.1), 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255, 51, 102,0.15);
}

.game-thumb:hover {
  transform: scale(1.02);
}

.game-card:nth-child(odd) .game-thumb:hover {
   box-shadow: 0 0 0 1px rgba(0,212,255,0.3), 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(0,212,255,0.25);
}

.game-card:nth-child(even) .game-thumb:hover {
   box-shadow: 0 0 0 1px rgba(255, 51, 102,0.3), 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(255, 51, 102,0.25);
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-badges {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.badge-live {
  background: rgba(0, 255, 136, 0.25);
  border: 1px solid var(--success);
  color: var(--success);
}

.badge-dev {
  background: rgba(255, 51, 102, 0.25);
  border: 1px solid var(--pink);
  color: var(--pink);
}

.badge-concept {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--dim);
}

.badge-genre {
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.game-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.game-title {
  margin-bottom: 24px;
  /* Font size is set in H3 helper but can be overridden here if needed */
}

.game-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--dim);
  margin-bottom: 32px;
  max-width: 500px;
}

.game-actions {
  display: flex;
  gap: 16px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  margin: auto;
}

.empty-icon {
  width: 64px;
  height: 64px;
  color: var(--dim);
  opacity: .5;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: var(--dim);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--tertiary);
  margin-bottom: 20px;
}

/* ========== ABOUT SECTION ========== */
.about-section {
  background: var(--bg);
}

.about-content {
  max-width: 900px;
  margin-inline: auto;
}

.about-card {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
}

.creator-profile {
  text-align: center;
  margin-bottom: 30px;
}

.creator-image-wrap {
  position: relative;
  display: inline-block;
  padding: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--cyan) 0%, transparent 70%);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
  margin-bottom: 20px;
}

.creator-image-wrap img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  display: block;
}

.creator-profile h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.creator-role {
  color: var(--cyan);
  font-weight: 600;
  font-size: 15px;
}

.about-text p {
  color: var(--dim);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Philosophy Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.philosophy-card {
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all .3s ease;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.4);
}

.philosophy-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.philosophy-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.philosophy-card p {
  color: var(--dim);
  font-size: 15px;
  line-height: 1.6;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  background: var(--bg);
}

.faq-wrapper {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: all .3s ease;
}

.faq-item:hover {
  border-color: rgba(255,255,255,.3);
}

.faq-item[open] {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(255, 51, 102, 0.05));
  border-color: rgba(0, 212, 255, 0.4);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "›";
  font-size: 28px;
  color: var(--cyan);
  transform: rotate(90deg);
  transition: transform .3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-90deg);
}

.faq-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--dim);
  font-size: 16px;
  line-height: 1.7;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-content a {
  color: var(--cyan);
  text-decoration: underline;
  transition: opacity .2s ease;
}

.faq-content a:hover {
  opacity: .8;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: var(--bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin-inline: auto;
}

.contact-form {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: all .2s ease;
  resize: vertical;
}

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder {
  color: var(--tertiary);
}

.form-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--error);
  font-weight: 600;
}

.btn-submit {
  width: 100%;
  position: relative;
}

.btn-text,
.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-text[hidden],
.btn-loader[hidden] {
  display: none;
}

.spinner {
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all .3s ease;
}

.info-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.info-icon {
  width: 32px;
  height: 32px;
  color: var(--cyan);
  margin: 0 auto 12px;
}

.info-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}

.info-card p {
  color: var(--dim);
  font-size: 14px;
}

/* ========== TOAST NOTIFICATIONS ========== */
#toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  min-width: 300px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(20,27,46,.98), rgba(10,14,26,.98));
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(400px);
  opacity: 0;
  animation: slideIn .3s var(--ease-smooth) forwards;
  pointer-events: auto;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.removing {
  animation: slideOut .3s var(--ease-smooth) forwards;
}

@keyframes slideOut {
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.toast-success {
  border-left: 4px solid var(--success);
}

.toast-success .toast-icon {
  color: var(--success);
}

.toast-error {
  border-left: 4px solid var(--error);
}

.toast-error .toast-icon {
  color: var(--error);
}

.toast-body {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.toast-message {
  font-size: 13px;
  color: var(--dim);
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 48px 0;
}

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

.footer-brand {
  margin-bottom: 24px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease;
}

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

.footer-copy {
  color: var(--tertiary);
  font-size: 13px;
}

/* ========== UTILITY CLASSES ========== */

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.05) 25%,
    rgba(255,255,255,.1) 50%,
    rgba(255,255,255,.05) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 12px;
  min-height: 200px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Body Scroll Lock */
body.modal-open {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  :root {
    --pad-section: clamp(60px, 10vh, 100px);
  }

  #desktop-nav {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .controls-bar {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  .filter-chips {
    order: 3;
  }

  .sort-select {
    order: 2;
  }
  
  /* Mobile Stacked Layout */
  .games-grid {
    gap: 80px;
  }
  
  .game-card, 
  .game-card:nth-child(even) {
    flex-direction: column !important;
    gap: 32px;
  }
  
  .game-thumb {
    width: 100%;
  }

  .game-body {
    align-items: flex-start;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: -1;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  #toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast {
    min-width: unset;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .btn {
    height: 48px;
    padding: 0 20px;
    font-size: 15px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}