/* Playstar Games — Bold & Playful */
:root {
  --orange: #FF6A13;
  --orange-2: #FF8A3D;
  --orange-dark: #E55A00;
  --ink: #0E1012;
  --ink-2: #1A1D21;
  --cream: #FFF6EE;
  --cream-2: #FFE9D6;
  --sand: #F4EADF;
  --white: #ffffff;
  --muted: #6B6F75;
  --radius: 28px;
  --radius-sm: 16px;
  --maxw: 1280px;
  --shadow-lg: 0 30px 60px -20px rgba(255, 106, 19, .35);
  --shadow-sm: 0 8px 24px -8px rgba(14, 16, 18, .15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', 'DM Sans', 'Hanken Grotesk', -apple-system, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 246, 238, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14,16,18,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: var(--maxw); margin: 0 auto;
}
.nav-logo img { height: 34px; }
html[lang="ru"] .nav-logo img { height: 42px; }
html[lang="ru"] .footer-logo img { height: 47px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-weight: 700; font-size: 15px; color: var(--ink);
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-right { display: flex; gap: 14px; align-items: center; }
.lang-switch {
  display: flex; background: var(--white);
  border-radius: 999px; padding: 4px; font-weight: 800; font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.lang-switch button {
  padding: 6px 14px; border-radius: 999px; color: var(--muted);
  transition: all .2s;
}
.lang-switch button.active {
  background: var(--ink); color: var(--white);
}
.btn-primary {
  background: var(--orange); color: var(--white);
  padding: 12px 22px; border-radius: 999px;
  font-weight: 800; font-size: 14px;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 0 var(--orange-dark);
}
.btn-primary:hover {
  transform: translateY(-2px); background: var(--orange-2);
  box-shadow: 0 6px 0 var(--orange-dark);
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-dark); }
.btn-ghost {
  padding: 12px 22px; border-radius: 999px;
  font-weight: 800; font-size: 14px;
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.btn-ghost:hover { transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero-bg-blob {
  position: absolute; pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .6;
}
.hero-bg-blob.b1 { top: -120px; right: -120px; width: 520px; height: 520px; background: var(--orange-2); }
.hero-bg-blob.b2 { bottom: -200px; left: -150px; width: 480px; height: 480px; background: #FFD5B8; opacity: .8; }

.hero-inner {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); padding: 8px 16px;
  border-radius: 999px; font-weight: 800; font-size: 13px;
  color: var(--ink); box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #14B84C; box-shadow: 0 0 0 4px rgba(20,184,76,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(20,184,76,.2); }
  50% { box-shadow: 0 0 0 8px rgba(20,184,76,.05); }
}
.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 7.2vw, 112px);
  line-height: .92;
  letter-spacing: -.035em;
  color: var(--ink);
}
.hero h1 .accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute; left: 0; bottom: 6px; width: 100%; height: 10px;
  background: var(--orange); opacity: .2;
  border-radius: 999px;
}
.hero-sub {
  margin-top: 28px; font-size: 20px; line-height: 1.5;
  color: var(--ink-2); max-width: 520px;
  font-weight: 500;
}
.hero-ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual stack */
.hero-visual {
  position: relative;
  height: 520px;
}
.phone {
  position: absolute;
  width: 240px; height: 480px;
  border-radius: 42px;
  background: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(14,16,18,.4);
  padding: 10px;
  transition: transform .4s cubic-bezier(.2,.9,.3,1.3);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 36px;
  text-align: center; padding: 24px;
  position: relative; overflow: hidden;
}
.phone-screen::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 60%);
}
.phone-screen.has-shot { padding: 0; }
.phone-screen.has-shot::before { display: none; }
.phone-screen.has-shot > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.phone.p1 {
  left: 50%; top: 20px; transform: translateX(-50%) rotate(-4deg);
  z-index: 3;
  width: 240px; height: 480px;
}
.phone.p1 .phone-screen { background: linear-gradient(160deg, #FF6A13, #FF3D00); }
.phone.p2 {
  left: -2%; top: 30px; transform: rotate(-8deg);
  z-index: 1;
  width: 380px; height: 220px;
}
.phone.p2 .phone-screen { background: linear-gradient(160deg, #6A5AE0, #A78BFA); }
.phone.p3 {
  right: -2%; left: auto; bottom: 20px; top: auto;
  transform: rotate(6deg);
  z-index: 2; width: 380px; height: 220px;
}
.phone.p3 .phone-screen { background: linear-gradient(160deg, #14B84C, #10D460); }
.hero-visual:hover .phone.p1 { transform: translateX(-50%) rotate(-6deg) translateY(-8px); }
.hero-visual:hover .phone.p2 { transform: rotate(-10deg) translateY(-8px); }
.hero-visual:hover .phone.p3 { transform: rotate(8deg) translateY(-8px); }

/* Floating stickers */
.sticker {
  position: absolute;
  font-weight: 900; font-size: 14px;
  padding: 10px 16px; border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 8px;
  animation: float 4s ease-in-out infinite;
}
.sticker.s1 {
  top: 20px; left: -30px;
  background: var(--orange); color: white;
  transform: rotate(-6deg);
  animation-delay: 0s;
}
.sticker.s2 {
  bottom: 40px; right: 20px;
  transform: rotate(4deg);
  animation-delay: 1s;
}
.sticker.s3 {
  top: 200px; left: -10px;
  transform: rotate(-3deg);
  animation-delay: 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}
.sticker.s1 { --r: -6deg; }
.sticker.s2 { --r: 4deg; }
.sticker.s3 { --r: -3deg; }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--ink);
  color: var(--white);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05);
}
.marquee-track {
  display: flex; gap: 48px;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
  font-weight: 900; font-size: 22px;
  letter-spacing: -.01em;
}
.marquee-track .m-half { display: inline-flex; align-items: center; gap: 48px; flex-shrink: 0; }
.marquee-track .m-item { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .star { color: var(--orange); font-size: 28px; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- SECTIONS ---------- */
section { padding: 120px 0; position: relative; }
.section-eyebrow {
  display: inline-block;
  font-weight: 900; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px;
}
.section-title {
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: .95;
  letter-spacing: -.025em;
  max-width: 900px;
}
.section-title .accent { color: var(--orange); }
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head.center .section-title { margin: 0 auto; }
.section-sub {
  margin-top: 20px; font-size: 19px; color: var(--ink-2);
  max-width: 640px; line-height: 1.55;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- STATS ---------- */
.stats {
  background: var(--ink);
  color: var(--white);
  border-radius: 40px;
  margin: 0 32px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ''; position: absolute;
  top: -100px; right: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,106,19,.3), transparent 70%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative; z-index: 1;
}
.stat-item { }
.stat-num {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-weight: 900;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--orange);
  margin-bottom: 12px;
}
.stat-suffix {
  font-weight: 900;
  font-size: 0.55em;
  color: var(--orange);
  letter-spacing: -.02em;
  align-self: flex-start;
  margin-top: 0.4em;
}
.stat-label {
  font-weight: 700; font-size: 15px;
  color: rgba(255,255,255,.85);
  letter-spacing: -.005em;
}
.stat-context {
  margin-top: 6px;
  font-weight: 500; font-size: 13px;
  color: rgba(255,255,255,.45);
  letter-spacing: -.005em;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.about-text p {
  font-size: 19px; line-height: 1.65; color: var(--ink-2);
  margin-bottom: 20px;
}
.about-values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-card {
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.value-card:hover { transform: translateY(-4px); }
.value-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--orange); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  margin-bottom: 16px;
}
.value-card h4 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- GAMES ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.game-card {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2);
  cursor: pointer;
}
.game-card:hover { transform: translateY(-8px) rotate(-.5deg); }
.game-art {
  height: 260px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.game-art::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.2), transparent 60%);
}
.game-art-inner {
  position: relative; z-index: 1;
  font-size: 72px; font-weight: 900;
  color: white; letter-spacing: -.03em;
  text-shadow: 0 4px 0 rgba(0,0,0,.15);
}
.game-info { padding: 24px 28px 28px; }
.game-genre {
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 8px;
}
.game-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 10px;
}
.game-tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(238, 99, 35, 0.10);
  border: 1px solid rgba(238, 99, 35, 0.25);
  border-radius: 999px;
  white-space: nowrap;
}
.game-title { font-size: 22px; font-weight: 900; margin-bottom: 6px; letter-spacing: -.02em; }
.game-meta { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Game art variants */
.g-1 { background: linear-gradient(135deg, #FF6A13, #FF3D00); }
.g-2 { background: linear-gradient(135deg, #6A5AE0, #3B2FB5); }
.g-3 { background: linear-gradient(135deg, #14B84C, #0A8A35); }
.g-4 { background: linear-gradient(135deg, #FFB800, #FF8A00); }
.g-5 { background: linear-gradient(135deg, #FF3D8A, #C11A5A); }
.g-6 { background: linear-gradient(135deg, #00B8D4, #0077A3); }

/* ---------- WHAT WE DO ---------- */
.services {
  background: var(--sand);
  border-radius: 40px;
  margin: 0 32px;
  padding: 100px 60px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 32px;
  transition: transform .2s;
}
.service-card:hover { transform: translateY(-4px); }
.service-num {
  font-weight: 900; font-size: 14px;
  color: var(--orange); margin-bottom: 20px;
}
.service-card h3 { font-size: 24px; font-weight: 900; margin-bottom: 12px; letter-spacing: -.02em; }
.service-card p { color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ---------- STACK ---------- */
.stack-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px;
}
.chip {
  background: var(--white);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 800; font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.chip:hover {
  background: var(--orange); color: white; transform: translateY(-2px);
}

/* ---------- CAREERS ---------- */
.careers {
  background: var(--orange);
  border-radius: 40px;
  margin: 0 32px;
  padding: 100px 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.careers::before {
  content: 'JOIN US'; position: absolute;
  font-size: 280px; font-weight: 900;
  color: rgba(255,255,255,.08);
  bottom: -80px; right: -30px;
  letter-spacing: -.04em;
  line-height: .8;
  pointer-events: none;
}
.careers-inner { position: relative; z-index: 1; max-width: 720px; }
.careers h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900; letter-spacing: -.025em;
  line-height: .95; margin-bottom: 20px;
}
.careers p { font-size: 20px; line-height: 1.55; margin-bottom: 32px; opacity: .95; }
.btn-white {
  display: inline-block;
  background: var(--white); color: var(--orange);
  padding: 16px 32px; border-radius: 999px;
  font-weight: 900; font-size: 16px;
  box-shadow: 0 4px 0 rgba(0,0,0,.15);
  transition: transform .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,.15); }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: start;
  max-width: 720px; margin: 0 auto;
}
.contact-cta {
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.contact-cta .section-eyebrow,
.contact-cta .section-title,
.contact-cta .section-sub {
  text-align: center;
}
.contact-cta .section-sub { margin: 14px auto 28px; }
.contact-mail-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; padding: 18px 28px;
}
.contact-mail-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  font-size: 14px;
}
.contact-info h3 {
  font-size: 24px; font-weight: 900; margin-bottom: 24px;
  letter-spacing: -.02em;
}
.contact-list { list-style: none; }
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(14,16,18,.08);
  font-size: 15px;
}
.contact-list .label {
  font-weight: 800; font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
  display: block; margin-bottom: 4px;
}
.contact-list .value { color: var(--ink); font-weight: 600; line-height: 1.5; }
.contact-list a.value:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 800; font-size: 13px;
  margin-bottom: 8px; color: var(--ink);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px;
  border: 2px solid rgba(14,16,18,.08);
  border-radius: 14px; font-size: 15px;
  font-family: inherit; background: var(--cream);
  transition: border-color .2s, background .2s;
  font-weight: 500;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--orange); background: white;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--orange); color: white;
  border-radius: 14px;
  font-weight: 900; font-size: 15px;
  box-shadow: 0 4px 0 var(--orange-dark);
  transition: all .2s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-dark); background: var(--orange-2); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* ---------- LEGAL ---------- */
.legal {
  background: var(--cream-2);
  border-radius: 40px;
  margin: 0 32px;
  padding: 80px 60px;
}
.legal-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px 48px;
  margin-top: 40px;
}
.legal-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(14,16,18,.1);
}
.legal-item .label {
  font-weight: 800; font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
  display: block; margin-bottom: 6px;
}
.legal-item .value {
  font-size: 15px; color: var(--ink); font-weight: 600;
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo img { height: 38px; filter: brightness(1.1); margin-bottom: 20px; }
.footer-desc { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h5 {
  font-size: 13px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,.6); font-size: 14px; font-weight: 600;
  transition: color .2s;
}
.footer-col a:hover { color: var(--orange); }
/* ---------- TEAM CAROUSEL ---------- */
.team-wrap {
  position: relative;
  margin-top: 48px;
}
.team-viewport {
  overflow: hidden;
  margin: 0 -12px;
  padding: 12px;
}
.team-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.2,.9,.3,1.1);
  will-change: transform;
}
.team-card {
  flex: 0 0 calc((100% - 72px) / 4);
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2);
}
.team-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.team-photo {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 96px; font-weight: 900;
  letter-spacing: -.04em;
  position: relative;
  overflow: hidden;
}
.team-photo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.25), transparent 60%);
}
.team-info { padding: 24px 26px 28px; }
.team-role {
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 6px;
}
.team-name {
  font-size: 20px; font-weight: 900;
  letter-spacing: -.02em;
}
.team-controls {
  display: flex; justify-content: flex-end; gap: 12px;
  margin-top: 28px;
}
.team-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 22px; font-weight: 900;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s, color .2s;
}
.team-btn:hover { background: var(--orange); color: white; transform: translateY(-2px); }
.team-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; background: var(--white); color: var(--ink); }
.team-dots {
  display: flex; gap: 8px; align-items: center; margin-right: auto;
}
.team-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(14,16,18,.18);
  transition: all .2s;
  cursor: pointer;
}
.team-dot.active { background: var(--orange); width: 28px; border-radius: 4px; }

