/*
Theme Name: Suncity Landing
Theme URI: https://188tyc.com/
Author: Site Team
Description: Lightweight, responsive landing-page theme for a five-page Chinese content site.
Version: 1.4.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: suncity-lp
*/

:root {
  --sc-bg: #07131f;
  --sc-bg-soft: #0b1d2d;
  --sc-surface: #10283b;
  --sc-surface-light: #f4f7f8;
  --sc-text: #17212b;
  --sc-muted: #60707c;
  --sc-light: #f8fbfc;
  --sc-gold: #e8b84a;
  --sc-gold-dark: #b88016;
  --sc-teal: #22b8a7;
  --sc-border: rgba(255, 255, 255, 0.12);
  --sc-radius: 22px;
  --sc-shadow: 0 24px 70px rgba(3, 17, 29, 0.14);
  --sc-content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--sc-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--sc-gold-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #111;
  background: #fff;
  border-radius: 8px;
}

.site-shell,
.content-shell {
  width: min(calc(100% - 40px), var(--sc-content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: var(--sc-light);
  background: rgba(7, 19, 31, 0.94);
  border-bottom: 1px solid var(--sc-border);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
}

.header-inner > *,
.hero-inner > * { min-width: 0; }

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #09131d;
  background: linear-gradient(135deg, #ffe49a, var(--sc-gold));
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(232, 184, 74, 0.24);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-copy { display: grid; line-height: 1.15; }
.brand-name { color: #fff; font-size: 18px; font-weight: 800; }
.brand-tagline { margin-top: 4px; color: #9cb0bd; font-size: 11px; letter-spacing: 0.12em; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: 9px 13px;
  color: #d9e4e9;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 650;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.09); }

.header-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta,
.button-primary {
  color: #111820;
  background: linear-gradient(135deg, #ffe49a, var(--sc-gold));
  box-shadow: 0 10px 30px rgba(232, 184, 74, 0.2);
}
.header-cta:hover,
.button-primary:hover { color: #111820; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(232, 184, 74, 0.3); }
.button-secondary { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.button-secondary:hover { color: #fff; background: rgba(255,255,255,.16); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  color: #fff;
  background: transparent;
  border: 1px solid var(--sc-border);
  border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; border-radius: 4px; }

.site-main { min-height: 70vh; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 15%, rgba(34,184,167,.2), transparent 28%),
    radial-gradient(circle at 13% 20%, rgba(232,184,74,.14), transparent 25%),
    linear-gradient(140deg, #06111c, #0b2235 68%, #0d2c3b);
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 570px;
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  padding-block: 74px;
}

.page-hero .hero-inner { min-height: 470px; }

.hero-image {
  overflow: hidden;
  margin: 0;
  background: #0d2434;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--sc-radius);
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
}
.hero-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #f6cf75;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ""; }

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.1;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.page-hero h1 { font-size: clamp(38px, 4.6vw, 58px); }
.hero-lead { max-width: 680px; margin: 24px 0 0; color: #bed0d9; font-size: 19px; overflow-wrap: anywhere; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 27px 0 0; list-style: none; }
.hero-chips li { padding: 7px 12px; color: #dbe8ec; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: 13px; }

.media-placeholder {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  color: #8ba0ac;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(255,255,255,.025) 18px, rgba(255,255,255,.025) 36px);
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: var(--sc-radius);
  text-align: center;
}
.media-placeholder::before { position: absolute; width: 72px; height: 54px; border: 2px solid currentColor; border-radius: 12px; opacity: .35; content: ""; }
.media-placeholder span { position: relative; z-index: 1; margin-top: 92px; padding: 6px 11px; background: rgba(7,19,31,.7); border-radius: 8px; font-size: 12px; letter-spacing: .08em; }
.banner-placeholder { min-height: 350px; box-shadow: 0 34px 90px rgba(0,0,0,.24); }
.light-placeholder { min-height: 330px; color: #8a9aa3; background: #e9eff1; border-color: #c7d3d8; }
.light-placeholder span { color: #5d6e78; background: #fff; }
.content-feature-image { overflow: hidden; margin: 0; background: #e9eff1; border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); }
.content-feature-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.section { padding-block: 88px; }
.section-soft { background: var(--sc-surface-light); }
.section-dark { color: #dce8ed; background: var(--sc-bg); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-label { margin: 0 0 10px; color: var(--sc-gold-dark); font-size: 13px; font-weight: 850; letter-spacing: .1em; }
.section h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 16px 0 0; color: var(--sc-muted); font-size: 18px; }
.section-dark .section-heading > p:last-child { color: #a9bec8; }

.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card {
  padding: 30px;
  background: #fff;
  border: 1px solid #e3e9ec;
  border-radius: 18px;
  box-shadow: 0 14px 46px rgba(16, 40, 59, .07);
}
.info-card .card-kicker { color: var(--sc-gold-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.info-card h3 { margin: 10px 0 9px; font-size: 22px; line-height: 1.3; }
.info-card p { margin: 0; color: var(--sc-muted); font-size: 15px; }
.info-card a.card-link { display: inline-flex; margin-top: 20px; color: #0b746a; font-size: 14px; font-weight: 800; }

.game-category-grid { display: grid; gap: 22px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.game-card {
  grid-column: span 2;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7ea;
  border-radius: 18px;
  box-shadow: 0 14px 46px rgba(16, 40, 59, .08);
}
.game-card:nth-last-child(-n+2) { grid-column: span 3; }
.game-card .media-placeholder { min-height: 220px; border: 0; border-bottom: 1px dashed #c7d3d8; border-radius: 0; }
.game-card-image { overflow: hidden; margin: 0; background: #e9eff1; border-bottom: 1px solid #d5e0e4; }
.game-card-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.game-card:nth-child(2) .media-placeholder { background-color: #e8f2f1; }
.game-card:nth-child(3) .media-placeholder { background-color: #f1ece4; }
.game-card:nth-child(4) .media-placeholder { background-color: #e9edf5; }
.game-card:nth-child(5) .media-placeholder { background-color: #e7f0e8; }
.game-card-body { padding: 25px 26px 28px; }
.game-card-body .card-kicker { color: var(--sc-gold-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.game-card-body h3 { margin: 9px 0 8px; font-size: 23px; line-height: 1.3; }
.game-card-body p { margin: 0; color: var(--sc-muted); font-size: 15px; }

.verification-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.verification-card { overflow: hidden; background: #fff; border: 1px solid #dfe7ea; border-radius: 20px; box-shadow: var(--sc-shadow); }
.verification-card .media-placeholder { min-height: 250px; border: 0; border-bottom: 1px dashed #c7d3d8; border-radius: 0; }
.verification-card .wp-block-image { margin: 0; background: #e9eff1; border-bottom: 1px solid #d5e0e4; }
.verification-card .wp-block-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
.verification-copy { padding: 30px; }
.verification-copy h3 { margin: 12px 0 10px; font-size: 25px; }
.verification-copy p { margin: 0; color: var(--sc-muted); }

.split-layout { display: grid; align-items: center; gap: 62px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-layout.reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy p { color: var(--sc-muted); }
.check-list { display: grid; gap: 13px; padding: 0; margin: 26px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { position: absolute; top: .42em; left: 0; display: grid; width: 19px; height: 19px; place-items: center; color: #fff; background: var(--sc-teal); border-radius: 50%; content: "✓"; font-size: 11px; font-weight: 900; }

.article-layout { display: grid; align-items: start; gap: 56px; grid-template-columns: minmax(0, 1fr) 320px; }
.article-body h2 { margin: 1.4em 0 .5em; font-size: 32px; line-height: 1.25; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 1.35em 0 .4em; font-size: 23px; }
.article-body p, .article-body li { color: #465964; }
.article-body .light-placeholder { margin: 32px 0; }
.article-sidebar { position: sticky; top: 106px; display: grid; gap: 18px; }
.sidebar-box { padding: 24px; background: #f4f7f8; border: 1px solid #dfe7ea; border-radius: 16px; }
.sidebar-box h3 { margin: 0 0 12px; font-size: 18px; }
.sidebar-box p { margin: 0; color: var(--sc-muted); font-size: 14px; }
.sidebar-links { padding: 0; margin: 0; list-style: none; }
.sidebar-links li + li { border-top: 1px solid #dce4e7; }
.sidebar-links a { display: flex; justify-content: space-between; padding: 11px 0; font-size: 14px; font-weight: 700; }

.steps { display: grid; gap: 18px; counter-reset: steps; }
.step { position: relative; padding: 26px 26px 26px 78px; background: #fff; border: 1px solid #e1e9ec; border-radius: 16px; counter-increment: steps; }
.step::before { position: absolute; top: 25px; left: 24px; display: grid; width: 38px; height: 38px; place-items: center; color: #12212b; background: #f4cb71; border-radius: 12px; content: counter(steps); font-weight: 900; }
.step h3 { margin: 0 0 5px; font-size: 19px; }
.step p { margin: 0; color: var(--sc-muted); font-size: 15px; }

.faq-list { max-width: 900px; margin-inline: auto; }
.faq-item { padding: 22px 0; border-bottom: 1px solid #dfe6e9; }
.faq-item:first-child { border-top: 1px solid #dfe6e9; }
.faq-item h3 { margin: 0 0 8px; font-size: 20px; }
.faq-item p { margin: 0; color: var(--sc-muted); }

.notice { padding: 20px 22px; color: #4a5760; background: #fff9e9; border: 1px solid #f1dc9d; border-radius: 14px; font-size: 14px; }
.notice strong { color: #7b5510; }

.cta-band { padding-block: 54px; color: #fff; background: linear-gradient(120deg, #0b776f, #0c3c52); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { margin: 0; font-size: 32px; }
.cta-inner p { margin: 8px 0 0; color: #c5e2e0; }

.site-footer { color: #aebfc7; background: #040c13; }
.footer-main { display: grid; gap: 48px; grid-template-columns: 1.5fr 1fr 1fr; padding-block: 62px; }
.footer-brand p { max-width: 480px; margin: 17px 0 0; font-size: 14px; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 14px; font-weight: 800; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 4px 0; color: #aebfc7; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: 12px; }

.basic-page { padding-block: 80px; }
.basic-page h1 { font-size: 46px; }
.entry-content { max-width: 860px; }

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 18px 20px 26px;
    margin: 0;
    background: #07131f;
    border-top: 1px solid var(--sc-border);
    box-shadow: 0 24px 40px rgba(0,0,0,.28);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; }
  .site-nav a { padding: 13px 15px; }
  .hero-inner { gap: 38px; grid-template-columns: 1fr; }
  .hero-copy { padding-top: 15px; }
  .banner-placeholder { min-height: 280px; }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-card,
  .game-card:nth-last-child(-n+2) { grid-column: auto; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-shell, .content-shell { width: min(calc(100% - 28px), var(--sc-content)); }
  .header-inner { min-height: 68px; }
  .site-nav { inset-block-start: 68px; }
  .brand-tagline { display: none; }
  .hero-inner, .page-hero .hero-inner { min-height: auto; padding-block: 58px; }
  .hero h1, .page-hero h1 { font-size: 39px; }
  .hero-lead { font-size: 17px; }
  .section { padding-block: 64px; }
  .card-grid, .card-grid.four, .split-layout, .game-category-grid, .verification-grid { grid-template-columns: 1fr; }
  .split-layout.reverse .split-copy { order: initial; }
  .info-card { padding: 24px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; padding-block: 48px; }
  .footer-bottom { flex-direction: column; }
}
