/* ==========================================================================
   FieryPlay Casino UI - Pure CSS Stylesheet
   ========================================================================== */

:root {
  --bg-main: #0c0408;
  --bg-surface: #150911;
  --bg-surface-elevated: #1e0d18;
  --bg-card: #180913;
  --bg-card-hover: #260e1f;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-red-glow: rgba(224, 22, 61, 0.35);
  
  --primary-red: #e0163d;
  --primary-red-hover: #ff2a55;
  --primary-red-glow: rgba(224, 22, 61, 0.5);
  
  --gold-primary: #ffb800;
  --gold-hover: #ffca33;
  --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
  --gold-glow: rgba(255, 184, 0, 0.4);

  --text-main: #ffffff;
  --text-muted: #9e8d98;
  --text-dim: #6e5f69;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.25s ease-in-out;
}

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(180, 10, 45, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(140, 10, 35, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(180, 10, 45, 0.15) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button, input {
  font-family: inherit;
  outline: none;
  border: none;
}

/* --------------------------------------------------------------------------
   Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  user-select: none;
}

.btn-login {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 8px 18px;
  border: 1px solid var(--border-color);
  font-size: 13px;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-register, .btn-gold {
  background: var(--gold-gradient);
  color: #120305;
  padding: 9px 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px var(--gold-glow);
  border-radius: var(--radius-sm);
}

.btn-register:hover, .btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-large {
  padding: 12px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-medium {
  padding: 9px 22px;
  font-size: 13px;
}

.btn-dark-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
}

.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

.btn-outline-more {
  background: #190913;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 10px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-more:hover {
  border-color: var(--primary-red);
  color: var(--text-main);
  background: var(--bg-surface-elevated);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 4, 8, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 68px;
  display: flex;
  align-items: center;
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-item i {
  font-size: 14px;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-main);
  background: rgba(224, 22, 61, 0.15);
}

.nav-item.active {
  color: #ff476d;
  box-shadow: inset 0 0 12px rgba(224, 22, 61, 0.2);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.flag-icon {
  width: 16px;
  border-radius: 2px;
}

.arrow-mini {
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   Main Container
   -------------------------------------------------------------------------- */
.main-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --------------------------------------------------------------------------
   Hero Banner Section
   -------------------------------------------------------------------------- */
.banner-card {
  position: relative;
  background: radial-gradient(circle at 65% 50%, #4a0614 0%, #1c050c 60%, #100307 100%);
  border: 1px solid rgba(224, 22, 61, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(224, 22, 61, 0.15);
}

.banner-content {
  max-width: 540px;
  z-index: 2;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(255, 184, 0, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.banner-subtitle {
  color: #e3d2dc;
  font-size: 17px;
  margin-bottom: 24px;
}

.banner-subtitle strong {
  color: var(--gold-primary);
}

.banner-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.banner-image-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-main-img {
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.8));
}

/* Filter & Search Bar */
.filter-search-bar {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.search-input-box {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

.search-input-box input {
  background: transparent;
  color: #fff;
  font-size: 14px;
  width: 100%;
}

.provider-dropdown {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.cat-tab.active, .cat-tab:hover {
  background: var(--primary-red);
  color: #fff;
}

/* Quick Feature Badges Strip */
.promo-quick-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.strip-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #d1c5cc;
  white-space: nowrap;
}

.strip-item i {
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   Sections General & Game Grids
   -------------------------------------------------------------------------- */
.game-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.title-with-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.count-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.view-all-link {
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.view-all-link:hover {
  color: var(--gold-primary);
}

.slider-arrows {
  display: flex;
  gap: 6px;
}

.arrow-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.arrow-btn:hover {
  background: var(--bg-surface-elevated);
  color: #fff;
  border-color: var(--primary-red);
}

/* Card Lists & Grids */
.game-cards-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.game-grid-7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.game-grid-8 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.center-btn-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Game Card Component
   -------------------------------------------------------------------------- */
.game-card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 22, 61, 0.6);
  box-shadow: 0 10px 24px rgba(224, 22, 61, 0.25);
}

.game-thumb {
  position: relative;
  aspect-ratio: 3/4.4;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ribbon-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.ribbon-tag.hot {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 65, 108, 0.4);
}

.ribbon-tag.top {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
}

.ribbon-tag.new {
  background: linear-gradient(135deg, #00b09b, #96c93d);
  color: #fff;
}

.live-dot-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 0, 50, 0.6);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #ff2a55;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff2a55;
}

.game-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.game-card:hover .game-play-overlay {
  opacity: 1;
}

.play-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #120305;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.6);
  cursor: pointer;
  transition: var(--transition);
  transform: scale(0.85);
}

.game-card:hover .play-circle-btn {
  transform: scale(1);
}

.game-info {
  display: none !important;
}

.live-broadcast-icon {
  color: #ff2a55;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseBroadcast 1.8s infinite;
}

@keyframes pulseBroadcast {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 6px #ff2a55); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.count-badge-yellow {
  color: #ffcc00;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  margin-left: 4px;
}

.live-dot-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 42, 85, 0.5);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #ff2a55;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff2a55;
  animation: pulseLiveDot 1.4s infinite;
}

@keyframes pulseLiveDot {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px #ff2a55; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 10px #ff2a55; }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px #ff2a55; }
}

.live-card-caption {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 6px 4px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Crash Games Special Layout
   -------------------------------------------------------------------------- */
.crash-card .game-thumb {
  flex-direction: column;
  gap: 12px;
  aspect-ratio: 16/11;
  border-bottom: 1px solid var(--border-color);
}

.crash-bg-red { background: radial-gradient(circle, #7a0c1a 0%, #200408 100%); }
.crash-bg-blue { background: radial-gradient(circle, #0b4578 0%, #061524 100%); }
.crash-bg-purple { background: radial-gradient(circle, #5b137a 0%, #170420 100%); }
.crash-bg-gold { background: radial-gradient(circle, #73510c 0%, #211604 100%); }
.crash-bg-green { background: radial-gradient(circle, #106637 0%, #041f10 100%); }
.crash-bg-crimson { background: radial-gradient(circle, #851630 0%, #24050d 100%); }
.crash-bg-orange { background: radial-gradient(circle, #823c0b 0%, #241103 100%); }

.crash-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}

.crash-icon {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

/* --------------------------------------------------------------------------
   Quests / Mystery Box Section
   -------------------------------------------------------------------------- */
.quests-section {
  background: radial-gradient(circle at 50% 50%, #2d0713 0%, #14040a 100%);
  border: 1px solid rgba(224, 22, 61, 0.25);
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  position: relative;
  overflow: hidden;
}

.quests-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.quest-toggle-pills {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

.pill-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.pill-btn.active {
  background: var(--gold-gradient);
  color: #000;
}

.quest-stage-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.stage-glow-backdrop {
  position: absolute;
  width: 100%;
  max-width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(224, 22, 61, 0.35) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hex-items-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  width: 100%;
}

.hex-box.mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
}

.hex-inner {
  width: 56px;
  height: 56px;
  background: #240b17;
  border: 1px solid rgba(224, 22, 61, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hex-box.mini span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
}

.hex-box.featured-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.hex-inner.main-gift {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #a11232 0%, #440614 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 24px;
  font-size: 38px;
  color: var(--gold-primary);
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.4), 0 0 60px rgba(224, 22, 61, 0.6);
  position: relative;
  margin-bottom: 16px;
}

.quest-headline {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.quest-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Try Your Luck with a Random Game Section
   -------------------------------------------------------------------------- */
.random-game-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  margin: 20px 0;
  width: 100%;
}

.random-heading-box {
  text-align: center;
}

.random-main-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.text-gold {
  color: #ffcc00;
}

.random-game-stage {
  position: relative;
  background: radial-gradient(circle at 50% 40%, #520516 0%, #20040a 60%, #120206 100%);
  border: 2px solid #a6122d;
  border-radius: 28px;
  padding: 50px 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 0 45px rgba(224, 22, 61, 0.35), inset 0 0 60px rgba(0, 0, 0, 0.6);
}

/* Top Center Golden Arrow */
.stage-top-arrow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  color: #ffcc00;
  font-size: 22px;
  filter: drop-shadow(0 2px 8px rgba(255, 204, 0, 0.7));
  z-index: 10;
}

/* Top Right Glowing Neon Lightning */
.neon-lightning-bolt {
  position: absolute;
  top: 18px;
  right: 60px;
  font-size: 38px;
  color: #ff2a55;
  filter: drop-shadow(0 0 15px rgba(255, 42, 85, 0.9)) drop-shadow(0 0 30px rgba(255, 42, 85, 0.6));
  transform: rotate(-10deg);
  z-index: 10;
}

/* Left Mascot Dealer Woman */
.random-mascot-dealer {
  position: absolute;
  left: 0px;
  bottom: 0px;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.random-dealer-photo {
  height: 290px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8));
  border-radius: 0 0 0 28px;
}

/* Floating Gold Coins */
.floating-gold-coin {
  position: absolute;
  font-size: 22px;
  filter: drop-shadow(0 4px 10px rgba(255, 204, 0, 0.6));
}

.coin-1 {
  bottom: 60px;
  right: -25px;
  font-size: 26px;
  transform: rotate(-15deg);
}

.coin-2 {
  bottom: 35px;
  right: -5px;
  font-size: 16px;
  transform: rotate(20deg);
}

.coin-3 {
  bottom: 5px;
  right: -35px;
  font-size: 28px;
  transform: rotate(10deg);
}

/* Carousel Games Row */
.random-cards-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-left: 140px;
  padding: 10px 0 24px;
}

.rand-card {
  width: 130px;
  aspect-ratio: 3/4.4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
  cursor: pointer;
  background: #19050e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.rand-card.edge-left, .rand-card.edge-right {
  opacity: 0.45;
  transform: scale(0.88);
}

.rand-card:hover {
  transform: translateY(-4px) scale(1.02);
}

/* Center Highlighted Hero Card (RIP City) */
.rand-card.center-hero-featured {
  width: 160px;
  aspect-ratio: 3/4.4;
  border: 3.5px solid #ffcc00;
  border-radius: 18px;
  box-shadow: 0 0 35px rgba(255, 204, 0, 0.7), 0 10px 30px rgba(0, 0, 0, 0.8);
  transform: scale(1.06);
  z-index: 5;
}

.rand-card.center-hero-featured:hover {
  transform: scale(1.1);
}

/* Bottom CTA Button */
.random-btn-wrap {
  margin-top: 10px;
  z-index: 10;
  margin-left: 140px;
}

.btn-find-game {
  background: #ffcc00;
  color: #1a0409;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 42px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(255, 204, 0, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-find-game:hover {
  background: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 204, 0, 0.7);
}

/* --------------------------------------------------------------------------
   Jackpot & Leaderboard Section
   -------------------------------------------------------------------------- */
.jackpot-grid-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.jackpot-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.card-inner-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.badge-tag-red {
  background: var(--primary-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.mini-game-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mini-t {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.jackpot-card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.box-button-row {
  display: flex;
  gap: 10px;
}

/* Jackpot Right Box */
.jackpot-counter-box {
  background: radial-gradient(circle at 100% 0%, #3f0917 0%, #15060f 70%);
  border: 1px solid rgba(224, 22, 61, 0.3);
}

.jackpot-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.meter-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
}

.jackpot-amount {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-top: 4px;
  text-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}

.jackpot-amount small {
  font-size: 24px;
  color: var(--gold-primary);
}

.live-pulse-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 128, 0.1);
  border: 1px solid rgba(0, 255, 128, 0.3);
  color: #00ff80;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.dot-green {
  width: 6px;
  height: 6px;
  background: #00ff80;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff80;
}

.recent-winners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 65%;
  z-index: 2;
}

.winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.winner-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 11px;
}

.uname {
  font-weight: 700;
  color: #fff;
}

.wgame {
  color: var(--text-muted);
}

.text-gold {
  color: var(--gold-primary);
  font-weight: 800;
}

.mascot-side-art {
  position: absolute;
  right: 10px;
  bottom: 0;
  pointer-events: none;
}

.mascot-side-img {
  height: 180px;
  width: auto;
  border-radius: var(--radius-md);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Mobile App Banner
   -------------------------------------------------------------------------- */
.app-download-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #470817 0%, #17040d 70%, #0c0307 100%);
  border: 1px solid rgba(224, 22, 61, 0.35);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
}

.app-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(224, 22, 61, 0.4) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.app-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.app-info-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.lightning-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 20px var(--primary-red-glow);
}

.app-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.app-title span {
  color: var(--gold-primary);
}

.qr-code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-frame {
  background: #fff;
  color: #000;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.qr-caption {
  font-size: 12px;
  color: var(--text-muted);
}

/* Phone Mockup Frames */
.phone-mockup {
  width: 170px;
  height: 280px;
  background: #000;
  border-radius: 28px;
  padding: 8px;
  border: 3px solid #331525;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 30px rgba(224, 22, 61, 0.2);
}

.phone-left {
  transform: rotate(-6deg);
}

.phone-right {
  transform: rotate(6deg);
}

.phone-screen {
  background: #14050d;
  height: 100%;
  border-radius: 20px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.mock-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--gold-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}

.mock-banner {
  height: 48px;
  background: linear-gradient(135deg, #a11232, #440614);
  border-radius: 6px;
}

.mock-banner.alt {
  background: linear-gradient(135deg, #ff9900, #a11232);
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mock-card {
  height: 60px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #080205;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 30px;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}

.disclaimer-text {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.column-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.link-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-column ul a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.link-column ul a:hover {
  color: #fff;
  padding-left: 4px;
}

.social-icons-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.soc-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.soc-btn:hover {
  background: var(--primary-red);
  color: #fff;
}

.live-support-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.support-icon {
  font-size: 20px;
  color: var(--gold-primary);
}

.sup-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.sup-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* Payment Badges */
.footer-payments-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.payments-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 1.5px;
}

.payment-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-badge i {
  color: var(--gold-primary);
}

/* Provider Pills */
.footer-providers-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.provider-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dim);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-dim);
}

.compliance-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-18 {
  border: 1px solid #ff416c;
  color: #ff416c;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Responsive Design & Mobile Optimizations
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .game-cards-row, .game-grid-7 {
    grid-template-columns: repeat(4, 1fr);
  }
  .game-grid-8 {
    grid-template-columns: repeat(4, 1fr);
  }
  .promo-quick-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .jackpot-grid-container {
    grid-template-columns: 1fr;
  }
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .random-cards-carousel {
    margin-left: 80px;
  }
  .random-btn-wrap {
    margin-left: 80px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .banner-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }
  .banner-title {
    font-size: 32px;
  }
  .banner-cta-group {
    justify-content: center;
  }
  .banner-image-wrap {
    margin-top: 24px;
  }
  .banner-main-img {
    max-width: 100%;
  }
  .random-mascot-dealer {
    display: none;
  }
  .random-cards-carousel {
    margin-left: 0;
    gap: 12px;
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    padding: 10px 10px 20px;
    -webkit-overflow-scrolling: touch;
  }
  .rand-card {
    flex-shrink: 0;
    width: 120px;
  }
  .rand-card.center-hero-featured {
    flex-shrink: 0;
    width: 145px;
  }
  .random-btn-wrap {
    margin-left: 0;
  }
  .app-banner-container {
    flex-direction: column;
    gap: 30px;
  }
  .phone-mockup {
    display: none;
  }
  .game-cards-row, .game-grid-7, .game-grid-8 {
    grid-template-columns: repeat(3, 1fr);
  }
  .recent-winners-list {
    max-width: 100%;
  }
  .mascot-side-art {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 0 16px;
  }
  .main-wrapper {
    padding: 14px 12px 60px;
    gap: 28px;
  }
  .banner-card {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }
  .banner-title {
    font-size: 26px;
  }
  .banner-subtitle {
    font-size: 14px;
  }
  .filter-search-bar {
    gap: 10px;
  }
  .search-input-box {
    width: 100%;
    min-width: 100%;
  }
  .provider-dropdown {
    width: 100%;
    justify-content: space-between;
  }
  .category-tabs {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
  }
  .cat-tab {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12px;
  }
  .promo-quick-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .strip-item {
    font-size: 11px;
    padding: 8px 10px;
  }
  .game-cards-row, .game-grid-7, .game-grid-8 {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .section-title {
    font-size: 16px;
  }
  .quests-section {
    padding: 20px 16px;
  }
  .hex-items-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .hex-box.mini {
    display: none;
  }
  .random-game-stage {
    padding: 40px 14px 20px;
    border-radius: 20px;
  }
  .random-main-title {
    font-size: 19px;
  }
  .neon-lightning-bolt {
    right: 20px;
    font-size: 26px;
  }
  .jackpot-amount {
    font-size: 28px;
  }
  .jackpot-amount small {
    font-size: 18px;
  }
  .app-title {
    font-size: 22px;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .game-cards-row, .game-grid-7, .game-grid-8 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   Cookie Consent Modal (Wide Bottom Banner with Increased Height & Presence)
   -------------------------------------------------------------------------- */
.cookie-consent-modal {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  max-width: calc(100vw - 36px);
  min-height: 140px;
  background: radial-gradient(circle at 85% 50%, #a80a2b 0%, #850520 60%, #630417 100%);
  border-radius: 24px;
  padding: 30px 42px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(168, 10, 43, 0.6);
  z-index: 99999;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  animation: slideUpFade 0.4s ease-out;
}

@keyframes slideUpFade {
  from {
    transform: translate(-50%, 50px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.cookie-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-header-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.cookie-greeting {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
}

.cookie-message {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  font-weight: 400;
}

.cookie-policy-url {
  font-size: 14.5px;
  color: #fff;
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 600;
  transition: var(--transition);
  display: inline;
}

.cookie-policy-url:hover {
  opacity: 0.8;
}

.cookie-action-col {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.cookie-illustration-box {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.5));
}

.cookie-btn-accept {
  min-width: 140px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 13px 34px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .cookie-consent-modal {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 20px;
    bottom: 12px;
    border-radius: 18px;
    min-height: auto;
  }
  .cookie-title {
    font-size: 22px;
  }
  .cookie-message {
    font-size: 13px;
  }
  .cookie-action-col {
    justify-content: space-between;
    width: 100%;
    gap: 16px;
  }
  .cookie-btn-accept {
    flex: 1;
    padding: 12px 0;
    font-size: 15px;
  }
}
