﻿/* Indo e-gaming \u2014 deep navy, gold accents, casino felt */
:root {
  --bg-page: #070F1A;
  --bg-section: #0B1524;
  --bg-card: #122033;
  --bg-elevated: #182A42;
  --bg-footer: #050A12;
  --bg-header: #060D18;
  --border: #243B58;
  --border-subtle: #1C3048;
  --text-heading: #F3E6C8;
  --text-body: #A8B8CC;
  --text-muted: #6E8299;
  --accent: #F0B429;
  --accent-deep: #D49A0F;
  --accent-green: #22C55E;
  --accent-gold: #F5C542;
  --accent-ink: #070F1A;
  --accent-coral: #E11D48;
  --grad-dl: linear-gradient(135deg, #16A34A, #22C55E);
  --grad-login: linear-gradient(135deg, #0B1524, #1A3A5C);
  --grad-reg: linear-gradient(135deg, #B91C1C, #E11D48);
  --shadow-card: 0 1px 0 rgba(240, 180, 41, 0.06), 0 14px 36px rgba(0, 0, 0, 0.45);
  --shadow-cta: 0 8px 22px rgba(34, 197, 94, 0.32);
  --shadow-glow: 0 0 40px rgba(240, 180, 41, 0.12);
  --font-display: "Poppins", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", "Poppins", sans-serif;
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-meta: 13px;
  --fs-nav: 14px;
  --fs-btn: 14px;
  --fs-cta: 16px;
  --fs-lead: 16px;
  --fs-h2: 22px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text-heading);
  line-height: 1.7;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 560px at 10% -10%, rgba(240, 180, 41, 0.16), transparent 55%),
    radial-gradient(900px 520px at 100% 0%, rgba(34, 197, 94, 0.10), transparent 50%),
    radial-gradient(800px 480px at 50% 100%, rgba(225, 29, 72, 0.08), transparent 55%),
    linear-gradient(180deg, #0B1524 0%, var(--bg-page) 45%, #050A12 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: 64px;
}

body.fx-layout {
  padding-top: 0;
}

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

a {
  color: inherit;
}

header,
body > header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

body > header {
  z-index: 500;
}

.sm6afe-hw {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
  gap: 12px;
}

.sm6afe-hw > a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  min-width: 0;
}

.sm6afe-hw > a img {
  height: 40px;
  width: 40px;
  max-height: 40px;
  max-width: 40px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.sm6afe-hw > a span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent);
}

#nav {
  display: none;
}

#nav a {
  text-decoration: none;
  color: var(--text-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: var(--fs-nav);
}

#nav a:hover,
#nav a[aria-current="page"] {
  color: var(--accent);
}

#mbt {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

#mbt span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

#mbt.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#mbt.active span:nth-child(2) {
  opacity: 0;
}

#mbt.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sm6afe-hw-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sm6afe-hw-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sm6afe-hw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: var(--fs-btn);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.sm6afe-hw-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.sm6afe-hw-btn-login {
  color: #F5C542 !important;
  background: rgba(240, 180, 41, 0.08);
  border: 1.5px solid rgba(245, 197, 66, 0.85);
  box-shadow: 0 0 0 1px rgba(240, 180, 41, 0.12), 0 0 18px rgba(240, 180, 41, 0.18);
}

.sm6afe-hw-btn-login:hover {
  background: rgba(240, 180, 41, 0.16);
  border-color: #F5C542;
  box-shadow: 0 0 0 1px rgba(245, 197, 66, 0.25), 0 0 24px rgba(240, 180, 41, 0.35);
}

.sm6afe-hw-btn-reg {
  color: #1A1200 !important;
  background: linear-gradient(135deg, #FFE08A 0%, #F0B429 42%, #E09A10 100%);
  border: 1.5px solid #FFD56A;
  box-shadow: 0 6px 18px rgba(240, 180, 41, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.sm6afe-hw-btn-reg:hover {
  background: linear-gradient(135deg, #FFE9A8 0%, #F5C542 45%, #F0B429 100%);
  box-shadow: 0 8px 22px rgba(240, 180, 41, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.sm6afe-cta-dl,
.sm6afe-cta-login,
.sm6afe-cta-reg {
  display: block;
  padding: 17px 26px;
  color: #fff !important;
  font-size: var(--fs-cta);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform 0.2s, filter 0.2s;
  box-shadow: var(--shadow-cta);
  font-family: var(--font-body);
}

.sm6afe-cta-dl:hover,
.sm6afe-cta-login:hover,
.sm6afe-cta-reg:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.sm6afe-cta-dl {
  background: var(--grad-dl);
}

.sm6afe-cta-login {
  background: var(--grad-login);
  box-shadow: 0 8px 20px rgba(26, 58, 92, 0.35);
}

.sm6afe-cta-reg {
  background: var(--grad-reg);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.32);
}

.sm6afe-cta-link {
  display: block;
  padding: 12px 24px;
  color: var(--accent) !important;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

main {
  max-width: 768px;
  margin: 0 auto;
}

body.fx-layout main {
  max-width: none !important;
  margin: 0;
  padding: 0;
}

body.fx-layout main > section,
body.fx-layout main > article,
body.fx-layout main > aside {
  max-width: none;
}

main > section,
main > article,
main > aside {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
}

section[data-s="hero"] {
  text-align: center;
}

.sm6afe-hero-tagline {
  font-family: var(--font-display);
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
}

section[data-s="featured"] {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 32px 16px 40px;
  text-align: center;
  background: transparent;
}

body.fx-layout section[data-s="featured"] {
  max-width: var(--fx-max, 1120px);
  width: 100%;
  margin: 0 auto 28px;
  padding: 28px var(--fx-gutter, 24px) 36px;
  text-align: left;
}

section[data-s="featured"] h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  margin: 0 0 8px;
  color: var(--text-heading);
  font-weight: 800;
}

.sm6afe-ball-sub,
.sm6afe-section-sub {
  font-size: var(--fs-lead);
  color: var(--text-body);
  margin: 0 auto 18px;
  max-width: 560px;
  line-height: 1.7;
}

footer {
  padding: 36px 20px 48px;
  text-align: center;
  color: rgba(244, 248, 249, 0.72);
  border-top: none;
  background:
    linear-gradient(180deg, #0E1A2C 0%, var(--bg-footer) 100%);
  margin-top: 24px;
}

footer a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-age {
  margin-top: 10px;
  font-size: var(--fs-meta);
  opacity: 0.8;
}

@media (min-width: 768px) {
  body {
    padding-top: 68px;
  }

  .sm6afe-hw {
    height: 68px;
    padding: 0 24px;
  }

  #nav {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  #nav a {
    border: 0;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
  }

  #nav a:hover,
  #nav a[aria-current="page"] {
    background: rgba(240, 180, 41, 0.14);
  }

  #mbt {
    display: none;
  }
}