* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #1a1a1a;
}

body {
  font-family: 'Noto Sans', sans-serif;
  color: #f8f5f4;
  background: #1d1e1e;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  min-width: 320px;
}

/* ===== Header (fixed, always on top) ===== */
header {
  background-color: rgba(17, 17, 17, 0.80);
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: #D4A373;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

/* Header action buttons (burger + search) */
.header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

/* Burger button — hidden on desktop */
.burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.burger-icon {
  display: block;
}

.burger-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-line-1 { transform-origin: 12px 6px; }
.burger-line-2 { transform-origin: 12px 12px; }
.burger-line-3 { transform-origin: 12px 18px; }

.burger.open .burger-line-1 {
  transform: translateY(6px) rotate(45deg);
}

.burger.open .burger-line-2 {
  opacity: 0;
}

.burger.open .burger-line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  color: #d1cfce;
  text-decoration: none;
  padding: 8px 14px;
  transition: color 0.15s;
  font-size: 0.9rem;
  font-weight: 600;
}

nav a:hover {
  color: #fff;
}

nav a.active {
  color: #D4A373;
}

nav .nav-legends {
  position: relative;
  background: #D4A373;
  color: #1d1e1e;
  font-weight: 700;
  padding: 8px 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  box-shadow: 0 4px 0 0 #a07a4a;
  transition: transform 0.1s, box-shadow 0.1s;
  overflow: hidden;
}

nav .nav-legends:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 #a07a4a;
  color: #1d1e1e;
}

nav .nav-legends.active {
  color: #1d1e1e;
}

nav .nav-legends::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  animation: shimmer 3s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social icons in nav */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 10px;
}

nav .nav-social {
  font-size: 0.95rem;
  color: #757575;
  padding: 8px 7px;
  transition: color 0.15s, filter 0.15s;
  text-decoration: none;
}

