/* style/casino.css */

/* Custom Color Variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --page-bg: #08160F; /* Using a more specific name to avoid conflict with shared --bg-color if any */
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-casino {
  background-color: var(--page-bg);
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Section styling */
.page-casino__hero-section,
.page-casino__about-section,
.page-casino__games-section,
.page-casino__promotions-section,
.page-casino__why-choose-section,
.page-casino__registration-guide-section,
.page-casino__faq-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-casino__hero-section {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  color: var(--text-main);
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-casino__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-casino__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text */
  border-radius: 10px;
  margin-top: 200px; /* Push content down to avoid overlapping the video directly */
  margin-bottom: 50px;
}

.page-casino__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-casino__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-casino__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General button styles */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.page-casino__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-casino__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-casino__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-casino__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--page-bg);
  transform: translateY(-2px);
}

.page-casino__btn-play {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.3);
}

.page-casino__btn-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 209, 111, 0.5);
}

/* Container for content */
.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-casino__content-block,
.page-casino__image-block {
  flex: 1;
  min-width: 300px;
}