:root {
  --bg: #070d16;
  --bg-alt: #0d1422;
  --surface: #121b2d;
  --surface-soft: #1a2740;
  --text: #e9f0ff;
  --muted: #9cb0ce;
  --accent: #44d7ff;
  --accent-2: #ff8a5b;
  --border: rgba(159, 184, 220, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-top: 78px;
}

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

.site-header .navbar {
  background: rgba(6, 12, 21, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 3px rgba(68, 215, 255, 0.2);
}

.navbar-nav .nav-link {
  color: rgba(233, 240, 255, 0.85);
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #ffffff;
}

.dropdown-menu {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #4fb7ff);
  border: 0;
  color: #03121f;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.62rem 1.4rem;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #66dfff, #72c2ff);
  color: #03121f;
}

.btn-outline-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 999px;
}

.btn-outline-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-outline-dark-custom {
  border: 1px solid #243247;
  color: #19293d;
  border-radius: 999px;
}

.btn-outline-dark-custom:hover {
  background: #19293d;
  color: #fff;
}

.offcanvas {
  background: #09101b;
}

.mobile-collapse-btn {
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
}

.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 22, 0.92) 12%, rgba(7, 13, 22, 0.48) 55%, rgba(7, 13, 22, 0.72) 100%);
  z-index: 1;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide--1 {
  background-image: url('../images/nadgtijk.jpg');
}

.hero-slide--2 {
  background-image: url('../images/ffgzma.jpg');
}

.hero-slide--3 {
  background-image: url('../images/fooxtr.jpg');
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 2.2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 138, 91, 0.18);
  border: 1px solid rgba(255, 138, 91, 0.7);
  color: #ffd6c7;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
  font-weight: 800;
}

.hero-subtitle {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.hero-desc {
  color: rgba(233, 240, 255, 0.9);
  max-width: 620px;
  line-height: 1.75;
}

.hero-date {
  color: rgba(233, 240, 255, 0.72);
  font-size: 0.92rem;
}

.hero-controls {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(4, 10, 17, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.hero-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-indicators {
  display: inline-flex;
  gap: 8px;
}

.hero-indicators button {
  width: 26px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
}

.hero-indicators button.active {
  background: var(--accent);
}

.hero-counter {
  font-size: 0.85rem;
  color: rgba(233, 240, 255, 0.8);
  min-width: 64px;
  text-align: right;
}

.news-ticker {
  background: #050a12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
}

.ticker-label {
  background: rgba(68, 215, 255, 0.2);
  color: #c5f3ff;
  border: 1px solid rgba(68, 215, 255, 0.65);
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}

.ticker-window {
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  gap: 2.8rem;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}

.ticker-track a {
  color: rgba(233, 240, 255, 0.86);
  font-size: 0.92rem;
}

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

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

.featured-section {
  background: var(--bg-alt);
}

.section-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 2px;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
}

.section-title.dark {
  color: #101b2a;
}

.text-link {
  color: rgba(233, 240, 255, 0.8);
  font-size: 0.92rem;
}

.text-link.dark {
  color: #2b3f59;
}

.poster-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0c1320;
  height: 100%;
}

.poster-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.poster-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 12, 20, 0.96) 13%, rgba(6, 12, 20, 0.15) 65%);
}

.poster-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
}

.poster-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
}

.poster-meta h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.poster-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(233, 240, 255, 0.8);
}

.about-section {
  background: #f6f9ff;
  color: #1a2a3f;
}

.about-text {
  color: #42546e;
  line-height: 1.85;
}

.stats-row {
  margin-top: 1.2rem;
}

.stat-box {
  background: #ffffff;
  border: 1px solid #e3ecf8;
  border-radius: 12px;
  padding: 0.9rem 0.8rem;
  text-align: center;
  height: 100%;
}

.stat-box strong {
  display: block;
  font-size: 1.25rem;
  color: #0f3656;
  margin-bottom: 0.15rem;
}

