:root {
  --bg: #030806;
  --panel: #0a1210;
  --panel-2: #101917;
  --text: #f7fbf9;
  --muted: #9ba8a3;
  --line: rgba(255, 255, 255, 0.10);
  --accent: #e41452;
  --accent-2: #1c86ff;
  --green: #28e077;
  --radius: 8px;
}

@font-face {
  font-family: 'Jota Urban';
  src: url('/assets/fonts/jota-urban/JoTaUrbanFont.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at top, rgba(228, 20, 82, 0.14), transparent 32rem),
    var(--bg);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-toast {
  position: fixed;
  z-index: 80;
  top: 18px;
  left: 50%;
  width: min(440px, calc(100% - 32px));
  min-height: 70px;
  display: grid;
  grid-template-columns: 12px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(255, 35, 101, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 35, 101, 0.16), rgba(3, 8, 6, 0.92)),
    rgba(5, 8, 7, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 35, 101, 0.16), 0 0 34px rgba(228, 20, 82, 0.42), 0 22px 70px rgba(0, 0, 0, 0.58);
  color: white;
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -130%);
  transition: transform 420ms cubic-bezier(.2, .9, .2, 1), opacity 240ms ease;
}

.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-light {
  grid-row: 1 / span 2;
  width: 10px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2365, #28e077);
  box-shadow: 0 0 18px rgba(255, 35, 101, 0.82);
}

.site-toast strong {
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
}

