/* ============================================================
   宿迁捺店影视城 · 宿迁市捺店视听智作工坊影视基地官网样式
   设计参考「拍在遂宁」深海影院蓝 + 胶片流金视觉语言，升级企业官网质感
   ============================================================ */
:root {
  --bg-deep: #0a1020;
  --bg-surface: #111930;
  --bg-card: #16213d;
  --bg-card-hover: #1d2b4f;
  --bg-input: #1b2644;
  --border-subtle: rgba(148, 175, 224, 0.14);
  --border-gold: rgba(227, 179, 102, 0.42);
  --text-primary: #f5f7fc;
  --text-secondary: #bcc8e0;
  --text-muted: #7f91b3;
  --blue-primary: #2d8cf0;
  --blue-cyan: #38bdf8;
  --blue-grad: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  --teal-grad: linear-gradient(90deg, #1d7a94 0%, rgba(29, 122, 148, 0.12) 100%);
  --gold-light: #f6dfad;
  --gold-main: #dfb165;
  --gold-deep: #b98332;
  --gold-grad: linear-gradient(135deg, #f7dfaa 0%, #dca956 60%, #b8822f 100%);
  --danger: #ef4444;
  --success: #22c55e;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 12px 32px rgba(4, 9, 22, 0.42);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: radial-gradient(circle at 20% 0%, #162347 0%, var(--bg-deep) 45%, #070b17 100%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(10, 16, 32, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #fff;
  background: rgba(45, 140, 240, 0.2);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--blue-grad);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 26px rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold-grad);
  color: #161108;
  box-shadow: 0 6px 20px rgba(223, 177, 101, 0.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(223, 177, 101, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

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

.btn-outline-blue {
  background: rgba(45, 140, 240, 0.12);
  color: var(--blue-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.btn-outline-blue:hover {
  background: rgba(45, 140, 240, 0.24);
}

/* ==================== Hero Banner (Screenshot 1 Elevated) ==================== */
.hero {
  position: relative;
  min-height: clamp(600px, 76vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: brightness(0.84);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 13, 28, 0.9) 0%,
    rgba(10, 16, 32, 0.68) 48%,
    rgba(10, 16, 32, 0.24) 100%
  ),
  linear-gradient(180deg, rgba(10, 16, 32, 0.12) 0%, rgba(10, 16, 32, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 24px 128px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(223, 177, 101, 0.18);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.6px;
}

.hero-title {
  font-size: clamp(2.5rem, 4.8vw, 4.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 1.16rem;
  color: #e2eafb;
  line-height: 1.88;
  margin-bottom: 36px;
  max-width: 820px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-cta .btn {
  padding: 14px 30px;
  font-size: 1.02rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 18px;
  max-width: 960px;
}

.stat-pill {
  background: rgba(17, 25, 48, 0.76);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 175, 224, 0.22);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ==================== 8-Icon Quick Grid (Screenshot 1 Core Module) ==================== */
.quick-grid-wrap {
  margin-top: -48px;
  position: relative;
  z-index: 10;
  margin-bottom: 48px;
}

.quick-grid-card {
  background: linear-gradient(180deg, rgba(22, 33, 61, 0.96) 0%, rgba(17, 25, 48, 0.98) 100%);
  border: 1px solid rgba(148, 175, 224, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-item:hover {
  background: rgba(45, 140, 240, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}

.quick-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 25%, #243866 0%, #14203d 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 18px rgba(5, 10, 24, 0.35);
}

.quick-icon-box svg {
  width: 30px;
  height: 30px;
}

.quick-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e9effc;
  white-space: nowrap;
}

.quick-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.section-title-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-more {
  color: var(--blue-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.section-more:hover {
  color: var(--gold-light);
}

/* ==================== Featured Filmstrip Showcase (Screenshot 1 Iconic Section) ==================== */
.filmstrip-panel {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(41, 58, 102, 0.55) 0%, rgba(19, 28, 52, 0.96) 65%);
  border: 1px solid rgba(223, 177, 101, 0.25);
  border-radius: var(--radius-lg);
  padding: 38px 32px 30px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.filmstrip-panel::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -10%;
  width: 120%;
  height: 120px;
  background: repeating-linear-gradient(
    90deg,
    rgba(223, 177, 101, 0.06) 0px,
    rgba(223, 177, 101, 0.06) 14px,
    transparent 14px,
    transparent 24px
  );
  transform: rotate(-4deg);
  pointer-events: none;
}

.filmstrip-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  position: relative;
}

.filmstrip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.film-card {
  cursor: pointer;
  transition: transform 0.24s ease;
}

.film-card:hover {
  transform: translateY(-6px);
}

.film-card.is-center {
  transform: scale(1.04);
}

.film-card.is-center:hover {
  transform: scale(1.04) translateY(-6px);
}

.film-frame {
  position: relative;
  background: linear-gradient(180deg, #b88b4b 0%, #8f642c 100%);
  padding: 18px 10px;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

/* Perforated film sprocket holes top & bottom */
.film-frame::before,
.film-frame::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    #141c33 0px,
    #141c33 10px,
    transparent 10px,
    transparent 17px
  );
  border-radius: 2px;
}

.film-frame::before {
  top: 5px;
}

.film-frame::after {
  bottom: 5px;
}

.film-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 3px;
  background: #0d1529;
}

.film-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.film-card:hover .film-img-wrap img {
  transform: scale(1.06);
}

.film-caption {
  text-align: center;
  margin-top: 14px;
}

.film-caption h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.film-caption p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.filmstrip-footer {
  text-align: center;
  margin-top: 26px;
}

/* ==================== Location Cards (Screenshot 2 Exact Style) ==================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.42);
}

.location-media {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #0d1529;
}

.location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.location-card:hover .location-media img {
  transform: scale(1.04);
}

.location-pills {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  max-width: calc(100% - 24px);
}

.pill-district {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px 0 0 6px;
  flex-shrink: 0;
}

.pill-address {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.92), rgba(56, 189, 248, 0.88));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 0 6px 6px 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 16, 32, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.fav-btn:hover,
.fav-btn.active {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.5);
  background: rgba(244, 63, 94, 0.16);
}

.location-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.location-title-bar {
  display: inline-block;
  background: var(--teal-grad);
  border-left: 3px solid var(--blue-cyan);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.location-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.location-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip {
  font-size: 0.74rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #93d5fd;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* ==================== Search & Filter Bar (Screenshots 2-6) ==================== */
.page-hero {
  background: linear-gradient(180deg, rgba(22, 33, 61, 0.9) 0%, rgba(10, 16, 32, 0.4) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 34px 0 26px;
  margin-bottom: 28px;
}

.page-hero h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 18px 0 44px;
  border-radius: 999px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--blue-cyan);
}

.filter-select {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.cat-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-pill:hover {
  border-color: rgba(56, 189, 248, 0.4);
  color: #fff;
}

.cat-pill.active {
  background: var(--blue-grad);
  border-color: transparent;
  color: #fff;
}

/* ==================== Dual Column News + Policy (Screenshots 3 & 5) ==================== */
.dual-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
}

.panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.35);
}

.news-thumb {
  width: 148px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: #0c1428;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.news-time {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Official Red-Header Policy Thumbnail (Screenshot 5 Signature Style) */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-item {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
  align-items: center;
}

.policy-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(223, 177, 101, 0.45);
}

.red-doc-thumb {
  width: 122px;
  height: 86px;
  background: #fff;
  border-radius: 8px;
  padding: 9px 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.red-doc-issuer {
  color: #c81e1e;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.3px;
}

.red-doc-line {
  width: 90%;
  height: 2px;
  background: #c81e1e;
  margin: 5px 0 4px;
}

.red-doc-num {
  color: #475569;
  font-size: 0.52rem;
  margin-bottom: 3px;
}

.red-doc-title {
  color: #1e293b;
  font-size: 0.54rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.policy-meta h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.45;
}

.policy-meta p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==================== Videos Grid (Screenshot 4) ==================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090e1d;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(10, 16, 32, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s, background 0.2s;
}

.video-card:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--blue-primary);
  border-color: #fff;
}

.video-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
}

.video-info {
  padding: 14px 18px 16px;
}

.video-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.video-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==================== Film Cases Widescreen Gallery (Official Real Backdrops) ==================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cases-grid.wide {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 177, 101, 0.48);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.case-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070b17;
}

.case-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.case-card:hover .case-poster img {
  transform: scale(1.04);
}

.case-poster-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 14px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 23, 0.88) 100%);
  display: flex;
  justify-content: flex-end;
}

