@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* --- SAKURA SOFT PINK DESIGN SYSTEM --- */
  --bg-main: #fdf4f7;
  --bg-secondary: #fff8fa;
  --bg-card: #ffffff;
  --bg-card-hover: #fff0f5;
  
  /* Pink Palette */
  --pink-primary: #d87093;
  --pink-hover: #e57399;
  --pink-soft-bg: #fff0f5;
  --pink-border: #ffd6e0;
  
  /* Text colors */
  --text-dark: #2d142d;
  --text-muted: #5e3a5e;
  --text-subtle: #8a6d88;
  
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Clean neutral non-glowing shadows */
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-pink: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessible focus ring for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--pink-primary) !important;
  outline-offset: 2px !important;
}

img, svg, canvas, video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pink-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
  min-height: 44px;
}

/* --- SVG GRAPHIC ICON HELPERS --- */
.svg-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-sm {
  width: 12px;
  height: 12px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-lg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.svg-icon-xl {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* --- TOP NOTICE BAR --- */
.top-notice-bar {
  background: #ffd6e0;
  border-bottom: 1px solid var(--pink-border);
  color: var(--text-dark);
  font-size: 0.8rem;
  padding: 8px 16px;
  text-align: center;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  word-break: break-word;
}

.top-notice-bar strong {
  color: #ffffff;
  background: var(--pink-primary);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* --- HEADER --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--pink-border);
  padding: 12px 0;
  width: 100%;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-subtle);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-body);
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-capsule {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--pink-border);
  padding: 4px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  gap: 2px;
}

.nav-capsule a {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-capsule a:hover,
.nav-capsule a.active {
  background: var(--pink-soft-bg);
  color: var(--pink-primary);
}

.user-balance-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--pink-border);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--pink-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  white-space: nowrap;
}

.user-balance-badge .coin-icon {
  width: 18px;
  height: 18px;
  background: var(--pink-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

.btn-play-free-pill {
  background: var(--pink-primary);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pink);
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.btn-play-free-pill:hover {
  background: var(--pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 1.6rem;
  padding: 4px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 200;
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pink-border);
}

.drawer-close-btn {
  background: none;
  color: var(--text-dark);
  font-size: 2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.mobile-nav-links a {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-dark);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--pink-border);
}

.btn-w-full {
  width: 100%;
}

/* --- HERO SECTION --- */
.hero-wrapper-bg {
  position: relative;
  background: #fff8fa;
  border-bottom: 1px solid var(--pink-border);
  width: 100%;
}

.hero-section {
  position: relative;
  padding: 60px 20px 50px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--pink-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--pink-primary);
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  max-width: 100%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  word-break: break-word;
}

.hero-title span.glow {
  color: var(--pink-primary);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-pink {
  background: var(--pink-primary);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pink);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
}