.site-toast span:last-child {
  color: #d6ddda;
  font-size: 13px;
  line-height: 1.35;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(3, 8, 6, 0.70);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand span,
h1,
h2 {
  font-family: 'Jota Urban', Impact, Arial Black, sans-serif;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: block;
  box-shadow: 0 0 26px rgba(228, 20, 82, 0.32);
}

.nav {
  display: flex;
  gap: 26px;
  color: #d7ddda;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: white;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 24px;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 86px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(3, 8, 6, 0.92), rgba(3, 8, 6, 0.54) 44%, rgba(3, 8, 6, 0.26)),
    radial-gradient(circle at 80% 45%, rgba(28, 134, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 18% 74%, rgba(228, 20, 82, 0.25), transparent 26rem);
  background-size: cover;
  background-position: center;
  transform: scale(1.035);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media.no-image {
  background:
    linear-gradient(135deg, rgba(228, 20, 82, 0.42), rgba(28, 134, 255, 0.18)),
    linear-gradient(145deg, #121715, #020403);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(3, 8, 6, 0.08), rgba(3, 8, 6, 0.96)),
    linear-gradient(90deg, rgba(3, 8, 6, 0.34), transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(46px, 8vw, 106px);
  line-height: 0.92;
  text-transform: uppercase;
  max-width: 820px;
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.26), 0 26px 68px rgba(0, 0, 0, 0.62);
}

h2 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 18px 0 30px;
  color: #d6ddda;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.hero-copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.hero-stats span,
.server-ip,
.server-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(4, 8, 7, 0.54);
  color: #dbe4e0;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.server-ip {
  font-family: inherit;
  cursor: pointer;
}

.server-link {
  font-family: inherit;
  cursor: pointer;
}

.server-ip:hover,
.server-ip:focus-visible,
.server-link:hover,
.server-link:focus-visible {
  border-color: rgba(255, 35, 101, 0.72);
  outline: 0;
  box-shadow: 0 0 0 1px rgba(255, 35, 101, 0.22), 0 0 22px rgba(228, 20, 82, 0.32);
}

.hero-stats strong {
  color: var(--green);
  text-transform: uppercase;
}

.server-live-panel {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin: -8px 0 24px;
  padding: 14px;
  border: 1px solid rgba(255, 35, 101, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(228, 20, 82, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(3, 8, 6, 0.60);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9ba8a3;
  box-shadow: 0 0 0 6px rgba(155, 168, 163, 0.08);
}

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(40, 224, 119, 0.10), 0 0 24px rgba(40, 224, 119, 0.54);
}

.status-dot.offline {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(228, 20, 82, 0.10), 0 0 24px rgba(228, 20, 82, 0.50);
}

.server-live-panel strong {
  display: block;
  color: white;
  font-size: 15px;
  text-transform: uppercase;
}

.server-live-panel small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.live-count {
  min-width: 116px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  text-align: right;
}

.live-count strong {
  color: var(--green);
  font-size: 24px;
}

@keyframes heroDrift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-12px, -8px, 0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.ghost-action,
.login-form button,
.product button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  color: white;
  font-weight: 900;
  cursor: pointer;
  gap: 10px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.primary-action .icon,
.ghost-action .icon,
.login-form button .icon,
.product button .icon,
.contact-float .icon,
.role-badge .icon {
  filter: brightness(0) invert(1);
}

.primary-action,
.login-form button,
.product button {
  background: linear-gradient(180deg, #ff2365, #cb073f);
  box-shadow: 0 12px 32px rgba(228, 20, 82, 0.24);
}

.ghost-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

section:not(.hero) {
  padding: 78px clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 1120px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.role-stage {
  width: min(900px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 10px;
  align-items: center;
}

.role-track {
  position: relative;
  min-height: 510px;
  perspective: 1100px;
  transform-style: preserve-3d;
}

@keyframes roleInRight {
  0% {
    opacity: 0.52;
    transform: translateX(62%) translateZ(-150px) rotateY(-34deg) scale(0.78);
    filter: saturate(0.6) brightness(0.62) blur(1px);
  }
  55% {
    transform: translateX(-4%) translateZ(80px) rotateY(4deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateZ(56px) rotateY(0deg) scale(1);
    filter: saturate(1.08) brightness(1) blur(0);
  }
}

@keyframes roleInLeft {
  0% {
    opacity: 0.52;
    transform: translateX(-62%) translateZ(-150px) rotateY(34deg) scale(0.78);
    filter: saturate(0.6) brightness(0.62) blur(1px);
  }
  55% {
    transform: translateX(4%) translateZ(80px) rotateY(-4deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateZ(56px) rotateY(0deg) scale(1);
    filter: saturate(1.08) brightness(1) blur(0);
  }
}

@keyframes roleBackLeft {
  0% {
    opacity: 0.9;
    transform: translateX(0) translateZ(60px) rotateY(0deg) scale(0.96);
  }
  100% {
    opacity: 0.46;
    transform: translateX(-66%) translateZ(-150px) rotateY(22deg) scale(0.74);
  }
}

@keyframes roleBackRight {
  0% {
    opacity: 0.9;
    transform: translateX(0) translateZ(60px) rotateY(0deg) scale(0.96);
  }
  100% {
    opacity: 0.46;
    transform: translateX(66%) translateZ(-150px) rotateY(-22deg) scale(0.74);
  }
}

.role-card {
  position: absolute;
  inset: 0;
  width: min(300px, 66%);
  aspect-ratio: 2 / 3;
  min-height: 0;
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  opacity: 0.46;
  cursor: pointer;
  filter: saturate(0.58) brightness(0.62);
  transform-style: preserve-3d;
  transition: transform 460ms cubic-bezier(.2, .8, .2, 1), opacity 260ms ease, filter 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  will-change: transform;
}

.role-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.16));
}

.role-card.active {
  z-index: 3;
  opacity: 1;
  filter: saturate(1.08) brightness(1);
  transform: translateX(0) translateZ(56px) rotateY(0deg) scale(1);
  border-color: color-mix(in srgb, var(--role-color), white 16%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--role-color), transparent 54%), 0 34px 90px rgba(0, 0, 0, 0.5);
}

.role-track.moving-right .role-card.active {
  animation: roleInRight 560ms cubic-bezier(.18, .9, .2, 1) both;
}

.role-track.moving-left .role-card.active {
  animation: roleInLeft 560ms cubic-bezier(.18, .9, .2, 1) both;
}

.role-card.prev {
  z-index: 2;
  transform: translateX(-66%) translateZ(-150px) rotateY(22deg) scale(0.74);
}

.role-card.next {
  z-index: 2;
  transform: translateX(66%) translateZ(-150px) rotateY(-22deg) scale(0.74);
}

.role-track.moving-right .role-card.prev {
  animation: roleBackLeft 560ms cubic-bezier(.18, .9, .2, 1) both;
}

.role-track.moving-left .role-card.next {
  animation: roleBackRight 560ms cubic-bezier(.18, .9, .2, 1) both;
}

.role-card.prev:hover,
.role-card.next:hover {
  opacity: 0.68;
  filter: saturate(0.8) brightness(0.76);
}

.role-image,
.gallery-main,
.product-image {
  background: linear-gradient(135deg, #1b2522, #070d0b);
}

.role-image {
  position: absolute;
  inset: 0;
  height: auto;
  background-color: #050807;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.role-card h3 {
  display: none;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-btn {
  position: relative;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.07);
  font-size: 34px;
  cursor: pointer;
}

.role-info {
  min-height: 96px;
  margin: 26px auto 0;
  max-width: 740px;
  text-align: center;
  color: var(--muted);
  line-height: 1.55;
}

.role-info strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 24px;
}

.gallery-view {
  max-width: 920px;
  margin: 0 auto;
}

.gallery-main {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.video-frame {
  background:
    radial-gradient(circle at 30% 10%, rgba(228, 20, 82, 0.26), transparent 24rem),
    linear-gradient(135deg, rgba(228, 20, 82, 0.28), rgba(28, 134, 255, 0.18)),
    #101917;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  transition: opacity 240ms ease;
}

.video-frame video.is-ready {
  opacity: 1;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.24)),
    linear-gradient(90deg, rgba(228, 20, 82, 0.12), transparent 45%, rgba(28, 134, 255, 0.12));
}

.video-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: white;
}

.video-fallback.hidden {
  display: none;
}

.video-fallback strong {
  font-family: 'Jota Urban', Impact, Arial Black, sans-serif;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
}

.video-fallback span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.video-controls {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 35, 101, 0.32);
  border-radius: 999px;
  background: rgba(3, 8, 6, 0.68);
  box-shadow: 0 0 0 1px rgba(255, 35, 101, 0.12), 0 16px 42px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.video-controls button {
  min-width: 104px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.video-controls button:hover,
.video-controls button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 35, 101, 0.68);
  background: rgba(228, 20, 82, 0.22);
  outline: 0;
}

.video-controls span {
  min-width: 18px;
  text-align: center;
}

.city-showcase {
  max-width: 1240px;
  margin: 52px auto 0;
}

.city-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.city-intro h3 {
  margin: 0;
  font-family: 'Jota Urban', Impact, Arial Black, sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.city-intro p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.city-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 14px;
  align-items: center;
  perspective: 1100px;
}

.city-track {
  position: relative;
  min-height: 500px;
  transform-style: preserve-3d;
}

.city-card {
  position: absolute;
  inset: 0;
  width: min(460px, 74%);
  min-height: 430px;
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), transparent 34%),
    rgba(10, 18, 16, 0.94);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  filter: saturate(0.54) brightness(0.58) blur(1px);
  transform-style: preserve-3d;
  transition: transform 460ms cubic-bezier(.2, .8, .2, 1), opacity 260ms ease, filter 260ms ease, border-color 190ms ease, box-shadow 190ms ease;
  will-change: transform;
}

