/* ============================================================
   96M Singapore — Design System
   Brand CI: #FF8A00 primary · #0524DD accent · #FFFFFF bg
   ============================================================ */

:root {
  --primary: #FF8A00;
  --accent: #0524DD;
  --bg: #FFFFFF;
  --bg-alt: #F0F4FF;
  --footer-bg: #0D1B8E;
  --text: #333333;
  --text-muted: #666666;
  --white: #FFFFFF;
  --radius: 10px;
  --max-width: 1200px;
  --nav-height: 70px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--accent); font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================ Navigation ============================================================ */
.nav { position: sticky; top: 0; z-index: 1000; background: var(--bg); border-bottom: 1px solid rgba(5,36,221,0.08); transition: box-shadow 0.2s; }
.nav.scrolled { box-shadow: 0 2px 16px rgba(5,36,221,0.12); }
.nav__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > li > a { padding: 8px 14px; color: var(--accent); font-weight: 500; font-size: 0.95rem; border-radius: var(--radius); transition: background 0.15s; position: relative; display: block; }
.nav__links > li > a:hover { background: var(--bg-alt); text-decoration: none; }
.nav__links > li > a.active::after { content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px; height: 2px; background: var(--primary); border-radius: 2px; }
.nav__cta { background: var(--primary) !important; color: var(--white) !important; font-weight: 700 !important; padding: 10px 22px !important; border-radius: var(--radius) !important; }
.nav__cta:hover { opacity: 0.9; text-decoration: none !important; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--bg); border: 1px solid rgba(5,36,221,0.12); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(5,36,221,0.12); min-width: 180px; padding: 8px 0; z-index: 100; }
.nav__dropdown:hover .nav__dropdown-menu, .nav__dropdown.open .nav__dropdown-menu { display: block; }
.nav__dropdown-menu li a { display: block; padding: 10px 16px; color: var(--accent); font-size: 0.9rem; font-weight: 500; }
.nav__dropdown-menu li a:hover { background: var(--bg-alt); text-decoration: none; }

/* Hamburger */
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; transition: all 0.25s; }

/* ============================================================ Access Bar ============================================================ */
.access-bar { background: var(--bg-alt); border-bottom: 1px solid rgba(5,36,221,0.12); padding: 10px 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 0.875rem; }
.access-bar__label { color: var(--text-muted); font-weight: 500; }
.access-bar__links { display: flex; gap: 8px; overflow-x: auto; }
.access-bar__btn { background: var(--primary); color: var(--white) !important; font-weight: 600; font-size: 0.8rem; padding: 6px 16px; border-radius: 20px; white-space: nowrap; transition: opacity 0.15s; }
.access-bar__btn:hover { opacity: 0.85; text-decoration: none !important; }
.access-bar__all { color: var(--accent); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }

/* ============================================================ Buttons ============================================================ */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: opacity 0.15s, transform 0.1s; text-decoration: none; line-height: 1; }
.btn:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--full { width: 100%; text-align: center; }

/* ============================================================ Hero — Full (Homepage) ============================================================ */
.hero { min-height: 560px; background: linear-gradient(135deg, rgba(5,36,221,0.88), rgba(255,138,0,0.65)), url('https://aether.million-edge.online/public/html/cms/banner20251014022425141_EN_MY.webp') center/cover no-repeat; display: flex; align-items: center; padding: 80px 24px; }
.hero__inner { max-width: var(--max-width); margin: 0 auto; width: 100%; }
.hero h1 { color: var(--white); font-size: 2.8rem; margin-bottom: 16px; max-width: 720px; }
.hero__sub { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 32px; max-width: 580px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================ Hero — Compact (Inner Pages) ============================================================ */
.hero-compact { background: var(--accent); padding: 56px 24px; text-align: center; }
.hero-compact .breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 12px; }
.hero-compact .breadcrumb a { color: rgba(255,255,255,0.6); }
.hero-compact h1 { color: var(--white); font-size: 2.2rem; margin: 0; }
.hero-compact p { color: rgba(255,255,255,0.82); margin-top: 12px; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============================================================ Section Strips ============================================================ */
.strip { padding: 80px 24px; }
.strip--alt { background: var(--bg-alt); }
.strip--cta { background: var(--accent); text-align: center; padding: 72px 24px; }
.strip--cta h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 12px; }
.strip--cta p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.strip__inner { max-width: var(--max-width); margin: 0 auto; }
.strip__header { text-align: center; margin-bottom: 48px; }
.strip__header h2 { margin-bottom: 12px; }
.strip__header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Split 50/50 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__img { order: -1; }
.split__img { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); min-height: 280px; display: flex; align-items: center; justify-content: center; }
.split__img img { width: 100%; border-radius: var(--radius); }
.split__text h2 { margin-bottom: 16px; }
.split__text p { color: var(--text-muted); margin-bottom: 20px; }
.split__text ul { padding-left: 20px; list-style: disc; }
.split__text ul li { color: var(--text-muted); margin-bottom: 8px; }

/* ============================================================ Cards ============================================================ */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg); border: 1px solid rgba(5,36,221,0.1); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow 0.2s, transform 0.15s; }
.strip--alt .card { background: var(--white); }
.card:hover { box-shadow: 0 4px 20px rgba(5,36,221,0.1); transform: translateY(-2px); }
.card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.card__title { font-size: 1.05rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.card__text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }
.card__link { display: inline-block; margin-top: 16px; color: var(--primary); font-weight: 600; font-size: 0.88rem; }