@media (max-width: 960px) {
  .team-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .team-card { flex: 0 0 100%; }
}

/* ---------- TEAM PHOTO (infographic) ---------- */
.team-photo-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
  aspect-ratio: 2818 / 1472;
}
.team-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.team-photo-wrap::after {
  /* subtle gradient for readability of tooltips */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,16,18,0) 50%, rgba(14,16,18,.25) 100%);
  pointer-events: none;
}

.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}
.pin-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange);
  color: white; font-weight: 900; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid white;
  box-shadow: 0 4px 14px rgba(0,0,0,.35), 0 0 0 0 rgba(255,106,19,.6);
  animation: pinPulse 2.4s ease-out infinite;
  transition: transform .2s;
  position: relative;
  z-index: 2;
}
.pin:hover .pin-dot, .pin.active .pin-dot {
  transform: scale(1.15);
  animation: none;
}
@keyframes pinPulse {
  0% { box-shadow: 0 4px 14px rgba(0,0,0,.35), 0 0 0 0 rgba(255,106,19,.6); }
  70% { box-shadow: 0 4px 14px rgba(0,0,0,.35), 0 0 0 16px rgba(255,106,19,0); }
  100% { box-shadow: 0 4px 14px rgba(0,0,0,.35), 0 0 0 0 rgba(255,106,19,0); }
}
.pin-label {
  position: absolute;
  left: 50%; top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 3;
  min-width: 160px;
}
.pin-label::before {
  content: ''; position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: white;
  border-radius: 2px;
}
.pin.top .pin-label {
  top: auto; bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
}
.pin.top .pin-label::before {
  top: auto; bottom: -6px;
}
.pin:hover .pin-label, .pin.active .pin-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.pin-role {
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 3px;
}
.pin-name {
  font-size: 14px; font-weight: 800; color: var(--ink);
  letter-spacing: -.01em;
}

