/* ===== GANGTA CASINO AUSTRALIA — MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --bg:         #0D0D14;
  --bg2:        #13131E;
  --bg3:        #1A1A28;
  --bg4:        #222234;
  --gold:       #D4A017;
  --gold2:      #F0C040;
  --gold-dim:   #8B6914;
  --red:        #C0392B;
  --text:       #E8E8F0;
  --text-muted: #8888A8;
  --text-dim:   #555570;
  --border:     rgba(212,160,23,0.18);
  --border2:    rgba(255,255,255,0.07);
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 30px rgba(0,0,0,0.6);
  --shadow-gold:0 0 24px rgba(212,160,23,0.25);
  --header-h:   72px;
  --transition: 0.25s ease;
  --max-w:      1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold2); }

h1,h2,h3,h4,h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* ===== CONTAINER ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(13,13,20,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  height: 100%; display: flex; align-items: center; gap: 16px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-wrap img { height: 44px; width: auto; object-fit: contain; }
.logo-text { font-family: 'Oswald', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--text); font-size: 0.88rem; font-weight: 500; padding: 8px 14px;
  border-radius: 8px; transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active { background: var(--bg4); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-cta-header {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0D0D14; font-weight: 700; font-size: 0.85rem;
  padding: 10px 20px; border-radius: 40px; white-space: nowrap;
  border: none; cursor: pointer; transition: opacity var(--transition), transform var(--transition);
  font-family: 'Inter', sans-serif; letter-spacing: 0.03em;
}
.btn-cta-header:hover { opacity: 0.88; transform: translateY(-1px); color: #0D0D14; }

/* mobile CTA bar (hidden on desktop) */
.mobile-cta-bar {
  display: none; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2));
  text-align: center; padding: 9px 16px; font-weight: 700; font-size: 0.85rem;
  color: #0D0D14; position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px; border-radius: 6px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ===== MOBILE NAV DRAWER ===== */
.nav-drawer {
  position: fixed; top: 0; right: -100%; width: min(320px, 88vw); height: 100dvh;
  background: var(--bg2); border-left: 1px solid var(--border); z-index: 9999;
  transition: right 0.3s ease; padding: 80px 24px 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
}
.nav-drawer.open { right: 0; }
.nav-drawer a {
  color: var(--text); font-size: 1rem; padding: 12px 16px; border-radius: 10px;
  border: 1px solid transparent; transition: all var(--transition); font-weight: 500;
}
.nav-drawer a:hover { background: var(--bg4); border-color: var(--border); color: var(--gold); }
.nav-drawer .drawer-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0D0D14; font-weight: 700; border-radius: 40px; text-align: center;
  margin-top: 12px; padding: 14px 20px;
}
.drawer-close {
  position: absolute; top: 20px; right: 20px; background: var(--bg4); border: 1px solid var(--border);
  color: var(--text); width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
}
.drawer-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998;
  backdrop-filter: blur(3px);
}
.drawer-overlay.show { display: block; }

/* ===== MAIN CONTENT ===== */
main { padding-top: var(--header-h); }
.main-with-mobilebar { padding-top: calc(var(--header-h) + 40px); }

/* ===== HERO SECTION ===== */
.hero {
  position: relative; overflow: hidden; min-height: 560px;
  display: flex; align-items: center; padding: 80px 0 60px;
}
/* Flex fix: container inside flex hero must be full-width to keep content left-aligned */
.hero > .container { width: 100%; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.35;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,20,0.92) 40%, rgba(212,160,23,0.08) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,160,23,0.15); border: 1px solid var(--border);
  color: var(--gold); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 40px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 18px;
  text-transform: uppercase; white-space: nowrap;
}
.hero h1 span { color: var(--gold); }
.hero-desc { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0D0D14; font-weight: 700; padding: 14px 32px;
  border-radius: 40px; font-size: 1rem; border: none; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  font-family: 'Inter', sans-serif; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); color: #0D0D14; }
.btn-secondary {
  background: transparent; color: var(--text); font-weight: 600; padding: 13px 28px;
  border-radius: 40px; font-size: 0.95rem; border: 1px solid var(--border2);
  cursor: pointer; transition: all var(--transition); font-family: 'Inter', sans-serif;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat strong { display: block; font-size: 1.6rem; font-family: 'Oswald', sans-serif; color: var(--gold); }
.hero-stat span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== SECTION LAYOUTS ===== */
section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.gold-line {
  width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), transparent);
  margin: 12px auto 0; border-radius: 2px;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--border); transform: translateY(-3px); }
