/* style/casino.css */

/* Custom CSS Variables (if not defined in shared.css) */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Global styles for the page-casino scope */
.page-casino {
  background-color: var(--background-color); /* Uses custom background color */
  color: var(--text-main-color); /* Default text color for the page */
  font-family: 'Arial', sans-serif; /* Example font */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom for overall page */
}

/* Headings */
.page-casino__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  color: var(--text-main-color);
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.page-casino__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: var(--gold-color); /* Using gold for section titles */
  margin-top: 40px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--divider-color); /* Divider color */
  border-radius: 2px;
}

.page-casino__feature-title,
.page-casino__game-title,
.page-casino__promo-title,
.page-casino__step-title,
.page-casino__faq-qtext {
  font-size: clamp(1.2em, 2.5vw, 1.6em);
  font-weight: 600;
  color: var(--text-main-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Paragraphs */
.page-casino__paragraph {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Containers */
.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-casino__center-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-text,
.page-casino a[class*="button"],
.page-casino a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping by default */
  box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

.page-casino__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-secondary {
  background: transparent;
  color: var(--text-main-color);
  border: 2px solid var(--border-color);
  margin-left: 15px;
}

.page-casino__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--glow-color);
  transform: translateY(-2px);
}