.team-photo-legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  justify-content: center;
  font-size: 13px; color: var(--muted); font-weight: 700;
  margin-top: -24px; margin-bottom: 32px;
}
.team-photo-legend .hint-dot {
  display: inline-flex; align-items: center; gap: 8px;
}
.team-photo-legend .hint-dot::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange);
}

@media (max-width: 700px) {
  .pin-dot { width: 24px; height: 24px; font-size: 11px; border-width: 2px; }
  .pin-label { min-width: 120px; padding: 8px 10px; }
  .pin-name { font-size: 12px; }
  .pin-role { font-size: 10px; }
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.socials { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.social-btn:hover { background: var(--orange); transform: translateY(-2px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-right .btn-primary { padding: 10px 16px; font-size: 13px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; margin-top: 40px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid, .services-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 80px 0; }
  .stats, .services, .careers, .legal { margin: 0 16px; padding: 60px 28px; }
  .container { padding: 0 20px; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 14px 0; }
  .nav-logo img { height: 28px; }
  html[lang="ru"] .nav-logo img { height: 35px; }
  .lang-switch { font-size: 12px; padding: 3px; }
  .lang-switch button { padding: 5px 10px; }

  .hero { padding-top: 100px; padding-bottom: 60px; }
  .hero-visual { height: 360px; margin-top: 24px; }
  .phone.p1 { width: 180px; height: 360px; }
  .phone.p2 { width: 280px; height: 170px; left: -6%; }
  .phone.p3 { width: 280px; height: 170px; right: -6%; }
  .hero-sub { font-size: 17px; margin-top: 20px; }
  .sticker { font-size: 12px; padding: 8px 12px; }
  .sticker.s1 { left: -10px; top: 10px; }
  .sticker.s2 { right: 10px; bottom: 30px; }
  .sticker.s3 { left: 0; top: 160px; }

  .marquee-track { font-size: 16px; }
  .marquee-track .star { font-size: 20px; }

  .section-head { margin-bottom: 40px; }
  .section-sub { font-size: 16px; margin-top: 14px; }
  .about-text p { font-size: 16px; }

  .stats, .services, .careers, .legal { margin: 0 12px; padding: 44px 22px; border-radius: 24px; }
  .stats-grid { gap: 28px 20px; }
  .stat-num { font-size: 44px; }
  .stat-label { font-size: 13px; }

  .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .value-card { padding: 20px; }

  .game-info { padding: 18px 20px 22px; }
  .game-title { font-size: 19px; }
  .service-card { padding: 24px; }
  .service-card h3 { font-size: 20px; }

  .careers::before { font-size: 160px; bottom: -40px; right: -20px; }
  .careers p { font-size: 16px; }
  .btn-white { padding: 14px 26px; font-size: 14px; }

  .contact-mail-btn { font-size: 15px; padding: 14px 20px; gap: 8px; }
  .contact-mail-ico { width: 22px; height: 22px; font-size: 12px; }

  .legal-item { padding: 14px 0; }
  .legal-item .value { font-size: 14px; }

  footer { padding: 60px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo img { height: 32px; margin-bottom: 14px; }
  html[lang="ru"] .footer-logo img { height: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 12px; }

  .team-photo-wrap { border-radius: 18px; margin-bottom: 32px; }
}

@media (max-width: 380px) {
  .hero-visual { height: 320px; }
  .phone.p1 { width: 150px; height: 300px; }
  .phone.p2, .phone.p3 { width: 240px; height: 150px; }
  .lang-switch button { padding: 4px 8px; font-size: 11px; }
}
