/* ============================================
   壹号娱乐 - 哥特悬疑暗黑风主样式表
   CSS前缀: yy-
   版本: 2.0
   ============================================ */

/* === Google Fonts Import (本地化备选) === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* === CSS Variables === */
:root {
  --yy-primary: #1A1A1A;
  --yy-secondary: #4A0E0E;
  --yy-accent: #C9A96A;
  --yy-muted: #6D7B8D;
  --yy-bg: #0F0F0F;
  --yy-text: #D4CFC7;
  --yy-text-muted: #8B8175;
  --yy-radius: 2px;
  --yy-shadow: 0 4px 15px rgba(201,169,106,0.1);
  --yy-font-title: 'Cormorant Garamond', 'Georgia', serif;
  --yy-font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --yy-transition: all 0.3s ease;
  --yy-max-width: 1200px;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--yy-font-body);
  background-color: var(--yy-bg);
  color: var(--yy-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--yy-accent);
  text-decoration: none;
  transition: var(--yy-transition);
}

a:hover {
  color: #e0c080;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--yy-font-title);
  color: var(--yy-accent);
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--yy-text);
}

/* === Container === */
.yy-container {
  max-width: var(--yy-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === Section === */
.yy-section {
  padding: 80px 0;
  position: relative;
}

.yy-section-title {
  text-align: center;
  margin-bottom: 60px;
}

.yy-section-title h2 {
  font-size: 2.4rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.yy-section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yy-accent), transparent);
}

.yy-section-title p {
  color: var(--yy-text-muted);
  font-size: 1rem;
  margin-top: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Navigation === */
.yy-nav {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yy-accent);
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

.yy-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--yy-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.yy-nav-logo {
  font-family: var(--yy-font-title);
  font-size: 1.5rem;
  color: var(--yy-accent);
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.yy-nav-logo img {
  height: 40px;
  width: auto;
}

.yy-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.yy-nav-links a {
  color: var(--yy-text);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 5px;
  transition: var(--yy-transition);
}

.yy-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--yy-accent);
  transition: var(--yy-transition);
  transform: translateX(-50%);
}

.yy-nav-links a:hover {
  color: var(--yy-accent);
}

.yy-nav-links a:hover::after {
  width: 100%;
}

.yy-nav-cta {
  background: var(--yy-secondary);
  color: var(--yy-text) !important;
  padding: 8px 20px;
  border-radius: var(--yy-radius);
  font-weight: 500;
  transition: var(--yy-transition);
}

.yy-nav-cta:hover {
  box-shadow: 0 0 15px rgba(201,169,106,0.3);
  color: var(--yy-accent) !important;
}

.yy-nav-cta::after {
  display: none !important;
}

/* Hamburger Menu */
.yy-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.yy-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--yy-accent);
  transition: var(--yy-transition);
}

.yy-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  transition: left 0.4s ease;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.yy-mobile-menu.yy-active {
  left: 0;
}

.yy-mobile-menu a {
  color: var(--yy-text);
  font-size: 1.3rem;
  font-family: var(--yy-font-title);
}

.yy-mobile-menu a:hover {
  color: var(--yy-accent);
}

.yy-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--yy-accent);
  cursor: pointer;
  background: none;
  border: none;
}

/* === Hero Banner === */
.yy-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.yy-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.yy-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.yy-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15,15,15,0.2), rgba(15,15,15,0.8));
  z-index: 2;
}

.yy-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.yy-hero-tag {
  font-family: var(--yy-font-title);
  font-style: italic;
  color: var(--yy-accent);
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.yy-hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: var(--yy-text);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.yy-hero-content h1 .yy-highlight {
  color: var(--yy-accent);
}

.yy-hero-subtitle {
  color: var(--yy-text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.yy-hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Buttons === */
.yy-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--yy-radius);
  font-family: var(--yy-font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--yy-transition);
  border: 2px solid;
  text-align: center;
}

.yy-btn-primary {
  border-color: var(--yy-accent);
  color: var(--yy-accent);
  background: transparent;
}

.yy-btn-primary:hover {
  background: var(--yy-accent);
  color: var(--yy-bg);
}

.yy-btn-secondary {
  border-color: var(--yy-secondary);
  color: var(--yy-text);
  background: transparent;
}

.yy-btn-secondary:hover {
  background: var(--yy-secondary);
  color: var(--yy-text);
}

.yy-btn-solid {
  background: var(--yy-accent);
  color: var(--yy-bg);
  border-color: var(--yy-accent);
}

.yy-btn-solid:hover {
  background: #e0c080;
  border-color: #e0c080;
}

/* === Cards === */
.yy-card {
  background: var(--yy-primary);
  border-radius: var(--yy-radius);
  overflow: hidden;
  box-shadow: var(--yy-shadow);
  transition: var(--yy-transition);
  border: 1px solid rgba(201,169,106,0.1);
}

.yy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(201,169,106,0.15);
  border-color: rgba(201,169,106,0.3);
}

