/* style/casino.css */

/* Custom CSS Variables from prompt for color contrast */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color-page: #0A0A0A; /* Page content background */
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

/* Base styles for the page-casino scope */
.page-casino {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Using Text Main: #FFF6D6 */
  background-color: var(--background-color-page); /* Using Background: #0A0A0A for page content sections */
}

/* Ensure all text elements inherit the main text color or are explicitly set for contrast */
.page-casino h1, .page-casino h2, .page-casino h3, .page-casino h4, .page-casino h5, .page-casino h6 {
  color: var(--text-main);
}
.page-casino a {
  color: var(--primary-color); /* Links use primary color */
}
.page-casino a:hover {
  color: var(--secondary-color);
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-casino__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  overflow: hidden;
  background-color: var(--background-color-page);
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Aspect ratio for 1200x675 */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino__hero-content {
  max-width: 900px;
  margin-top: 40px; /* Space between image and content */
  padding: 0 20px;
}

.page-casino__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: clamp(1.1em, 1.5vw, 1.3em);
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.5;
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-casino__btn-primary {
  background: var(--button-gradient); /* Custom button color */
  color: #1a1a1a; /* Dark text for light button */
  border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 216, 106, 0.3);
}

.page-casino__btn-secondary {
  background: transparent;
  color: var(--text-main); /* Light text for dark background */
  border: 2px solid var(--border-color); /* Custom border color */
}

.page-casino__btn-secondary:hover {
  background: var(--border-color); /* Custom border color */
  color: var(--text-main); /* Keep light text on dark hover background */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(58, 42, 18, 0.3);
}

/* Video Section */
.page-casino__video-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-casino__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Max width for video container */
  margin: 0 auto 30px auto;
  overflow: hidden;
  border-radius: 10px;
}

.page-casino__video-link {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.page-casino__video-overlay-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 18px 40px;
  font-size: 1.2em;
  opacity: 1; /* Always visible */
  transition: opacity 0.3s ease;
}

/* About Section */
.page-casino__about-section {
  background-color: var(--card-bg); /* Using Card BG: #111111 */
  padding: 60px 0;
}

.page-casino__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-casino__about-text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-main);
}

.page-casino__about-image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure image is not too small */
}

.page-casino__about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Categories Section */
.page-casino__categories-section {
  background-color: var(--background-color-page);
  padding: 60px 0;
}