.city-card.active,
.city-card.prev,
.city-card.next {
  pointer-events: auto;
}

.city-card.active {
  z-index: 3;
  opacity: 1;
  filter: saturate(1.08) brightness(1) blur(0);
  transform: translateX(0) translateZ(18px) rotateY(0deg) scale(1);
  border-color: color-mix(in srgb, var(--city-color), white 16%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--city-color), transparent 80%), 0 34px 90px rgba(0, 0, 0, 0.5);
}

.city-card.prev {
  z-index: 2;
  opacity: 0.44;
  transform: translateX(-64%) translateZ(-230px) rotateY(24deg) scale(0.74);
}

.city-card.next {
  z-index: 2;
  opacity: 0.44;
  transform: translateX(64%) translateZ(-230px) rotateY(-24deg) scale(0.74);
}

.city-card.hidden {
  transform: translateX(0) translateZ(-260px) scale(0.62);
}

.city-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--city-color), white 16%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--city-color), transparent 80%), 0 28px 82px rgba(0, 0, 0, 0.44);
}

.city-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--city-color), transparent 80%), transparent 42%, rgba(228, 20, 82, 0.12));
  opacity: 0;
  transition: opacity 190ms ease;
}

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

.city-card.active:hover {
  transform: translateX(0) translateZ(24px) rotateY(0deg) scale(1.012);
}

