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

:root {
  --peach: #F5A882;
  --peach-light: #FAD4BF;
  --peach-dark: #E8865A;
  --navy: #0F1B2D;
  --navy-mid: #1A2C44;
  --navy-light: #243A54;
  --white: #FDFAF7;
  --off-white: #F5F0EA;
  --gray: #8A9BB0;
  --gray-light: #E8E3DC;
  --text: #0F1B2D;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--peach); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(15, 27, 45, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 168, 130, 0.15);
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(15, 27, 45, 0.98);
  height: 64px;
}

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

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--peach);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(253, 250, 247, 0.65);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--peach);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--peach);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  font-size: 12px !important;
  transition: all var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--peach-dark) !important; transform: translateY(-1px); color: var(--navy) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg-reel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0.25;
  overflow: hidden;
}

.hero-reel-row {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  white-space: nowrap;
}

.hero-reel-row:nth-child(even) { animation: scrollLeft 40s linear infinite; }
.hero-reel-row:nth-child(odd)  { animation: scrollRight 45s linear infinite; }

@keyframes scrollLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.hero-reel-img {
  width: 220px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

/* Placeholder color blocks for when no images */
.hero-reel-img.p1 { background: linear-gradient(135deg, #1e3a5f, #2d5a8e); }
.hero-reel-img.p2 { background: linear-gradient(135deg, #3d1f5e, #6b35a8); }
.hero-reel-img.p3 { background: linear-gradient(135deg, #1f4a2e, #2e7a4a); }
.hero-reel-img.p4 { background: linear-gradient(135deg, #5e2020, #a83535); }
.hero-reel-img.p5 { background: linear-gradient(135deg, #4a3d1f, #8a6e2e); }
.hero-reel-img.p6 { background: linear-gradient(135deg, #1f3d4a, #2e6a7a); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,27,45,0.6) 0%, rgba(15,27,45,0.4) 50%, rgba(15,27,45,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 80px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 168, 130, 0.15);
  border: 1px solid rgba(245, 168, 130, 0.3);
  color: var(--peach-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--peach);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.15s both;
}

.hero-title span {
  color: var(--peach);
  display: block;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(253, 250, 247, 0.65);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 16px;
  font-weight: 300;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-motto {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--peach);
  margin: 0 auto 40px;
  animation: fadeUp 0.8s ease 0.38s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeUp 0.8s ease 0.45s both;
}

.btn-primary {
  background: var(--peach);
  color: var(--navy);
  padding: 15px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary:hover { background: var(--peach-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245, 168, 130, 0.35); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 15px 32px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid rgba(253, 250, 247, 0.25);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-secondary:hover { border-color: var(--peach); color: var(--peach); transform: translateY(-2px); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--navy);
  padding: 64px 0;
  border-bottom: 1px solid rgba(245, 168, 130, 0.1);
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 24px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(245, 168, 130, 0.15);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number.loading { color: rgba(253, 250, 247, 0.2); }

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
}

/* ── SECTION DEFAULTS ── */
section { padding: 100px 24px; }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title.light { color: var(--white); }
.section-title.dark  { color: var(--navy); }

.section-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.65;
  max-width: 560px;
}

.section-subtitle.light { color: rgba(253,250,247,0.55); }

.container { max-width: 1160px; margin: 0 auto; }

/* ── GAMES LIST ── */
.games-section {
  background: var(--off-white);
  padding: 100px 24px;
}

.games-header {
  text-align: center;
  margin-bottom: 64px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 27, 45, 0.12);
  border-color: var(--peach-light);
}

.game-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
  background: var(--navy-mid);
  display: block;
}

.game-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
}

.game-thumb-wrap .game-thumb,
.game-thumb-wrap .game-thumb-placeholder {
  transition: transform 0.4s ease;
}

.game-card:hover .game-thumb-wrap .game-thumb,
.game-card:hover .game-thumb-wrap .game-thumb-placeholder {
  transform: scale(1.06);
}

.game-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 45, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-play-overlay { opacity: 1; }

.game-play-btn {
  background: var(--peach);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border-radius: 100px;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.game-card:hover .game-play-btn { transform: translateY(0); }

.game-thumb-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.game-info {
  padding: 20px 24px 24px;
}

.game-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.game-genre {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}

.game-stats {
  display: flex;
  gap: 20px;
}

.game-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-stat-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.game-stat-icon.green { background: #e8f5e9; }
.game-stat-icon.blue  { background: #e3f2fd; }

.game-stat-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.game-stat-key {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}

/* ── SERVICES ── */
.services-section {
  background: var(--navy);
  padding: 100px 24px;
}

.services-header {
  text-align: center;
  margin-bottom: 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.service-card {
  background: rgba(253, 250, 247, 0.04);
  border: 1px solid rgba(245, 168, 130, 0.15);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  background: rgba(245, 168, 130, 0.06);
  border-color: var(--peach);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--peach), 0 12px 32px rgba(0,0,0,0.2);
}

.service-card::before { display: none; }

.service-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.service-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 15px;
  color: rgba(253, 250, 247, 0.5);
  line-height: 1.65;
}

/* ── TEAM ── */
.team-section {
  background: var(--white);
  padding: 100px 24px;
}

.team-header {
  text-align: center;
  margin-bottom: 72px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 160px;
  text-align: center;
}

.team-avatar-wrap {
  position: relative;
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gray-light);
  transition: border-color var(--transition), transform var(--transition);
  background: var(--off-white);
}

.team-card:hover .team-avatar-wrap {
  border-color: var(--peach);
  transform: scale(1.04);
}

.team-avatar-placeholder {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border: none;
  background: transparent;
  transition: none;
  position: absolute;
  top: 0; left: 0;
}

.team-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: none;
  transition: none;
  display: block;
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
}

.team-card:hover .team-avatar,
.team-card:hover .team-avatar-placeholder {
  border-color: transparent;
  transform: none;
}

.team-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.team-role {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--navy);
  padding: 100px 24px;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253, 250, 247, 0.5);
}

.form-input, .form-textarea, .form-select {
  background: rgba(253, 250, 247, 0.05);
  border: 1px solid rgba(253, 250, 247, 0.12);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: all var(--transition);
  width: 100%;
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(253,250,247,0.25); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--peach);
  background: rgba(245, 168, 130, 0.06);
}

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

.form-select option { background: var(--navy); color: var(--white); }

.form-submit {
  background: var(--peach);
  color: var(--navy);
  border: none;
  padding: 16px 40px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  align-self: flex-start;
}

.form-submit:hover { background: var(--peach-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,168,130,0.3); }

.form-success {
  display: none;
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid rgba(46, 213, 115, 0.3);
  color: #2ed573;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 15px;
  margin-top: 8px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(245, 168, 130, 0.1);
  padding: 48px 48px 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(253,250,247,0.07);
  margin-bottom: 28px;
}

.footer-brand { max-width: 260px; }

.footer-tagline {
  font-size: 14px;
  color: rgba(253,250,247,0.4);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253,250,247,0.4);
  margin-bottom: 16px;
}

.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links-col a {
  font-size: 14px;
  color: rgba(253,250,247,0.65);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(253,250,247,0.3);
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── PAGE HERO (for inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,168,130,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── TICKER (scrolling tag strip) ── */
.ticker-section {
  background: var(--peach);
  overflow: hidden;
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 20s linear infinite;
  width: max-content;
}

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ticker-item {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-item::after {
  content: '✦';
  font-size: 10px;
  opacity: 0.5;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); padding: 24px; border-bottom: 1px solid rgba(245,168,130,0.1); gap: 24px; }
  .nav-hamburger { display: flex; }

  .hero-title { font-size: 40px; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat-number { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 72px 20px; }
  .footer-inner { flex-direction: column; }
  .services-grid, .games-grid { grid-template-columns: 1fr; }
}