.yy-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.yy-card-body {
  padding: 20px;
}

.yy-card-tag {
  display: inline-block;
  background: var(--yy-secondary);
  color: var(--yy-accent);
  padding: 3px 10px;
  font-size: 0.75rem;
  border-radius: var(--yy-radius);
  margin-bottom: 10px;
  font-weight: 500;
}

.yy-card-title {
  font-family: var(--yy-font-title);
  font-size: 1.3rem;
  color: var(--yy-accent);
  margin-bottom: 8px;
}

.yy-card-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--yy-text-muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.yy-card-desc {
  color: var(--yy-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Grid Layouts === */
.yy-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.yy-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.yy-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* === Video Cards (Polaroid Style) === */
.yy-video-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 25px;
  align-items: start;
}

.yy-video-card {
  background: #2a2520;
  padding: 12px 12px 25px;
  border-radius: var(--yy-radius);
  box-shadow: var(--yy-shadow);
  cursor: pointer;
  transition: var(--yy-transition);
}

.yy-video-card:nth-child(2) {
  transform: rotate(-2deg);
  margin-top: 30px;
}

.yy-video-card:nth-child(3) {
  transform: rotate(1.5deg);
}

.yy-video-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.yy-video-card video,
.yy-video-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--yy-radius);
}

.yy-video-card-title {
  font-family: var(--yy-font-title);
  font-style: italic;
  color: var(--yy-text-muted);
  text-align: center;
  margin-top: 12px;
  font-size: 1rem;
}

/* === DM Ranking === */
.yy-dm-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.yy-dm-star {
  position: relative;
  border: 3px solid var(--yy-accent);
  padding: 10px;
  border-radius: var(--yy-radius);
  background: var(--yy-primary);
}

.yy-dm-star img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--yy-radius);
}

.yy-dm-star-info {
  padding: 20px 10px;
  text-align: center;
}

.yy-dm-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
  background: rgba(26,26,26,0.6);
  border-left: 3px solid var(--yy-accent);
  margin-bottom: 15px;
  border-radius: var(--yy-radius);
  transition: var(--yy-transition);
}

.yy-dm-list-item:hover {
  background: rgba(201,169,106,0.05);
}

.yy-dm-rank {
  font-family: var(--yy-font-title);
  font-size: 2rem;
  color: var(--yy-accent);
  font-weight: 700;
  min-width: 40px;
}

.yy-dm-info h4 {
  color: var(--yy-text);
  margin-bottom: 5px;
}

.yy-dm-info p {
  color: var(--yy-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.yy-dm-score {
  margin-left: auto;
  font-family: var(--yy-font-title);
  font-size: 1.5rem;
  color: var(--yy-accent);
}

/* === Map Module === */
.yy-map-section {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--yy-radius);
  overflow: hidden;
  min-height: 400px;
}

.yy-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,15,15,0.6);
}

.yy-map-content {
  position: relative;
  z-index: 2;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.yy-map-text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.yy-map-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.yy-map-city {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201,169,106,0.1);
  border: 1px solid rgba(201,169,106,0.3);
  border-radius: var(--yy-radius);
  color: var(--yy-accent);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--yy-transition);
}

.yy-map-city:hover {
  background: var(--yy-accent);
  color: var(--yy-bg);
}

/* === Recruit Form === */
.yy-recruit-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.yy-recruit-perks {
  list-style: none;
  padding: 0;
}