.card-gold { border-color: var(--border); box-shadow: var(--shadow-gold); }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border2); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th {
  background: var(--bg3); color: var(--gold); font-family: 'Oswald', sans-serif;
  font-weight: 600; padding: 14px 18px; text-align: left; text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.06em; white-space: nowrap;
}
td { padding: 13px 18px; border-bottom: 1px solid var(--border2); color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
tr:hover td { background: rgba(212,160,23,0.05); }
.td-check { color: #2ecc71; font-size: 1.1rem; }
.td-cross { color: #e74c3c; font-size: 1.1rem; }
.td-badge {
  display: inline-block; background: rgba(212,160,23,0.15); color: var(--gold);
  border-radius: 20px; padding: 2px 10px; font-size: 0.78rem; font-weight: 600;
}

/* ===== RATING STARS ===== */
.stars { color: var(--gold); letter-spacing: 2px; }
.rating-num { font-family: 'Oswald', sans-serif; font-size: 1.1rem; color: var(--gold); }

/* ===== ICON CARDS ===== */
.icon-card { text-align: center; }
.icon-wrap {
  width: 64px; height: 64px; background: rgba(212,160,23,0.1);
  border: 1px solid var(--border); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 16px;
}
.icon-card h3 { font-size: 1rem; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
.icon-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== BONUS CARDS ===== */
.bonus-card {
  background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.bonus-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
}
.bonus-card:hover { border-color: var(--border); transform: translateY(-3px); }
.bonus-amount { font-family: 'Oswald', sans-serif; font-size: 1.8rem; color: var(--gold); margin: 10px 0; }
.bonus-tag {
  display: inline-block; background: rgba(212,160,23,0.15); color: var(--gold);
  border-radius: 20px; padding: 4px 12px; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.bonus-list { list-style: none; margin-top: 14px; }
.bonus-list li { padding: 5px 0; font-size: 0.9rem; color: var(--text-muted); display: flex; gap: 8px; }
.bonus-list li::before { content: '✓'; color: var(--gold); flex-shrink: 0; }

/* ===== GAME CARDS ===== */
.game-card {
  background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius);
  overflow: hidden; transition: all var(--transition);
}
.game-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.game-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg3); }
.game-card-body { padding: 14px 16px; }
.game-card-body h4 { font-size: 0.95rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 4px; }
.game-provider { font-size: 0.78rem; color: var(--text-muted); }

/* ===== PROGRESS BAR ===== */
.progress-wrap { margin-bottom: 14px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 6px; }
.progress-bar { height: 8px; background: var(--bg4); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; font-weight: 700; color: #0D0D14; flex-shrink: 0;
  font-size: 1.1rem;
}
.step-body h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 6px; }
.step-body p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== PROS/CONS ===== */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pro-list, .con-list { background: var(--bg2); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border2); }
.pro-list h4 { color: #2ecc71; margin-bottom: 14px; font-family: 'Oswald', sans-serif; font-size: 1rem; }
.con-list h4 { color: var(--red); margin-bottom: 14px; font-family: 'Oswald', sans-serif; font-size: 1rem; }
.pro-list li, .con-list li { list-style: none; padding: 6px 0; font-size: 0.9rem; color: var(--text-muted); display: flex; gap: 8px; }
.pro-list li::before { content: '✓'; color: #2ecc71; flex-shrink: 0; }
.con-list li::before { content: '✗'; color: var(--red); flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-weight: 600; font-size: 0.95rem;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-icon { color: var(--gold); font-size: 1.2rem; transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; }
.faq-item.open .faq-a { padding: 0 22px 18px; max-height: 400px; }
.faq-a p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== AUTHOR BLOCK ===== */
.author-block {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; margin: 64px 0 0;
}
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--gold); }
.author-meta h4 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.author-meta h4 a { color: var(--gold); }
.author-role { font-size: 0.82rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; font-weight: 600; }
.author-bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border2);
  padding: 60px 0 0; margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: 'Oswald', sans-serif; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border2); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer-legal { font-size: 0.78rem; color: var(--text-dim); line-height: 1.6; padding: 16px 0; border-top: 1px solid var(--border2); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 60px 0 48px; position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,20,0.7) 0%, rgba(13,13,20,1) 100%); }
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-dim); }

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; margin-bottom: 14px; }
.page-hero .hero-desc { font-size: 1rem; color: var(--text-muted); max-width: 640px; }


/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: rgba(212,160,23,0.07); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
}
.highlight-box p { font-size: 0.95rem; }

/* ===== ARTICLE TEXT ===== */
.article-body { overflow: hidden; }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 16px; text-transform: uppercase; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 12px; color: var(--gold); font-family: 'Inter', sans-serif; font-weight: 700; }
.article-body p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.97rem; }
.article-body ul, .article-body ol { color: var(--text-muted); padding-left: 20px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; font-size: 0.95rem; }

/* ===== SCORE BADGE ===== */
.score-badge {
  width: 80px; height: 80px; background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 50%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: #0D0D14;
}
.score-badge .score-num { font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.score-badge .score-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== PAYMENT ICONS ===== */
.payment-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.payment-chip {
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 10px;
  padding: 10px 18px; font-size: 0.85rem; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .mobile-cta-bar { display: block; }
  main { padding-top: var(--header-h); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 480px; padding: 60px 0 40px; }
  .author-block { flex-direction: column; }
  section { padding: 52px 0; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}


/* ── Charts ──────────────────────────────────────────────── */
canvas { max-width: 100%; }
@media (max-width: 768px) {
  .container canvas { max-height: 260px; }
}
