/* ===== 96M Casino Guide Singapore — Global Styles ===== */
/* Mobile-first, White/Blue/Orange, Luxury Casino Feel */

:root {
  --blue: #1a3a6b;
  --blue-dark: #0f2548;
  --blue-light: #2a5298;
  --orange: #e8760a;
  --orange-light: #f5921a;
  --orange-dark: #c56200;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --grey-light: #e9ecef;
  --grey: #6c757d;
  --grey-dark: #343a40;
  --gold: #d4a843;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 10px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--grey-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange);
}

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Typography ===== */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-dark);
}

h1 { font-size: 2rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

p {
  margin-bottom: 1rem;
  color: var(--grey);
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 118, 10, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 118, 10, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===== Header / Navbar ===== */

.header {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--blue-dark);
  letter-spacing: -0.3px;
}

.logo span {
  color: var(--orange);
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 16px 0;
}

.nav-menu.active {
  display: block;
}

.nav-menu li a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  color: var(--grey-dark);
  transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--orange);
  background: var(--off-white);
}

.header-cta {
  display: none;
}

/* ===== Hero Section ===== */

.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  color: var(--white);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,168,67,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(232,118,10,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.hero h1 .highlight {
  color: var(--orange-light);
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.hero .btn {
  position: relative;
}

/* ===== Section Defaults ===== */

.section {
  padding: 50px 0;
}

.section-alt {
  background: var(--off-white);
}

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

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--orange);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-title p {
  max-width: 600px;
  margin: 0.8rem auto 0;
}

/* ===== Card Grid ===== */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: all var(--transition);
  border: 1px solid var(--grey-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.card h3 {
  color: var(--blue-dark);
}

.card p {
  font-size: 0.95rem;
}

.card .btn {
  margin-top: 12px;
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ===== Feature / Info Blocks ===== */

.info-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.info-block-text h2 {
  margin-bottom: 1rem;
}

.info-block-text p {
  margin-bottom: 0.8rem;
}

.info-block-visual {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--white);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ===== Ambassadors ===== */

.ambassador-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ambassador-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--grey-light);
  transition: all var(--transition);
}

.ambassador-card:hover {
  box-shadow: var(--shadow-lg);
}

.ambassador-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 700;
}

.ambassador-card h3 {
  margin-bottom: 4px;
}

.ambassador-card .role {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.ambassador-card p {
  font-size: 0.93rem;
}

/* ===== Stats Bar ===== */

.stats-bar {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 40px 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--orange-light);
  margin-bottom: 4px;
}

.stat-item p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== CTA Banner ===== */

.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  padding: 50px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-banner .btn:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* ===== Table Styles ===== */

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--grey-light);
}

.info-table th {
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-table td {
  font-size: 0.95rem;
  color: var(--grey-dark);
}

.info-table tbody tr:hover {
  background: var(--off-white);
}

/* ===== Pros / Cons list ===== */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 1.5rem 0;
}

.pros-list, .cons-list {
  list-style: none;
  padding: 20px;
  border-radius: var(--radius);
}

.pros-list {
  background: #f0faf0;
  border-left: 4px solid #28a745;
}

.cons-list {
  background: #fef5f5;
  border-left: 4px solid #dc3545;
}

.pros-list li::before {
  content: '\2713 ';
  color: #28a745;
  font-weight: 700;
}

.cons-list li::before {
  content: '\2717 ';
  color: #dc3545;
  font-weight: 700;
}

.pros-list li, .cons-list li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--grey-dark);
}

/* ===== FAQ Accordion ===== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--off-white);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 20px 18px;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Footer ===== */

.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--orange-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin: 4px 0;
}

.disclaimer {
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.45) !important;
  max-width: 700px;
  margin: 12px auto 0 !important;
  line-height: 1.5;
}

/* ===== Breadcrumb ===== */

.breadcrumb {
  padding: 14px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-light);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
}

.breadcrumb-list li::after {
  content: '/';
  margin-left: 6px;
  color: var(--grey);
}

.breadcrumb-list li:last-child::after {
  content: '';
}

.breadcrumb-list li:last-child a {
  color: var(--orange);
  font-weight: 600;
}

/* ===== Page Header (inner pages) ===== */

.page-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 40px 0;
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2rem;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* ===== Content Sections ===== */

.content-section {
  padding: 40px 0;
}

.content-section h2 {
  margin-top: 1.5rem;
}

.content-section ul,
.content-section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: var(--grey);
  font-size: 0.95rem;
}

/* ===== Rating Badge ===== */

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
}

.rating-badge .stars {
  letter-spacing: 2px;
}

/* ===== Responsive — Tablet ===== */

@media (min-width: 600px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

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

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

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }

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

/* ===== Responsive — Desktop ===== */

@media (min-width: 960px) {
  h1 { font-size: 2.8rem; }

  .hero {
    padding: 80px 0 70px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section {
    padding: 70px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 4px;
  }

  .nav-menu li a {
    padding: 8px 16px;
    border-radius: 6px;
  }

  .nav-menu li a:hover,
  .nav-menu li a.active {
    background: var(--off-white);
  }

  .header-cta {
    display: inline-block;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-block {
    grid-template-columns: 1fr 1fr;
  }

  .info-block.reverse {
    direction: rtl;
  }

  .info-block.reverse > * {
    direction: ltr;
  }

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

  .page-header {
    padding: 60px 0;
  }

  .page-header h1 {
    font-size: 2.6rem;
  }
}

/* ===== Utility ===== */

/* ===== Table of Contents ===== */

.toc {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 1.5rem 0 2rem;
  max-width: 700px;
}

.toc h3 {
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toc ol {
  list-style: decimal;
  padding-left: 1.2rem;
  margin: 0;
}

.toc ol ol {
  list-style: lower-alpha;
  margin-top: 4px;
}

.toc li {
  margin-bottom: 6px;
  font-size: 0.93rem;
}

.toc a {
  color: var(--blue);
  font-weight: 500;
}

.toc a:hover {
  color: var(--orange);
}

/* ===== Last Updated ===== */

.last-updated {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 8px;
  font-style: italic;
}

.page-header .last-updated {
  color: rgba(255,255,255,0.6);
}

/* ===== 404 Page ===== */

.page-404 {
  text-align: center;
  padding: 100px 0;
}

.page-404 h1 {
  font-size: 6rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.page-404 h2 {
  margin-bottom: 1rem;
}

.page-404 p {
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ===== Nav Dropdown ===== */

.nav-menu li {
  position: relative;
}

.nav-dropdown {
  display: none;
  list-style: none;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 8px 0;
}

.nav-dropdown a {
  padding: 10px 20px;
  font-size: 0.9rem;
  display: block;
  font-weight: 500;
}

.nav-dropdown a:hover {
  background: var(--off-white);
  color: var(--orange);
}

/* Mobile dropdown */
.nav-menu .has-dropdown .nav-dropdown {
  display: none;
}

.nav-menu .has-dropdown.open .nav-dropdown {
  display: block;
}

@media (min-width: 960px) {
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
  }

  .nav-menu .has-dropdown:hover .nav-dropdown {
    display: block;
  }
}

/* ===== Step Cards ===== */

.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 28px 80px;
  position: relative;
  border: 1px solid var(--grey-light);
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 24px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.95rem;
}

@media (min-width: 600px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Utility ===== */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
