/* ===== macaunewvenetian.com - 澳门新葡京官网 ===== */
/* Dark luxury casino theme - Magazine split layout */
/* DESIGN_VARIANCE=7, MOTION_INTENSITY=4, VISUAL_DENSITY=5 */

:root {
  --clr-primary: #c8a44e;
  --clr-primary-dark: #a8882e;
  --clr-accent: #d42020;
  --clr-bg: #0b0a08;
  --clr-bg-2: #12100c;
  --clr-bg-3: #1a1712;
  --clr-bg-card: #1e1b16;
  --clr-surface: #25211c;
  --clr-text: #e8e0d0;
  --clr-text-muted: #988e7e;
  --clr-border: #2d2822;
  --clr-border-light: #3d3832;
  --font-display: "Georgia", "Noto Serif SC", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --radius: 8px;
  --radius-sm: 4px;
  --max-w: 1200px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--clr-primary); text-decoration: none; transition: color .2s; }
a:hover { color: #dbb85e; }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,10,8,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  height: var(--header-h);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1rem;
}
.header-logo {
  display: flex; align-items: center; gap: .6rem;
}
.header-logo img { height: 36px; width: auto; }
.header-logo span {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: .08em;
}
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  display: block; padding: .5rem .9rem;
  color: var(--clr-text-muted);
  font-size: .9rem; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.main-nav a:hover, .main-nav a.is-active {
  color: var(--clr-primary);
  background: rgba(200,164,78,.08);
}
.nav-toggle {
  display: none; background: none; border: none;
  width: 28px; height: 22px; position: relative; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--clr-text); border-radius: 2px;
  position: absolute; left: 0; transition: all .3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { bottom: 40%; transform: translateY(-50%) rotate(-45deg); }

/* ===== Footer ===== */
.site-footer {
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; max-width: var(--max-w); margin: 0 auto; padding: 0 1rem;
}
.footer-col h4 {
  color: var(--clr-primary);
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.footer-col p, .footer-col a {
  color: var(--clr-text-muted);
  font-size: .85rem;
  line-height: 2;
  display: block;
}
.footer-col a:hover { color: var(--clr-primary); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: .8rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.45) saturate(1.1);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(11,10,8,.85) 30%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1rem;
  width: 100%;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 600px;
}
.hero h1 .highlight { color: var(--clr-primary); }
.hero p {
  font-size: 1.05rem; color: var(--clr-text-muted);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.hero-cta {
  display: inline-block;
  padding: .85rem 2.2rem;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: #0b0a08 !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all .3s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(200,164,78,.35); }

/* ===== Sections ===== */
.section { padding: 4rem 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #fff;
  margin-bottom: .25rem;
}
.section-subtitle {
  color: var(--clr-text-muted);
  font-size: .9rem;
  margin-bottom: 2rem;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2rem;
}
.section-header .section-link {
  font-size: .85rem; color: var(--clr-primary);
}

/* ===== Feature Strip ===== */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-item {
  background: var(--clr-bg-card);
  padding: 1.5rem 1rem;
  text-align: center;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--clr-primary);
}
.feature-label { color: var(--clr-text-muted); font-size: .8rem; margin-top: .25rem; }

/* ===== Card Grid (home) ===== */
.card-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.card {
  background: var(--clr-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: all .3s;
}
.card:hover { border-color: var(--clr-primary-dark); transform: translateY(-2px); }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1rem 1.2rem 1.2rem; }
.card-cat {
  display: inline-block;
  font-size: .75rem; color: var(--clr-primary);
  background: rgba(200,164,78,.12);
  padding: .15rem .6rem;
  border-radius: 3px;
  margin-bottom: .5rem;
}
.card-title {
  font-size: 1.05rem; font-weight: 600;
  color: #fff; line-height: 1.4;
  margin-bottom: .4rem;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--clr-primary); }
.card-excerpt {
  font-size: .85rem; color: var(--clr-text-muted);
  line-height: 1.6;
}
.card-date {
  font-size: .78rem; color: var(--clr-text-muted);
  margin-top: .5rem;
}

