/* style/resources-f168s-beginner-tutorial.css */

/* Base Styles */
.page-resources-f168s-beginner-tutorial {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, but explicitly set for clarity */
  line-height: 1.6;
}

.page-resources-f168s-beginner-tutorial__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-f168s-beginner-tutorial__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-f168s-beginner-tutorial__subsection-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold primary color */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-f168s-beginner-tutorial__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light grey for body text */
}

.page-resources-f168s-beginner-tutorial__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-resources-f168s-beginner-tutorial__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Buttons */
.page-resources-f168s-beginner-tutorial__btn-primary,
.page-resources-f168s-beginner-tutorial__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-f168s-beginner-tutorial__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #121212; /* Dark text for gold background */
  border: 2px solid #FFD700;
}

.page-resources-f168s-beginner-tutorial__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-f168s-beginner-tutorial__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-f168s-beginner-tutorial__btn-secondary:hover {
  background-color: #FFD700;
  color: #121212; /* Dark text for gold background */
}

.page-resources-f168s-beginner-tutorial__cta-group {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Image Styles */
.page-resources-f168s-beginner-tutorial__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-resources-f168s-beginner-tutorial__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  box-sizing: border-box;
}

.page-resources-f168s-beginner-tutorial__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-resources-f168s-beginner-tutorial__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: -1;
}

.page-resources-f168s-beginner-tutorial__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-resources-f168s-beginner-tutorial__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-resources-f168s-beginner-tutorial__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-resources-f168s-beginner-tutorial__introduction-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

/* Guide Section (Registration) */
.page-resources-f168s-beginner-tutorial__guide-section {
  padding: 60px 0;
}

.page-resources-f168s-beginner-tutorial__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-f168s-beginner-tutorial__step-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.page-resources-f168s-beginner-tutorial__step-item:hover {
  transform: translateY(-5px);
}

.page-resources-f168s-beginner-tutorial__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-f168s-beginner-tutorial__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-f168s-beginner-tutorial__step-description {
  color: #cccccc;
  font-size: 1em;
}

/* Deposit/Withdraw Section */
.page-resources-f168s-beginner-tutorial__deposit-withdraw-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

/* Games Section */
.page-resources-f168s-beginner-tutorial__games-section {
  padding: 60px 0;
}

.page-resources-f168s-beginner-tutorial__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-f168s-beginner-tutorial__card {
  background-color: #222222;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-f168s-beginner-tutorial__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-resources-f168s-beginner-tutorial__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-resources-f168s-beginner-tutorial__card-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-f168s-beginner-tutorial__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources-f168s-beginner-tutorial__card-title a:hover {
  text-decoration: underline;
}

.page-resources-f168s-beginner-tutorial__card-description {
  color: #cccccc;
  font-size: 0.95em;
}

/* Promotions Section */
.page-resources-f168s-beginner-tutorial__promotions-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

/* Support Section */
.page-resources-f168s-beginner-tutorial__support-section {
  padding: 60px 0;
}

.page-resources-f168s-beginner-tutorial__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-f168s-beginner-tutorial__support-channels .page-resources-f168s-beginner-tutorial__card .page-resources-f168s-beginner-tutorial__btn-secondary {
  margin-top: 20px;
}

/* FAQ Section */
.page-resources-f168s-beginner-tutorial__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-resources-f168s-beginner-tutorial__faq-list {
  margin-top: 40px;
}

.page-resources-f168s-beginner-tutorial__faq-item {
  background-color: #222222;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-resources-f168s-beginner-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #8B0000; /* Dark red for question background */
  transition: background-color 0.3s ease;
}

.page-resources-f168s-beginner-tutorial__faq-question:hover {
  background-color: #a00000;
}

.page-resources-f168s-beginner-tutorial__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-f168s-beginner-tutorial__faq-item.active .page-resources-f168s-beginner-tutorial__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-f168s-beginner-tutorial__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #f0f0f0;
  font-size: 1.1em;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-f168s-beginner-tutorial__faq-item.active .page-resources-f168s-beginner-tutorial__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 20px;
  padding-top: 0;
}

/* Conclusion Section */
.page-resources-f168s-beginner-tutorial__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-f168s-beginner-tutorial__hero-title {
    font-size: 3em;
  }
  .page-resources-f168s-beginner-tutorial__hero-description {
    font-size: 1.2em;
  }
  .page-resources-f168s-beginner-tutorial__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-f168s-beginner-tutorial {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-f168s-beginner-tutorial__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-f168s-beginner-tutorial__hero-title {
    font-size: 2.5em;
  }
  .page-resources-f168s-beginner-tutorial__hero-description {
    font-size: 1em;
  }
  .page-resources-f168s-beginner-tutorial__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-f168s-beginner-tutorial__subsection-title {
    font-size: 1.5em;
  }
  .page-resources-f168s-beginner-tutorial__text-block,
  .page-resources-f168s-beginner-tutorial__list li,
  .page-resources-f168s-beginner-tutorial__card-description,
  .page-resources-f168s-beginner-tutorial__step-description {
    font-size: 1em;
  }
  
  /* Image, Video, Button Responsiveness */
  .page-resources-f168s-beginner-tutorial img,
  .page-resources-f168s-beginner-tutorial video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-f168s-beginner-tutorial__container,
  .page-resources-f168s-beginner-tutorial__steps-grid,
  .page-resources-f168s-beginner-tutorial__game-categories,
  .page-resources-f168s-beginner-tutorial__support-channels,
  .page-resources-f168s-beginner-tutorial__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-f168s-beginner-tutorial__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-f168s-beginner-tutorial__btn-primary,
  .page-resources-f168s-beginner-tutorial__btn-secondary {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-f168s-beginner-tutorial__card {
    padding: 20px;
  }

  .page-resources-f168s-beginner-tutorial__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-f168s-beginner-tutorial__faq-answer {
    padding: 0 15px;
  }

  .page-resources-f168s-beginner-tutorial__faq-item.active .page-resources-f168s-beginner-tutorial__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .page-resources-f168s-beginner-tutorial__hero-title {
    font-size: 2em;
  }
  .page-resources-f168s-beginner-tutorial__hero-description {
    font-size: 0.9em;
  }
  .page-resources-f168s-beginner-tutorial__section-title {
    font-size: 1.5em;
  }
  .page-resources-f168s-beginner-tutorial__subsection-title {
    font-size: 1.3em;
  }
}