:root {
  --accent: #49E8C5;
  --accent-glow: rgba(73, 232, 197, 0.5);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #03191D;
}

body.is-loading {
  overflow: hidden;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #03191D;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.loader-logo {
  width: min(170px, 45vw);
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(73, 232, 197, 0.15);
  border-top-color: var(--accent);
  animation: loaderSpin 0.9s linear infinite;
}

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

@keyframes loaderPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo,
  .loader-ring {
    animation: none;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 24px 0;
  transition: transform 0.4s ease;
}

header.hidden {
  transform: translateY(-130%);
}

.nav-bar {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.glass {
  background: rgba(8, 32, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

header.scrolled .glass {
  background: rgba(8, 32, 36, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.logo-chip img {
  height: 34px;
  display: block;
  transition: filter 0.3s ease;
}

.logo-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(73, 232, 197, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
}

.nav-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: 0;
  border-radius: 999px;
  background: rgba(73, 232, 197, 0.1);
  border: 1px solid var(--accent);
  box-shadow: inset 0 0 10px rgba(73, 232, 197, 0.12);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease;
  z-index: 0;
}

.nav-indicator::before,
.nav-indicator::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--accent);
}

.nav-indicator::before {
  top: -4px;
  left: -4px;
  border-right: none;
  border-bottom: none;
}

.nav-indicator::after {
  bottom: -4px;
  right: -4px;
  border-left: none;
  border-top: none;
}

nav a {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.7;
  padding: 11px 22px;
  border-radius: 999px;
  transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

nav a:hover {
  opacity: 1;
}

nav a.active {
  opacity: 1;
  color: #EAFFFA;
}

/* Reusable HUD corner ticks — reveal on hover */
.hud-ticks {
  position: relative;
}

.hud-ticks::before,
.hud-ticks::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s ease;
  pointer-events: none;
}

.hud-ticks::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.hud-ticks::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.hud-ticks:hover::before,
.hud-ticks:hover::after {
  opacity: 1;
}

.hud-ticks:hover::before {
  transform: translate(-3px, -3px);
}

.hud-ticks:hover::after {
  transform: translate(3px, 3px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.nav-bar > .reveal-left {
  flex-shrink: 0;
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 450ms; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 540ms; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 630ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Burger button — hidden on desktop */
.burger {
  position: relative;
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* Game Hero */
.game-hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}

.game-hero .kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 246, 245, 0.5);
  font-weight: 600;
  margin-bottom: 12px;
}

.game-hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  color: #F3F6F5;
  line-height: 1.1;
}

.game-hero .lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: rgba(243, 246, 245, 0.75);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.85;
}

/* Section Hero AKO */
.section-hero-ako {
  padding: 0 24px 32px;
}

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

.ako-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center -120%;
  border-radius: 12px;
  -webkit-mask-image: url('/assets/ako-mask.png');
  -webkit-mask-size: cover;
  -webkit-mask-position: center top;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('/assets/ako-mask.png');
  mask-size: cover;
  mask-position: center top;
  mask-repeat: no-repeat;
}

.ako-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ako-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  color: #F3F6F5;
  line-height: 1.15;
}

.ako-text {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(243, 246, 245, 0.75);
  line-height: 1.85;
}

@media (max-width: 768px) {
  .section-hero-ako .inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Section Fonctionnalités */
.section-features {
  padding: 24px 24px 40px;
}

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

.features-kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 246, 245, 0.5);
  font-weight: 600;
  margin-bottom: 12px;
}

.features-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  color: #F3F6F5;
  line-height: 1.2;
  margin-bottom: 24px;
}

.features-list {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-row.is-reverse {
  justify-content: flex-end;
}

.feature-row.is-reverse .feature-copy {
  text-align: right;
}

.features-list .feature-row:first-child {
  border-top: none;
}

.feature-index {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  aspect-ratio: 3 / 2;
  padding-top: 14px;
  font-family: 'Baloo 2', cursive;
  font-size: 40px;
  font-weight: 800;
  color: #D8C39A;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

.feature-index::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/assets/panneau.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0.85) saturate(1.5) sepia(0.15) hue-rotate(-4deg) contrast(1.12);
}

.feature-row:nth-child(1) .feature-index {
  transform: rotate(-4deg);
}

.feature-row:nth-child(2) .feature-index {
  transform: rotate(3deg);
}

.feature-row:nth-child(3) .feature-index {
  transform: rotate(-2.5deg);
}

.feature-copy {
  flex-shrink: 0;
  max-width: 420px;
}

.feature-copy h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 18px;
  font-weight: 700;
  color: #F3F6F5;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-copy p {
  font-size: 14px;
  color: rgba(243, 246, 245, 0.65);
  line-height: 1.75;
}

@media (max-width: 700px) {
  .feature-row,
  .feature-row.is-reverse {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 32px 0;
  }

  .feature-index {
    width: 160px;
    padding-top: 16px;
    font-size: 30px;
  }

  .feature-row.is-reverse .feature-copy {
    text-align: left;
    order: 2;
  }

  .feature-row.is-reverse .feature-index {
    order: 1;
  }
}

/* Section Concept Art */
.section-concept {
  padding: 40px 24px 120px;
}

.section-roadmap {
  padding: 100px 24px;
}

.roadmap-inner {
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #F3F6F5;
  text-align: center;
  margin-bottom: 64px;
}

.roadmap-track {
  display: flex;
  align-items: flex-start;
}

