/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.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: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino__paragraph {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text contrast */
}

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

.page-casino__main-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-casino__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-casino__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-casino__btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-casino__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* About Section */
.page-casino__about-section {
  padding: 80px 0;
  color: #333333;
}

.page-casino__about-section .page-casino__section-title {
  color: #26A9E0;
}

.page-casino__about-section .page-casino__paragraph {
  color: #333333;
}

.page-casino__image-full-width {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
}

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

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-casino__game-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-casino__game-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px;
  flex-grow: 1;
}

/* Advantages Section */
.page-casino__advantages-section {
  padding: 80px 0;
  color: #333333;
}

.page-casino__advantages-section .page-casino__section-title {
  color: #26A9E0;
}

.page-casino__advantages-section .page-casino__paragraph {
  color: #333333;
}

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

.page-casino__advantage-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-casino__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__advantage-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__advantage-description {
  font-size: 0.95em;
  color: #555555;
}

/* Register Guide Section */
.page-casino__register-guide-section {
  padding: 80px 0;
}

.page-casino__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__guide-step {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #f0f0f0;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-casino__guide-step::before {
  content: ''; /* Pseudo-element for the line */
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

.page-casino__guide-step:first-child::before {
  left: 50%; /* Start line from center for first step */
}

.page-casino__guide-step:last-child::before {
  right: 50%; /* End line at center for last step */
}

.page-casino__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #1a1a1a; /* Match body background for contrast */
  z-index: 1;
}

.page-casino__step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-casino__step-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  color: #333333;
}

.page-casino__promotions-section .page-casino__section-title {
  color: #26A9E0;
}

.page-casino__promotions-section .page-casino__paragraph {
  color: #333333;
}

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

.page-casino__promotion-card {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-casino__promotion-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__promotion-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-casino__promotion-title a:hover {
  text-decoration: underline;
}

.page-casino__promotion-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
}

/* Support Section */
.page-casino__support-section {
  padding: 80px 0;
}

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