nav .nav-social:hover { color: #fff; }
nav .nav-social[aria-label="Discord"]:hover { color: #5865F2; }
nav .nav-social[aria-label="TikTok"]:hover { color: #fe2c55; filter: drop-shadow(2px 0 0 #25f4ee) drop-shadow(-2px 0 0 #fe2c55); }
nav .nav-social[aria-label="Instagram"]:hover { color: #E1306C; }
nav .nav-social[aria-label="Monitoring"]:hover { color: #4caf50; }

/* ===== Page sections (full-viewport blocks) ===== */
.page-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

/* Dark solid sections */
.section-dark {
  background: #1d1e1e;
}

.section-dark:nth-of-type(even) {
  background: #242525;
}

/* Photo background sections with parallax + overlay */
.section-photo {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.section-bg-join { background-image: url('assets/img/bg/bg-join.webp'); }
.section-bg-city { background-image: url('assets/img/bg/bg-city.webp'); }
.section-cta.section-bg-city { min-height: 56.25vw; }

@media (max-width: 600px) {
  .section-bg-join { background-image: url('assets/img/thumb/bg/bg-join.webp'); }
}

.section-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.section-cta::before {
  display: none;
}

/* Join banner — desktop: fixed under header, no background */
.join-banner {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  z-index: 99;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.join-banner.visible {
  opacity: 1;
}
.join-banner-text {
  font-size: 2.65rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.join-banner-text .jb-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.join-banner-text .jb-char.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: static text pinned to top of bg-city section, hide fixed banner */
.join-mobile-text { display: none; }

@media (max-width: 768px) {
  .join-banner { display: none; }
  .section-cta.section-bg-city {
    align-items: flex-start !important;
    padding-top: 20px !important;
  }
  .join-mobile-text {
    display: block;
    z-index: 2;
    padding: 0 16px;
    text-align: center;
    white-space: nowrap;
  }
  .join-mobile-text .join-banner-text {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}

.section-cta .section-content {
  margin-top: auto;
  margin-bottom: 0;
}

.section-photo > .section-content {
  position: relative;
  z-index: 2;
}

/* Section content container */
.section-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.section-content.wide {
  max-width: 960px;
}

.section-content h2 {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.section-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: #d1cfce;
  margin-bottom: 1.3rem;
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* Community list */
.community-list {
  list-style: none;
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #d1cfce;
}

.community-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #D4A373;
  font-weight: 700;
}

/* ===== Interactive city map ===== */
.section-city {
  min-height: auto;
  padding: 0;
  display: block;
  position: relative;
}

.city-map-title {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 2px 0 rgba(0, 0, 0, 0.25);
  z-index: 4;
  pointer-events: none;
}

.city-map {
  position: relative;
  overflow: hidden;
}

.city-map-bg {
  display: block;
  width: 100%;
}

/* Dark overlay — appears only when a spot is hovered */
.city-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
  pointer-events: none;
}

.city-map:has(.city-spot:hover)::before,
.city-map:has(.city-tp:hover)::before {
  opacity: 1;
}

.city-spot {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: 100% 100%;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
  z-index: 2;
}

.city-spot:hover {
  opacity: 1;
}

.city-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #D4A373;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
}

.city-tp {
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.city-tp:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}


/* ===== Compact section (no min-height) ===== */
.section-compact {
  min-height: auto;
  padding: 36px 20px;
}

.section-cta {
  min-height: 464px;
  padding: 0 20px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* ===== Stats row ===== */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #D4A373;
  margin-bottom: 2px;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.7rem;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* ===== MC-style carousel ===== */
.mc-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mc-slide {
  flex-shrink: 0;
  width: 60%;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s;
}

.mc-slide-side {
  width: 15%;
  opacity: 0.35;
  cursor: pointer;
}

.mc-slide-main {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

@keyframes mc-slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mc-slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

[data-dir="1"]  .mc-slide-main { animation: mc-slide-in-right 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
[data-dir="-1"] .mc-slide-main { animation: mc-slide-in-left  0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.mc-slide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  overflow: hidden;
}

.mc-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mc-slide-info {
  background: #1e1c1b;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mc-slide-caption {
  color: #c8c6c4;
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mc-slide-link {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35) !important;
  transition: color 0.15s;
}

.mc-slide-link:hover {
  color: #D4A373 !important;
}

.mc-caption-link {
  color: #D4A373;
  text-decoration: none;
  transition: color 0.15s;
}

.mc-caption-link:hover {
  color: #e8c49a;
}

.mc-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 5;
}

.mc-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Feature list — for plugins section */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.section-cta-link {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

a.feature-item {
  text-decoration: none;
  color: inherit;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 14px;
  transition: background 0.15s, border-color 0.15s;
  text-align: center;
}

.feature-item:hover {
  background: rgba(20, 20, 20, 0.80);
  border-color: rgba(212, 163, 115, 0.3);
}

.feature-item .feat-icon {
  font-size: 1.3rem;
  color: #D4A373;
}

.feature-item .feat-text {
  font-size: 0.92rem;
  color: #d1cfce;
  line-height: 1.5;
}

.feature-item .feat-text strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

/* CTA section */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-block .ip {
  font-size: 1.6rem;
}

/* ===== Hero section (with carousel bg) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

/* Background slideshow — scoped inside hero */
.hero .bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(12px) brightness(0.5);
  transform: scale(1.08);
  transition: opacity 1.2s ease, filter 1.2s ease;
}

.bg-slide.active {
  opacity: 1;
  filter: blur(0) brightness(0.4);
}

.bg-slide.blur-out {
  opacity: 1;
  filter: blur(12px) brightness(0.3);
}

.hero-inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  margin-top: -25px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d1cfce;
  margin-bottom: 50px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
}

.hero-hint {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  animation: hero-hint-bob 2.5s ease-in-out infinite;
}

.hero-hint-arrow {
  opacity: 0.45;
  margin-bottom: -2px;
}

@keyframes hero-hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero-ip {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-ip-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 163, 115, 0.3);
  padding: 14px 22px;
}

.hero-ip-addr {
  font-size: 1.4rem;
  font-weight: 800;
  color: #D4A373;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.15s;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-ip-addr:hover {
  color: #e0b98a;
}

.ip-copy-hero {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(212, 163, 115, 0.5);
  transition: color 0.15s;
}

.ip-copy-hero:hover {
  color: #D4A373;
}

.ip-copy-hero.copied {
  color: #D4A373;
}

.ip-copy-hero .ip-copy-icon {
  width: 20px;
  height: 20px;
}

.hero-ip-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 12px;
  color: rgba(212, 163, 115, 0.4);
  transition: color 0.15s, transform 0.3s;
  display: flex;
  align-items: center;
}

.hero-ip-toggle:hover {
  color: rgba(212, 163, 115, 0.7);
}

.hero-ip-toggle.open {
  transform: rotate(180deg);
}

.hero-ip-alt {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  align-items: center;
}

.hero-ip-alt.open {
  max-height: 80px;
  opacity: 1;
}

.hero-ip-alt-row {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-ip-alt-label {
  color: rgba(255, 255, 255, 0.5);
}

.hero-ip-alt-addr {
  color: rgba(212, 163, 115, 0.6);
  cursor: pointer;
  transition: color 0.15s;
  font-weight: bold;
}

.hero-ip-alt-addr:hover {
  color: #D4A373;
}

.ip-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.ip-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ip {
  font-size: 1.5rem;
  font-weight: 900;
  color: #D4A373;
  cursor: pointer;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.15s;
}

.ip:hover {
  color: #e0b98a;
}

.ip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ip-copy {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.ip-copy:hover {
  color: rgba(255, 255, 255, 0.8);
}

.ip-copy.copied {
  color: #D4A373;
}

.ip-copy-icon {
  width: 20px;
  height: 20px;
}

.ip-copy-sm .ip-copy-icon {
  width: 14px;
  height: 14px;
}

.ip-copy-sm {
  margin-left: 6px;
  padding: 8px;
  min-width: 36px;
  min-height: 36px;
}

/* Dropdown for alternative IPs */
.ip-alt-wrap {
  position: relative;
  display: inline-block;
  margin-top: 8px;
}

.ip-alt-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-family: 'Noto Sans', sans-serif;
  padding: 6px 16px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.ip-alt-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.ip-alt-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 30;
}

.ip-alt-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ip-alt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
}

.ip-alt-item .ip-alt-label {
  color: #bbb;
  font-size: 0.8rem;
}

.ip-alt-hint {
  color: #777;
  font-size: 0.75rem;
}

.ip-alt-item .ip-alt-addr {
  color: #D4A373;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}

.ip-alt-item .ip-alt-addr:hover {
  color: #e0b98a;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  background: #D4A373;
  color: #1d1e1e;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 0 0 #a07a4a;
  transition: transform 0.1s, box-shadow 0.1s;
  text-shadow: none;
}

.btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 #a07a4a;
}

.btn-secondary {
  background: #313131;
  color: #d1cfce;
  border: none;
  box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.3);
  text-shadow: none;
}

.btn-secondary:hover {
  background: #404040;
  color: #fff;
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.3);
  border-color: transparent;
}

/* ===== "Начать играть" button with shimmer ===== */
.btn-play {
  position: relative;
  background: #D4A373;
  color: #1d1e1e;
  border: none;
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: 'Noto Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 5px 0 0 #a07a4a;
  transition: transform 0.1s, box-shadow 0.1s;
  overflow: hidden;
}

.btn-play:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 0 #a07a4a;
}

.btn-play::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { left: -100%; }
  40%  { left: 150%; }
  100% { left: 150%; }
}

/* Scroll hint arrow */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  transform: rotate(45deg);
  animation: bounce-down 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.35; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 0.7; }
}

