/* style/resources-kubet-beginner-guide.css */
.page-resources-kubet-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-resources-kubet-beginner-guide__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-kubet-beginner-guide__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #cccccc;
}

.page-resources-kubet-beginner-guide__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-kubet-beginner-guide__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  box-sizing: border-box;
}

.page-resources-kubet-beginner-guide__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-kubet-beginner-guide__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-kubet-beginner-guide__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-kubet-beginner-guide__card-link:hover {
  text-decoration: underline;
}

.page-resources-kubet-beginner-guide__btn-primary,
.page-resources-kubet-beginner-guide__btn-secondary,
.page-resources-kubet-beginner-guide__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-kubet-beginner-guide__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-resources-kubet-beginner-guide__btn-primary:hover {
  background-color: #1f8ec4;
  border-color: #1f8ec4;
}

.page-resources-kubet-beginner-guide__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-kubet-beginner-guide__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-resources-kubet-beginner-guide__btn-tertiary {
  background-color: #EA7C07; /* Login color for a distinct CTA */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin-top: 20px;
}

.page-resources-kubet-beginner-guide__btn-tertiary:hover {
  background-color: #c46606;
  border-color: #c46606;
}

.page-resources-kubet-beginner-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-resources-kubet-beginner-guide__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0a0a0a;
}

.page-resources-kubet-beginner-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-resources-kubet-beginner-guide__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-resources-kubet-beginner-guide__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-kubet-beginner-guide__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-kubet-beginner-guide__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.4); /* Darken video to ensure text readability */
}

/* Why Choose Us Section */
.page-resources-kubet-beginner-guide__why-choose-us {
  padding: 80px 0;
  background-color: #1a1a1a; /* Lighter dark background for contrast */
  color: #f0f0f0;
}

.page-resources-kubet-beginner-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-kubet-beginner-guide__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Guide Section */
.page-resources-kubet-beginner-guide__guide-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #f0f0f0;
}

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

.page-resources-kubet-beginner-guide__step-card {
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-resources-kubet-beginner-guide__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  z-index: 1;
}

/* Deposit & Withdraw Section */
.page-resources-kubet-beginner-guide__deposit-withdraw {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-resources-kubet-beginner-guide__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.page-resources-kubet-beginner-guide__content-block {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
  height: 100%;
  box-sizing: border-box;
}

.page-resources-kubet-beginner-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-resources-kubet-beginner-guide__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-kubet-beginner-guide__content-block ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
}

.page-resources-kubet-beginner-guide__content-block li {
  margin-bottom: 8px;
  color: #cccccc;
}

/* Popular Games Section */
.page-resources-kubet-beginner-guide__popular-games {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #f0f0f0;
}

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

.page-resources-kubet-beginner-guide__game-card {
  padding: 20px;
}

.page-resources-kubet-beginner-guide__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Tips Section */
.page-resources-kubet-beginner-guide__tips-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

/* FAQ Section */
.page-resources-kubet-beginner-guide__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #f0f0f0;
}

.page-resources-kubet-beginner-guide__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-kubet-beginner-guide__faq-item {
  text-align: left;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-resources-kubet-beginner-guide__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  padding: 10px 0;
  list-style: none; /* Remove default marker */
}

.page-resources-kubet-beginner-guide__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-resources-kubet-beginner-guide__faq-qtext {
  flex-grow: 1;
  color: #FFFFFF;
}

.page-resources-kubet-beginner-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-resources-kubet-beginner-guide__faq-answer {
  padding-top: 15px;
  font-size: 1em;
  color: #cccccc;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 15px;
}

/* CTA Bottom Section */
.page-resources-kubet-beginner-guide__cta-bottom {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-kubet-beginner-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-kubet-beginner-guide__section-title {
    font-size: 2em;
  }
  .page-resources-kubet-beginner-guide__content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-resources-kubet-beginner-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-kubet-beginner-guide__container {
    padding: 0 15px;
  }
  .page-resources-kubet-beginner-guide__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-kubet-beginner-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-kubet-beginner-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-kubet-beginner-guide__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-kubet-beginner-guide__btn-primary,
  .page-resources-kubet-beginner-guide__btn-secondary,
  .page-resources-kubet-beginner-guide__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-kubet-beginner-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-kubet-beginner-guide__section-intro {
    font-size: 0.95em;
  }
  .page-resources-kubet-beginner-guide__features-grid,
  .page-resources-kubet-beginner-guide__steps-grid,
  .page-resources-kubet-beginner-guide__games-grid,
  .page-resources-kubet-beginner-guide__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-kubet-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-kubet-beginner-guide__section,
  .page-resources-kubet-beginner-guide__card,
  .page-resources-kubet-beginner-guide__container,
  .page-resources-kubet-beginner-guide__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-kubet-beginner-guide video,
  .page-resources-kubet-beginner-guide__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-kubet-beginner-guide__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-kubet-beginner-guide__hero-video {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
  }
  .page-resources-kubet-beginner-guide__faq-item summary {
    font-size: 1.1em;
  }
  .page-resources-kubet-beginner-guide__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-resources-kubet-beginner-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-kubet-beginner-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-kubet-beginner-guide__card-title {
    font-size: 1.3em;
  }
}