.yy-recruit-perks li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(201,169,106,0.1);
  color: var(--yy-text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.yy-recruit-perks li::before {
  content: '\2726';
  color: var(--yy-accent);
  font-size: 1.2rem;
}

.yy-form-group {
  margin-bottom: 20px;
}

.yy-form-group label {
  display: block;
  color: var(--yy-text-muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.yy-form-input,
.yy-form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(26,26,26,0.8);
  border: 1px solid rgba(201,169,106,0.2);
  border-radius: var(--yy-radius);
  color: var(--yy-text);
  font-family: var(--yy-font-body);
  font-size: 0.95rem;
  transition: var(--yy-transition);
}

.yy-form-input:focus,
.yy-form-textarea:focus {
  outline: none;
  border-color: var(--yy-accent);
  box-shadow: 0 0 10px rgba(201,169,106,0.1);
}

.yy-form-textarea {
  min-height: 100px;
  resize: vertical;
}

.yy-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.yy-checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--yy-text);
  font-size: 0.9rem;
  cursor: pointer;
}

.yy-checkbox-group input[type="checkbox"] {
  accent-color: var(--yy-accent);
}

.yy-btn-seal {
  display: inline-block;
  padding: 15px 40px;
  background: var(--yy-secondary);
  color: var(--yy-accent);
  border: 2px solid var(--yy-accent);
  border-radius: 50%;
  font-family: var(--yy-font-title);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--yy-transition);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.yy-btn-seal:hover {
  background: var(--yy-accent);
  color: var(--yy-bg);
  box-shadow: 0 0 20px rgba(201,169,106,0.3);
}

/* === Puzzle Module === */
.yy-puzzle-card {
  max-width: 650px;
  margin: 0 auto;
  background: var(--yy-primary);
  border: 2px solid var(--yy-accent);
  border-radius: var(--yy-radius);
  padding: 40px;
  text-align: center;
  position: relative;
}

.yy-puzzle-card::before {
  content: '\2620';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  background: var(--yy-bg);
  padding: 0 15px;
  color: var(--yy-accent);
}

.yy-puzzle-question {
  font-family: var(--yy-font-title);
  font-size: 1.2rem;
  color: var(--yy-text);
  margin: 20px 0;
  line-height: 1.8;
  font-style: italic;
}

.yy-puzzle-input-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.yy-puzzle-input-group input {
  flex: 1;
  max-width: 300px;
  padding: 10px 16px;
  background: rgba(26,26,26,0.8);
  border: 1px solid rgba(201,169,106,0.3);
  border-radius: var(--yy-radius);
  color: var(--yy-text);
  font-family: var(--yy-font-body);
}

/* === Testimonials (File Cards) === */
.yy-testimonials-scroll {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.yy-testimonials-scroll::-webkit-scrollbar {
  height: 6px;
}

.yy-testimonials-scroll::-webkit-scrollbar-track {
  background: var(--yy-primary);
}

.yy-testimonials-scroll::-webkit-scrollbar-thumb {
  background: var(--yy-accent);
  border-radius: 3px;
}

.yy-testimonial-card {
  min-width: 320px;
  background: #2a2520;
  border: 1px solid rgba(201,169,106,0.15);
  border-radius: var(--yy-radius);
  padding: 25px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.yy-testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(201,169,106,0.2);
}

.yy-testimonial-name {
  font-family: var(--yy-font-title);
  color: var(--yy-accent);
  font-size: 1.1rem;
}

.yy-testimonial-script {
  font-size: 0.8rem;
  color: var(--yy-text-muted);
}

.yy-testimonial-text {
  color: var(--yy-text);
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
}

/* === Tools Module === */
.yy-tool-card {
  background: var(--yy-primary);
  border: 1px solid rgba(201,169,106,0.1);
  border-radius: var(--yy-radius);
  overflow: hidden;
  transition: var(--yy-transition);
  text-align: center;
}

.yy-tool-card:hover {
  border-color: var(--yy-accent);
  transform: translateY(-3px);
}

.yy-tool-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.yy-tool-card-body {
  padding: 20px;
}

.yy-tool-card-body h4 {
  color: var(--yy-accent);
  margin-bottom: 8px;
}

.yy-tool-card-body p {
  color: var(--yy-text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

/* === UGC Masonry === */
.yy-masonry {
  columns: 3;
  column-gap: 20px;
}

.yy-masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--yy-primary);
  border-radius: var(--yy-radius);
  overflow: hidden;
  border: 1px solid rgba(201,169,106,0.1);
  transition: var(--yy-transition);
}

.yy-masonry-item:hover {
  border-color: rgba(201,169,106,0.3);
}

.yy-masonry-item img {
  width: 100%;
  display: block;
}

.yy-masonry-item-body {
  padding: 15px;
}

.yy-masonry-item-body h4 {
  font-size: 1rem;
  color: var(--yy-accent);
  margin-bottom: 5px;
}

.yy-masonry-item-body p {
  font-size: 0.85rem;
  color: var(--yy-text-muted);
}

.yy-filter-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.yy-filter-tag {
  padding: 6px 18px;
  background: rgba(201,169,106,0.08);
  border: 1px solid rgba(201,169,106,0.2);
  border-radius: var(--yy-radius);
  color: var(--yy-text-muted);
  cursor: pointer;
  transition: var(--yy-transition);
  font-size: 0.9rem;
}

.yy-filter-tag:hover,
.yy-filter-tag.yy-active {
  background: var(--yy-accent);
  color: var(--yy-bg);
  border-color: var(--yy-accent);
}

/* === Trust / Certification === */
.yy-trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.yy-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(26,26,26,0.6);
  border: 1px solid rgba(201,169,106,0.15);
  border-radius: var(--yy-radius);
  margin-bottom: 20px;
  transition: var(--yy-transition);
}

