/* ============================================================
   Art Deco Lottery Trend - Main Stylesheet
   Style: Gatsby Geometric Grid (盖茨比几何网格)
   Color System: 5-Color Art Deco Palette
   ============================================================ */

/* --- Font Faces --- */
@font-face {
  font-family: 'Poiret One';
  src: url('../fonts/PoiretOne-Regular.woff2') format('woff2'),
       url('../fonts/PoiretOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Variable.woff2') format('woff2'),
       url('../fonts/Raleway-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties (5-Color Art Deco Palette) --- */
:root {
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --gold-dark: #B8962E;
  --onyx: #111111;
  --onyx-light: #1A1A1A;
  --onyx-lighter: #222222;
  --emerald: #097969;
  --emerald-light: #0B9B84;
  --ivory: #F5F5DC;
  --ivory-dark: #E8E8C8;
  --burgundy: #8C1515;
  --burgundy-light: #A81D1D;
  --font-heading: 'Poiret One', 'Microsoft YaHei', cursive;
  --font-body: 'Raleway', 'PingFang SC', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ivory);
  background-color: var(--onyx);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Radial Art Deco Background Pattern --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, transparent 30deg, rgba(212,175,55,0.03) 30deg, rgba(212,175,55,0.03) 32deg, transparent 32deg, transparent 60deg);
  pointer-events: none;
  z-index: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gold);
  line-height: 1.3;
  letter-spacing: 0.05em;
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.8rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.25rem; margin-bottom: 0.4rem; }
h6 { font-size: 1.1rem; margin-bottom: 0.3rem; }

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--ivory);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

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

/* --- Art Deco Geometric Decorations --- */
.deco-diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0 6px;
}

.deco-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  gap: 12px;
}

.deco-divider::before,
.deco-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.deco-divider-inner {
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* --- Art Deco Card Component --- */
.deco-card {
  background: var(--onyx-light);
  border: 2px solid var(--gold);
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.deco-card::before,
.deco-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
}

.deco-card::before {
  top: -1px;
  left: -1px;
  border-width: 3px 0 0 3px;
}

.deco-card::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 3px 3px 0;
}

/* Additional corner decorations via inner pseudo-elements */
.deco-card-corners::before {
  top: -1px;
  right: -1px;
  border-width: 3px 3px 0 0;
}

.deco-card-corners::after {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 3px 3px;
}

/* --- Navigation --- */
.deco-nav-bar {
  background: var(--onyx);
  border-bottom: 2px solid var(--gold);
  padding: 0;
  position: relative;
  z-index: 100;
  /* NOT sticky - per requirements */
}

.deco-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.deco-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.deco-nav-logo-icon {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--onyx), var(--onyx-lighter));
}

.deco-nav-logo-icon span {
  transform: rotate(-45deg);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.deco-nav-logo-text {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}

.deco-nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.deco-nav-links li a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.deco-nav-links li a:hover,
.deco-nav-links li a.deco-active {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(212,175,55,0.4);
}

.deco-nav-links li a.deco-active::before,
.deco-nav-links li a.deco-active::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  margin-top: -2.5px;
}

.deco-nav-links li a.deco-active::before {
  left: 0;
}

.deco-nav-links li a.deco-active::after {
  right: 0;
}

/* Mobile Menu Toggle */
.deco-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.deco-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.deco-menu-toggle span:nth-child(2) {
  width: 16px;
  transform: rotate(-45deg);
}

.deco-menu-toggle span:nth-child(3) {
  width: 22px;
  transform: rotate(45deg);
}

/* --- Hero Section --- */
.deco-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--onyx) 0%, #0a0a0a 50%, var(--onyx) 100%);
}

.deco-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.deco-hero-bg img,
.deco-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deco-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17,17,17,0.65);
  z-index: 2;
}

/* Radial geometric decoration behind hero */
.deco-hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, transparent 0deg, transparent 10deg, rgba(212,175,55,0.05) 10deg, rgba(212,175,55,0.05) 11deg);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.deco-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.deco-hero-content h1 {
  font-size: 3.2rem;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(212,175,55,0.3), 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.deco-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.deco-hero-text {
  font-size: 1rem;
  color: var(--ivory-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.deco-hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.deco-btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--onyx);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
}

.deco-btn-primary:hover {
  background: var(--gold-light);
  color: var(--onyx);
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.deco-btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
}

.deco-btn-secondary:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
  color: var(--gold-light);
}

/* Geometric Sheen Sweep Animation on buttons */
.deco-btn-primary::after,
.deco-btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transition: left 0.5s ease;
}

.deco-btn-primary:hover::after,
.deco-btn-secondary:hover::after {
  left: 100%;
}

