:root {
  --primary: #6ea8fe;
  --primary-dark: #4d8df0;
  --bg: #0d0f14;
  --bg-soft: #14181f;
  --bg-card: #161b23;
  --border: #262d38;
  --text: #e8eaee;
  --text-light: #9aa2ae;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: 100%;
  padding: 0 20px;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo img {
  display: block;
  height: 34px;
  width: auto;
}

.logo span {
  color: var(--primary);
}

.nav {
  margin-left: auto;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 28px;
  font-size: 15px;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: var(--text);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroFade 4s infinite;
}

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

.slide-2 {
  background-image: url('../images/poster_1.jpg');
  animation-delay: 2s;
  opacity: 0;
}

@keyframes heroFade {
  0%, 42%  { opacity: 1; }
  50%, 92% { opacity: 0; }
  100%     { opacity: 1; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 17, 0.6), rgba(10, 12, 17, 0.85));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 20px 130px;
}

.hero h1 {
  font-size: 56px;
  letter-spacing: 6px;
  background: linear-gradient(120deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 56px;
  letter-spacing: 6px;
  margin: 20px 0 0;
  background: linear-gradient(120deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #0d0f14;
  padding: 12px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(110, 168, 254, 0.3);
}

/* Sections */
.section {
  padding: 80px 0;
}

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

.section-title {
  font-size: 30px;
  text-align: center;
  color: var(--text);
  margin-bottom: 12px;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 24px;
}

.section-desc {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 6px;
  margin-bottom: 18px;
  object-fit: contain;
}

.card-img-pnts {
  transform: translateY(-20px);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: var(--primary);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 20px;
}

.card p {
  color: var(--text-light);
  font-size: 14px;
}

/* Contact */
.contact {
  max-width: 560px;
  margin: 30px auto 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item .label {
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
  width: 90px;
}

.contact-item > span:last-child {
  text-align: left;
}

.contact-address {
  align-items: flex-start;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.address-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.address-name {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  width: 80px;
  text-align: right;
}

@media (max-width: 480px) {
  .address-row {
    flex-direction: column;
    text-align: left;
  }
}

/* Footer */
.site-footer {
  background: #08090c;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}

.footer-logo {
  height: 40px;
  width: auto;
  opacity: 0.85;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .logo img {
    height: 22px;
  }
  .header-inner {
    height: 56px;
    gap: 8px;
  }
  .nav {
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hero {
    min-height: 70vh;
  }
  .hero h1,
  .hero-tagline {
    font-size: 34px;
    letter-spacing: 3px;
  }
  .hero-content {
    padding: 80px 20px;
  }
  .nav a {
    margin-left: 14px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* --- 二级页面通用 --- */
.page-hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #10141c, #0a0c11);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 40px;
  letter-spacing: 3px;
}

.page-hero p {
  color: var(--text-light);
  margin-top: 12px;
  font-size: 16px;
}

.content {
  padding: 60px 0;
}

.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-light);
}

.prose h2 {
  color: var(--text);
  font-size: 24px;
  margin: 36px 0 14px;
}

.prose p {
  margin-bottom: 14px;
}

.contact-page {
  max-width: 560px;
}