.stat-box span {
  font-size: 0.8rem;
  color: #647893;
}

.milestone-list {
  background: #eef4fd;
  border: 1px solid #dce7f8;
  border-radius: 12px;
  padding: 1rem 1rem 1rem 1.25rem;
  color: #3e4f66;
}

.milestone-list li + li {
  margin-top: 0.45rem;
}

.about-photo-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d6e2f2;
  box-shadow: 0 24px 45px rgba(16, 31, 53, 0.18);
}

.about-photo {
  width: 100%;
  display: block;
}

.updates-section {
  background: #edf3fa;
  color: #1a2a3f;
}

.update-card {
  background: #fff;
  border: 1px solid #dde8f6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 31, 54, 0.08);
}

.update-card img {
  height: 206px;
  object-fit: cover;
  display: block;
}

.update-card h3 {
  font-size: 1.07rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.update-card p {
  margin-bottom: 0.9rem;
  color: #60748f;
  line-height: 1.7;
  font-size: 0.92rem;
}

.update-card time {
  font-size: 0.8rem;
  color: #7389a7;
}

.chip {
  background: #eaf5ff;
  color: #255f8d;
  border: 1px solid #cfe6fa;
  border-radius: 999px;
  font-size: 0.74rem;
  padding: 0.2rem 0.6rem;
}

.read-more {
  color: #1e70a8;
  font-weight: 600;
  font-size: 0.88rem;
}

.faq-section {
  background: linear-gradient(180deg, #101a2a, #0c1421);
}

.faq-lead {
  color: rgba(233, 240, 255, 0.8);
  line-height: 1.8;
}

.faq-accordion .accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: #e6efff;
  box-shadow: none;
  font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #7de5ff;
  background: rgba(68, 215, 255, 0.08);
}

.faq-accordion .accordion-body {
  color: #b6c8e2;
  line-height: 1.75;
}

.join-section {
  background-image: linear-gradient(180deg, rgba(10, 15, 26, 0.78), rgba(10, 15, 26, 0.85)), url('../images/jcvalnviipu.jpg');
  background-size: cover;
  background-position: center;
}

.join-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.join-text {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  color: rgba(233, 240, 255, 0.9);
  line-height: 1.8;
}

.links-section {
  background: #0b121d;
}

.friend-link {
  display: block;
  text-align: center;
  padding: 0.9rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.03);
  color: #dce8ff;
  transition: all 0.25s ease;
}

.friend-link:hover {
  border-color: rgba(68, 215, 255, 0.7);
  color: #fff;
  transform: translateY(-2px);
}

.site-footer {
  background: #08141c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-desc {
  color: #8ea2be;
  line-height: 1.75;
  margin-top: 0.85rem;
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a,
.footer-bottom a {
  color: #a4b7cf;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.social-list a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #d9e7fa;
}

.subscribe-form .form-control {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.subscribe-form .form-control::placeholder {
  color: #a3b4c9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8ca2bd;
  font-size: 0.9rem;
}

.modal-theme {
  background: #0d1828;
  color: #eaf2ff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.modal-theme .form-control,
.modal-theme .form-control:focus,
.modal-theme textarea {
  background: #101f35;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #eaf2ff;
  box-shadow: none;
}

.modal-theme .form-label {
  color: #c7d8f0;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 72px;
  }

  .hero-section {
    min-height: 74vh;
  }

  .hero-content {
    padding-bottom: 1.5rem;
  }

  .poster-card img {
    height: 260px;
  }
}

@media (max-width: 575.98px) {
  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-desc {
    font-size: 0.92rem;
  }

  .hero-controls {
    padding: 0.35rem 0.55rem;
    gap: 0.6rem;
  }

  .hero-nav {
    width: 30px;
    height: 30px;
  }

  .hero-indicators button {
    width: 20px;
  }

  .poster-card img {
    height: 220px;
  }

  .update-card img {
    height: 190px;
  }
}