@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* Colors - clean, professional */
  --white: #ffffff;
  --bg: #fafafa;
  --bg2: #f4f4f5;
  --bg3: #eeeeef;
  --border: #e4e4e7;
  --border2: #d4d4d8;
  --text: #09090b;
  --text2: #52525b;
  --text3: #a1a1aa;
  --accent: #1a56db;
  --accent-light: #eff6ff;
  --accent-hover: #1e40af;
  --success: #16a34a;
  --success-light: #f0fdf4;
  --card: #ffffff;

  /* Layout */
  --nav-h: 68px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); font-family: var(--font-display); font-weight: 400; }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }
p { color: var(--text2); font-weight: 400; font-size: 1rem; }
a { color: inherit; text-decoration: none; }

/* ─── LAYOUT ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg); }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,0.95);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--text);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 16px; height: 16px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg); }
.nav-links a.active { color: var(--text); background: var(--bg2); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  padding: 8px 18px;
  background: var(--text);
  color: white !important;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #27272a; transform: none; }

/* Hamburger */
.hamburger {
  display: flex;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.hamburger:hover { background: var(--bg); border-color: var(--border2); }
.hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text2);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
}
.mobile-menu a:hover { background: var(--bg); color: var(--text); }
.mobile-menu a.active { background: var(--bg2); color: var(--text); }
.mobile-menu .mob-cta {
  margin-top: 8px;
  background: var(--text);
  color: white !important;
  justify-content: center;
}
.mobile-menu .mob-cta:hover { background: #27272a; }
.mob-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--success-light);
  border: 1px solid rgba(22,163,74,0.2);
  padding: 5px 14px 5px 8px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.status-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(22,163,74,0); }
}
.hero-title { margin-bottom: 24px; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1.1rem; max-width: 460px; margin-bottom: 40px; line-height: 1.75; color: var(--text2); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-meta-item { text-align: left; }
.hero-meta-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: -0.03em;
}
.hero-meta-label { font-size: 0.78rem; color: var(--text3); font-weight: 500; margin-top: 2px; }
.hero-meta-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* Hero Card */
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-avatar {
  width: 72px; height: 72px;
  background: var(--text);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-body);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero-card-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.hero-card-role { font-size: 0.85rem; color: var(--text2); margin-bottom: 28px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.stat-item { background: var(--bg); padding: 16px; }
.stat-num { font-size: 1.6rem; font-weight: 700; color: var(--text); letter-spacing: -0.04em; font-family: var(--font-body); }
.stat-label { font-size: 0.72rem; color: var(--text3); font-weight: 500; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.hero-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag {
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.76rem;
  color: var(--text2);
  font-weight: 500;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #27272a; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--bg); border-color: var(--border2); transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(26,86,219,0.25);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,86,219,0.3); }
.btn-ghost { background: transparent; color: var(--text2); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: 7px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── SECTION HEADER ─── */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; max-width: 500px; line-height: 1.7; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s ease;
}
.card:hover { border-color: var(--border2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* ─── FEATURE CARDS ─── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}
.feature-card:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; color: var(--text2); }
.feature-card h3 { margin-bottom: 8px; font-size: 0.98rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.65; }

/* ─── PROJECTS ─── */
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}
.project-card:hover { border-color: var(--border2); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.project-thumb {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.project-thumb-icon {
  width: 52px; height: 52px;
  opacity: 0.3;
}
.project-body { padding: 22px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.project-tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg2);
  color: var(--text2);
  border: 1px solid var(--border);
}
.project-body h3 { margin-bottom: 8px; font-size: 1.05rem; }
.project-body p { font-size: 0.875rem; margin-bottom: 18px; line-height: 1.65; }
.project-links { display: flex; gap: 8px; }

/* ─── PAGE HERO ─── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 520px; line-height: 1.75; margin-bottom: 32px; }
.page-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green { background: var(--success-light); color: var(--success); border: 1px solid rgba(22,163,74,0.2); }
.badge-blue { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(26,86,219,0.2); }
.badge-gray { background: var(--bg2); color: var(--text2); border: 1px solid var(--border); }
.badge svg { width: 12px; height: 12px; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info p { margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 10px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.contact-method:hover { border-color: var(--border2); background: var(--bg); }
.contact-method-icon {
  width: 38px; height: 38px;
  background: var(--bg2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method-icon svg { width: 18px; height: 18px; color: var(--text2); }
.contact-method-detail .label { font-size: 0.72rem; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-method-detail .value { color: var(--text); font-weight: 500; font-size: 0.9rem; margin-top: 1px; }

/* ─── FORM ─── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: all 0.2s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pricing-featured-label {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-tier { font-size: 0.78rem; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.pricing-price { font-size: 2.4rem; font-weight: 700; color: var(--text); margin-bottom: 4px; letter-spacing: -0.04em; font-family: var(--font-body); }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text3); }
.pricing-period { font-size: 0.82rem; color: var(--text3); margin-bottom: 22px; }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  font-size: 0.875rem;
  color: var(--text2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features li .check { width: 16px; height: 16px; flex-shrink: 0; color: var(--success); margin-top: 1px; }
.pricing-features li.no { color: var(--text3); }
.pricing-features li.no .check { color: var(--text3); }

/* ─── PROCESS ─── */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.process-step { background: var(--white); padding: 28px 24px; }
.step-num {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text2);
  font-family: var(--font-body);
  margin-bottom: 16px;
}
.process-step h3 { margin-bottom: 8px; font-size: 0.95rem; }
.process-step p { font-size: 0.85rem; }

/* ─── SKILL BARS ─── */
.skill-bar-item { margin-bottom: 18px; }
.skill-bar-label { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skill-bar-label span { font-size: 0.875rem; font-weight: 500; }
.skill-bar-label span:last-child { color: var(--text3); font-size: 0.8rem; }
.skill-bar-track { height: 5px; background: var(--bg2); border-radius: 100px; overflow: hidden; }
.skill-bar-fill { height: 100%; background: var(--text); border-radius: 100px; width: 0; transition: width 1.2s cubic-bezier(0.4,0,0.2,1); }

/* ─── GAMES ─── */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.game-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  user-select: none;
}
.game-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.game-card:hover .game-play-btn { opacity: 1; transform: translateY(0); }
.game-icon-wrap { margin-bottom: 12px; }
.game-icon-wrap svg { width: 36px; height: 36px; color: var(--text2); }
.game-name { font-size: 0.85rem; font-weight: 600; text-align: center; padding: 0 12px; }
.game-genre { font-size: 0.72rem; color: var(--text3); margin-top: 4px; }
.game-play-btn {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--text);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.game-play-btn svg { width: 14px; height: 14px; }

/* ─── GAME MODAL ─── */
.game-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.game-modal.open { display: flex; }
.game-modal-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 680px;
  max-height: 90vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.game-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.game-modal-title { display: flex; align-items: center; gap: 10px; }
.game-modal-title h3 { font-size: 1rem; }
.close-modal {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  color: var(--text2);
}
.close-modal:hover { background: var(--bg); color: var(--text); }
.close-modal svg { width: 16px; height: 16px; }
.game-modal-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.game-container {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.game-score-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.score-item .label { font-size: 0.68rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.score-item .value { font-size: 1.15rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--bg);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.875rem; max-width: 240px; margin-top: 14px; margin-bottom: 20px; line-height: 1.6; }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  cursor: pointer;
  color: var(--text2);
}
.social-btn:hover { background: var(--bg2); border-color: var(--border2); color: var(--text); }
.social-btn svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text3); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text2); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text3); }