.btn-pink:hover {
  background: var(--pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
}

.btn-outline:hover {
  background: var(--pink-soft-bg);
  border-color: var(--pink-primary);
  color: var(--pink-primary);
}

.btn-sm-outline {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.hero-stats {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--pink-border);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  min-width: 90px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  color: var(--pink-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-card-preview {
  background: #ffffff;
  border: 2px solid var(--pink-border);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.hero-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pink-border);
  gap: 8px;
}

.live-hub-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.jackpot-pill {
  background: var(--pink-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.hero-card-display-box {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--pink-border);
  position: relative;
}

.hero-card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.hero-overlay-dark {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(45, 20, 45, 0.92);
  padding: 22px 18px 14px;
  color: #ffffff;
  text-align: left;
}

.hero-card-title-showcase {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.hero-card-sub-showcase {
  font-size: 0.8rem;
  color: #ffd6e0;
  margin: 0;
}

.hero-chips-wrap {
  margin-top: 16px;
}

.hero-card-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.chip-item {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.chip-item.active {
  background: var(--pink-primary);
  color: #ffffff;
  border-color: var(--pink-primary);
}

.hero-card-action-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 1rem;
}

.hero-card-subtext {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* --- SECTION HEADINGS --- */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 20px;
  width: 100%;
}

.section-bordered-white {
  background: #ffffff;
  border-top: 1px solid var(--pink-border);
  border-bottom: 1px solid var(--pink-border);
}

.section-no-top-padding {
  padding-top: 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
  width: 100%;
}

/* Integrated Section Header Styling without eyebrow labels */
.section-tag {
  color: var(--pink-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-dark);
  word-break: break-word;
}

.section-desc {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
}

/* --- GAMES GRID WITH GRAPHIC THUMBNAILS --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.game-thumb {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pink-soft-bg);
  width: 100%;
}

.game-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-thumb-img {
  transform: scale(1.08);
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffffff;
  border: 1px solid var(--pink-border);
  color: var(--pink-primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.game-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.game-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--pink-soft-bg);
  gap: 8px;
}

.game-type {
  font-size: 0.75rem;
  color: var(--pink-primary);
  font-weight: 800;
}

/* --- GAME BREAKDOWN CARDS (GAMES LOBBY) --- */
.game-breakdown-card {
  background: var(--pink-soft-bg);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .game-breakdown-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
    border-radius: 20px;
  }
}

/* --- CONTACT PAGE RESPONSIVE GRID LAYOUT --- */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
  width: 100%;
}

.contact-form-box {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .contact-form-box {
    padding: 24px 18px;
    border-radius: 20px;
  }
}

.contact-card-item {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.form-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label-bold {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.form-input-styled, .form-select-styled, .form-textarea-styled {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
  background: #ffffff;
  color: var(--text-dark);
}

/* --- REDESIGNED ENTERTAINMENT LAYOUT --- */
.entertainment-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.entertainment-main-card {
  background: #fff8fa;
  border: 2px solid var(--pink-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.entertainment-main-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--pink-border);
  color: var(--pink-primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.entertainment-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.entertainment-main-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.entertainment-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.entertainment-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.check-icon-badge {
  width: 22px;
  height: 22px;
  background: var(--pink-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.entertainment-pills-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.feature-pill-card {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.feature-pill-card:hover {
  border-color: var(--pink-primary);
  transform: translateX(4px);
  background: var(--pink-soft-bg);
}

.feature-pill-icon {
  width: 46px;
  height: 46px;
  background: var(--pink-soft-bg);
  border: 1px solid var(--pink-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  flex-shrink: 0;
}

.feature-pill-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.feature-pill-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* --- STANDALONE SOCIAL CASINO SECTION RESPONSIVE GRID --- */
.social-casino-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.social-casino-left-card {
  background: #fff8fa;
  border: 2px solid var(--pink-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  width: 100%;
  box-sizing: border-box;
}

.tag-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--pink-border);
  color: var(--pink-primary);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.heading-section-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.text-section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.check-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-row-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.check-circle-icon {
  width: 20px;
  height: 20px;
  background: var(--pink-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.column-cards-vertical {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.card-white-bordered {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  width: 100%;
  box-sizing: border-box;
}

.card-heading-pink {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink-primary);
  margin-bottom: 6px;
}

.text-card-muted {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- ASYMMETRIC / 2-COLUMN FEATURE SHOWCASE (REPLACES 3-COLUMN GRID) --- */
.feature-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
}

.feature-card-lg {
  background: var(--bg-card);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.feature-card-lg:hover {
  transform: translateY(-4px);
  border-color: var(--pink-primary);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background: var(--pink-soft-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
}

.feature-title-dark {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* --- CA RESPONSIBLE BANNER --- */
.ca-responsible-banner {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-card);
  margin-top: 32px;
  width: 100%;
}

.rg-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--pink-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rg-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 800px;
}

/* --- FAQ ACCORDION --- */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.faq-question {
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  color: var(--text-dark);
  gap: 12px;
}

.faq-question:hover {
  color: var(--pink-primary);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: none;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open {
  border-color: var(--pink-primary);
  background: var(--pink-soft-bg);
}

/* --- FOOTER --- */
footer {
  background: #250f25;
  color: #ffffff;
  border-top: 1px solid var(--pink-primary);
  padding: 50px 20px 28px;
  margin-top: auto;
  width: 100%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 32px;
  width: 100%;
}

.footer-brand p {
  color: #d8c2da;
  font-size: 0.85rem;
  margin-top: 12px;
  max-width: 360px;
}

.brand-logo-white {
  color: #ffffff;
}

.brand-title-white {
  color: #ffffff;
}

.brand-sub-light {
  color: #d8c2da;
}

.footer-col h2,
.footer-col h3,
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  color: #d8c2da;
  font-size: 0.85rem;
}

.footer-col ul a:hover {
  color: var(--pink-primary);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 112, 147, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.78rem;
  color: #d8c2da;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #d8c2da;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-19plus {
  background: var(--pink-primary);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* --- GAME PLAYER STYLES WITH CLEAR VISIBLE BG --- */
.game-player-wrapper {
  max-width: 1100px;
  margin: 16px auto 40px;
  padding: 0 16px;
  width: 100%;
}

.game-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.game-player-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}

/* Enhanced Game Arena Container without blur or gradients */
.game-canvas-container {
  background: #fff8fa;
  border: 2px solid var(--pink-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px 16px;
  width: 100%;
}

#gameViewport {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#gameViewport > div {
  background: #ffffff;
  padding: 20px 16px;
  border-radius: 20px;
  border: 2px solid var(--pink-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
}

/* --- MODAL POPUPS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 15, 37, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--pink-soft-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- ACCESSIBILITY CONTROL WIDGET & SPECIAL FEATURES STYLES --- */
.a11y-widget-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: var(--pink-primary);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.a11y-widget-toggle:hover {
  transform: scale(1.1);
  background: var(--pink-hover);
}

.a11y-widget-menu {
  position: fixed;
  bottom: 84px;
  left: 24px;
  z-index: 1000;
  background: #ffffff;
  border: 2px solid var(--pink-border);
  border-radius: 20px;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.a11y-widget-menu.active {
  display: flex;
}

.a11y-menu-header {
  background: var(--pink-soft-bg);
  border-bottom: 1px solid var(--pink-border);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a11y-menu-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}

.a11y-close-btn {
  background: transparent;
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 800;
  min-height: auto;
  padding: 4px;
}

.a11y-menu-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.a11y-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  display: block;
}

.a11y-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.a11y-btn {
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: 10px;
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  min-height: 36px;
}

.a11y-btn.active {
  background: var(--pink-primary);
  color: #ffffff;
  border-color: var(--pink-primary);
}

.a11y-btn-block {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--pink-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  min-height: 40px;
}

.a11y-reset-btn {
  width: 100%;
  background: var(--pink-soft-bg);
  border: 1px solid var(--pink-border);
  color: var(--pink-primary);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 4px;
  min-height: 40px;
}

/* Accessibility State Overrides */
html.a11y-font-large {
  font-size: 18px;
}

html.a11y-font-xlarge {
  font-size: 20px;
}

html.a11y-high-contrast body {
  background-color: #000000 !important;
  color: #ffff00 !important;
}

html.a11y-high-contrast div,
html.a11y-high-contrast section,
html.a11y-high-contrast header,
html.a11y-high-contrast footer,
html.a11y-high-contrast article,
html.a11y-high-contrast aside,
html.a11y-high-contrast nav,
html.a11y-high-contrast .game-card,
html.a11y-high-contrast .entertainment-main-card,
html.a11y-high-contrast .feature-pill-card {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #ffff00 !important;
}

html.a11y-high-contrast a,
html.a11y-high-contrast h1,
html.a11y-high-contrast h2,
html.a11y-high-contrast h3,
html.a11y-high-contrast h4 {
  color: #ffff00 !important;
}

html.a11y-highlight-links a {
  outline: 3px solid #ffea00 !important;
  background: #000000 !important;
  color: #ffea00 !important;
  padding: 2px 4px !important;
  border-radius: 4px !important;
}

html.a11y-stop-anim *,
html.a11y-stop-anim *::before,
html.a11y-stop-anim *::after {
  animation: none !important;
  transition: none !important;
}

/* --- BULLETPROOF RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .nav-capsule {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 30px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .entertainment-layout {
    grid-template-columns: 1fr;
  }
  .social-casino-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-grid-2col {
    grid-template-columns: 1fr;
  }
  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ca-responsible-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .section-container {
    padding: 40px 16px;
  }
}

@media (max-width: 768px) {
  .nav-links, .user-balance-badge, .btn-play-free-pill {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .game-player-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .top-notice-bar {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
  .brand-logo img {
    width: 34px;
    height: 34px;
  }
  .brand-sub {
    font-size: 0.58rem;
  }
  .hero-section {
    padding: 24px 12px 30px;
  }
  .hero-card-preview {
    padding: 16px;
    border-radius: 20px;
  }
  .entertainment-main-card {
    padding: 20px;
  }
  .social-casino-left-card {
    padding: 20px;
    border-radius: 20px;
  }
  .contact-form-box {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .feature-pill-card {
    padding: 16px;
    flex-direction: column;
    text-align: center;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .a11y-widget-menu {
    left: 12px;
    right: 12px;
    width: auto;
  }
}

/* --- GAME ENGINE WIDGET CLASSES --- */
.game-widget-wrap {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.game-stats-bar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: var(--pink-soft-bg);
  border: 1px solid var(--pink-border);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
}

.game-text-pink {
  color: var(--pink-primary);
}

.game-grid-5x5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 100%;
  aspect-ratio: 1/1;
}

.game-grid-6x6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
}

.game-controls-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.game-control-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.game-control-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.game-btn-flex {
  flex: 1;
}

.game-tile-btn {
  border-radius: var(--radius-sm);
  border: 2px solid var(--pink-border);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  outline: none;
  font-size: 1.5rem;
}