.yy-badge:hover {
  border-color: var(--yy-accent);
  box-shadow: 0 0 20px rgba(201,169,106,0.1);
}

.yy-badge-icon {
  font-size: 2.5rem;
  color: var(--yy-accent);
  min-width: 60px;
  text-align: center;
}

.yy-badge-text h4 {
  color: var(--yy-accent);
  margin-bottom: 5px;
}

.yy-badge-text p {
  color: var(--yy-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.yy-quote {
  border-left: 3px solid var(--yy-accent);
  padding: 20px 25px;
  margin-bottom: 20px;
  background: rgba(201,169,106,0.03);
  border-radius: 0 var(--yy-radius) var(--yy-radius) 0;
}

.yy-quote p {
  font-family: var(--yy-font-title);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--yy-text);
  margin-bottom: 8px;
}

.yy-quote cite {
  color: var(--yy-text-muted);
  font-size: 0.85rem;
}

/* === Footer === */
.yy-footer {
  background: #111;
  border-top: 1px solid rgba(201,169,106,0.15);
  padding: 60px 0 0;
}

.yy-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.yy-footer-brand {
  font-family: var(--yy-font-title);
  font-size: 1.5rem;
  color: var(--yy-accent);
  margin-bottom: 10px;
}

.yy-footer-slogan {
  color: var(--yy-text-muted);
  font-style: italic;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.yy-footer-social {
  display: flex;
  gap: 15px;
}

.yy-footer-social a {
  color: #8B7355;
  font-size: 1.2rem;
  transition: var(--yy-transition);
}

.yy-footer-social a:hover {
  color: var(--yy-accent);
}

.yy-footer h5 {
  color: var(--yy-accent);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.yy-footer-links {
  list-style: none;
}

.yy-footer-links li {
  margin-bottom: 10px;
}

.yy-footer-links a {
  color: var(--yy-text-muted);
  font-size: 0.9rem;
  transition: var(--yy-transition);
}

.yy-footer-links a:hover {
  color: var(--yy-accent);
}

.yy-footer-contact p {
  color: var(--yy-text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.yy-footer-bottom {
  border-top: 1px solid rgba(201,169,106,0.1);
  padding: 20px 0;
  text-align: center;
}

.yy-footer-bottom p {
  color: var(--yy-text-muted);
  font-size: 0.8rem;
  margin-bottom: 5px;
}

/* === Breadcrumb === */
.yy-breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
}

.yy-breadcrumb a {
  color: var(--yy-text-muted);
}

.yy-breadcrumb a:hover {
  color: var(--yy-accent);
}

.yy-breadcrumb span {
  color: var(--yy-muted);
  margin: 0 8px;
}

/* === Page Banner (Inner Pages) === */
.yy-page-banner {
  position: relative;
  height: 45vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.yy-page-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yy-page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15,15,15,0.4), rgba(15,15,15,0.85));
}

.yy-page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.yy-page-banner-content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.yy-page-banner-content p {
  color: var(--yy-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* === Content Article === */
.yy-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.yy-article h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,169,106,0.15);
}

.yy-article h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.yy-article p {
  margin-bottom: 18px;
  line-height: 2;
  font-size: 1rem;
}

.yy-article img {
  margin: 25px 0;
  border-radius: var(--yy-radius);
  border: 1px solid rgba(201,169,106,0.1);
}

.yy-article blockquote {
  border-left: 3px solid var(--yy-accent);
  padding: 15px 25px;
  margin: 25px 0;
  background: rgba(201,169,106,0.03);
  font-style: italic;
  color: var(--yy-text);
}

/* === Filter / Archive === */
.yy-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 25px;
  background: var(--yy-primary);
  border: 1px solid rgba(201,169,106,0.1);
  border-radius: var(--yy-radius);
  margin-bottom: 30px;
}

.yy-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.yy-filter-group label {
  font-size: 0.8rem;
  color: var(--yy-text-muted);
}

.yy-filter-group select {
  padding: 8px 12px;
  background: var(--yy-bg);
  border: 1px solid rgba(201,169,106,0.2);
  border-radius: var(--yy-radius);
  color: var(--yy-text);
  font-family: var(--yy-font-body);
  font-size: 0.9rem;
}

/* === APP Download === */
.yy-app-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.yy-app-phone {
  text-align: center;
}

.yy-app-phone img {
  max-height: 500px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.yy-app-features {
  list-style: none;
}

.yy-app-features li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(201,169,106,0.1);
}

.yy-app-features li h4 {
  color: var(--yy-accent);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.yy-app-features li p {
  color: var(--yy-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.yy-app-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* === Video Modal === */
.yy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.yy-modal.yy-active {
  display: flex;
}

.yy-modal-content {
  max-width: 800px;
  width: 90%;
  position: relative;
}

.yy-modal-content video {
  width: 100%;
  border-radius: var(--yy-radius);
}

.yy-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--yy-accent);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .yy-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .yy-video-grid { grid-template-columns: 1fr 1fr; }
  .yy-dm-section { grid-template-columns: 1fr; }
  .yy-recruit-section { grid-template-columns: 1fr; }
  .yy-trust-section { grid-template-columns: 1fr; }
  .yy-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .yy-app-section { grid-template-columns: 1fr; }
  .yy-masonry { columns: 2; }
  h1 { font-size: 2.2rem; }
  .yy-hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .yy-nav-links { display: none; }
  .yy-hamburger { display: flex; }
  .yy-mobile-menu { display: flex; }
  
  .yy-grid-2,
  .yy-grid-3,
  .yy-grid-4 { grid-template-columns: 1fr; }
  
  .yy-video-grid { grid-template-columns: 1fr; }
  .yy-video-card:nth-child(2),
  .yy-video-card:nth-child(3) { transform: none; margin-top: 0; }
  
  .yy-hero { min-height: 500px; }
  .yy-hero-content h1 { font-size: 2rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  
  .yy-section { padding: 50px 0; }
  .yy-section-title { margin-bottom: 40px; }
  
  .yy-footer-grid { grid-template-columns: 1fr; }
  .yy-map-content { flex-direction: column; }
  .yy-masonry { columns: 1; }
  
  .yy-puzzle-input-group { flex-direction: column; align-items: center; }
  .yy-puzzle-input-group input { max-width: 100%; }
  
  .yy-page-banner { height: 35vh; min-height: 250px; }
  .yy-page-banner-content h1 { font-size: 2rem; }
}

@media (max-width: 375px) {
  html { font-size: 14px; }
  .yy-hero-content h1 { font-size: 1.6rem; }
  .yy-hero-btns { flex-direction: column; }
}

/* === Animations === */
@keyframes yy-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.yy-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.yy-animate.yy-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Typewriter Effect === */
.yy-typewriter {
  overflow: hidden;
  border-right: 2px solid var(--yy-accent);
  white-space: nowrap;
  animation: yy-typing 3.5s steps(40, end), yy-blink 0.75s step-end infinite;
  display: inline-block;
}

@keyframes yy-typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes yy-blink {
  from, to { border-color: transparent; }
  50% { border-color: var(--yy-accent); }
}

/* === Divider === */
.yy-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,106,0.3), transparent);
  margin: 0;
}