/* ─── DIVIDER ─── */
.divider { height: 1px; background: var(--border); margin: 56px 0; }

/* ─── LOADING SPINNER ─── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border2);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TOAST ─── */
.toast-wrap {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 99999;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--text);
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease;
  pointer-events: all;
}
.toast.error { background: #dc2626; }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ─── ANIMATIONS ─── */
.animate { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

/* ─── CTA STRIP ─── */
.cta-strip {
  background: var(--text);
  border-radius: var(--radius);
  padding: 56px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 { color: white; margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,0.6); }
.cta-strip .btn-primary { background: white; color: var(--text); }
.cta-strip .btn-secondary { background: transparent; color: white; border-color: rgba(255,255,255,0.25); }
.cta-strip .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── COLLAB CARDS ─── */
.collab-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.collab-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}
.collab-card:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.collab-card-icon {
  width: 48px; height: 48px;
  background: var(--bg2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.collab-card-icon svg { width: 22px; height: 22px; color: var(--text2); }
.collab-card h3 { margin-bottom: 8px; }
.collab-card p { font-size: 0.875rem; margin-bottom: 18px; }
.collab-perks { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.collab-perks li { font-size: 0.84rem; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.collab-perks li svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links, .nav-right .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-strip { padding: 36px 28px; flex-direction: column; align-items: flex-start; }
  .about-grid,
  .about-cards-grid,
  .two-col-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 14px; }
}