.city-card.prev:hover {
  opacity: 0.66;
  filter: saturate(0.76) brightness(0.72) blur(0.5px);
  transform: translateX(-64%) translateZ(-150px) rotateY(22deg) scale(0.76);
}

.city-card.next:hover {
  opacity: 0.66;
  filter: saturate(0.76) brightness(0.72) blur(0.5px);
  transform: translateX(64%) translateZ(-150px) rotateY(-22deg) scale(0.76);
}

.city-carousel-btn {
  position: relative;
  z-index: 4;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.07);
  font-size: 34px;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.city-carousel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 35, 101, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 35, 101, 0.22), 0 0 22px rgba(228, 20, 82, 0.28);
}

@keyframes cityInRight {
  0% {
    opacity: 0.48;
    transform: translateX(60%) translateZ(-150px) rotateY(-28deg) scale(0.76);
    filter: saturate(0.54) brightness(0.58) blur(1px);
  }
  58% {
    transform: translateX(-3%) translateZ(92px) rotateY(4deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateZ(18px) rotateY(0deg) scale(1);
    filter: saturate(1.08) brightness(1) blur(0);
  }
}

@keyframes cityInLeft {
  0% {
    opacity: 0.48;
    transform: translateX(-60%) translateZ(-150px) rotateY(28deg) scale(0.76);
    filter: saturate(0.54) brightness(0.58) blur(1px);
  }
  58% {
    transform: translateX(3%) translateZ(92px) rotateY(-4deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateZ(18px) rotateY(0deg) scale(1);
    filter: saturate(1.08) brightness(1) blur(0);
  }
}

.city-stage.moving-right .city-card.active {
  animation: cityInRight 560ms cubic-bezier(.18, .9, .2, 1) both;
}

.city-stage.moving-left .city-card.active {
  animation: cityInLeft 560ms cubic-bezier(.18, .9, .2, 1) both;
}

.city-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.city-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.34));
}

.city-image span {
  display: none;
}

.city-image.no-city-image {
  display: grid;
  place-items: center;
  padding: 20px;
}

.city-image.no-city-image span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 800;
}

.city-body {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.city-body small {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  background: color-mix(in srgb, var(--city-color), transparent 78%);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.city-body h4 {
  margin: 14px 0 8px;
  color: white;
  font-size: 22px;
  line-height: 1.1;
}

.city-body p {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  cursor: pointer;
}

.tabs button.active {
  background: rgba(255, 255, 255, 0.18);
}

.shop-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%),
    rgba(10, 18, 16, 0.94);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--product-color), white 12%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--product-color), transparent 82%), 0 26px 76px rgba(0, 0, 0, 0.42);
}

.product::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, color-mix(in srgb, var(--product-color), transparent 82%), transparent 42%, rgba(40, 224, 119, 0.12));
  opacity: 0;
  transition: opacity 180ms ease;
}

.product:hover::before {
  opacity: 1;
}

.product-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-image span {
  display: none;
}

.product-image.no-product-image {
  display: grid;
  place-items: center;
  padding: 20px;
}

.product-image.no-product-image span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 800;
}

.product-body {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product small {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  background: color-mix(in srgb, var(--product-color), transparent 78%);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 11px;
}

.product-meta span {
  color: var(--product-color);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product h3 {
  min-height: 34px;
  margin: 14px 0 8px;
  font-size: 24px;
}

.product p {
  min-height: 58px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.45;
}

.price {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  text-shadow: 0 12px 34px color-mix(in srgb, var(--product-color), transparent 62%);
}

.product button {
  width: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(228, 20, 82, 0.34);
}


.access-section {
  padding-bottom: 120px;
}

.login-panel {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 44px);
  background: linear-gradient(135deg, rgba(228, 20, 82, 0.12), rgba(255, 255, 255, 0.04));
}

.login-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 12px;
}

