/* style/beginners-guide.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-beginners-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-light);
}

/* Ensure content is not hidden by fixed header */
.page-beginners-guide__hero-banner {
    padding-top: 120px; /* Desktop padding to clear fixed header */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 60%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-beginners-guide__hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-beginners-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-beginners-guide__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-beginners-guide__hero-cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.page-beginners-guide__hero-cta-button:hover {
    background-color: #f0c94d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-beginners-guide__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    display: block;
    margin: 0 auto;
}

.page-beginners-guide__section {
    padding: 60px 0;
}

.page-beginners-guide__intro-section {
    background-color: var(--card-background);
}

.page-beginners-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-beginners-guide__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-beginners-guide__section-title .highlight {
    color: var(--secondary-color);
}

.page-beginners-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-dark);
}

.page-beginners-guide__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-beginners-guide__text-link:hover {
    color: var(--secondary-color);
}

.page-beginners-guide__how-to-claim .page-beginners-guide__container {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-beginners-guide__card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-beginners-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-beginners-guide__card-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-beginners-guide__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

.page-beginners-guide__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.page-beginners-guide__primary-cta,
.page-beginners-guide__secondary-cta {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    width: fit-content;
}

.page-beginners-guide__primary-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginners-guide__primary-cta:hover {
    background-color: #071a47;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-beginners-guide__secondary-cta {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-beginners-guide__secondary-cta:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-beginners-guide__bonus-types {
    background-color: var(--background-light);
}

.page-beginners-guide__bonus-card .page-beginners-guide__bonus-icon {
    width: 120px; /* Increased size for content image, not icon */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-beginners-guide__evaluation-criteria {
    background-color: var(--card-background);
}

.page-beginners-guide__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-beginners-guide__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05em;
    color: var(--text-dark);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-beginners-guide__list-item strong {
    color: var(--primary-color);
}

.page-beginners-guide__responsible-gaming {
    background-color: var(--background-light);
}

.page-beginners-guide__responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-beginners-guide__image-spacing {
    margin-bottom: 30px;
}

.page-beginners-guide__faq-section {
    background-color: var(--card-background);
}

.page-beginners-guide__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-beginners-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-beginners-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-beginners-guide__faq-item.active .page-beginners-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-beginners-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-beginners-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-beginners-guide__faq-question:active {
  background: #eeeeee;
}

.page-beginners-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-beginners-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-beginners-guide__faq-item.active .page-beginners-guide__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-beginners-guide__conclusion-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-beginners-guide__conclusion-section .page-beginners-guide__section-title {
    color: var(--secondary-color);
}

.page-beginners-guide__conclusion-section .page-beginners-guide__paragraph {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-beginners-guide__conclusion-section .page-beginners-guide__primary-cta {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-beginners-guide__conclusion-section .page-beginners-guide__primary-cta:hover {
    background-color: #f0c94d;
}

.page-beginners-guide__conclusion-section .page-beginners-guide__secondary-cta {
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-beginners-guide__conclusion-section .page-beginners-guide__secondary-cta:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-beginners-guide__hero-title {
        font-size: 2.8em;
    }
    .page-beginners-guide__hero-subtitle {
        font-size: 1.2em;
    }
    .page-beginners-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-beginners-guide__hero-banner {
        padding-top: 100px !important; /* Mobile padding to clear fixed header */
        padding-bottom: 40px;
    }
    .page-beginners-guide__hero-title {
        font-size: 2.2em;
    }
    .page-beginners-guide__hero-subtitle {
        font-size: 1em;
    }
    .page-beginners-guide__hero-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-beginners-guide__section {
        padding: 40px 0;
    }
    .page-beginners-guide__container {
        padding: 0 15px;
    }
    .page-beginners-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-beginners-guide__paragraph,
    .page-beginners-guide__card-text,
    .page-beginners-guide__list-item {
        font-size: 0.95em;
    }
    .page-beginners-guide__content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-beginners-guide__card {
        padding: 20px;
    }
    .page-beginners-guide__card-title {
        font-size: 1.2em;
    }
    .page-beginners-guide__cta-wrapper {
        margin-top: 30px;
        gap: 15px;
    }
    .page-beginners-guide__primary-cta,
    .page-beginners-guide__secondary-cta {
        font-size: 1em;
        padding: 12px 25px;
        width: 100%;
    }
    .page-beginners-guide__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-beginners-guide__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-beginners-guide__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-beginners-guide__faq-answer {
        padding: 0 15px;
    }
    .page-beginners-guide__faq-item.active .page-beginners-guide__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image responsive adaptation */
    .page-beginners-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-beginners-guide__section,
    .page-beginners-guide__card,
    .page-beginners-guide__container,
    .page-beginners-guide__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}