/* --- Section Container --- */
.deco-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

.deco-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.deco-section-title h2 {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.deco-section-title p {
  color: var(--ivory-dark);
  font-size: 1.05rem;
}

/* --- Chart Display Grid (2x2) --- */
.deco-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.deco-chart-card {
  background: var(--onyx-light);
  border: 2px solid var(--gold);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deco-chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

.deco-chart-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
}

.deco-chart-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.15);
}

.deco-chart-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.deco-chart-preview {
  width: 100%;
  height: 160px;
  background: var(--onyx);
  border: 1px solid rgba(212,175,55,0.3);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.deco-chart-card p {
  font-size: 0.95rem;
  color: var(--ivory-dark);
  line-height: 1.7;
}

/* --- Real-time Draw Hourglass --- */
.deco-draw-section {
  background: var(--onyx-light);
  border: 2px solid var(--gold);
  padding: 3rem 2rem;
  position: relative;
}

.deco-draw-display {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.deco-draw-list {
  list-style: none;
}

.deco-draw-list li {
  padding: 0.8rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  color: var(--ivory);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.deco-draw-list li:hover,
.deco-draw-list li.deco-active-item {
  color: var(--gold);
  background: rgba(212,175,55,0.05);
}

.deco-draw-numbers {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
}

.deco-number-ball {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: radial-gradient(circle at 35% 35%, var(--emerald-light), var(--emerald));
  color: var(--ivory);
  box-shadow: 0 4px 15px rgba(9,121,105,0.4), inset 0 -3px 6px rgba(0,0,0,0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.deco-draw-info {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212,175,55,0.2);
}

.deco-draw-timestamp {
  color: var(--gold);
  font-size: 0.9rem;
}

/* --- Article / Salon Section --- */
.deco-article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.deco-article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  background: var(--onyx-light);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 1.5rem;
  transition: border-color 0.3s ease;
  align-items: center;
}

.deco-article-card:hover {
  border-color: var(--gold);
}

.deco-article-img {
  width: 100%;
  height: 140px;
  background: var(--onyx);
  border: 1px solid rgba(212,175,55,0.2);
  overflow: hidden;
}

.deco-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deco-article-info h4 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.deco-article-info h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-right: 10px;
  vertical-align: middle;
}

.deco-article-info p {
  font-size: 0.9rem;
  color: var(--ivory-dark);
  line-height: 1.6;
}

.deco-article-date {
  font-size: 0.85rem;
  color: rgba(245,245,220,0.5);
  margin-top: 0.5rem;
}

/* --- VIP Pricing Cards --- */
.deco-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.deco-pricing-card {
  background: var(--onyx-light);
  border: 2px solid rgba(212,175,55,0.4);
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.deco-pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.deco-pricing-card.deco-featured {
  border-color: var(--gold);
  transform: scale(1.05);
  z-index: 2;
}

.deco-pricing-card.deco-featured::before {
  height: 8px;
  background: var(--gold);
}

.deco-pricing-tier {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.deco-pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.deco-pricing-period {
  font-size: 0.9rem;
  color: var(--ivory-dark);
  margin-bottom: 1.5rem;
}

.deco-pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.deco-pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  color: var(--ivory);
  font-size: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
}

.deco-pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--emerald);
  transform: rotate(45deg) translateY(-50%);
}

/* --- Expert Carousel --- */
.deco-expert-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--onyx);
}

.deco-expert-carousel::-webkit-scrollbar {
  height: 6px;
}

.deco-expert-carousel::-webkit-scrollbar-track {
  background: var(--onyx);
}

.deco-expert-carousel::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.deco-expert-card {
  min-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--onyx-light);
  border: 2px solid rgba(212,175,55,0.3);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.deco-expert-card:hover {
  border-color: var(--gold);
}

.deco-expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto 1rem;
  overflow: hidden;
  background: var(--onyx);
}

.deco-expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(30%) contrast(110%);
}

.deco-expert-card h4 {
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.deco-expert-title {
  font-size: 0.85rem;
  color: var(--emerald);
  margin-bottom: 0.8rem;
}

.deco-expert-card p {
  font-size: 0.9rem;
  color: var(--ivory-dark);
  line-height: 1.6;
}

/* --- Recruitment Section --- */
.deco-recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.deco-recruit-img {
  width: 100%;
  height: 400px;
  background: var(--onyx-lighter);
  border: 2px solid rgba(212,175,55,0.3);
  overflow: hidden;
}

.deco-recruit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deco-recruit-info h4 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.deco-recruit-info ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.deco-recruit-info ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--ivory);
  font-size: 0.95rem;
}

