/* Maple Cabin Trail - Core Style System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors - Northern Forest Theme */
  --primary: #D97706; /* Hearthside Amber */
  --primary-rgb: 217, 119, 6;
  --primary-hover: #B45309;
  --secondary: #2D5A27; /* Deep Boreal Green */
  --secondary-rgb: 30, 70, 47;
  --secondary-hover: #1E3F20;
  --accent: #E65100; /* Flame Orange */
  --accent-rgb: 224, 90, 23;
  
  --dark-bg: #0D160E; /* Midnight Forest */
  --dark-bg-rgb: 9, 16, 11;
  --card-bg: #182519; /* Cozy Log Cabin Green */
  --card-bg-rgb: 17, 31, 21;
  --border-color: rgba(217, 119, 6, 0.15);
  
  --text-main: #F4F7F5; /* Snowy Mint/White */
  --text-muted: #A3B8A4; /* Muted Sage */
  --white: #ffffff;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  
  /* Font Family */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base Styles & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: var(--radius-sm);
  border: 2px solid var(--dark-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

button, .btn {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
}

/* Button Variants */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 0.8rem 1.8rem;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(30, 70, 47, 0.2);
  border: 1px solid var(--secondary);
  color: var(--text-main);
  padding: 0.8rem 1.8rem;
}
.btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.8rem 1.8rem;
}
.btn-accent:hover {
  background: rgba(217, 119, 6, 0.1);
  transform: translateY(-2px);
}

/* Utility Layouts */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 16, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__logo-icon {
  font-size: 1.8rem;
  -webkit-text-fill-color: initial;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.header__menu-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}
.header__menu-link:hover, .header__menu-link.active {
  color: var(--text-main);
}
.header__menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}
.header__menu-link:hover::after, .header__menu-link.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.currency-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.currency-badge__icon {
  animation: spin-pulse 3s infinite linear;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* Age verification overlay and cookies consent style */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 16, 11, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity var(--transition-normal);
}

.age-modal {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 550px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.age-modal::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(217,119,6,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.age-modal__icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  display: inline-block;
  animation: bounce 2s infinite ease-in-out;
}

.age-modal__title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.age-modal__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.age-modal__checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 2rem;
  background: rgba(217, 119, 6, 0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 119, 6, 0.1);
}

.age-modal__checkbox {
  margin-top: 0.25rem;
  accent-color: var(--primary);
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

.age-modal__checkbox-label {
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.age-modal__checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.age-modal__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-modal__actions button {
  flex: 1;
}

.age-modal__btn-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #25332a;
  box-shadow: none;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 400px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  z-index: 900;
  transform: translateY(150px);
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.cookie-banner__text a {
  color: var(--primary);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.cookie-banner__btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 16, 11, 0.4) 0%, rgba(9, 16, 11, 0.95) 100%),
              url('https://images.unsplash.com/photo-1548625361-155deee2591a?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
  padding: 10rem 0 6rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--dark-bg), transparent);
  pointer-events: none;
}

.hero__content {
  max-width: 650px;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 70, 47, 0.3);
  border: 1px solid var(--secondary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__badge-icon {
  color: var(--primary);
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Games Section */
.games-section {
  background: var(--dark-bg);
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-headings);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-main);
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}
.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--secondary), var(--primary));
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: var(--shadow-lg);
}
.game-card:hover::before {
  opacity: 1;
}

.game-card__image-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.game-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.game-card:hover .game-card__image {
  transform: scale(1.08);
}

.game-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(9, 16, 11, 0.85);
  backdrop-filter: blur(5px);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.game-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.game-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.game-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(217, 119, 6, 0.1);
  padding-top: 1.2rem;
}

