/* style/resources-dragon-tiger-rules.css */

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

.page-resources-dragon-tiger-rules {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-color);
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-dragon-tiger-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-dragon-tiger-rules__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-dragon-tiger-rules__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-resources-dragon-tiger-rules__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-color-dark);
}

.page-resources-dragon-tiger-rules__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-resources-dragon-tiger-rules__list-item {
  margin-bottom: 10px;
  color: var(--text-color-dark);
}

.page-resources-dragon-tiger-rules__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-resources-dragon-tiger-rules__dark-bg .page-resources-dragon-tiger-rules__section-title,
.page-resources-dragon-tiger-rules__dark-bg .page-resources-dragon-tiger-rules__sub-title {
  color: var(--text-color-light);
}

.page-resources-dragon-tiger-rules__dark-bg .page-resources-dragon-tiger-rules__paragraph,
.page-resources-dragon-tiger-rules__dark-bg .page-resources-dragon-tiger-rules__list-item {
  color: var(--text-color-light);
}

.page-resources-dragon-tiger-rules__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-resources-dragon-tiger-rules__actions-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-dragon-tiger-rules__btn-primary,
.page-resources-dragon-tiger-rules__btn-secondary,
.page-resources-dragon-tiger-rules a[class*="button"],
.page-resources-dragon-tiger-rules a[class*="btn"] {
  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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-dragon-tiger-rules__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
}

.page-resources-dragon-tiger-rules__btn-primary:hover {
  background-color: #1e87b7; /* Darken primary color */
  border-color: #1e87b7;
}

.page-resources-dragon-tiger-rules__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-dragon-tiger-rules__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-resources-dragon-tiger-rules__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-resources-dragon-tiger-rules__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-dragon-tiger-rules__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-dragon-tiger-rules__hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-color-light);
  max-width: 900px;
  padding: 20px;
}

.page-resources-dragon-tiger-rules__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--text-color-light);
}

.page-resources-dragon-tiger-rules__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--text-color-light);
}

.page-resources-dragon-tiger-rules__hero-actions .page-resources-dragon-tiger-rules__btn-primary,
.page-resources-dragon-tiger-rules__hero-actions .page-resources-dragon-tiger-rules__btn-secondary {
  font-size: 1.2em;
  padding: 18px 40px;
}

.page-resources-dragon-tiger-rules__introduction-section,
.page-resources-dragon-tiger-rules__gameplay-section,
.page-resources-dragon-tiger-rules__bet-types-section,
.page-resources-dragon-tiger-rules__video-section,
.page-resources-dragon-tiger-rules__strategy-section,
.page-resources-dragon-tiger-rules__platforms-section,
.page-resources-dragon-tiger-rules__faq-section,
.page-resources-dragon-tiger-rules__conclusion-section {
  padding: 80px 0;
}

.page-resources-dragon-tiger-rules__image-wrapper {
  text-align: center;
  margin: 40px auto;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-dragon-tiger-rules__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-dragon-tiger-rules__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-resources-dragon-tiger-rules__inline-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-dragon-tiger-rules__inline-link:hover {
  color: #1e87b7;
}

.page-resources-dragon-tiger-rules__paragraph--small {
  font-size: 0.9em;
  text-align: center;
  margin-top: 20px;
}

/* Video Section Styles */
.page-resources-dragon-tiger-rules__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background-color: #000;
}

.page-resources-dragon-tiger-rules__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-resources-dragon-tiger-rules__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 5;
  text-decoration: none;
}

.page-resources-dragon-tiger-rules__play-button {
  font-size: 4em;
  color: var(--text-color-light);
  border: 3px solid var(--text-color-light);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(var(--primary-color), 0.7);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-dragon-tiger-rules__video-overlay-link:hover .page-resources-dragon-tiger-rules__play-button {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

/* FAQ Section Styles */
.page-resources-dragon-tiger-rules__faq-list {
  margin-top: 30px;
}

.page-resources-dragon-tiger-rules__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-resources-dragon-tiger-rules__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-dragon-tiger-rules__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page-resources-dragon-tiger-rules__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-resources-dragon-tiger-rules__faq-item.active .page-resources-dragon-tiger-rules__faq-toggle {
  transform: rotate(45deg);
}