/* ============================================================ Stats Bar ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__number { font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat__label { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }

/* ============================================================ Promo Cards ============================================================ */
.promo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promo-card { background: var(--bg); border: 1px solid rgba(5,36,221,0.1); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.promo-card:hover { box-shadow: 0 4px 20px rgba(5,36,221,0.1); }
.promo-card__top { background: var(--primary); padding: 28px 24px; }
.promo-card__top h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.promo-card__top p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }
.promo-card__body { padding: 24px; }
.promo-card__body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }

/* ============================================================ Content / Review Pages ============================================================ */
.content-wrap { max-width: var(--max-width); margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.content-main h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.6rem; border-bottom: 2px solid var(--bg-alt); padding-bottom: 12px; }
.content-main h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.15rem; }
.content-main p { color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.content-main ul, .content-main ol { padding-left: 24px; margin-bottom: 16px; }
.content-main ul { list-style: disc; }
.content-main ol { list-style: decimal; }
.content-main li { margin-bottom: 8px; color: var(--text); line-height: 1.7; }
.byline { font-size: 0.875rem; color: var(--text-muted); border-left: 3px solid var(--primary); padding: 8px 0 8px 12px; margin-bottom: 32px; }
.byline a { color: var(--accent); font-weight: 600; }
.last-updated { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; background: var(--bg-alt); display: inline-block; padding: 4px 10px; border-radius: 4px; }

/* Rating */
.rating-box { background: var(--bg-alt); border: 2px solid var(--primary); border-radius: var(--radius); padding: 28px; margin: 32px 0; }
.rating-box__score { font-size: 3.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.rating-box__label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; margin-bottom: 20px; }
.rating-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(5,36,221,0.08); font-size: 0.9rem; }
.rating-row:last-child { border-bottom: none; }
.rating-row__name { width: 140px; color: var(--accent); font-weight: 600; flex-shrink: 0; }
.rating-bar { height: 6px; background: rgba(5,36,221,0.1); border-radius: 3px; flex: 1; margin: 0 16px; }
.rating-bar__fill { height: 100%; background: var(--primary); border-radius: 3px; }
.rating-row__score { color: var(--primary); font-weight: 700; width: 36px; text-align: right; }

/* Sidebar */
.content-sidebar { position: sticky; top: calc(var(--nav-height) + 16px); }
.sidebar-box { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; border: 1px solid rgba(5,36,221,0.1); }
.sidebar-box h4 { font-size: 1rem; margin-bottom: 16px; color: var(--accent); }
.sidebar-box ul { list-style: disc; padding-left: 18px; }
.sidebar-box ul li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }

/* ============================================================ FAQ ============================================================ */
.faq-list { margin-top: 32px; }
.faq-item { border-bottom: 1px solid rgba(5,36,221,0.1); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; font-size: 1rem; font-weight: 600; color: var(--accent); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary); font-weight: 300; flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding: 0 0 20px; color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ============================================================ Author Page ============================================================ */
.author-profile { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; max-width: 900px; }
.author-avatar { width: 180px; height: 180px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 4.5rem; border: 4px solid var(--primary); flex-shrink: 0; }
.author-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.author-badge { background: var(--bg-alt); color: var(--accent); font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(5,36,221,0.15); }
.author-articles { margin-top: 32px; }
.author-articles h3 { margin-bottom: 16px; }
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-link { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg-alt); border-radius: var(--radius); color: var(--accent); font-weight: 600; font-size: 0.95rem; transition: background 0.15s; }
.article-link:hover { background: rgba(5,36,221,0.08); text-decoration: none; }
.article-link::before { content: '→'; color: var(--primary); font-weight: 700; }

/* ============================================================ Responsible Gambling ============================================================ */
.rg-alert { background: #FFF3E0; border-left: 4px solid var(--primary); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 32px 0; }
.rg-alert p { margin: 0; color: #5D4037; font-size: 0.95rem; }
.rg-resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.rg-resource { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; text-align: center; }
.rg-resource h4 { margin-bottom: 8px; }
.rg-resource p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }

/* ============================================================ Contact Form ============================================================ */
.form-wrap { max-width: 640px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid rgba(5,36,221,0.2); border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; color: var(--text); background: var(--bg); transition: border-color 0.15s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ============================================================ Responsive — 768px ============================================================ */
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-compact h1 { font-size: 1.7rem; }
  .strip { padding: 56px 20px; }

  .nav__toggle { display: flex; }
  .nav__links { display: none; position: fixed; inset: var(--nav-height) 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 24px; gap: 4px; overflow-y: auto; z-index: 999; border-top: 1px solid rgba(5,36,221,0.1); }
  .nav__links.open { display: flex; }
  .nav__links > li { width: 100%; }
  .nav__links > li > a { display: block; padding: 14px 16px; font-size: 1rem; }
  .nav__dropdown-menu { position: static; box-shadow: none; border: none; background: transparent; padding-left: 12px; }
  .nav__cta { text-align: center; margin-top: 8px; }

  .access-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .access-bar__links { padding-bottom: 4px; }

  .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .promo-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__img { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .content-wrap { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .author-profile { grid-template-columns: 1fr; }
  .rg-resources { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .strip { padding: 48px 16px; }
  .hero { padding: 60px 16px; min-height: 420px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .hero-compact { padding: 40px 16px; }
}

/* ============================================================ Footer ============================================================ */
.footer { background: var(--footer-bg); color: var(--white); padding: 64px 24px 0; }
.footer__inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer__logo { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer__tagline { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.5; margin-bottom: 12px; }
.footer__col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; font-weight: 700; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.15s; }
.footer__col ul li a:hover { color: var(--primary); text-decoration: none; }
.footer__disclaimer { color: rgba(255,255,255,0.5); font-size: 0.8rem; line-height: 1.6; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; }
.footer__bottom p { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color: var(--primary); }
