/* slot-games.css */

:root {
  --vin888-primary: #FF8C1A;
  --vin888-secondary: #FFA53A;
  --vin888-card-bg: #17191F;
  --vin888-bg: #0D0E12;
  --vin888-text-main: #FFF3E6;
  --vin888-border: #A84F0C;
  --vin888-glow: #FFB04D;
  --vin888-deep-orange: #D96800;
}

.page-slot-games {
  background-color: var(--vin888-bg);
  color: var(--vin888-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-slot-games__center-text {
  text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small padding as per instructions */
  background-color: var(--vin888-bg);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default desktop behavior */
}

.page-slot-games__hero-content-wrap {
  width: 100%;
  max-width: 1200px;
  padding: 40px 15px;
  text-align: center;
}

.page-slot-games__hero-content {
  z-index: 2;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--vin888-primary);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--vin888-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Section Styling */
.page-slot-games__section {
  padding: 60px 0;
  background-color: var(--vin888-bg);
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--vin888-primary);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-slot-games__section-description {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--vin888-text-main);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Card Styling */
.page-slot-games__card {
  background-color: var(--vin888-card-bg);
  border: 1px solid var(--vin888-border);
  border-radius: 10px;
  padding: 25px;
  color: var(--vin888-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--vin888-glow);
}

/* Button Styling */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, var(--vin888-secondary) 0%, var(--vin888-deep-orange) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--vin888-primary);
  border: 2px solid var(--vin888-primary);
  box-shadow: 0 0 10px rgba(255, 140, 26, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: var(--vin888-primary);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.5);
}

.page-slot-games__btn-play {
  background: linear-gradient(180deg, var(--vin888-secondary) 0%, var(--vin888-deep-orange) 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 15px;
}

.page-slot-games__btn-play:hover {
  transform: translateY(-2px);
}

.page-slot-games__btn-small {
  background: var(--vin888-primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  font-size: 0.9rem;
  margin-top: 15px;
}

.page-slot-games__btn-small:hover {
  transform: translateY(-1px);
}

.page-slot-games__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* Features Grid */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__feature-title {
  font-size: 1.4rem;
  color: var(--vin888-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__feature-text {
  font-size: 0.95rem;
  color: var(--vin888-text-main);
}

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

.page-slot-games__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.3rem;
  color: var(--vin888-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.page-slot-games__game-text {
  font-size: 0.9rem;
  color: var(--vin888-text-main);
  flex-grow: 1;
}

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

.page-slot-games__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__promo-title {
  font-size: 1.3rem;
  color: var(--vin888-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.page-slot-games__promo-text {
  font-size: 0.9rem;
  color: var(--vin888-text-main);
  flex-grow: 1;
}

/* How To Play Section */
.page-slot-games__how-to-play-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__how-to-step {
  text-align: center;
  position: relative;
  padding-top: 40px;
}

.page-slot-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vin888-primary);
  color: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  border: 4px solid var(--vin888-card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  color: var(--vin888-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__step-text {
  font-size: 0.95rem;
  color: var(--vin888-text-main);
}

.page-slot-games__how-to-image-wrap {
  margin-top: 50px;
  text-align: center;
}

.page-slot-games__how-to-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__responsibility-item {
  background-color: var(--vin888-card-bg);
  border: 1px solid var(--vin888-border);
  border-radius: 10px;
  padding: 25px;
  color: var(--vin888-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__responsibility-title {
  font-size: 1.4rem;
  color: var(--vin888-secondary);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__responsibility-text {
  font-size: 0.95rem;
  color: var(--vin888-text-main);
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--vin888-border);
  overflow: hidden;
  background: var(--vin888-card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--vin888-text-main);
  font-weight: 600;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: rgba(255, 140, 26, 0.1); /* Using vin888-primary with opacity */
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--vin888-primary);
}