.game-card__difficulty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.game-card__diff-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.game-card__diff-dot.easy { background-color: #10B981; }
.game-card__diff-dot.medium { background-color: #F59E0B; }
.game-card__diff-dot.hard { background-color: #EF4444; }

.game-card__play-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

/* Advantages Section */
.advantages-section {
  background: rgba(17, 31, 21, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.advantage-card {
  background: var(--card-bg);
  border: 1px solid rgba(217, 119, 6, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}
.advantage-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.advantage-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(217, 119, 6, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  font-size: 1.8rem;
}

.advantage-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.advantage-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Info Pages General Layout */
.page-hero {
  background: linear-gradient(180deg, rgba(9, 16, 11, 0.5) 0%, rgba(9, 16, 11, 0.98) 100%),
              url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?q=80&w=2041&auto=format&fit=crop') no-repeat center center/cover;
  padding: 8rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-hero__title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 5rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.rich-text {
  font-size: 1.05rem;
  line-height: 1.75;
}

.rich-text h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--primary);
}

.rich-text h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.8rem;
  color: var(--text-main);
}

.rich-text p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.rich-text ul, .rich-text ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.rich-text li {
  margin-bottom: 0.5rem;
}

.rich-text blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(217, 119, 6, 0.05);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  border: none;
}

.faq-question__icon {
  transition: transform var(--transition-normal);
  color: var(--primary);
}

.faq-item.active .faq-question__icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 1.5rem;
}

.faq-answer__content {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Games Interfaces Styles */
.game-container {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

/* Slot Game Specific CSS */
.slots {
  text-align: center;
}

.slots-machine {
  background: #0d1a12;
  border: 6px solid #1c3325;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 500px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8), var(--shadow-md);
}

.slots-screen {
  display: flex;
  gap: 1rem;
  background: #050b07;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 2px solid var(--border-color);
  height: 150px;
  overflow: hidden;
}

.slots-reel {
  flex: 1;
  background: linear-gradient(to bottom, #111f15, #080f0a, #111f15);
  border-radius: var(--radius-sm);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 3.5rem;
  overflow: hidden;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  transition: top 0s linear;
}

.reel-symbol {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.slots-controls {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.slots-bet {
  background: rgba(9, 16, 11, 0.6);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slots-bet-btn {
  background: var(--secondary);
  color: var(--white);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.slots-bet-btn:hover {
  background: var(--primary);
}

.slots-bet-val {
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 40px;
}

.slots-spin-btn {
  font-size: 1.1rem;
  padding: 0.9rem 2.5rem;
}

.slots-paytable {
  margin-top: 3rem;
  background: rgba(9, 16, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.slots-paytable__title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.slots-paytable__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.paytable-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.paytable-item__symbol {
  font-size: 2rem;
}

.paytable-item__val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Blackjack Game Styles */
.bj-table {
  background: radial-gradient(circle, #1a3c27 0%, #0d1e13 100%);
  border: 12px solid #4a321a; /* Rustic wooden table border */
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  min-height: 500px;
  position: relative;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8), var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bj-dealer-area, .bj-player-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-height: 160px;
}

.bj-area-label {
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  padding-bottom: 0.25rem;
  width: 100%;
  text-align: center;
}

.bj-cards-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  min-height: 110px;
  width: 100%;
  perspective: 1000px;
}

.bj-card {
  width: 76px;
  height: 108px;
  background: white;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.4rem;
  color: black;
  font-weight: 700;
  position: relative;
  animation: dealCard 0.4s ease-out forwards;
}

@keyframes dealCard {
  from {
    opacity: 0;
    transform: translateY(-100px) rotate(-20deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.bj-card.red {
  color: #d11a2a;
}

.bj-card.back {
  background: linear-gradient(135deg, #2D5A27, #1E3F20);
  border: 4px solid white;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  color: transparent !important;
}

.bj-card.back::after {
  content: '🌲';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--primary);
}

.bj-card-suit-top {
  align-self: flex-start;
  font-size: 1rem;
}

.bj-card-value {
  font-size: 1.8rem;
  text-align: center;
}

.bj-card-suit-bottom {
  align-self: flex-end;
  font-size: 1rem;
  transform: rotate(180deg);
}

.bj-score {
  background: rgba(0,0,0,0.5);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: var(--primary);
}

.bj-controls-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.bj-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.bj-status-msg {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  height: 2rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Dice Game Styles */
.dice-game {
  text-align: center;
}

.dice-board {
  background: #111f15;
  border: 3px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.5rem;
}

.dice-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  perspective: 600px;
}

/* CSS 3D Dice style */
.cube {
  position: relative;
  width: 80px;
  height: 80px;
  transform-style: preserve-3d;
  transition: transform 1.5s ease-out;
}

.cube-face {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #FAF6F0;
  border: 2px solid #D5CBB9;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 6px;
  box-sizing: border-box;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.3);
}

.cube-dot {
  background-color: var(--dark-bg);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin: auto;
}

/* Positioning dots on dice faces */
.cube-face-1 .cube-dot { grid-area: 2 / 2; }
.cube-face-2 .cube-dot:nth-child(1) { grid-area: 1 / 1; }
.cube-face-2 .cube-dot:nth-child(2) { grid-area: 3 / 3; }
.cube-face-3 .cube-dot:nth-child(1) { grid-area: 1 / 1; }
.cube-face-3 .cube-dot:nth-child(2) { grid-area: 2 / 2; }
.cube-face-3 .cube-dot:nth-child(3) { grid-area: 3 / 3; }
.cube-face-4 .cube-dot:nth-child(1) { grid-area: 1 / 1; }
.cube-face-4 .cube-dot:nth-child(2) { grid-area: 1 / 3; }
.cube-face-4 .cube-dot:nth-child(3) { grid-area: 3 / 1; }
.cube-face-4 .cube-dot:nth-child(4) { grid-area: 3 / 3; }
.cube-face-5 .cube-dot:nth-child(1) { grid-area: 1 / 1; }
.cube-face-5 .cube-dot:nth-child(2) { grid-area: 1 / 3; }
.cube-face-5 .cube-dot:nth-child(3) { grid-area: 2 / 2; }
.cube-face-5 .cube-dot:nth-child(4) { grid-area: 3 / 1; }
.cube-face-5 .cube-dot:nth-child(5) { grid-area: 3 / 3; }
.cube-face-6 .cube-dot:nth-child(1) { grid-area: 1 / 1; }
.cube-face-6 .cube-dot:nth-child(2) { grid-area: 1 / 3; }
.cube-face-6 .cube-dot:nth-child(3) { grid-area: 2 / 1; }
.cube-face-6 .cube-dot:nth-child(4) { grid-area: 2 / 3; }
.cube-face-6 .cube-dot:nth-child(5) { grid-area: 3 / 1; }
.cube-face-6 .cube-dot:nth-child(6) { grid-area: 3 / 3; }

/* 3D Rotations for cube faces */
.cube-face-1 { transform: rotateY(0deg) translateZ(40px); }
.cube-face-6 { transform: rotateX(180deg) translateZ(40px); }
.cube-face-2 { transform: rotateY(90deg) translateZ(40px); }
.cube-face-5 { transform: rotateY(-90deg) translateZ(40px); }
.cube-face-3 { transform: rotateX(90deg) translateZ(40px); }
.cube-face-4 { transform: rotateX(-90deg) translateZ(40px); }

/* Animation roll classes */
.roll-animation-1 { transform: rotateX(720deg) rotateY(1080deg); }
.roll-animation-2 { transform: rotateX(720deg) rotateY(1170deg); }
.roll-animation-3 { transform: rotateX(810deg) rotateY(720deg); }
.roll-animation-4 { transform: rotateX(990deg) rotateY(720deg); }
.roll-animation-5 { transform: rotateX(720deg) rotateY(990deg); }
.roll-animation-6 { transform: rotateX(900deg) rotateY(720deg); }

.dice-betting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.dice-bet-option {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.dice-bet-option:hover {
  border-color: var(--primary);
  background: rgba(217, 119, 6, 0.05);
}
.dice-bet-option.selected {
  border-color: var(--accent);
  background: rgba(224, 90, 23, 0.15);
  box-shadow: 0 0 12px rgba(224, 90, 23, 0.3);
}

.dice-bet-option__label {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.dice-bet-option__payout {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.dice-bet-option__chips {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  min-height: 1.2rem;
}

/* Footer Styles */
.footer {
  background: #050a06;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__about-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-headings);
  font-weight: 800;
}

.footer__about-desc {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer__col-title {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-family: var(--font-headings);
  font-weight: 600;
}

.footer__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__menu-link:hover {
  color: var(--primary);
}

/* Compliance Block replaces Support Resources */
.footer__compliance {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(217, 119, 6, 0.1);
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
  margin-bottom: 3rem;
  text-align: center;
}

.footer__compliance-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__compliance-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 750px;
}

.footer__compliance-text strong {
  color: var(--primary);
  font-weight: 700;
}

.footer__compliance-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.footer__compliance-logo {
  height: 36px;
  width: auto;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer__compliance-logo:hover {
  opacity: 1;
}

/* Disclaimer Box */
.footer__disclaimer-box {
  background: rgba(9, 16, 11, 0.4);
  border: 1px solid rgba(217, 119, 6, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.footer__disclaimer-title {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer__disclaimer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer__disclaimer-desc a {
  color: var(--primary);
  text-decoration: underline;
  margin: 0 0.25rem;
}

/* Bottom Bar */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(217, 119, 6, 0.1);
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__copy {
  font-size: 0.85rem;
}

.footer__contact-info {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__contact-icon {
  color: var(--primary);
}

/* Animations */
@keyframes spin-pulse {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .header {
    padding: 0.75rem 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .header__menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  
  .header__menu.show {
    display: flex;
  }
  
  .hero {
    padding: 8rem 0 4rem;
    text-align: center;
  }
  
  .hero__content {
    margin: 0 auto;
  }
  
  .hero__title {
    font-size: 2.8rem;
  }
  
  .hero__actions {
    justify-content: center;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .footer__contact-info {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer__compliance-logos {
    gap: 30px;
  }
  
  .bj-table {
    padding: 1rem;
  }
  
  .dice-container {
    gap: 1.5rem;
  }
}

/* Custom Dialogs / Reward elements */
.alert-banner {
  background: var(--secondary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.5rem 0;
  text-align: center;
  display: none;
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.daily-reward-section {
  background: rgba(217, 119, 6, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 600px;
  margin: 3rem auto 0;
}

.daily-reward-btn {
  margin-top: 1.5rem;
}
