:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --surface2: #f3f4f6;
  --border: #e5e7eb;
  --border-light: #d1d5db;
  --text: #0d1117;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --accent: #2563EB;
  --accent-glow: rgba(37,99,235,.12);
  --accent-2: #7c3aed;
  --accent-2-glow: rgba(124,58,237,.08);
  --green: #059669;
  --green-glow: rgba(5,150,105,.08);
  --amber: #d97706;
  --amber-glow: rgba(217,119,6,.08);
}

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

body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background dot pattern ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, #2563EB0d 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse, rgba(37,99,235,.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-logo-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-pills {
  display: flex;
  gap: .3rem;
}

.nav-pill {
  font-family: Tahoma, sans-serif;
  font-size: .65rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  text-decoration: none;
  transition: all .2s;
}

.nav-pill:hover { border-color: var(--accent); color: var(--accent); }

.nav-cta {
  padding: .42rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #4070e0);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  box-shadow: 0 0 18px var(--accent-glow);
  white-space: nowrap;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: Tahoma, sans-serif;
  font-size: .68rem;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(91,138,240,.25);
  padding: .32rem .9rem;
  border-radius: 999px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  animation: fadeUp .5s ease both;
}

.hero-eyebrow::before { content: '◆'; font-size: .5rem; }

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1.2rem;
  animation: fadeUp .5s .08s ease both;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fadeUp .5s .16s ease both;
}

.hero-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .5s .24s ease both;
}

.btn-primary {
  padding: .78rem 1.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #4070e0);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: opacity .2s, transform .15s;
}
.btn-primary:hover { opacity: .88; transform: translateY(-2px); }

.btn-ghost {
  padding: .78rem 1.9rem;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--border-light);
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── Stats ── */
.stats-strip {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  animation: fadeUp .5s .32s ease both;
}

.stat {
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-val {
  font-family: 'Roboto', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1;
}

.stat-lbl {
  font-family: Tahoma, sans-serif;
  font-size: .6rem;
  color: var(--text-dim);
  margin-top: .35rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Section headers ── */
.section-header {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 1.6rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title-group {}

.section-label {
  font-family: Tahoma, sans-serif;
  font-size: .62rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .4rem;
}

.section-label.green { color: var(--green); }

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.1;
}

.section-desc {
  font-size: .85rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
  text-align: right;
}

/* ── App Section ── */
.apps-section {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ── App Card ── */
.app-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), border-color .2s, box-shadow .2s;
  animation: fadeUp .5s ease both;
}

a.app-card { cursor: pointer; }

.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity .2s;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 48px rgba(37,99,235,.1), 0 0 0 1px #bfdbfe;
}

.app-card:hover::before { opacity: 1; }

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface2);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.app-badge {
  font-family: Tahoma, sans-serif;
  font-size: .58rem;
  font-weight: 600;
  padding: .22rem .6rem;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-ai { background: var(--accent-glow); color: var(--accent); border: 1px solid rgba(91,138,240,.2); }
.badge-media { background: var(--accent-2-glow); color: var(--accent-2); border: 1px solid rgba(192,132,252,.2); }
.badge-perf { background: var(--amber-glow); color: var(--amber); border: 1px solid rgba(245,158,11,.2); }
.badge-gen { background: var(--green-glow); color: var(--green); border: 1px solid rgba(52,211,153,.2); }

.app-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.2;
  margin-top: .5rem;
}

.app-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.app-tech {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .2rem;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
}

.tech-chip {
  font-family: Tahoma, sans-serif;
  font-size: .58rem;
  padding: .18rem .55rem;
  border-radius: 6px;
  background: var(--surface2);
  color: var(--text-dim);
  border: 1px solid var(--border);
  letter-spacing: .02em;
}

