/* =============================================
   Onyx-Core Interactive — AAA Cinematic Design
   Base: TemplateMo 579 (overridden here)
   ============================================= */

:root {
  --bg: #08080d;
  --bg-soft: #0d0d14;
  --surface: #12121b;
  --surface-2: #17171f;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --text: #f6f6f8;
  --muted: #9a9aa8;
  --gradient: linear-gradient(90deg, #7c5cff, #22d3ee);
  --glass: rgba(18, 18, 27, 0.55);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #23232e;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5, h6,
.logo-main,
.kicker,
.hero-eyebrow,
.status-badge,
.step-status,
.stat-num,
.footer-title {
  font-family: 'Space Grotesk', 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Page wrapper ---------- */

body .page-content {
  margin-top: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.section-block {
  padding: 96px 0;
}

.section-block:first-of-type {
  padding-top: 0;
}

/* ---------- Header / Nav ---------- */

.header-area {
  top: 0;
}

.header-area .main-nav {
  padding: 16px 0;
}

.header-area .main-nav .logo {
  border-right: none;
  flex-basis: auto;
  margin-right: auto;
}

.logo-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
}

.logo-main span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-area .main-nav .nav li {
  padding-left: 6px;
  padding-right: 6px;
}

.header-area .main-nav .nav li a {
  color: #c6c8d2;
  font-weight: 500;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  border-radius: 20px;
  position: relative;
}

.header-area .main-nav .nav li a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: var(--text);
}

.header-area .main-nav .nav li a.active::after,
.header-area .main-nav .nav li a:hover::after {
  transform: scaleX(1);
}

.header-area .main-nav .nav li a.nav-cta {
  background: var(--gradient);
  color: #fff;
  padding: 10px 22px;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-area .main-nav .nav li a.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.35);
}

.header-area .main-nav .nav li a.nav-cta::after {
  display: none;
}

.header-area.background-header {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  height: 72px !important;
  background: rgba(8, 8, 13, 0.82) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 992px) {
  .header-area {
    background: rgba(8, 8, 13, 0.92) !important;
  }

  .header-area .main-nav .nav li {
    background: var(--bg-soft) !important;
    border-bottom-color: var(--line) !important;
  }

  .header-area .main-nav .nav li:first-child {
    border-top-color: var(--line) !important;
  }

  .header-area .main-nav .nav li a {
    color: #e6e7ee !important;
    background: transparent !important;
  }

  .header-area .main-nav .nav li a.active {
    color: var(--accent-2) !important;
  }

  .header-area .main-nav .nav li a.nav-cta {
    background: var(--gradient) !important;
    color: #fff !important;
  }

  .header-area .main-nav .logo {
    left: 20px;
    top: 18px;
  }
}

/* ---------- Buttons ---------- */

.btn-primary,
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.4);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(34, 211, 238, 0.4);
}

.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(124, 92, 255, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.2);
}

.btn-primary::after,
.btn-ghost::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
}

.btn-primary:hover::after,
.btn-ghost:hover::after {
  animation: shine 0.8s ease;
}

@keyframes shine {
  to { left: 150%; }
}

/* Store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: capitalize;
  color: #fff !important;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s;
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.store-btn img {
  width: 22px !important;
  height: auto;
}

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

.store-btn.android-btn {
  background: linear-gradient(135deg, #0f1a15, #11181a);
  border: 1px solid rgba(61, 220, 132, 0.5);
}

.store-btn.android-btn:hover {
  border-color: #3ddc84;
  box-shadow: 0 10px 30px rgba(61, 220, 132, 0.25);
}

.store-btn.ios-btn {
  background: linear-gradient(135deg, #17171f, #0b0c10);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.store-btn.ios-btn:hover {
  border-color: #fff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -15% 0;
  background-image: url(../images/hero_bg.png);
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 13, 0.55) 0%, rgba(8, 8, 13, 0.35) 40%, var(--bg) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(34, 211, 238, 0.12), transparent 50%);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
  padding-top: 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 30px;
}

.hero-eyebrow i {
  color: var(--accent-2);
}

.hero-title {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  color: #b9bbc6;
  font-size: 17px;
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 2;
  animation: scrollNudge 2.2s ease-in-out infinite;
}

.scroll-down:hover {
  color: var(--accent-2);
  border-color: rgba(34, 211, 238, 0.6);
}

@keyframes scrollNudge {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Ambient orbs ---------- */

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-1 { width: 520px; height: 520px; background: rgba(124, 92, 255, 0.22); top: -180px; left: -140px; }
.orb-2 { width: 440px; height: 440px; background: rgba(34, 211, 238, 0.16); bottom: -140px; right: -120px; animation-delay: -6s; }
.orb-3 { width: 320px; height: 320px; background: rgba(124, 92, 255, 0.14); top: 45%; left: 55%; animation-delay: -11s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
}

/* ---------- Scroll progress / back-to-top ---------- */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 10000;
  transition: width 0.1s linear;
}

#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  font-size: 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  box-shadow: 0 10px 26px rgba(124, 92, 255, 0.45);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

#back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.015);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #cfd1d8;
  font-weight: 600;
  white-space: nowrap;
}

.marquee-item i {
  color: var(--accent-2);
}

.marquee-sep {
  color: #3a3e48;
  font-size: 14px;
}

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

/* ---------- Section headings ---------- */

.section-head {
  margin-bottom: 56px;
  text-align: center;
}

.section-head .kicker {
  display: inline-block;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
}

.section-head h2 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Featured game ---------- */

.featured {
  position: relative;
  z-index: 2;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.featured-art {
  position: relative;
}

.featured-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 70px rgba(124, 92, 255, 0.16);
  will-change: transform;
}

