/* ============================================
   96M Casino Malaysia — Neon Casino Royale
   White / Blue / Orange
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

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

:root {
  --white: #ffffff;
  --blue: #1a3d7c;
  --blue-deep: #0d1f3c;
  --blue-mid: #15325a;
  --blue-electric: #4a7fff;
  --blue-glow: rgba(74,127,255,.3);
  --orange: #f7931e;
  --orange-hot: #ff6b00;
  --orange-neon: #ffaa00;
  --orange-glow: rgba(247,147,30,.4);
  --orange-soft: rgba(247,147,30,.08);
  --felt-green: #0d6b3e;
  --felt-green-light: rgba(13,107,62,.06);
  --gray-50: #fafafa;
  --gray-100: #f2f2f2;
  --gray-200: #e4e4e4;
  --gray-400: #666666;
  --gray-600: #333333;
  --gray-800: #1a1a1a;
  --black: #0a0a0a;
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1180px;
}

@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: .7; }
  94% { opacity: 1; }
  96% { opacity: .8; }
  97% { opacity: 1; }
}

@keyframes chipSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: all .2s; }
a:hover { color: var(--orange); }
ul, ol { padding-left: 1.3em; }

/* ============================
   HEADER
   ============================ */
.site-header {
  background: var(--blue-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 40px rgba(0,0,0,.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--orange-glow));
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--white); margin: 6px 0;
  border-radius: 1px; transition: .3s;
}

.nav-menu { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-menu a {
  display: block; padding: 10px 18px;
  font-weight: 600; color: rgba(255,255,255,.75); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .05em;
  transition: all .2s; position: relative;
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a.active { color: var(--orange); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 11px 28px !important;
  border-radius: 8px !important;
  box-shadow: 0 0 24px var(--orange-glow), 0 0 60px rgba(247,147,30,.15);
  animation: neonFlicker 5s ease-in-out infinite;
}
.nav-cta:hover {
  background: var(--orange-hot) !important;
  box-shadow: 0 0 32px var(--orange-glow), 0 0 80px rgba(247,147,30,.2) !important;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  background: var(--blue-deep);
  color: var(--white);
  padding: 0;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Green felt texture strip */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg,
    var(--felt-green) 0%, #0a5e35 20%,
    var(--felt-green) 40%, #0a5e35 60%,
    var(--felt-green) 80%, #0a5e35 100%
  );
  z-index: 3;
}

/* Ambient glow circles */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 350px at 15% 60%, rgba(74,127,255,.12) 0%, transparent 100%),
    radial-gradient(circle 400px at 80% 30%, rgba(247,147,30,.1) 0%, transparent 100%),
    radial-gradient(circle 250px at 50% 80%, rgba(13,107,62,.08) 0%, transparent 100%);
  pointer-events: none;
}

.hero .container {
  position: relative; z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 36px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 4.2rem;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
  text-shadow: 0 0 40px var(--orange-glow), 0 0 80px rgba(247,147,30,.15);
  animation: neonFlicker 6s ease-in-out infinite;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 36px;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  max-width: 500px;
}

.hero .btn { margin-right: 12px; margin-bottom: 12px; }

/* Casino chips decoration (right side) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  transition: all .3s;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-orange:hover {
  background: var(--orange-hot);
  box-shadow: 0 8px 36px rgba(247,147,30,.5);
  transform: translateY(-3px);
  color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px var(--blue-glow);
}
.btn-blue:hover {
  background: var(--blue-electric);
  box-shadow: 0 8px 36px rgba(74,127,255,.4);
  transform: translateY(-3px);
  color: var(--white);
}

.btn-outline {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(247,147,30,.08);
}

/* ============================
   SECTIONS
   ============================ */
.section { padding: 88px 36px; }

.section-alt {
  background:
    linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}

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

.section-subtitle {
  color: var(--gray-600);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: .95rem;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ============================
   CARDS — Casino chip inspired
   ============================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gray-100);
}

/* Colored top edge */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transition: background .3s;
}

.card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.08), 0 0 0 1px var(--orange);
}

.card:hover::before { background: var(--orange); }

.card h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--blue-deep);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.card p { color: var(--gray-800); font-size: .9rem; line-height: 1.7; }

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-deep);
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow:
    0 0 0 3px var(--white),
    0 0 0 5px var(--blue),
    0 0 0 8px var(--white),
    0 0 0 10px var(--blue-deep);
  /* Casino chip look */
}

/* ============================
   TABLE — Felt green header
   ============================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: .9rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.info-table th, .info-table td {
  padding: 15px 20px;
  text-align: left;
}

.info-table th {
  background: var(--felt-green);
  color: var(--white);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.info-table td {
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}

.info-table tr:nth-child(even) td { background: var(--gray-50); }
.info-table tr:hover td { background: var(--orange-soft); }
.info-table tr:last-child td { border-bottom: none; }

/* ============================
   CONTENT PAGES
   ============================ */
.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 36px;
}

.page-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 3.2rem;
  color: var(--blue-deep);
  margin-bottom: 32px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  position: relative;
  padding-bottom: 24px;
}

.page-content h1::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  box-shadow: 0 0 16px var(--orange-glow);
}

.page-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  color: var(--blue-deep);
  margin: 48px 0 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-content h2::before {
  content: '';
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--orange);
  /* mini casino chip */
}

.page-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin: 28px 0 10px;
  font-weight: 700;
}