/* ── Chatbot Featured Card ── */
.chatbot-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(37,99,235,.25);
  background: #fff;
  display: flex;
  flex-direction: column;
  animation: fadeUp .5s ease both;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  box-shadow: 0 4px 24px rgba(37,99,235,.07);
}
.chatbot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(37,99,235,.14), 0 0 0 1px rgba(37,99,235,.2);
}
.chatbot-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,.04) 0%, rgba(124,58,237,.04) 100%);
  pointer-events: none;
}
.chatbot-card-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.chatbot-card-inner {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  height: 100%;
}
.chatbot-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37,99,235,.28);
}
.chatbot-icon-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1.5px solid rgba(37,99,235,.22);
  animation: chatbotPulse 2.4s ease-in-out infinite;
}
@keyframes chatbotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.18); }
}
.chatbot-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: Tahoma, sans-serif;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid rgba(5,150,105,.18);
  padding: .22rem .65rem;
  border-radius: 999px;
}
.chatbot-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: chatbotDotPulse 1.8s ease-in-out infinite;
}
@keyframes chatbotDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.5); }
}
.chatbot-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
  line-height: 1.2;
}
.chatbot-desc {
  font-size: .81rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-top: .1rem;
}
.chatbot-stats {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  background: var(--surface2);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.chatbot-stat { text-align: center; flex: 1; }
.chatbot-stat-val {
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent);
  display: block;
}
.chatbot-stat-lbl {
  font-family: Tahoma, sans-serif;
  font-size: .54rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .15rem;
  display: block;
}
.chatbot-stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-light);
  flex-shrink: 0;
}
.chatbot-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  flex-wrap: wrap;
}
.chatbot-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chatbot-chip {
  font-family: Tahoma, sans-serif;
  font-size: .55rem;
  padding: .16rem .5rem;
  border-radius: 6px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(37,99,235,.15);
  letter-spacing: .02em;
}
.chatbot-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: .45rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #4070e0);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(37,99,235,.28);
  transition: opacity .18s, transform .15s;
  flex-shrink: 0;
}
.chatbot-cta:hover { opacity: .88; transform: translateY(-1px); }

/* ── Divider ── */
.section-divider {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* ── Games section ── */
.games-section {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* ── Filter bar ── */
.filter-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.filter-label {
  font-family: Tahoma, sans-serif;
  font-size: .6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-right: .3rem;
}

.filter-btn {
  padding: .3rem .8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: 'Roboto', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  transition: all .15s;
}

.filter-btn:hover { border-color: var(--border-light); color: var(--text); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.search-wrap { margin-left: auto; }

.search-input {
  padding: .35rem .9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: Tahoma, sans-serif;
  font-size: .72rem;
  outline: none;
  background: #fff;
  color: var(--text);
  transition: border-color .2s;
  width: 170px;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-dim); }

/* ── Game grid ── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

/* ── Game card ── */
.game-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.1rem .95rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, border-color .18s;
  cursor: pointer;
  overflow: hidden;
  animation: fadeUp .5s ease both;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(37,99,235,.12);
  border-color: #bfdbfe;
}

.game-card.hidden { display: none; }

.card-emoji {
  font-size: 2.1rem;
  line-height: 1;
  display: block;
}

.card-tag {
  font-family: Tahoma, sans-serif;
  font-size: .55rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid rgba(52,211,153,.15);
  padding: .16rem .5rem;
  border-radius: 6px;
  letter-spacing: .06em;
  text-transform: uppercase;
  align-self: flex-start;
}

.card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
}

.card-desc {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .3rem;
  padding-top: .65rem;
  border-top: 1px solid var(--border);
}

.card-controls {
  font-family: Tahoma, sans-serif;
  font-size: .58rem;
  color: var(--text-dim);
}

.card-arrow {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #4070e0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  transition: transform .15s;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-glow);
}

.game-card:hover .card-arrow { transform: translateX(3px); }

/* No results */
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-dim);
  font-family: Tahoma, sans-serif;
  font-size: .8rem;
  display: none;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-desc {
  font-size: .88rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-block;
  padding: .78rem 2.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #4070e0);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: opacity .2s, transform .15s;
}
.btn-cta:hover { opacity: .88; transform: translateY(-2px); }

.footer-linkedin-url {
  font-family: Tahoma, sans-serif;
  font-size: .72rem;
  color: var(--accent);
  opacity: .7;
  letter-spacing: .01em;
}