.roadmap-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.roadmap-step::before {
  content: '';
  position: absolute;
  top: 13px;
  right: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.roadmap-step:first-child::before {
  display: none;
}

.roadmap-step.is-done::before {
  background: var(--accent);
}

.roadmap-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: 'Baloo 2', cursive;
  font-size: 12px;
  font-weight: 700;
  color: rgba(243, 246, 245, 0.4);
  background: #03191D;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.roadmap-step.is-done .roadmap-index {
  color: #03191D;
  background: var(--accent);
  border-color: var(--accent);
}

.roadmap-step.is-current .roadmap-index {
  color: var(--accent);
  background: #03191D;
  border: 2px solid var(--accent);
}

.roadmap-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 120px;
  color: rgba(243, 246, 245, 0.5);
}

.roadmap-step.is-done .roadmap-name,
.roadmap-step.is-current .roadmap-name {
  color: #F3F6F5;
}

.roadmap-status {
  font-size: 11px;
  font-style: italic;
  color: rgba(243, 246, 245, 0.35);
}

.roadmap-step.is-done .roadmap-status {
  color: rgba(73, 232, 197, 0.75);
}

.roadmap-step.is-current .roadmap-status {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 700px) {
  .section-roadmap {
    padding: 72px 24px;
  }

  .roadmap-title {
    margin-bottom: 44px;
  }

  .roadmap-track {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }

  .roadmap-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
  }

  .roadmap-step::before {
    top: -26px;
    left: 12px;
    right: auto;
    width: 1px;
    height: 26px;
  }

  .roadmap-name {
    max-width: none;
  }
}

.concept-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 32px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.concept-disclaimer i {
  font-size: 16px;
  color: rgba(243, 246, 245, 0.55);
  flex-shrink: 0;
}

.concept-disclaimer p {
  font-size: 13px;
  color: rgba(243, 246, 245, 0.6);
  line-height: 1.6;
}

.roadmap-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 48px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.roadmap-notice i {
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.roadmap-notice p {
  font-size: 13px;
  color: rgba(243, 246, 245, 0.6);
  line-height: 1.6;
}

/* Newsletter */
.section-newsletter {
  padding: 40px 24px 120px;
}

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

.newsletter-kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 246, 245, 0.5);
  font-weight: 600;
  margin-bottom: 12px;
}

.newsletter-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #F3F6F5;
  line-height: 1.25;
}

.newsletter-text {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(243, 246, 245, 0.65);
  line-height: 1.8;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #F3F6F5;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.25s ease;
}

.newsletter-input::placeholder {
  color: rgba(243, 246, 245, 0.4);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: rgba(73, 232, 197, 0.06);
  color: var(--accent);
  border: 1px solid rgba(73, 232, 197, 0.55);
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.newsletter-submit:hover {
  background: rgba(73, 232, 197, 0.14);
  border-color: var(--accent);
}

.newsletter-submit i {
  font-size: 15px;
  transition: transform 0.25s ease;
}

.newsletter-submit:hover i {
  transform: translateX(4px);
}

.newsletter-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: rgba(243, 246, 245, 0.4);
}

@media (max-width: 560px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-submit {
    justify-content: center;
  }
}

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

.concept-kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 246, 245, 0.5);
  font-weight: 600;
  margin-bottom: 12px;
}

.concept-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  color: #F3F6F5;
  line-height: 1.2;
}

.concept-gallery {
  column-count: 3;
  column-gap: 20px;
  margin-top: 48px;
  text-align: left;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
  break-inside: avoid;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  border-color: var(--accent);
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 0;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 25, 29, 0.8) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #F3F6F5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption i {
  font-size: 13px;
  color: var(--accent);
}

.gallery-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  break-inside: avoid;
  text-align: center;
  color: rgba(243, 246, 245, 0.4);
}

.gallery-placeholder i {
  font-size: 26px;
  color: rgba(243, 246, 245, 0.25);
}

.gallery-placeholder span {
  font-size: 13px;
  line-height: 1.4;
  max-width: 180px;
}

@media (max-width: 900px) {
  .concept-gallery {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .concept-gallery {
    column-count: 1;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 25, 29, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-arrow:hover {
  opacity: 1;
  border-color: var(--accent);
  background: rgba(73, 232, 197, 0.1);
}

.lightbox-arrow.prev { left: 16px; }
.lightbox-arrow.next { right: 16px; }

@media (max-width: 700px) {
  .lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .lightbox-arrow.prev { left: 8px; }
  .lightbox-arrow.next { right: 8px; }
}

/* Footer */
.footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #F3F6F5;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.footer-social:hover {
  opacity: 1;
}

.footer-social i {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(243, 246, 245, 0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-contact:hover {
  color: var(--accent);
}

.footer-contact i {
  font-size: 15px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(243, 246, 245, 0.45);
  letter-spacing: 0.02em;
}

/* Mobile */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .logo-chip img {
    height: 30px;
  }

  .logo-chip {
    padding: 8px 18px;
  }

  .nav-indicator {
    display: none;
  }

  nav.glass {
    position: fixed;
    inset: 0;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(5, 20, 23, 0.97);
    border: none;
    border-radius: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
    z-index: 999;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: none;
  }

  nav.open {
    display: flex;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  nav a {
    width: auto;
    padding: 16px 0;
    font-size: 20px;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .scroll-top-ring {
    width: 46px;
    height: 46px;
  }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 32, 36, 0.8);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #ffffff;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.scroll-top:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scroll-top i {
  font-size: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.scroll-top:hover i {
  transform: translateY(-2px);
}

.scroll-top-ring {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
}

.ring-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}