/* ===== Modal: Как начать играть ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: #242525;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 18px 0 0;
}

.modal h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-align: center;
  padding: 0 52px 18px;
  line-height: 36px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #757575;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
  z-index: 1;
}

.modal-close:hover {
  color: #fff;
}

/* Steps: header bar + content */
.modal-steps {
  display: flex;
  flex-direction: column;
}

.modal-step {
  display: flex;
  flex-direction: column;
}

/* Header bar — tinted like note */
.modal-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-step-num {
  width: 26px;
  height: 26px;
  background: #D4A373;
  color: #1d1e1e;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.modal-step-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Content area below header */
.modal-step-content {
  padding: 16px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-step-desc {
  color: #8a8887;
  font-size: 0.88rem;
  line-height: 1.5;
}

.btn-discord-modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.82rem;
  padding: 0.6rem 1.2rem;
  background: #5865F2;
  color: #fff;
  box-shadow: 0 4px 0 0 #4049c4;
}

.btn-discord-modal:hover {
  background: #4e5bd4;
  color: #fff;
  box-shadow: 0 2px 0 0 #4049c4;
}

.modal-template {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  overflow-x: auto;
  width: 100%;
}

.modal-template pre {
  font-family: 'Noto Sans', monospace;
  font-size: 0.82rem;
  color: #b0aeac;
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
  text-align: left;
}

.modal-ip-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
}

