/* style/slot-games.css */

/* General Page Styles */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background */
  padding-bottom: 60px; /* Add some space above footer */
}

.page-slot-games__content-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold for titles */
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF1E8; /* Text Main */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C; /* Dark text for contrast */
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #FFB04A; /* Gold text */
  border: 2px solid #FFB04A; /* Gold border */
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.2);
}

.page-slot-games__btn-secondary:hover {
  background: #FFB04A;
  color: #140C0C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.4);
}

.page-slot-games__btn-play {
  background: #F3C54D; /* Gold */
  color: #140C0C; /* Dark text */
  padding: 8px 18px;
  font-size: 0.95em;
  border-radius: 6px;
}

.page-slot-games__btn-play:hover {
  background: #e0b33a;
  transform: translateY(-1px);
}

.page-slot-games__btn-inline {
  background: transparent;
  color: #F3C54D; /* Gold text */
  border: 1px solid #F3C54D;
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 6px;
  margin-top: 10px;
}

.page-slot-games__btn-inline:hover {
  background: #F3C54D;
  color: #140C0C;
}

/* Hero Section */
.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background: #140C0C; /* Ensure dark background for hero */
}

.page-slot-games__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  gap: 40px;
}

.page-slot-games__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #FFF1E8;
  text-align: left;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold for title */
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-slot-games__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-slot-games__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Intro Section (Module 1) */
.page-slot-games__intro-section {
  padding: 60px 0;
  background: #140C0C; /* Background */
}

.page-slot-games__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__icon-box {
  flex: 1 1 300px;
  max-width: 350px;
  background: #2A1212; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.page-slot-games__icon-box-media {
  width: 240px;
  height: 240px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #6A1E1E; /* Border */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-slot-games__icon-box-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F3C54D; /* Gold */
}

.page-slot-games__icon-box-text {
  font-size: 1em;
  color: #FFF1E8; /* Text Main */
}

/* Game Tabs Section */
.page-slot-games__game-tabs-section {
  padding: 60px 0;
  background: #140C0C; /* Background */
}

.page-slot-games__tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  border-bottom: 2px solid #6A1E1E; /* Border */
  padding-bottom: 15px;
}

.page-slot-games__tab-button {
  background: transparent;
  border: 2px solid #6A1E1E; /* Border */
  color: #FFF1E8; /* Text Main */
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-slot-games__tab-button:hover {
  background: #C61F1F; /* Main Color */
  border-color: #C61F1F;
  color: #FFF1E8;
}

.page-slot-games__tab-button.is-active {
  background: #C61F1F; /* Main Color */
  border-color: #C61F1F;
  color: #FFF1E8;
  box-shadow: 0 4px 15px rgba(198, 31, 31, 0.4);
}

.page-slot-games__tab-content {
  position: relative;
  min-height: 400px; /* Placeholder for content */
}

.page-slot-games__game-panel {
  display: none;
  animation: fadeIn 0.5s forwards;
}

.page-slot-games__game-panel.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.page-slot-games__game-card {
  background: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 8px;
  color: #F3C54D; /* Gold */
}

.page-slot-games__game-provider {
  font-size: 0.9em;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
}

.page-slot-games__dark-section {
  background: #C61F1F; /* Main Color */
  color: #FFF1E8; /* Text Main */
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #FFF1E8; /* White title for dark section */
}

.page-slot-games__dark-section .page-slot-games__section-description {
  color: #FFF1E8;
}

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