/* ============================================
   Subpage Styles - Room Cards, Article Layouts
   ============================================ */

/* === Room Grid & Cards (密室档案馆) === */
.yy-room-list-section {
  max-width: var(--yy-max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}

.yy-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.yy-room-card {
  background: rgba(26,26,26,0.9);
  border: 1px solid rgba(201,169,106,0.15);
  border-radius: var(--yy-radius);
  overflow: hidden;
  transition: var(--yy-transition);
}

.yy-room-card:hover {
  transform: translateY(-5px);
  border-color: var(--yy-accent);
  box-shadow: 0 10px 30px rgba(201,169,106,0.15);
}

.yy-room-card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.yy-room-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.yy-room-card:hover .yy-room-card-image {
  transform: scale(1.05);
}

.yy-room-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2px;
  text-transform: uppercase;
}

.yy-room-card-status.yy-available {
  background: rgba(46,125,50,0.9);
  color: #fff;
}

.yy-room-card-status.yy-full {
  background: rgba(183,28,28,0.9);
  color: #fff;
}

.yy-room-card-status.yy-new {
  background: rgba(201,169,106,0.9);
  color: #1A1A1A;
}

.yy-room-card-content {
  padding: 1.25rem;
}

.yy-room-card-title {
  font-family: var(--yy-font-title);
  font-size: 1.4rem;
  color: var(--yy-accent);
  margin-bottom: 0.5rem;
}

