:root {
  --blue-50:  #f0f7ff;
  --blue-100: #daeeff;
  --blue-200: #b8dcf8;
  --blue-400: #60aee8;
  --blue-500: #3b90d6;
  --blue-700: #1e5fa3;
  --blue-900: #0d2f5e;
  --white:    #ffffff;
  --gray-100: #f4f8fb;
  --gray-300: #c8d8e8;
  --gray-500: #6e8aa8;
  --gray-700: #2c4560;
  --radius:   14px;
  --shadow-sm: 0 2px 12px rgba(30,95,163,0.08);
  --shadow-md: 0 6px 28px rgba(30,95,163,0.13);
  --shadow-lg: 0 16px 56px rgba(30,95,163,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--gray-700);
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--blue-100);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo-img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--blue-200);
  object-fit: cover;
}

.nav-logo-text {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--blue-900);
  letter-spacing: -0.3px;
}

.nav-logo-text span { color: var(--blue-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-500);
  text-decoration: none;
  padding: 7px 15px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}

.nav-links a:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav-cta {
  background: var(--blue-500) !important;
  color: white !important;
  padding: 8px 20px !important;
  font-weight: 800 !important;
  border-radius: 8px;
  box-shadow: 0 3px 14px rgba(59,144,214,0.32);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s !important;
}

.nav-cta:hover {
  background: var(--blue-700) !important;
  box-shadow: 0 6px 22px rgba(59,144,214,0.42) !important;
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 48px 80px;
  background: linear-gradient(160deg, var(--blue-50) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--blue-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(96,174,232,0.14) 0%, transparent 70%);
  top: -60px; right: 5%;
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: 1060px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.4rem;
  border: 1px solid var(--blue-200);
}

.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--blue-900);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
}

.hero-h1 .blue { color: var(--blue-500); }

.hero-p {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.2rem;
  font-weight: 600;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s, box-shadow 0.14s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 4px 18px rgba(59,144,214,0.35);
}

.btn-primary:hover { box-shadow: 0 8px 28px rgba(59,144,214,0.48); }

.btn-ghost {
  background: var(--white);
  color: var(--blue-700);
  border: 2px solid var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover { border-color: var(--blue-400); box-shadow: var(--shadow-md); }

/* ── HERO VISUAL ── */
.hero-visual { flex-shrink: 0; position: relative; }

.hero-img-ring {
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 3px solid var(--blue-200);
  padding: 6px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: floatLamp 5s ease-in-out infinite;
}

@keyframes floatLamp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-img-ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero-img-ring::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 2px dashed var(--blue-200);
  animation: spinRing 18s linear infinite;
}

@keyframes spinRing { to { transform: rotate(360deg); } }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue-700);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-top: 2px;
  display: block;
}

/* ── SECTIONS ── */
.section {
  padding: 96px 48px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 8px;
}

.section-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--blue-900);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--gray-500);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ── GAMES GRID ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  background: var(--white);
  border: 1.5px solid var(--blue-100);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.card-top {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.ct-1 { background: linear-gradient(135deg, #daeeff 0%, #b8dcf8 100%); }
.ct-2 { background: linear-gradient(135deg, #e8f4ff 0%, #c8e8ff 100%); }
.ct-3 { background: linear-gradient(135deg, #f0f7ff 0%, #d0e8fa 100%); }

.card-body { padding: 20px 22px 22px; }

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--blue-900);
  margin-bottom: 6px;
}

.card-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  font-weight: 600;
}

.card-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--blue-100);
  color: var(--blue-700);
}

/* ── ABOUT ── */
.about-section {
  background: var(--blue-50);
  padding: 96px 48px;
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
}

.about-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--blue-900);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-inner p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-card {
  background: var(--white);
  border: 1.5px solid var(--blue-200);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 3px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.55;
}

/* ── FOOTER ── */
footer {
  background: var(--blue-900);
  color: var(--blue-200);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--blue-400);
  object-fit: cover;
}

.footer-logo span {
  font-weight: 900;
  color: var(--white);
  font-size: 0.95rem;
}

footer p { font-size: 0.85rem; font-weight: 600; }

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-200);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: white; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════
   RESPONSIVE — TABLET (max 900px)