.footer-copy {
  font-family: Tahoma, sans-serif;
  font-size: .62rem;
  color: var(--text-dim);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.app-card:nth-child(1)  { animation-delay: .05s; }
.app-card:nth-child(2)  { animation-delay: .09s; }
.app-card:nth-child(3)  { animation-delay: .13s; }
.app-card:nth-child(4)  { animation-delay: .17s; }
.app-card:nth-child(5)  { animation-delay: .21s; }
.app-card:nth-child(6)  { animation-delay: .25s; }
.app-card:nth-child(7)  { animation-delay: .29s; }
.app-card:nth-child(8)  { animation-delay: .33s; }
.app-card:nth-child(9)  { animation-delay: .37s; }
.app-card:nth-child(10) { animation-delay: .41s; }
.app-card:nth-child(11) { animation-delay: .45s; }
.app-card:nth-child(12) { animation-delay: .49s; }

.game-card:nth-child(1)  { animation-delay: .05s; }
.game-card:nth-child(2)  { animation-delay: .08s; }
.game-card:nth-child(3)  { animation-delay: .11s; }
.game-card:nth-child(4)  { animation-delay: .14s; }
.game-card:nth-child(5)  { animation-delay: .17s; }
.game-card:nth-child(6)  { animation-delay: .20s; }
.game-card:nth-child(7)  { animation-delay: .23s; }
.game-card:nth-child(8)  { animation-delay: .26s; }
.game-card:nth-child(9)  { animation-delay: .29s; }
.game-card:nth-child(10) { animation-delay: .32s; }
.game-card:nth-child(n+11) { animation-delay: .35s; }

/* ── About Section ── */
.about-section {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

/* Positioning blurb */
.about-blurb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  padding: 1.4rem 1.8rem;
  margin-bottom: 2.5rem;
  max-width: 780px;
}

.about-blurb p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-blurb strong {
  color: var(--text);
  font-weight: 700;
}

/* Two-col layout: skills left, experience right */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── Skills panel ── */
.skills-panel {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.skills-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.3rem 1.3rem 1.1rem;
}

.skills-block-label {
  font-family: Tahoma, sans-serif;
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: .9rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.skill-tag {
  font-family: Tahoma, sans-serif;
  font-size: .68rem;
  padding: .28rem .7rem;
  border-radius: 8px;
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: border-color .15s, color .15s;
}

.skill-tag:hover { border-color: var(--accent); color: var(--accent); }

.skill-tag.accent {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: rgba(37,99,235,.2);
}

.lang-row {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
}

.lang-level {
  font-family: Tahoma, sans-serif;
  font-size: .6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Timeline ── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0 1.2rem;
  position: relative;
}

/* vertical line */
.timeline-item:not(:last-child) .tl-line {
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: -1px;
  width: 2px;
  background: var(--border);
}

.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
  transition: border-color .2s;
}

.timeline-item:first-child .tl-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.tl-body {
  padding-bottom: 2.2rem;
}

.tl-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}

.tl-role {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.tl-dates {
  font-family: Tahoma, sans-serif;
  font-size: .65rem;
  color: var(--text-dim);
  white-space: nowrap;
  margin-top: .15rem;
}

.tl-company {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .7rem;
}

.tl-company-note {
  font-family: Tahoma, sans-serif;
  font-size: .6rem;
  color: var(--text-dim);
  font-weight: 400;
}

.tl-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: .75rem;
}

.tl-bullets li {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}

.tl-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border-light);
  font-size: .7rem;
}

.tl-clients {
  font-family: Tahoma, sans-serif;
  font-size: .65rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.tl-clients strong {
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Value Props ── */
.value-section {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.value-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 2rem;
}

.value-number-item {
  padding: 1.4rem 1.6rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

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

.value-number-val {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--accent);
  line-height: 1;
}

.value-number-lbl {
  font-family: Tahoma, sans-serif;
  font-size: .65rem;
  color: var(--text-muted);
  margin-top: .4rem;
  line-height: 1.4;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, border-color .2s;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0 0 20px 20px;
  opacity: 0;
  transition: opacity .2s;
}

.value-card:nth-child(1)::after { background: var(--accent); }
.value-card:nth-child(2)::after { background: var(--accent-2); }
.value-card:nth-child(3)::after { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37,99,235,.1);
  border-color: #bfdbfe;
}

.value-card:hover::after { opacity: 1; }

.value-card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: .6rem;
  line-height: 1.2;
}

.value-card-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.value-card:nth-child(3) .value-card-title {
  color: var(--accent);
}

/* ── Campaigns Section ── */
.campaigns-section {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.campaigns-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Rotating gradient border wrapper */
.campaign-card-outer {
  position: relative;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(var(--angle, 0deg), #2563EB, #60a5fa, #a855f7, #2563EB);
  animation: border-spin 6s linear infinite;
  box-shadow: 0 4px 32px rgba(37,99,235,.12);
  transition: box-shadow .3s;
}

.campaign-card-outer:hover {
  box-shadow: 0 8px 48px rgba(37,99,235,.22);
  animation-duration: 3s;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  to { --angle: 360deg; }
}

.campaign-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}

.campaign-card-outer:hover .campaign-card {
  transform: translateY(-2px);
}

.campaign-card-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 340px;
}

.campaign-info {
  padding: 2.4rem 2rem 2.4rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-right: 1px solid var(--border);
}

.campaign-top {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}

.campaign-client-badge {
  font-family: 'Roboto', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: -.01em;
  padding: .3rem .85rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
}