.case-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(10, 16, 32, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(223, 177, 101, 0.55);
  color: var(--gold-light);
}

.case-card-body {
  padding: 14px 16px 16px;
}

.case-poster-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-poster-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================== Services Cards ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--bg-card-hover);
}

.service-thumb {
  width: 180px;
  height: 135px;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1529;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  display: flex;
  flex-direction: column;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.service-head h3 {
  font-size: 1.04rem;
  font-weight: 700;
}

.service-tag {
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(223, 177, 101, 0.16);
  color: var(--gold-light);
  border: 1px solid rgba(223, 177, 101, 0.35);
}

.service-sub {
  font-size: 0.85rem;
  color: var(--blue-cyan);
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== User Center / Profile (Screenshot 7) ==================== */
.profile-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1b284b 0%, #0f172e 100%);
  border: 1px solid var(--border-subtle);
  padding: 36px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-user-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #324a80, #16213d);
  border: 3px solid var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-light);
}

.profile-quick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.profile-quick-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-quick-card:hover,
.profile-quick-card.active {
  border-color: var(--blue-cyan);
  background: var(--bg-card-hover);
}

.profile-quick-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-cyan);
  margin-bottom: 4px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.profile-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.profile-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-size: 0.94rem;
  transition: background 0.16s;
}

.profile-menu-item:last-child {
  border-bottom: none;
}

.profile-menu-item:hover {
  background: rgba(56, 189, 248, 0.1);
}