.modal-ip {
  font-size: 1.15rem;
  font-weight: 800;
  color: #D4A373;
  cursor: pointer;
  transition: color 0.15s;
}

.modal-ip:hover {
  color: #e0b98a;
}

.modal-ip-alt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.modal-ip-alt-item {
  font-size: 0.78rem;
  color: #6a6968;
}

.modal-ip-alt-label {
  color: #575757;
}

.modal-ip-alt-addr {
  color: #8a8887;
  cursor: pointer;
  transition: color 0.15s;
}

.modal-ip-alt-addr:hover {
  color: #D4A373;
}

/* Note block at bottom */
.modal-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(212, 163, 115, 0.08);
  border-top: 1px solid rgba(212, 163, 115, 0.15);
  font-size: 0.82rem;
  color: #D4A373;
  line-height: 1.5;
}

.modal-note i {
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===== Slide detail modal ===== */
.slide-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}

.slide-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-modal {
  position: relative;
  background: #242525;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.slide-modal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.slide-modal-text {
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #d1cfce;
  margin: 0;
}

.slide-modal-link {
  display: block;
  padding: 0 24px 16px;
  font-size: 0.9rem;
}

.slide-modal-arrow {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color 0.15s;
}

.slide-modal-arrow:hover {
  color: #fff;
}

/* ===== Footer ===== */
footer {
  background: #161717;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 20px 20px;
  position: relative;
}

