:root {
  --bg: #0a0c14;
  --panel: #151824;
  --panel-2: #202430;
  --gold: #d4af37;
  --gold-dark: #b8922d;
  --text: #ffffff;
  --muted: #999999;
  --line: #222222;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: #11151f;
  border-bottom: 1px solid #232836;
}

.logo-text {
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-text span {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #111;
  background: var(--gold);
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #e5e5e5;
  font-weight: 600;
}

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

.menu-btn {
  display: none;
  border: 0;
  color: var(--gold);
  background: transparent;
  font-size: 28px;
}

.top-search {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 68px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: 8px;
  background: #0b0e16;
}

.top-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: #fff;
  background: transparent;
}

.top-search input::placeholder {
  color: #777;
}

.top-search button {
  border: 0;
  color: #000;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

.banner {
  height: 480px;
  background: url("/assets/img/banner.jpg") center/cover no-repeat;
  border-bottom: 3px solid var(--gold);
}

.banner-mask {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 18px;
  text-align: center;
  background: rgba(0, 0, 0, .7);
}

.banner h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 54px);
}

.banner p {
  margin: 0;
  color: #e5e5e5;
  font-size: 20px;
}

.banner-btn,
.sub-btn {
  border: 0;
  border-radius: 8px;
  color: #000;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.banner-btn {
  margin-top: 22px;
  padding: 12px 40px;
  font-size: 18px;
}

.banner-btn:hover,
.sub-btn:hover {
  background: var(--gold-dark);
  transform: scale(1.04);
}

.section-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.section-dark {
  width: min(1180px, calc(100% - 32px));
  margin-top: 10px;
  padding: 42px 24px;
  border-radius: 10px;
  background: #11141d;
}

.section-title {
  margin: 0 0 28px;
  color: var(--gold);
  text-align: center;
  font-size: 26px;
  font-weight: 800;
}

.search-status {
  display: none;
  margin: -10px 0 24px;
  text-align: center;
  color: var(--muted);
}

.search-status.active {
  display: block;
}

.movie-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.movie-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, .25);
}

.movie-media {
  position: relative;
}

.movie-img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.vip-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  color: #000;
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.movie-info {
  padding: 18px;
}

.movie-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.movie-tip {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.movie-tip span {
  color: var(--gold);
}

.vip-benefit,
.comment-box {
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 10px;
  background: var(--panel);
}

.vip-benefit {
  padding: 40px;
}

.benefit-item {
  padding: 20px;
  text-align: center;
}

.benefit-icon {
  margin-bottom: 15px;
  color: var(--gold);
  font-size: 40px;
}

.benefit-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.benefit-item p {
  margin: 0;
  color: var(--muted);
}

.comment-box {
  padding: 30px;
}

.comment-title {
  margin: 0 0 18px;
  color: var(--gold);
}

.comment-input {
  width: 100%;
  height: 120px;
  border: 1px solid #333;
  border-radius: 8px;
  outline: 0;
  resize: vertical;
  padding: 15px;
  color: #fff;
  background: var(--panel-2);
}

.sub-btn {
  margin-top: 15px;
  padding: 12px 35px;
}

.comment-list {
  margin-top: 30px;
}

.comment-item {
  margin-bottom: 15px;
  padding: 18px;
  border-bottom: 1px solid #333;
}

.comment-item h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 16px;
}

.comment-item h3 span {
  color: var(--muted);
  font-size: 13px;
}

.comment-item p {
  margin: 0;
  color: #ddd;
}

.site-footer {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding: 40px 16px;
  border-top: 2px solid var(--gold);
  color: #888;
  background: #05070d;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .movie-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .top-search {
    order: 4;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 76px;
  }
}

@media (max-width: 560px) {
  .banner {
    height: 420px;
  }

  .movie-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .section-dark {
    padding: 34px 16px;
  }
}