/* ===== Double-column home layout ===== */
.home-split {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 2rem; align-items: start;
}
.home-featured .card-grid { grid-template-columns: 1fr; }
.home-sidebar {
  background: var(--clr-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  padding: 1.5rem;
}
.home-sidebar h3 {
  font-family: var(--font-display);
  color: var(--clr-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--clr-border);
}
.sidebar-list { list-style: none; }
.sidebar-list li {
  padding: .7rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  color: var(--clr-text);
  font-size: .9rem;
  line-height: 1.5;
  display: block;
}
.sidebar-list a:hover { color: var(--clr-primary); }
.sidebar-list .sldate {
  font-size: .75rem; color: var(--clr-text-muted);
  display: block; margin-top: .2rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--clr-bg-3), #0b0a08);
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #fff;
  margin-bottom: .75rem;
}
.cta-section p {
  color: var(--clr-text-muted);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* ===== Article Page ===== */
.article-page {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 2.5rem; align-items: start;
  max-width: var(--max-w); margin: 2rem auto; padding: 0 1rem;
}
.article-main { min-width: 0; }
.article-main .breadcrumb {
  font-size: .82rem; color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}
.article-main .breadcrumb a { color: var(--clr-primary); }
.article-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: .5rem;
}
.article-meta {
  color: var(--clr-text-muted);
  font-size: .85rem;
  margin-bottom: 1.5rem;
}
.article-body { font-size: 1rem; color: var(--clr-text); }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--clr-primary);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--clr-border);
}
.article-body h3 {
  font-size: 1.05rem;
  color: #fff;
  margin: 1.5rem 0 .5rem;
}
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.5rem; }
.article-body li { margin-bottom: .4rem; }
.article-body img {
  width: 100%; border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.article-body .split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.article-body .inline-figure {
  float: right; width: 45%;
  margin: .5rem 0 .5rem 1.5rem;
  border-radius: var(--radius-sm);
}
.article-body .figure-right {
  float: right; width: 40%;
  margin: .5rem 0 .5rem 1.5rem;
  border-radius: var(--radius-sm);
}

/* ===== Sidebar / Aside ===== */
.article-aside {
  background: var(--clr-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  padding: 1.5rem;
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.article-aside h3 {
  font-family: var(--font-display);
  color: var(--clr-primary);
  font-size: .95rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--clr-border);
}
.aside-item {
  padding: .6rem 0;
  border-bottom: 1px solid rgba(45,40,34,.5);
}
.aside-item:last-child { border-bottom: none; }
.aside-item a {
  color: var(--clr-text);
  font-size: .88rem; line-height: 1.4;
  display: block;
}
.aside-item a:hover { color: var(--clr-primary); }
.aside-item .aside-date {
  font-size: .75rem; color: var(--clr-text-muted);
  display: block; margin-top: .2rem;
}

/* ===== Category Page ===== */
.category-page {
  max-width: var(--max-w); margin: 2rem auto; padding: 0 1rem;
}
.category-header { margin-bottom: 2rem; }
.category-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
}
.category-header p { color: var(--clr-text-muted); margin-top: .5rem; }
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* ===== Trust / Stats Bar ===== */
.trust-bar {
  display: flex; justify-content: center; gap: 3rem;
  padding: 0 0 2rem;
  flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-item .num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--clr-primary);
}
.trust-item .label { font-size: .8rem; color: var(--clr-text-muted); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--clr-bg); border-bottom: 1px solid var(--clr-border);
    flex-direction: column; padding: .5rem 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .75rem 1rem; }

  .home-split { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-page { grid-template-columns: 1fr; }
  .article-aside { position: static; margin-top: 1.5rem; }
  .article-body .split { grid-template-columns: 1fr; }
  .article-body .inline-figure,
  .article-body .figure-right {
    float: none; width: 100%; margin: 1rem 0;
  }
  .hero { min-height: 60vh; }
  .trust-bar { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
}