/* ===== CSS Variables ===== */
:root {
  --blue: #0047AB;
  --blue-dark: #003380;
  --blue-mid: #1a5cc8;
  --blue-light: #e8f0fe;
  --orange: #FF6B00;
  --orange-dark: #cc5500;
  --orange-light: #fff3e0;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #ced4da;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 10px;
  --radius-lg: 16px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 64px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
  text-align: center;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 40px;
}
.section-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  justify-content: center;
}
.section-title-line::before,
.section-title-line::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--blue-light);
  max-width: 80px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* ===== Header / Nav ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--blue);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img { height: 46px; width: auto; object-fit: contain; }
.logo span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
}
.nav a:hover, .nav a.active { color: var(--blue); background: var(--blue-light); }
.nav .btn-orange { color: var(--white); padding: 9px 22px; }
.nav .btn-orange:hover { background: var(--orange-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 20px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--blue); background: var(--blue-light); }
.mobile-nav .btn-orange { color: var(--white); text-align: center; margin-top: 8px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, #1e7be0 100%);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: rgba(255,107,0,0.12);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,107,0,0.2);
  color: #FFB366;
  border: 1px solid rgba(255,107,0,0.4);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--orange); }
.hero-stat span { font-size: 0.85rem; opacity: 0.8; }

/* ===== Cards ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 24px; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.card-icon-blue { background: var(--blue-light); }
.card-icon-orange { background: var(--orange-light); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--blue-dark); }
.card p { font-size: 0.95rem; color: var(--gray-600); }

/* Game Cards */
.game-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.game-card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.game-card-body { padding: 16px; }
.game-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.game-card-body p { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 12px; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-blue { background: var(--blue-light); color: var(--blue); }
.tag-orange { background: var(--orange-light); color: var(--orange-dark); }
.tag-green { background: #e8f5e9; color: #2e7d32; }

/* Promo Cards */
.promo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-card-header {
  padding: 28px 24px 20px;
  color: var(--white);
}
.promo-card-header.blue { background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); }
.promo-card-header.orange { background: linear-gradient(135deg, #cc4400, var(--orange)); }
.promo-card-header.green { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.promo-card-header.purple { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.promo-card-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.promo-card-header .amount {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin: 8px 0;
}
.promo-card-header p { font-size: 0.85rem; opacity: 0.9; }
.promo-card-body { padding: 20px 24px; }
.promo-features { margin-bottom: 18px; }
.promo-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.9rem; color: var(--gray-700);
  padding: 5px 0;
}
.promo-features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* Ambassador Cards */
.ambassador-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ambassador-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ambassador-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  border: 3px solid var(--blue-light);
}
.ambassador-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.ambassador-card .chinese { font-size: 1rem; color: var(--orange); margin-bottom: 8px; font-weight: 600; }
.ambassador-card .role { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 14px; }
.ambassador-card p { font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; }

/* Trust badges */
.trust-bar {
  background: var(--blue-dark);
  color: var(--white);
  padding: 16px 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 500;
}
.trust-item .icon { font-size: 1.2rem; }

/* Why section feature items */
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.feature-item:hover { background: var(--gray-50); }
.feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: var(--blue-light);
}
.feature-text h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--blue-dark); }
.feature-text p { font-size: 0.9rem; color: var(--gray-600); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8c40 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 20px;
}
.cta-banner h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 1.05rem; margin-bottom: 28px; opacity: 0.95; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-blue { background: var(--blue-dark); }
.cta-banner .btn-blue:hover { background: var(--blue); }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: 0.9; max-width: 540px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  justify-content: center;
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ===== Footer ===== */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-logo span { color: var(--orange); }
.footer-logo img { width: 32px; height: 32px; object-fit: contain; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 280px; }
.footer-heading { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-disclaimer {
  background: rgba(0,0,0,0.2);
  padding: 12px 0;
  text-align: center;
}
.footer-disclaimer p { font-size: 0.8rem; color: rgba(255,255,255,0.45); max-width: 760px; margin: 0 auto; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,107,0,0.25);
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 8px;
}

/* ===== About page specifics ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-intro-text h2 { font-size: 1.8rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 16px; }
.about-intro-text p { color: var(--gray-700); margin-bottom: 14px; font-size: 0.97rem; line-height: 1.75; }
.about-visual {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
  text-align: center;
}
.about-visual .big-number { font-size: 3.5rem; font-weight: 800; color: var(--orange); line-height: 1; }
.about-visual p { font-size: 0.9rem; opacity: 0.85; margin-top: 6px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.about-stat { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 16px; }
.about-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--orange); }
.about-stat span { font-size: 0.8rem; opacity: 0.8; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 20px; justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero { text-align: center; }
  .hero-content { max-width: 100%; }
  .trust-items { gap: 16px; }
  .section-title { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .promo-card-header .amount { font-size: 1.8rem; }
}