/* ==================== Forms & Modals ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: #131d36;
  border: 1px solid rgba(148, 175, 224, 0.24);
  border-radius: var(--radius-lg);
  padding: 54px 28px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 16, 32, 0.86);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 0.9);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  outline: none;
}

.form-control:focus {
  border-color: var(--blue-cyan);
}

textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

.detail-cover {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #070b17;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: all 0.16s ease;
  background: #070b17;
  padding: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold-main);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content {
  white-space: pre-line;
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 0.95rem;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pending { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.status-approved { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
.status-completed { background: rgba(34, 197, 94, 0.18); color: #4ade80; }
.status-rejected { background: rgba(239, 68, 68, 0.18); color: #f87171; }

/* ==================== Footer ==================== */
.site-footer {
  margin-top: 64px;
  background: #070c19;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.2fr;
  gap: 36px;
  padding: 48px 24px 36px;
}

.footer-logo {
  height: 48px;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 360px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.footer-links a,
.footer-contact p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--blue-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== Mobile Bottom Bar ==================== */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(12, 19, 38, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
}

.tab-item {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  cursor: pointer;
}

.tab-item svg {
  width: 22px;
  height: 22px;
}

.tab-item.active {
  color: var(--blue-cyan);
}

/* ==================== Toast ==================== */
.toast {
  position: fixed;
  top: 86px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  z-index: 300;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(17, 25, 48, 0.96);
  border: 1px solid var(--blue-cyan);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
}

/* ==================== Responsive Breakpoints ==================== */
@media (max-width: 1080px) {
  .quick-grid-card {
    grid-template-columns: repeat(4, 1fr);
  }
  .cases-grid,
  .cases-grid.wide {
    grid-template-columns: repeat(2, 1fr);
  }
  .dual-grid,
  .services-grid,
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-tabbar {
    display: grid;
  }
  body {
    padding-bottom: 68px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 60px;
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding: 36px 18px 34px;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 13px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
    line-height: 1.22;
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.72;
    margin-bottom: 22px;
  }
  .hero-cta {
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-cta .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stat-pill {
    padding: 13px 14px;
  }
  .stat-value {
    font-size: 1.38rem;
  }
  .stat-label {
    font-size: 0.78rem;
    margin-top: 3px;
  }
  /* Fix negative-margin overlap on mobile portrait */
  .quick-grid-wrap {
    margin-top: 18px;
    margin-bottom: 24px;
  }
  .quick-grid-card {
    padding: 18px 12px;
    gap: 10px 6px;
    border-radius: 16px;
  }
  .section {
    padding: 24px 0;
  }
  .section-head {
    margin-bottom: 16px;
  }
  .section-title {
    font-size: 1.28rem;
  }
  .section-subtitle {
    font-size: 0.82rem;
  }
  .filmstrip-panel {
    padding: 24px 16px 22px;
    border-radius: 16px;
  }
  .filmstrip-header {
    margin-bottom: 20px;
  }
  .filmstrip-grid,
  .locations-grid,
  .videos-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .film-card.is-center {
    transform: none;
  }
  .panel-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .page-hero {
    padding: 22px 0 18px;
    margin-bottom: 18px;
  }
  .page-hero h1 {
    font-size: 1.45rem;
  }
  .page-hero p {
    font-size: 0.85rem;
  }
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }
  .search-box {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .filter-bar .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .filter-select {
    width: 100%;
    padding: 0 12px;
    font-size: 0.88rem;
  }
  .service-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .service-thumb {
    width: 100%;
    height: 180px;
  }
  .cases-grid,
  .cases-grid.wide {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal-panel {
    padding: 48px 16px 20px;
    border-radius: 16px;
  }
  .detail-cover {
    max-height: 240px;
  }
  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .footer-grid {
    padding: 32px 16px 24px;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 14px;
  }
  .hero-content {
    padding: 28px 14px 28px;
  }
  .brand-logo {
    height: 36px;
  }
  .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-cta .btn:nth-child(3) {
    grid-column: 1 / -1;
  }
  .quick-grid-card {
    padding: 16px 8px;
    gap: 10px 4px;
  }
  .quick-item {
    padding: 8px 4px;
    gap: 7px;
  }
  .quick-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .quick-icon-box svg {
    width: 24px;
    height: 24px;
  }
  .quick-label {
    font-size: 0.78rem;
  }
  .quick-sub {
    display: none;
  }
  .news-item {
    grid-template-columns: 106px 1fr;
    gap: 12px;
    padding: 11px;
  }
  .news-thumb {
    width: 106px;
    height: 78px;
  }
  .news-title {
    font-size: 0.92rem;
  }
  .policy-item {
    grid-template-columns: 94px 1fr;
    gap: 12px;
    padding: 11px;
  }
  .red-doc-thumb {
    width: 94px;
    height: 74px;
  }
  .policy-meta h3 {
    font-size: 0.9rem;
  }
  .location-title-bar {
    font-size: 0.98rem;
    padding: 5px 11px;
  }
  .pill-district,
  .pill-address {
    font-size: 0.72rem;
    padding: 4px 8px;
  }
}