.deco-recruit-info ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg) translateY(-50%);
}

/* --- Feedback Form --- */
.deco-feedback-section {
  background: var(--ivory);
  padding: 3rem;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.deco-feedback-section h2,
.deco-feedback-section h3 {
  color: var(--onyx);
}

.deco-feedback-section p {
  color: var(--onyx-light);
}

.deco-form-group {
  margin-bottom: 1.5rem;
}

.deco-form-group label {
  display: block;
  color: var(--onyx);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.deco-form-input,
.deco-form-select,
.deco-form-textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gold);
  color: var(--onyx);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  min-height: 44px;
}

.deco-form-input:focus,
.deco-form-select:focus,
.deco-form-textarea:focus {
  border-bottom-color: var(--emerald);
}

.deco-form-textarea {
  resize: vertical;
  min-height: 120px;
  border: 2px solid var(--gold);
  padding: 12px;
}

.deco-form-select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

/* --- Compliance Section --- */
.deco-compliance-section {
  background: var(--onyx);
  border: 2px solid rgba(212,175,55,0.3);
  padding: 3rem 2rem;
  text-align: center;
}

.deco-compliance-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.deco-badge {
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--onyx-light);
  position: relative;
}

.deco-badge-text {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.3;
}

/* --- Responsible Gaming --- */
.deco-responsible-section {
  background: linear-gradient(135deg, var(--onyx) 0%, rgba(140,21,21,0.15) 100%);
  border-top: 2px solid var(--burgundy);
  padding: 3rem 2rem;
}

.deco-responsible-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.deco-age-badge {
  width: 80px;
  height: 80px;
  border: 3px solid var(--burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--burgundy);
  font-weight: 700;
}

.deco-responsible-section h3 {
  color: var(--burgundy-light);
  margin-bottom: 1rem;
}

.deco-responsible-section p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.deco-help-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Footer --- */
.deco-footer {
  background: var(--onyx);
  border-top: 3px solid var(--gold);
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.deco-footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.deco-footer-col h5 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.deco-footer-col ul {
  list-style: none;
}

.deco-footer-col ul li {
  margin-bottom: 0.5rem;
}

.deco-footer-col ul li a {
  color: var(--ivory-dark);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.deco-footer-col ul li a:hover {
  color: var(--gold);
}

.deco-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.deco-social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.deco-social-icon:hover {
  background: var(--gold);
}

.deco-social-icon span {
  transform: rotate(-45deg);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
}

.deco-social-icon:hover span {
  color: var(--onyx);
}

.deco-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(212,175,55,0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.deco-footer-license {
  font-size: 0.85rem;
  color: var(--ivory-dark);
}

.deco-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.deco-footer-legal a {
  font-size: 0.85rem;
  color: var(--ivory-dark);
}

.deco-footer-payment {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.deco-payment-icon {
  padding: 4px 12px;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--ivory-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.deco-footer-18plus {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212,175,55,0.1);
}

.deco-footer-18plus .deco-age-badge {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  display: inline-flex;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.deco-footer-18plus p {
  font-size: 0.8rem;
  color: rgba(245,245,220,0.5);
  display: inline;
}

/* --- Breadcrumb --- */
.deco-breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--ivory-dark);
  position: relative;
  z-index: 1;
}

.deco-breadcrumb a {
  color: var(--gold);
}

.deco-breadcrumb span {
  margin: 0 0.5rem;
  color: rgba(212,175,55,0.5);
}

/* --- Inner Page Content --- */
.deco-page-header {
  background: linear-gradient(135deg, var(--onyx) 0%, var(--onyx-lighter) 100%);
  border-bottom: 2px solid var(--gold);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.deco-page-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, transparent 0deg, transparent 15deg, rgba(212,175,55,0.03) 15deg, rgba(212,175,55,0.03) 16deg);
  border-radius: 50%;
  pointer-events: none;
}

.deco-page-header h1 {
  position: relative;
  z-index: 1;
}

.deco-page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.deco-page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.3);
}

.deco-page-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.deco-content-img {
  width: 100%;
  margin: 1.5rem 0;
  border: 2px solid rgba(212,175,55,0.3);
  overflow: hidden;
}

.deco-content-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Static data table for SEO */
.deco-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.deco-data-table th {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
  padding: 0.8rem;
  text-align: left;
  border: 1px solid rgba(212,175,55,0.3);
  font-family: var(--font-heading);
}

.deco-data-table td {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(212,175,55,0.15);
  color: var(--ivory);
}

.deco-data-table tr:nth-child(even) {
  background: rgba(212,175,55,0.03);
}

