:root {
    --primary-color: #0A1931;
    --secondary-color: #E0B941;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f7f6;
    --border-color: #e0e0e0;
}

.page-resources-game-safety-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

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

.page-resources-game-safety-guide__container--center {
    text-align: center;
}

.page-resources-game-safety-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: var(--text-color-light);
    overflow: hidden;
}

.page-resources-game-safety-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-game-safety-guide__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-game-safety-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-game-safety-guide__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources-game-safety-guide__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.page-resources-game-safety-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-resources-game-safety-guide__cta-button:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-game-safety-guide__cta-button--large {
    padding: 18px 50px;
    font-size: 1.2em;
    margin-top: 40px;
}

.page-resources-game-safety-guide__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-resources-game-safety-guide__section--intro {
    background-color: var(--background-light);
}

.page-resources-game-safety-guide__section--measures {
    background-color: #f0f3f2;
}

.page-resources-game-safety-guide__section--privacy {
    background-color: var(--background-light);
}

.page-resources-game-safety-guide__section--responsible {
    background-color: #f0f3f2;
}

.page-resources-game-safety-guide__section--support {
    background-color: var(--background-light);
}

.page-resources-game-safety-guide__section--conclusion {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 80px 0;
    text-align: center;
}

.page-resources-game-safety-guide__section--conclusion .page-resources-game-safety-guide__heading {
    color: var(--secondary-color);
}

.page-resources-game-safety-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.page-resources-game-safety-guide__paragraph a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-game-safety-guide__paragraph a:hover {
    color: var(--secondary-color);
}

.page-resources-game-safety-guide__section--conclusion .page-resources-game-safety-guide__paragraph {
    color: var(--text-color-light);
}

.page-resources-game-safety-guide__heading {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.page-resources-game-safety-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-game-safety-guide__card {
    background: var(--text-color-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-resources-game-safety-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-game-safety-guide__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    max-width: 100%;
}

.page-resources-game-safety-guide__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.page-resources-game-safety-guide__list-item {
    background: var(--text-color-light);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color-dark);
    font-size: 1.05em;
}

.page-resources-game-safety-guide__list-item strong {
    color: var(--primary-color);
}

.page-resources-game-safety-guide__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
}
.page-resources-game-safety-guide__list-item a:hover {
    color: var(--secondary-color);
}

.page-resources-game-safety-guide__image-full-width {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* FAQ Section */
.page-resources-game-safety-guide__faq-list {
  margin-top: 40px;
}

.page-resources-game-safety-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--text-color-light);
}

.page-resources-game-safety-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;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-game-safety-guide__faq-item.active .page-resources-game-safety-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-color-dark);
}

.page-resources-game-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--text-color-light);
  border-bottom: 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-resources-game-safety-guide__faq-item.active .page-resources-game-safety-guide__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

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

.page-resources-game-safety-guide__faq-question:active {
  background: #eeeeee;
}

.page-resources-game-safety-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-resources-game-safety-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-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-resources-game-safety-guide__faq-item.active .page-resources-game-safety-guide__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-game-safety-guide__main-title {
        font-size: 2.2em;
    }
    .page-resources-game-safety-guide__subtitle {
        font-size: 1.1em;
    }
    .page-resources-game-safety-guide__heading {
        font-size: 1.8em;
    }
    .page-resources-game-safety-guide__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-resources-game-safety-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-game-safety-guide__hero-image {
        border-radius: 4px;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .page-resources-game-safety-guide__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-resources-game-safety-guide__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-game-safety-guide__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        margin-top: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-game-safety-guide__cta-button--large {
        padding: 15px 40px;
        font-size: 1.1em;
        margin-top: 30px;
    }

    .page-resources-game-safety-guide__section {
        padding: 40px 0;
    }

    .page-resources-game-safety-guide__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-game-safety-guide__heading {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .page-resources-game-safety-guide__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-game-safety-guide__card {
        padding: 20px;
    }

    .page-resources-game-safety-guide__card-image {
        height: 180px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-resources-game-safety-guide__card-title {
        font-size: 1.2em;
    }

    .page-resources-game-safety-guide__paragraph {
        font-size: 0.95em;
    }

    .page-resources-game-safety-guide__list-item {
        font-size: 0.95em;
        padding: 12px 15px;
    }

    .page-resources-game-safety-guide__image-full-width {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    .page-resources-game-safety-guide__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-resources-game-safety-guide__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-resources-game-safety-guide__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-resources-game-safety-guide__faq-answer {
        padding: 0 15px;
    }
    
    .page-resources-game-safety-guide__faq-item.active .page-resources-game-safety-guide__faq-answer {
        padding: 15px !important;
    }
}