.footer-cols {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Server column: tighter rows, icons aligned right */
.footer-col:nth-child(2) {
  gap: 4px;
}

.footer-col:nth-child(2) .footer-col-title {
  margin-bottom: 0;
  text-align: center;
}

/* Community column: align to end */
.footer-col:nth-child(3) {
  align-items: flex-end;
}

.footer-col:nth-child(3) a {
  flex-direction: row-reverse;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #D4A373;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
}

.footer-col a {
  color: #8a8887;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  color: #d1cfce;
}

.footer-col a i {
  transition: color 0.15s;
}

.footer-col a:hover .fa-discord { color: #5865F2; }
.footer-col a:hover .fa-tiktok { color: #fe2c55; filter: drop-shadow(2px 0 0 #25f4ee) drop-shadow(-2px 0 0 #fe2c55); }
.footer-col a:hover .fa-instagram { color: #E1306C; }
.footer-col a:hover .fa-chart-simple { color: #4caf50; }

.footer-ip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.footer-ip-row .footer-ip-addr {
  flex: 1;
}

.footer-ip-label {
  color: #575757;
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 52px;
}

.footer-ip-addr {
  color: #b0aeac;
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-bottom {
  max-width: 900px;
  margin: 20px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  position: relative;
}

.footer-bottom p {
  color: #454545;
  font-size: 0.72rem;
  margin: 3px 0;
}

footer p {
  color: #454545;
  font-size: 0.72rem;
  margin: 3px 0;
}

/* Language switcher dropdown */
.lang-switch {
  position: relative;
  display: inline-flex;
}

.lang-switch-nav {
  display: none;
}

.lang-switch-desktop .lang-dropdown {
  bottom: auto;
  top: 100%;
  margin-bottom: 0;
  margin-top: 4px;
  right: 0;
  left: auto;
}

.lang-current {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #999;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.5px;
}

.lang-current:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-current svg {
  transition: transform 0.2s;
}

.lang-switch.open .lang-current svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 4px;
  background: rgba(29, 30, 30, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  min-width: 100%;
  z-index: 200;
}

.lang-switch.open .lang-dropdown {
  display: flex;
  flex-direction: column;
}

.lang-option {
  color: #999;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.5px;
  text-align: center;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lang-option.active {
  color: #D4A373;
}

/* Header lang-switch — dropdown opens downward */
.lang-switch-nav .lang-dropdown {
  bottom: auto;
  top: 100%;
  margin-bottom: 0;
  margin-top: 4px;
  right: 0;
  left: auto;
}

/* Footer lang-switch in footer-bottom — absolute left, text stays centered */
.lang-switch-footer {
  position: absolute;
  left: 0;
  top: 14px;
}

.scroll-top {
  position: absolute;
  right: 20px;
  top: 32px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.3);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.scroll-top:hover {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ===== Hero Online Counter ===== */
.hero-online {
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  display: none;
}

.hero-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulse 2s infinite;
}

.hero-online-text {
  color: #d1cfce;
  font-size: 0.95rem;
}

.hero-online-text strong {
  color: #fff;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== Home News Section ===== */
/* News section on home — gradient + honeycomb */
.section-news-home {
  background: linear-gradient(270deg, #1a1a1a, #222, #1a1a1a);
  background-size: 600% 600%;
  animation: newsGradient 15s ease infinite;
}
@keyframes newsGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.honeycomb-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.section-news-home > .section-content {
  position: relative;
  z-index: 1;
}

/* Featured news card on home (reuses news-card styles from news.css) */
.home-news-featured {
  text-align: left;
}
.home-news-featured .news-card {
  background: #242525;
  display: flex;
  padding: 8px;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.home-news-featured .news-card.is-clipped::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 320px;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, #242525);
  pointer-events: none;
}
.home-news-featured .news-card-img {
  width: 320px;
  min-height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: #313131;
  pointer-events: none;
  cursor: default;
}
.home-news-featured .news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-news-featured .news-card-img--full {
  display: flex;
  align-items: center;
  background: #1d1e1e;
}
.home-news-featured .news-card-img--full img {
  object-fit: cover;
}
.home-news-featured .news-card-body {
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  flex: 1;
  overflow: hidden;
}
.home-news-featured .news-tag {
  order: -1;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #D4A373;
  margin-bottom: 8px;
}
.home-news-featured .news-card-title,
.home-news-featured .news-card-text {
  width: 100%;
}
.home-news-featured .news-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}
.home-news-featured .news-card-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #949494;
  margin-bottom: 12px;
}
.home-news-featured .news-card-text p { margin: 0 0 8px; }
.home-news-featured .news-card-text p:last-child { margin-bottom: 0; }
.home-news-featured .news-card-text ul { margin: 4px 0 8px 20px; padding: 0; }
.home-news-featured .news-card-text li { margin-bottom: 2px; }
.home-news-featured .news-card-text a { color: #D4A373; }
.home-news-featured .news-card-date {
  order: -1;
  color: #5a5a5a;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
  margin-bottom: 8px;
}
.home-news-readmore {
  margin-top: 24px;
}

/* ===== FAQ Accordion ===== */
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  text-align: left;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}

.faq-question:hover {
  color: #D4A373;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  color: #949494;
  padding: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-cols,
  .footer-bottom {
    max-width: calc(100% - 100px);
  }
}

@media (max-width: 1100px) and (min-width: 431px) {
  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .description {
    margin-bottom: 0;
  }

  .scroll-top {
    display: none;
  }

  /* Burger + search visible on mobile */
  .header-actions {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .header-inner {
    height: 60px;
    flex-direction: row;
    padding: 0;
  }

  /* Nav hidden by default on mobile */
  nav {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    background: rgba(29, 30, 30, 0.98);
    backdrop-filter: blur(12px);
    padding: 8px 0;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  nav .nav-legends {
    padding: 14px 20px;
    margin: 4px 16px;
    text-align: center;
    box-shadow: none;
  }

  .hero {
    min-height: 100vh;
    padding: 80px 16px 32px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .description {
    font-size: 0.95rem;
  }

  .page-section {
    padding: 80px 16px 40px;
  }

  .section-content h2 {
    font-size: 22px;
  }

  .section-content p {
    font-size: 0.95rem;
  }

  .section-photo {
    background-attachment: scroll;
  }

  .ip {
    font-size: 1.2rem;
  }

  .section-compact {
    padding: 28px 16px;
  }

  .stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
  }

  .stat-item {
    padding: 14px 10px;
    background: #1d1e1e;
  }

  .stat-sep {
    display: none;
  }

  .stat-value {
    font-size: 0.9rem;
  }

  .mc-slide-side {
    display: none;
  }

  .mc-slide {
    width: 78%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .home-news-featured .news-card {
    flex-direction: column;
    height: auto;
    max-height: 400px;
  }
  .home-news-featured .news-card.is-clipped::after {
    left: 0;
  }
  .home-news-featured .news-card-img {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .home-news-featured .news-card-body {
    padding: 16px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-question {
    font-size: 0.88rem;
    padding: 12px 0;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }

  .nav-links {
    display: contents;
  }

  .nav-extra {
    display: contents;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  /* Social icons in burger menu */
  .nav-socials {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 8px 0;
    margin-left: 0;
  }


  nav .nav-social {
    font-size: 1.3rem;
    color: #757575;
    padding: 14px 18px;
    text-decoration: none;
  }

  /* Modal responsive */
  .modal {
    padding-top: 28px;
    max-height: calc(100vh - 24px);
  }

  .modal h2 {
    padding: 0 20px;
    font-size: 1.1rem;
  }

  .modal-step-head {
    padding: 12px 20px;
    gap: 10px;
  }

  .modal-step-content {
    padding: 14px 20px 18px;
  }

  .modal-note {
    padding: 14px 20px;
    font-size: 0.78rem;
  }

  .mc-slide-info {
    padding: 10px 14px;
  }

  .slide-modal-text {
    padding: 16px 20px;
  }

  .slide-modal-arrow {
    display: none;
  }

  /* Footer responsive */
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
  }

  .footer-col:nth-child(1) {
    align-items: flex-start;
  }

  .footer-col:nth-child(2) {
    align-items: flex-end;
  }

  .footer-col:nth-child(3) {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-col:nth-child(3) a {
    flex-direction: row;
    font-size: 0;
  }

  .footer-col:nth-child(3) a i {
    font-size: 1.2rem;
  }

  .footer-ip-row {
    justify-content: flex-end;
  }

  .footer-ip-label {
    display: none;
  }

  .footer-ip-addr {
    text-align: right;
  }

  .lang-switch-footer {
    display: none;
  }

  .lang-switch-nav {
    display: inline-flex;
  }

  .lang-switch-desktop {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 24px;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  .section-content h2 {
    font-size: 20px;
  }

  .mc-slide {
    width: 80%;
  }

  .mc-arrow {
    width: 36px;
    height: 36px;
  }
  .mc-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== Large screens (1440px+) ===== */
@media (min-width: 1440px) {
  body {
    font-size: 18px;
  }

  .header-inner {
    max-width: 1400px;
    height: 68px;
  }

  .logo {
    font-size: 1.45rem;
  }

  nav a {
    font-size: 0.95rem;
    padding: 8px 18px;
  }

  .hero-inner {
    max-width: 820px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .description {
    font-size: 1.12rem;
  }

  .section-content {
    max-width: 1000px;
  }

  .section-content.wide {
    max-width: 1200px;
  }

  .section-content h2 {
    font-size: 32px;
    margin-bottom: 28px;
  }

  .section-content p {
    font-size: 1.05rem;
  }

  .section-compact {
    padding: 48px 24px;
  }

  .stat-item {
    padding: 20px 36px;
  }

  .stat-value {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .feature-item {
    padding: 24px 18px;
  }

  .feature-item .feat-icon {
    font-size: 1.5rem;
  }

  .feature-item .feat-text {
    font-size: 0.95rem;
  }

  .mc-slide {
    width: 55%;
  }

  .mc-slide-side {
    width: 18%;
  }

  .mc-slide-caption {
    font-size: 0.9rem;
  }

  .section-cta {
    min-height: 520px;
  }

  .btn-play {
    font-size: 1.1rem;
    padding: 1.1rem 2.8rem;
  }

  .hero-ip-addr {
    font-size: 1.5rem;
  }

  .footer-cols {
    max-width: 1100px;
    gap: 64px;
  }

  .footer-bottom {
    max-width: 1100px;
  }

  .footer-col a {
    font-size: 0.9rem;
  }

  .modal {
    max-width: 620px;
  }

  .slide-modal {
    max-width: 840px;
  }

  .header-socials {
    gap: 16px;
  }

  .header-social {
    font-size: 1.4rem;
  }
}

/* ===== Extra-large screens (1920px+ / 2K) ===== */
@media (min-width: 1920px) {
  body {
    font-size: 20px;
  }

  .header-inner {
    max-width: 1600px;
    height: 72px;
  }

  .logo {
    font-size: 1.55rem;
  }

  nav a {
    font-size: 1rem;
    padding: 10px 22px;
  }

  nav .nav-legends {
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-inner {
    max-width: 920px;
    gap: 20px;
  }

  .hero h1 {
    font-size: 64px;
    letter-spacing: 3px;
  }

  .description {
    font-size: 1.2rem;
  }

  .section-content {
    max-width: 1100px;
  }

  .section-content.wide {
    max-width: 1400px;
  }

  .section-content h2 {
    font-size: 36px;
    margin-bottom: 32px;
  }

  .section-content p {
    font-size: 1.1rem;
  }

  .section-compact {
    padding: 56px 32px;
  }

  .stat-item {
    padding: 24px 44px;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .feature-item {
    padding: 28px 22px;
    gap: 10px;
  }

  .feature-item .feat-icon {
    font-size: 1.6rem;
  }

  .feature-item .feat-text {
    font-size: 1rem;
  }

  .mc-slide {
    width: 50%;
  }

  .mc-slide-side {
    width: 20%;
  }

  .mc-carousel {
    gap: 16px;
  }

  .mc-slide-caption {
    font-size: 0.95rem;
  }

  .section-cta {
    min-height: 580px;
  }

  .btn-play {
    font-size: 1.15rem;
    padding: 1.2rem 3rem;
  }

  .hero-ip-bar {
    padding: 16px 28px;
  }

  .hero-ip-addr {
    font-size: 1.6rem;
  }

  .footer-cols {
    max-width: 1400px;
    gap: 80px;
  }

  .footer-bottom {
    max-width: 1400px;
  }

  .footer-col-title {
    font-size: 0.75rem;
  }

  .footer-col a {
    font-size: 0.95rem;
  }

  .modal {
    max-width: 680px;
  }

  .modal h2 {
    font-size: 1.4rem;
  }

  .slide-modal {
    max-width: 960px;
  }

  .header-socials {
    gap: 18px;
  }

  .header-social {
    font-size: 1.5rem;
  }
}

/* ===== Scroll-reveal animations (desktop only) ===== */
@keyframes revealFade {
  to { opacity: 1; }
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 769px) {
  /* --- Hero: animate on page load --- */
  .hero h1 {
    opacity: 0;
    animation: revealFade 0.8s ease forwards 0.2s;
  }
  .hero .description {
    opacity: 0;
    animation: revealFade 0.8s ease forwards 0.4s;
  }
  .hero .hero-online {
    opacity: 0;
    animation: revealFade 0.8s ease forwards 0.5s;
  }
  .hero .hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.7s ease forwards 0.6s;
  }
  .hero .hero-ip {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.7s ease forwards 0.8s;
  }

  /* --- About: stat-items slide from sides --- */
  .stat-item {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .stat-item:nth-child(even) {
    transform: translateX(40px);
  }
  .stats-row.revealed .stat-item {
    opacity: 1;
    transform: translateX(0);
  }

  /* --- Features: flip in --- */
  .feature-list {
    perspective: 1000px;
  }
  .feature-item {
    opacity: 0;
    transform: rotateY(90deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .feature-list.revealed .feature-item {
    opacity: 1;
    transform: rotateY(0);
  }

  /* --- FAQ: slide from sides --- */
  .faq-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .faq-item:nth-child(even) {
    transform: translateX(30px);
  }
  .faq-list.revealed .faq-item {
    opacity: 1;
    transform: translateX(0);
  }
}