/* --- FAQ Section --- */
.deco-faq-item {
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding: 1.2rem 0;
}

.deco-faq-question {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.deco-faq-answer {
  color: var(--ivory-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- APP Download Page --- */
.deco-app-hero {
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.deco-app-phone {
  max-width: 300px;
  margin: 2rem auto;
  border: 3px solid var(--gold);
  border-radius: 20px;
  overflow: hidden;
  background: var(--onyx-lighter);
  padding: 1rem;
}

.deco-app-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 2rem auto;
}

.deco-app-platform {
  text-align: center;
  background: var(--onyx-light);
  border: 2px solid rgba(212,175,55,0.3);
  padding: 2rem;
}

.deco-app-platform h3 {
  margin-bottom: 1rem;
}

.deco-qr-code {
  width: 160px;
  height: 160px;
  margin: 1rem auto;
  border: 2px solid var(--gold);
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco-qr-code img {
  width: 140px;
  height: 140px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Animation 1: Gilded Line Unfold (鎏金线条展开) */
@keyframes deco-gilded-unfold {
  0% {
    opacity: 0;
    clip-path: inset(50% 50% 50% 50%);
  }
  60% {
    clip-path: inset(0% 0% 0% 0%);
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    clip-path: inset(0% 0% 0% 0%);
  }
}

.deco-animate-unfold {
  opacity: 0;
}

.deco-animate-unfold.deco-visible {
  animation: deco-gilded-unfold 0.8s ease-out forwards;
}

/* Animation 2: Geometric Sheen Sweep (几何光泽扫过) - applied via ::after on cards */
.deco-sheen-sweep {
  position: relative;
  overflow: hidden;
}

.deco-sheen-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transition: left 0.5s ease;
  pointer-events: none;
}

.deco-sheen-sweep:hover::after {
  left: 100%;
}

/* Animation 3: Radial Ray Flicker (放射状光芒闪烁) */
@keyframes deco-ray-flicker {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.deco-ray-flicker {
  animation: deco-ray-flicker 3.5s ease-in-out infinite;
}

/* Animation 4: Chart Pillar Rise (图表柱状升起) */
@keyframes deco-pillar-rise {
  0% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  80% {
    transform: scaleY(1.05);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

.deco-chart-bar {
  transform: scaleY(0);
  transform-origin: bottom;
}

.deco-chart-bar.deco-visible {
  animation: deco-pillar-rise 1.2s ease-out forwards;
}

/* ============================================================
   RESPONSIVE DESIGN (Mobile First)
   ============================================================ */

@media (max-width: 1024px) {
  .deco-chart-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .deco-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deco-pricing-card.deco-featured {
    transform: scale(1);
  }

  .deco-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.4rem; }

  .deco-hero-content h1 {
    font-size: 2.2rem;
  }

  .deco-hero-subtitle {
    font-size: 1.1rem;
  }

  .deco-nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(17,17,17,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 999;
  }

  .deco-nav-links.deco-nav-open {
    display: flex;
  }

  .deco-nav-links li a {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }

  .deco-menu-toggle {
    display: flex;
    z-index: 1000;
  }

  .deco-chart-grid {
    grid-template-columns: 1fr;
  }

  .deco-draw-display {
    grid-template-columns: 1fr;
  }

  .deco-article-card {
    grid-template-columns: 1fr;
  }

  .deco-pricing-grid {
    grid-template-columns: 1fr;
  }

  .deco-recruit-grid {
    grid-template-columns: 1fr;
  }

  .deco-recruit-img {
    height: 250px;
  }

  .deco-responsible-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .deco-responsible-grid .deco-age-badge {
    margin: 0 auto;
  }

  .deco-footer-grid {
    grid-template-columns: 1fr;
  }

  .deco-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .deco-app-downloads {
    grid-template-columns: 1fr;
  }

  .deco-section {
    padding: 2.5rem 1rem;
  }
}

@media (max-width: 414px) {
  html { font-size: 14px; }

  .deco-hero-content h1 {
    font-size: 1.8rem;
  }

  .deco-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .deco-card {
    padding: 1.5rem;
  }

  .deco-section {
    padding: 2rem 0.8rem;
  }

  .deco-compliance-badges {
    gap: 1.5rem;
  }

  .deco-badge {
    width: 90px;
    height: 90px;
  }
}

/* Ensure touch targets >= 44x44px */
button, a, input, select, textarea, [role="button"] {
  min-height: 44px;
}

/* Close button for mobile nav */
.deco-nav-close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  font-family: var(--font-heading);
  align-items: center;
  justify-content: center;
}

.deco-nav-open .deco-nav-close {
  display: flex;
}