.yy-room-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.yy-room-card-tags span {
  background: rgba(201,169,106,0.1);
  color: var(--yy-accent);
  padding: 2px 10px;
  font-size: 0.75rem;
  border: 1px solid rgba(201,169,106,0.2);
  border-radius: 2px;
}

.yy-room-card-info {
  font-size: 0.85rem;
  color: var(--yy-text-muted);
  line-height: 1.8;
}

.yy-room-card-info p {
  margin-bottom: 0.25rem;
}

.yy-room-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.yy-room-card a {
  display: inline-block;
  margin-top: 1rem;
  padding: 8px 24px;
  background: transparent;
  border: 1px solid var(--yy-accent);
  color: var(--yy-accent);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--yy-transition);
}

.yy-room-card a:hover {
  background: var(--yy-accent);
  color: var(--yy-bg);
}

/* === Filter Section === */
.yy-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background: rgba(26,26,26,0.8);
  border: 1px solid rgba(201,169,106,0.1);
  margin-bottom: 2rem;
}

.yy-filter-bar label {
  font-size: 0.85rem;
  color: var(--yy-text-muted);
}

.yy-filter-bar select {
  background: var(--yy-bg);
  color: var(--yy-text);
  border: 1px solid rgba(201,169,106,0.3);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-family: var(--yy-font-body);
  cursor: pointer;
}

.yy-filter-bar select:focus {
  outline: none;
  border-color: var(--yy-accent);
}

/* === Subpage Hero Banner === */
.yy-subpage-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.yy-subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.7), rgba(15,15,15,0.95));
}

.yy-subpage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.yy-subpage-hero h1 {
  font-family: var(--yy-font-title);
  font-size: 3rem;
  color: var(--yy-accent);
  margin-bottom: 1rem;
}

.yy-subpage-hero p {
  font-size: 1.1rem;
  color: var(--yy-text-muted);
}

/* === Breadcrumb === */
.yy-breadcrumb {
  max-width: var(--yy-max-width);
  margin: 0 auto;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--yy-text-muted);
}

.yy-breadcrumb a {
  color: var(--yy-accent);
  text-decoration: none;
}

.yy-breadcrumb a:hover {
  text-decoration: underline;
}

/* === Article Content (大发/盛大/飞驰/ng) === */
.yy-article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.yy-article-content h2 {
  font-family: var(--yy-font-title);
  font-size: 2rem;
  color: var(--yy-accent);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,169,106,0.2);
}

.yy-article-content h3 {
  font-family: var(--yy-font-title);
  font-size: 1.6rem;
  color: var(--yy-accent);
  margin: 2.5rem 0 1rem;
}

.yy-article-content h4 {
  font-size: 1.2rem;
  color: #e0d5c5;
  margin: 2rem 0 0.75rem;
}