══════════════════════════════════ */
@media (max-width: 900px) {

  nav { padding: 0 24px; }

  .nav-links { gap: 2px; }

  .nav-links a { padding: 7px 10px; font-size: 0.82rem; }

  .hero { padding: 100px 32px 60px; }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
  }

  .hero-text { display: flex; flex-direction: column; align-items: center; }

  .hero-p { max-width: 100%; }

  .hero-img-ring { width: 220px; height: 220px; }

  .stats-bar { padding: 28px 24px; flex-wrap: wrap; gap: 0; }

  .stat-item {
    flex: 1 1 50%;
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .section { padding: 64px 24px; }

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

  .about-section { padding: 64px 24px; }

  .about-inner { grid-template-columns: 1fr; gap: 36px; }

  footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ══════════════════════════════════
   RESPONSIVE — MOBILE (max 600px)
══════════════════════════════════ */
@media (max-width: 600px) {

  nav { padding: 0 20px; height: 60px; }

  .nav-logo-text { font-size: 0.92rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--blue-100);
    box-shadow: var(--shadow-md);
    gap: 4px;
    z-index: 199;
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1rem; padding: 12px 16px; border-radius: 10px; color: var(--blue-900); }

  .nav-cta { margin-top: 6px; text-align: center; justify-content: center; }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.15s;
  }

  .nav-hamburger:hover { background: var(--blue-50); }

  .nav-hamburger span {
    display: block;
    width: 22px; height: 2.5px;
    background: var(--blue-900);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero { padding: 80px 20px 50px; min-height: auto; }

  .hero-inner { gap: 32px; }

  .hero-img-ring { width: 180px; height: 180px; }

  .hero-img-ring::after { inset: -12px; }

  .hero-actions { flex-direction: column; width: 100%; }

  .hero-actions .btn { width: 100%; justify-content: center; }

  .stats-bar { padding: 20px 16px; }

  .stat-item { flex: 1 1 50%; }

  .stat-num { font-size: 1.7rem; }

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

  .section { padding: 52px 20px; }

  .about-section { padding: 52px 20px; }

  footer { padding: 28px 20px; text-align: center; align-items: center; }

  .footer-links { justify-content: center; }
}
    
    .team-hero {
      padding: 160px 48px 80px;
      text-align: center;
      background: linear-gradient(160deg, var(--blue-50) 0%, var(--white) 60%);
      position: relative;
      overflow: hidden;
    }
 
    .team-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--blue-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--blue-100) 1px, transparent 1px);
      background-size: 48px 48px;
      opacity: 0.4;
    }
 
    .team-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 640px;
      margin: 0 auto;
    }
 
    .team-hero .hero-badge {
      margin-bottom: 1.2rem;
    }
 
    .team-hero h1 {
      font-size: clamp(2.2rem, 5vw, 3.6rem);
      font-weight: 900;
      color: var(--blue-900);
      letter-spacing: -1px;
      line-height: 1.12;
      margin-bottom: 1rem;
    }
 
    .team-hero h1 .blue { color: var(--blue-500); }
 
    .team-hero p {
      font-size: 1.05rem;
      color: var(--gray-500);
      font-weight: 600;
      line-height: 1.7;
    }
 
    /* ── PROFILE CARD ── */
    .profile-section {
      padding: 80px 48px 96px;
      max-width: 1000px;
      margin: 0 auto;
    }
 
    .profile-card {
      background: var(--white);
      border: 1.5px solid var(--blue-100);
      border-radius: 24px;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }
 
    .profile-top {
      background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 100%);
      padding: 48px 48px 0;
      display: flex;
      align-items: flex-end;
      gap: 36px;
    }
 
    .profile-avatar {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      border: 4px solid white;
      background: var(--blue-100);
      box-shadow: 0 8px 28px rgba(0,0,0,0.2);
      flex-shrink: 0;
      margin-bottom: -24px;
      overflow: hidden;
    }
 
    .profile-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }
 
    .profile-top-text {
      padding-bottom: 28px;
      color: white;
    }
 
    .profile-top-text h2 {
      font-size: 2rem;
      font-weight: 900;
      letter-spacing: -0.5px;
      margin-bottom: 4px;
    }
 
    .profile-role {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255,255,255,0.18);
      color: white;
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 100px;
      border: 1px solid rgba(255,255,255,0.3);
    }
 
    .profile-body {
      padding: 48px;
    }
 
    /* ── BIO ── */
    .bio-block {
      margin-bottom: 40px;
    }
 
    .block-label {
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--blue-500);
      margin-bottom: 10px;
    }
 
    .bio-text {
      font-size: 1.05rem;
      color: var(--gray-700);
      line-height: 1.8;
      font-weight: 600;
    }
 
    /* ── FACTS ── */
    .facts-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-bottom: 40px;
    }
 
    .fact-card {
      background: var(--blue-50);
      border: 1.5px solid var(--blue-100);
      border-radius: 14px;
      padding: 18px 20px;
      transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    }
 
    .fact-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
      border-color: var(--blue-200);
    }
 
    .fact-emoji {
      font-size: 1.8rem;
      margin-bottom: 8px;
      display: block;
    }
 
    .fact-title {
      font-size: 0.88rem;
      font-weight: 900;
      color: var(--blue-900);
      margin-bottom: 3px;
    }
 
    .fact-desc {
      font-size: 0.82rem;
      color: var(--gray-500);
      font-weight: 600;
      line-height: 1.5;
    }
 
    /* ── DIVIDER ── */
    .profile-divider {
      border: none;
      border-top: 1.5px solid var(--blue-100);
      margin: 0 0 40px;
    }
 
    /* ── LINKEDIN BUTTON ── */
    .linkedin-row {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
 
    .btn-linkedin {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #0a66c2;
      color: white;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 0.95rem;
      padding: 13px 26px;
      border-radius: var(--radius);
      text-decoration: none;
      box-shadow: 0 4px 16px rgba(10,102,194,0.3);
      transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
    }
 
    .btn-linkedin:hover {
      background: #004182;
      box-shadow: 0 8px 24px rgba(10,102,194,0.42);
      transform: translateY(-2px);
    }
 
    .btn-linkedin svg {
      width: 18px; height: 18px;
      fill: white;
      flex-shrink: 0;
    }
 
    .linkedin-note {
      font-size: 0.88rem;
      color: var(--gray-500);
      font-weight: 600;
    }
 
    /* ── SOLO STUDIO BANNER ── */
    .solo-banner {
      background: var(--blue-700);
      padding: 48px;
      text-align: center;
      margin-top: 0;
    }
 
    .solo-banner p {
      font-size: 1.05rem;
      color: var(--blue-200);
      font-weight: 600;
      max-width: 540px;
      margin: 0 auto 20px;
      line-height: 1.7;
    }
 
    .solo-banner strong {
      color: white;
    }
 
    /* ── BACK LINK ── */
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 0.88rem;
      font-weight: 800;
      color: var(--blue-500);
      text-decoration: none;
      margin-bottom: 2rem;
      transition: color 0.15s, gap 0.15s;
    }
 
    .back-link:hover {
      color: var(--blue-700);
      gap: 10px;
    }

    .nav-hamburger { display: none; }

    @media (max-width: 900px) {
  .profile-top { flex-direction: column; align-items: flex-start; padding: 32px 32px 0; gap: 16px; }
  .profile-avatar { margin-bottom: -20px; }
  .profile-body { padding: 36px 32px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .team-hero { padding: 110px 32px 60px; }
  .profile-section { padding: 60px 24px 72px; }
  .about-inner { grid-template-columns: 1fr; }
  .solo-banner { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .profile-top { padding: 24px 20px 0; }
  .profile-avatar { width: 100px; height: 100px; }
  .profile-top-text h2 { font-size: 1.5rem; }
  .profile-body { padding: 28px 20px; }
  .facts-grid { grid-template-columns: 1fr; }
  .team-hero { padding: 90px 20px 48px; }
  .profile-section { padding: 40px 16px 60px; }
  .linkedin-row { flex-direction: column; align-items: flex-start; }
  .solo-banner { padding: 36px 20px; }
}