.badge-dell { color: #007db8; background: rgba(0,125,184,.07); border-color: rgba(0,125,184,.25); }
.badge-lenovo { color: #e2231a; background: rgba(226,35,26,.06); border-color: rgba(226,35,26,.2); }

.campaign-type-badge {
  font-family: Tahoma, sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .26rem .7rem;
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(37,99,235,.18);
}

.campaign-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.15;
}

.campaign-period {
  font-family: Tahoma, sans-serif;
  font-size: .65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: -.4rem;
}

.campaign-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.72;
  flex: 1;
}

.campaign-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.campaign-platform {
  font-family: Tahoma, sans-serif;
  font-size: .6rem;
  padding: .22rem .6rem;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.campaign-confidential {
  font-family: Tahoma, sans-serif;
  font-size: .6rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: .3rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}

.campaign-confidential::before {
  content: '🔒';
  font-size: .65rem;
}

/* Campaign visuals */
.campaign-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  height: 100%;
}

.campaign-img {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  position: relative;
  min-height: 100px;
}

.campaign-img.span-full {
  grid-column: 1 / -1;
  min-height: 140px;
}

.campaign-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform .3s;
}

.campaign-card-outer:hover .campaign-img img {
  transform: scale(1.02);
}

.campaign-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: var(--surface2);
  color: var(--text-dim);
}

.campaign-img-placeholder span {
  font-family: Tahoma, sans-serif;
  font-size: .55rem;
  text-align: center;
  padding: 0 .5rem;
}

@media (max-width: 760px) {
  .campaign-card-inner { grid-template-columns: 1fr; }
  .campaign-visuals { display: none; }
  .campaigns-section { padding: 0 1.2rem 4rem; }
}



.featured-game-wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.featured-game {
  position: relative;
  background: linear-gradient(135deg, #1a0533 0%, #0f0a1e 60%, #1a0c2e 100%);
  border: 1px solid rgba(124,58,237,.35);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 320px;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  text-decoration: none;
  color: inherit;
}

.featured-game:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(124,58,237,.25);
}

.featured-game::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(124,58,237,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

.featured-game::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #2563EB);
  z-index: 2;
}

.featured-game-info {
  position: relative;
  z-index: 1;
  padding: 2.2rem 2rem 2rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: Tahoma, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a855f7;
  background: rgba(168,85,247,.1);
  border: 1px solid rgba(168,85,247,.25);
  padding: .28rem .8rem;
  border-radius: 999px;
  align-self: flex-start;
}

.featured-label::before { content: '★'; font-size: .5rem; }

.featured-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #ffffff;
  line-height: 1.05;
}

.featured-title span { color: #a855f7; }

.featured-subtitle {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  font-style: italic;
  margin-top: -.6rem;
}

.featured-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.featured-tag {
  font-family: Tahoma, sans-serif;
  font-size: .6rem;
  padding: .25rem .65rem;
  border-radius: 6px;
  background: rgba(124,58,237,.15);
  color: #c4b5fd;
  border: 1px solid rgba(124,58,237,.25);
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  align-self: flex-start;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
  transition: opacity .2s, transform .15s;
}

.featured-game:hover .featured-cta { opacity: .88; transform: translateX(3px); }

.featured-screenshots {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 16px 16px 16px 8px;
}

.featured-screenshots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(124,58,237,.2);
  display: block;
  transition: transform .2s, border-color .2s;
}

.featured-screenshots img:first-child {
  grid-column: 1 / -1;
}

.featured-game:hover .featured-screenshots img {
  border-color: rgba(168,85,247,.4);
}

@media (max-width: 760px) {
  .featured-game { grid-template-columns: 1fr; }
  .featured-screenshots { display: none; }
  .featured-game-wrap { padding: 0 1.2rem 2rem; }
}



/* ── Responsive ── */
@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-section { padding: 0 1.2rem 4rem; }
  .about-blurb { padding: 1.1rem 1.3rem; }
  .value-section { padding: 0 1.2rem 4rem; }
  .value-numbers { grid-template-columns: 1fr 1fr 1fr; }
  .value-number-val { font-size: 1.4rem; }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { padding: .8rem 1.2rem; }
  .nav-pills { display: none; }
  .hero { padding: 4rem 1.2rem 3rem; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-bottom: 3.5rem; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--border); }
  .stat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .section-header { padding: 0 1.2rem 1.4rem; flex-direction: column; align-items: flex-start; }
  .section-desc { text-align: left; }
  .apps-section { padding: 0 1.2rem 4rem; }
  .apps-grid { grid-template-columns: 1fr; }
  .games-section { padding: 0 1.2rem 5rem; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
  .filter-wrap { gap: .4rem; }
  .search-wrap { width: 100%; }
  .search-input { width: 100%; }
}