.yy-article-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.yy-article-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border: 1px solid rgba(201,169,106,0.15);
}

.yy-article-content blockquote {
  border-left: 3px solid var(--yy-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(201,169,106,0.05);
  font-style: italic;
  color: var(--yy-text-muted);
}

/* === App Download Page === */
.yy-app-hero {
  text-align: center;
  padding: 6rem 1rem 4rem;
  background: linear-gradient(180deg, rgba(74,14,14,0.3), var(--yy-bg));
}

.yy-app-hero h1 {
  font-family: var(--yy-font-title);
  font-size: 3rem;
  color: var(--yy-accent);
  margin-bottom: 1rem;
}

.yy-app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: var(--yy-max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}

.yy-app-feature-card {
  background: rgba(26,26,26,0.8);
  border: 1px solid rgba(201,169,106,0.15);
  padding: 2rem;
  text-align: center;
  transition: var(--yy-transition);
}

.yy-app-feature-card:hover {
  border-color: var(--yy-accent);
  transform: translateY(-3px);
}

.yy-app-feature-card h3 {
  font-family: var(--yy-font-title);
  color: var(--yy-accent);
  margin: 1rem 0 0.5rem;
  font-size: 1.3rem;
}

.yy-download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.yy-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 14px 32px;
  border: 2px solid var(--yy-accent);
  color: var(--yy-accent);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--yy-transition);
}

.yy-download-btn:hover {
  background: var(--yy-accent);
  color: var(--yy-bg);
}

.yy-download-btn.yy-primary-btn {
  background: var(--yy-accent);
  color: var(--yy-bg);
}

.yy-download-btn.yy-primary-btn:hover {
  background: #b89558;
}

/* === FAQ Section === */
.yy-faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.yy-faq-item {
  border-bottom: 1px solid rgba(201,169,106,0.15);
  padding: 1.5rem 0;
}

.yy-faq-item h3 {
  font-family: var(--yy-font-title);
  color: var(--yy-accent);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.yy-faq-item p {
  color: var(--yy-text-muted);
  line-height: 1.8;
}

/* === Related Links Section === */
.yy-related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: var(--yy-max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}

.yy-related-card {
  background: rgba(26,26,26,0.8);
  border: 1px solid rgba(201,169,106,0.15);
  padding: 1.5rem;
  text-decoration: none;
  transition: var(--yy-transition);
}

.yy-related-card:hover {
  border-color: var(--yy-accent);
  transform: translateY(-3px);
}

.yy-related-card h4 {
  font-family: var(--yy-font-title);
  color: var(--yy-accent);
  margin-bottom: 0.5rem;
}

.yy-related-card p {
  color: var(--yy-text-muted);
  font-size: 0.85rem;
}

/* === Subpage Responsive === */
@media (max-width: 768px) {
  .yy-room-grid {
    grid-template-columns: 1fr;
  }
  
  .yy-subpage-hero h1 {
    font-size: 2rem;
  }
  
  .yy-article-content h2 {
    font-size: 1.6rem;
  }
  
  .yy-article-content h3 {
    font-size: 1.3rem;
  }
  
  .yy-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .yy-app-hero h1 {
    font-size: 2rem;
  }
  
  .yy-download-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* === Skip Link === */
.yy-skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--yy-accent);
  color: var(--yy-bg);
  padding: 8px 16px;
  z-index: 10000;
  font-size: 0.85rem;
  text-decoration: none;
}

.yy-skip-link:focus {
  top: 0;
}

/* === Sidebar Navigation (Subpages) === */
.yy-sidebar-nav {
  position: sticky;
  top: 80px;
  padding: 1rem;
}

.yy-sidebar-nav ul {
  list-style: none;
}

.yy-sidebar-nav li {
  margin-bottom: 0.5rem;
}

.yy-sidebar-nav a {
  color: var(--yy-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--yy-transition);
  display: block;
  padding: 4px 8px;
  border-left: 2px solid transparent;
}

.yy-sidebar-nav a:hover,
.yy-sidebar-nav a.active {
  color: var(--yy-accent);
  border-left-color: var(--yy-accent);
}

/* === Video Section (Subpages) === */
.yy-video-section {
  max-width: var(--yy-max-width);
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.yy-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid rgba(201,169,106,0.15);
}

.yy-video-wrapper video,
.yy-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