.field {
  position: relative;
  display: block;
}

.field .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.72;
  filter: brightness(0) invert(1);
}

.login-form input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px 0 46px;
  color: white;
  background: rgba(0, 0, 0, 0.22);
  outline: 0;
}

.team-section {
  padding-bottom: 130px;
}

.team-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%),
    rgba(10, 18, 16, 0.94);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--team-color), white 16%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--team-color), transparent 80%), 0 28px 82px rgba(0, 0, 0, 0.44);
}

.team-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.36));
}

.team-image span {
  display: none;
}

.team-image.no-team-image {
  display: grid;
  place-items: center;
  padding: 20px;
}

.team-image.no-team-image span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 800;
}

.team-body {
  padding: 18px;
}

.team-body small {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  background: color-mix(in srgb, var(--team-color), transparent 78%);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.team-body h3 {
  margin: 14px 0 4px;
  color: white;
  font-size: 26px;
}

.team-body strong {
  display: block;
  color: var(--team-color);
  font-size: 13px;
  text-transform: uppercase;
}

.team-body p {
  min-height: 72px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.contact-float {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--green);
  color: #05240f;
  font-weight: 900;
  box-shadow: 0 14px 40px rgba(40, 224, 119, 0.24);
  gap: 10px;
}

.contact-float .icon {
  filter: none;
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 18px;
    background: rgba(3, 8, 6, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .role-stage {
    grid-template-columns: 44px 1fr 44px;
  }

  .role-track {
    min-height: 470px;
  }

  .role-card {
    width: min(280px, 70%);
    min-height: 0;
  }

  .role-card.prev {
    transform: translateX(-48%) translateZ(-130px) rotateY(18deg) scale(0.74);
  }

  .role-card.next {
    transform: translateX(48%) translateZ(-130px) rotateY(-18deg) scale(0.74);
  }

  .section-head.split,
  .login-panel {
    grid-template-columns: 1fr;
    display: grid;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-stage {
    grid-template-columns: 44px 1fr 44px;
  }

  .city-carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .city-stage,
  .city-track {
    min-height: 470px;
  }

  .city-card {
    width: min(410px, 78%);
  }

  .city-card.prev {
    transform: translateX(-48%) translateZ(-140px) rotateY(18deg) scale(0.74);
  }

  .city-card.next {
    transform: translateX(48%) translateZ(-140px) rotateY(-18deg) scale(0.74);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 88vh;
  }

  .role-stage {
    grid-template-columns: 38px 1fr 38px;
    gap: 4px;
  }

  .role-track {
    min-height: 400px;
  }

  .role-card {
    width: min(230px, 76%);
    min-height: 0;
  }

  .role-card.prev {
    transform: translateX(-32%) translateZ(-120px) rotateY(16deg) scale(0.7);
  }

  .role-card.next {
    transform: translateX(32%) translateZ(-120px) rotateY(-16deg) scale(0.7);
  }

  .gallery-main {
    min-height: 260px;
  }

  .video-controls {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
    border-radius: 14px;
  }

  .video-controls button {
    min-width: 0;
    flex: 1;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .server-live-panel {
    grid-template-columns: 1fr;
  }

  .live-count {
    text-align: left;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .city-stage {
    min-height: 430px;
    grid-template-columns: 38px 1fr 38px;
    gap: 4px;
  }

  .city-track {
    min-height: 430px;
  }

  .city-card {
    width: min(280px, 82%);
    min-height: 380px;
  }

  .city-card.prev {
    transform: translateX(-34%) translateZ(-120px) rotateY(16deg) scale(0.7);
  }

  .city-card.next {
    transform: translateX(34%) translateZ(-120px) rotateY(-16deg) scale(0.7);
  }

  .city-carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .contact-float {
    left: 18px;
    right: 18px;
  }
}