.page-content p { margin-bottom: 18px; color: var(--gray-800); }
.page-content ul, .page-content ol { margin-bottom: 18px; }
.page-content li { margin-bottom: 8px; color: var(--gray-800); }
.page-content li strong { color: var(--black); }

/* ============================
   HIGHLIGHT BOX — VIP lounge
   ============================ */
.highlight-box {
  background: var(--blue-deep);
  padding: 32px 36px;
  border-radius: var(--radius);
  margin: 36px 0;
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--orange);
}

/* Ambient light */
.highlight-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
}

.highlight-box::after {
  content: '\2666';
  position: absolute;
  bottom: 12px; right: 20px;
  font-size: 3rem;
  color: rgba(255,255,255,.03);
}

.highlight-box,
.highlight-box p,
.highlight-box h3,
.highlight-box h4,
.highlight-box li,
.highlight-box span,
.highlight-box a,
.highlight-box ul,
.highlight-box ol { color: #ffffff !important; position: relative; z-index: 1; }
.highlight-box ul, .highlight-box ol { margin-bottom: 0; }
.highlight-box strong { color: var(--orange) !important; }

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: var(--blue-deep);
  color: var(--white);
  text-align: center;
  padding: 72px 36px;
  border-radius: var(--radius-lg);
  margin: 56px 0;
  position: relative;
  overflow: hidden;
}

/* Neon border glow */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background: linear-gradient(var(--blue-deep), var(--blue-deep)) padding-box,
              linear-gradient(135deg, var(--orange), var(--blue-electric), var(--orange)) border-box;
  pointer-events: none;
}

/* Spotlight */
.cta-banner::after {
  content: '';
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(247,147,30,.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  margin-bottom: 14px;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: .04em;
  position: relative; z-index: 1;
  text-transform: uppercase;
}

.cta-banner h2::before, .cta-banner h2::after { display: none; }

.cta-banner p { margin-bottom: 32px; color: rgba(255,255,255,.8); position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ============================
   BLOG
   ============================ */
.blog-list { list-style: none; padding: 0; counter-reset: blog-count; }
.blog-item {
  padding: 32px;
  margin-bottom: 16px;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  counter-increment: blog-count;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: all .25s;
}

.blog-item:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

.blog-item::before {
  content: counter(blog-count, decimal-leading-zero);
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1;
  flex-shrink: 0;
  opacity: .1;
}
.blog-item:last-child { border-bottom: 2px solid var(--gray-100); }
.blog-item:last-child:hover { border-color: var(--orange); }

.blog-item h3 {
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-transform: none;
}
.blog-item h3 a { color: var(--blue-deep); }
.blog-item h3 a:hover { color: var(--orange); }
.blog-meta {
  font-size: .72rem;
  color: var(--gray-600);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}
.blog-item p { color: var(--gray-800); font-size: .88rem; }

/* ============================
   FAQ
   ============================ */
.faq-item {
  margin-bottom: 12px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--gray-100);
  transition: all .25s;
}

.faq-item:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(26,61,124,.06);
}

.faq-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  color: var(--blue-deep);
  margin: 0 0 10px 0;
  font-weight: 700;
  text-transform: none;
}
.faq-item p { color: var(--gray-800); margin-bottom: 0; font-size: .9rem; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.8);
  padding: 72px 36px 28px;
  position: relative;
  overflow: hidden;
}

/* Green felt accent strip on top */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--felt-green) 0%, var(--orange) 25%,
    var(--felt-green) 50%, var(--orange) 75%,
    var(--felt-green) 100%
  );
}

.site-footer::after {
  content: '♠ ♦ ♣ ♥';
  position: absolute;
  bottom: 60px; right: -20px;
  font-size: 140px;
  color: rgba(255,255,255,.01);
  letter-spacing: 10px;
  pointer-events: none;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
}

.footer-col h4 {
  color: var(--orange);
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  transition: all .2s;
  font-weight: 500;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================
   STARS / PROS / CONS
   ============================ */
.stars {
  color: var(--orange);
  font-size: 1.15rem;
  letter-spacing: 3px;
  text-shadow: 0 0 10px var(--orange-glow);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.pros, .cons {
  padding: 28px;
  border-radius: var(--radius);
  border: 2px solid;
}

.pros { background: #f0fdf4; border-color: #86efac; }
.cons { background: #fef2f2; border-color: #fca5a5; }

.pros h4, .cons h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.pros h4 { color: #16a34a; }
.cons h4 { color: #dc2626; }

/* ============================
   UTILITY
   ============================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--blue-deep);
    flex-direction: column;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,.05);
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
  }

  .nav-menu.open { display: flex; }

  .nav-menu a {
    padding: 14px 28px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.03);
  }

  .hero { min-height: auto; }
  .hero .container {
    grid-template-columns: 1fr;
    padding: 56px 24px;
    gap: 24px;
  }
  .hero h1 { font-size: 2.6rem; }
  .hero p { font-size: .92rem; }

  .section { padding: 56px 20px; }
  .section-title { font-size: 2rem; }

  .page-content { padding: 44px 20px; }
  .page-content h1 { font-size: 2.4rem; }
  .page-content h2 { font-size: 1.4rem; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .info-table { font-size: .82rem; }
  .info-table th, .info-table td { padding: 11px 14px; }

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

  .cta-banner { padding: 48px 20px; border-radius: var(--radius); }

  .blog-item { padding: 24px; gap: 20px; }
  .blog-item::before { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .page-content h1 { font-size: 2rem; }
  .btn { padding: 13px 28px; font-size: .8rem; }
  .blog-item { flex-direction: column; gap: 8px; }
}