.featured-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.featured-frame img {
  display: block;
  width: 100%;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 18, 27, 0.88);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}

.float-chip i {
  color: var(--accent-2);
  font-size: 16px;
}

.float-chip.chip-1 { top: 6%; left: -4%; }
.float-chip.chip-2 { bottom: 12%; right: -3%; animation-delay: 3s; }

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

.featured-info .status-badge {
  margin-bottom: 20px;
}

.featured-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 18px;
}

.genre-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 24px;
}

.genre-chip i {
  color: var(--accent-2);
}

.featured-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 26px;
  max-width: 480px;
}

.feature-list {
  margin-bottom: 30px;
}

.feature-list li {
  color: #cfd1d8;
  font-size: 14px;
  padding: 7px 0;
}

.feature-list li i {
  color: var(--accent-2);
  width: 22px;
  text-align: center;
  margin-right: 8px;
}

.featured-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.featured-buttons .store-btn {
  margin: 0;
}

.btn-view {
  padding: 13px 26px;
}

/* ---------- Status badges ---------- */

.status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.badge-live {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.4);
}

.badge-soon {
  background: rgba(8, 8, 13, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.badge-concept {
  background: rgba(8, 8, 13, 0.6);
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- Portfolio cards ---------- */

.portfolio {
  position: relative;
  z-index: 2;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  margin-bottom: 30px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-card:hover {
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55), 0 0 40px rgba(124, 92, 255, 0.12);
}

.card-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.portfolio-card:hover .card-thumb img {
  transform: scale(1.07);
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 13, 0) 40%, rgba(8, 8, 13, 0.6) 100%);
}

.card-body {
  padding: 18px 10px 6px;
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.card-head h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.card-year {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.game-tag {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card-actions .store-btn {
  flex: 1;
  margin: 0;
  min-width: 0;
  padding: 11px 14px;
  font-size: 12.5px;
}

.meta-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  color: #d5d7dd;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 50px;
}

.meta-list li i {
  margin-right: 6px;
  color: var(--accent-2);
}

/* ---------- Studio / pillars ---------- */

.studio {
  position: relative;
  z-index: 2;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(124, 92, 255, 0.12);
}

.pillar-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.24), rgba(34, 211, 238, 0.18));
  border: 1px solid var(--line);
}

.pillar-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.pillar-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 64px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.stat-num {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-num .counter {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- Roadmap / timeline ---------- */

.roadmap {
  position: relative;
  z-index: 2;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 40%, rgba(255, 255, 255, 0.1) 60%);
}

.timeline-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step-icon {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--muted);
  z-index: 1;
}

.timeline-step.done .step-icon {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 92, 255, 0.4);
}

.timeline-step.current .step-icon {
  border-color: var(--accent-2);
  color: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.12), 0 0 30px rgba(34, 211, 238, 0.25);
  animation: pulseRing 2.4s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.12), 0 0 30px rgba(34, 211, 238, 0.25); }
  50% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0.05), 0 0 44px rgba(34, 211, 238, 0.35); }
}

.timeline-step h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: var(--text);
}

.timeline-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.step-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.timeline-step.done .step-status {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.4);
}

.timeline-step.current .step-status {
  color: var(--accent-2);
  border-color: rgba(34, 211, 238, 0.5);
}

/* ---------- News ---------- */

.news {
  position: relative;
  z-index: 2;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 211, 238, 0.1);
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 22px;
}

.news-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.news-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s, gap 0.3s;
}

.news-link:hover {
  color: var(--accent-2);
  gap: 14px;
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  z-index: 2;
}

.contact-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 72px 30px;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 92, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.contact-cta .kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 700;
}

.contact-cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 16px 0 12px;
  color: var(--text);
}

.contact-cta h2 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-cta > p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.contact-form {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(8, 8, 13, 0.5);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
}

.contact-form ::placeholder {
  color: #6a6d78;
}

.form-btn {
  width: 100%;
  padding: 15px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.form-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-btn.loading span {
  opacity: 0;
}

.form-btn.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: form-spin 0.8s linear infinite;
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  min-height: 22px;
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--accent-2);
}

.form-status.is-error {
  color: #ff6b81;
}

.botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.form-note i {
  color: var(--accent-2);
  margin-right: 5px;
}

.direct-mail {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
  transition: color 0.3s, border-color 0.3s;
}

.direct-mail:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
  background: var(--bg-soft);
  position: relative;
  z-index: 2;
}

.footer-brand .logo {
  margin: 0;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #cfd1d8;
  font-size: 16px;
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.35);
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: var(--accent-2);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 26px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom a {
  color: #cfd1d8;
}

.footer-bottom a:hover {
  color: var(--accent-2);
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.intro-elem {
  opacity: 0;
  animation: introUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes introUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* Preloader accent */
.preloader-inner .dot,
.preloader-inner .dots span {
  background: var(--accent-2);
}

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
  .section-block {
    padding: 64px 0;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .featured-art {
    max-width: 620px;
    margin: 0 auto;
  }

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

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 34px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 40%, rgba(255, 255, 255, 0.1) 60%);
  }

  .timeline-step {
    text-align: left;
    padding-left: 84px;
  }

  .step-icon {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .timeline-step p {
    margin-bottom: 6px;
  }

  .float-chip.chip-1 { left: -2%; }
  .float-chip.chip-2 { right: -2%; }
}

@media (max-width: 767px) {
  .section-block {
    padding: 48px 0;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .scroll-down {
    display: none;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 40px 0;
  }

  .featured-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .featured-buttons .store-btn,
  .btn-view {
    width: 100%;
    justify-content: center;
  }

  .contact-cta {
    padding: 52px 22px;
  }

  #back-to-top {
    right: 16px;
    bottom: 16px;
  }
}
