/* style/casino.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --button-login-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color: #000000;
}

.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Body background is #0a0a0a (dark), so text should be light */
  background-color: transparent; /* Main content background will be handled by sections or transparent to show body background */
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
}

.page-casino__text-block--center {
  text-align: center;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-casino__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  color: var(--text-color-dark-bg);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.5em;
  color: var(--text-color-dark-bg);
  margin-bottom: 40px;
}

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

/* 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-casino__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  border: 2px solid var(--primary-color);
}

.page-casino__btn-primary:hover {
  background-color: #1e87c0; /* Slightly darker primary */
  border-color: #1e87c0;
}

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

.page-casino__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-casino__btn-primary--small,
.page-casino__btn-secondary--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 30px;
}

.page-casino__cta-buttons--center {
  justify-content: center;
}

/* About Section */
.page-casino__about-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark body background */
  padding: 60px 0;
}

/* Games Section */
.page-casino__games-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-casino__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__game-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-casino__game-link:hover {
  text-decoration: underline;
}

.page-casino__game-description {
  font-size: 0.95em;
  color: var(--text-color-dark-bg);
  padding: 0 15px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-casino__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__promo-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-casino__promo-link:hover {
  text-decoration: underline;
}

.page-casino__promo-description {
  font-size: 0.95em;
  color: var(--text-color-dark-bg);
  padding: 0 15px;
  flex-grow: 1;
}

.page-casino__promo-card .page-casino__btn-primary {
  margin-top: 20px;
}

/* Security Section */
.page-casino__security-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-casino__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-casino__security-text {
  flex: 1;
  min-width: 300px;
}

.page-casino__security-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-casino__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-casino__security-list-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  margin-bottom: 10px;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  color: var(--text-color-dark-bg);
  font-size: 1.05em;
}

.page-casino__security-list-item strong {
  color: var(--primary-color);
}

/* User Experience Section */
.page-casino__user-experience-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-casino__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-casino__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__feature-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 1em;
  color: var(--text-color-dark-bg);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__responsive-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 20px;
}

/* Guide Section */
.page-casino__guide-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__step-number {
  font-size: 3em;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-casino__step-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-casino__step-description {
  font-size: 1em;
  color: var(--text-color-dark-bg);
}

/* Video Section */
.page-casino__video-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}