/* style/support.css */
.page-support {
    color: #333333; /* Deep text color for contrast against default light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-support__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    overflow: hidden;
    background-color: #000080; /* Auxiliary dark blue */
    color: #ffffff;
    text-align: center;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.6;
    filter: brightness(0.8); /* Slightly dim the image for text readability */
}

.page-support__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    z-index: 1;
    padding: 20px;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold primary color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-support__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-support__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    min-width: 150px;
    text-align: center;
    font-size: 1em;
}

.page-support__button--primary {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark blue */
    border: 2px solid #FFD700;
}

.page-support__button--primary:hover {
    background-color: #e6c200;
    color: #000066;
    transform: translateY(-2px);
}

.page-support__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-support__button--secondary:hover {
    background-color: #FFD700;
    color: #000080;
    transform: translateY(-2px);
}

.page-support__section-title {
    font-size: 2.5em;
    color: #000080; /* Dark blue */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-support__faq-section,
.page-support__contact-methods,
.page-support__responsible-gaming,
.page-support__additional-resources,
.page-support__cta-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.page-support__faq-section:nth-of-type(even),
.page-support__contact-methods:nth-of-type(even),
.page-support__additional-resources:nth-of-type(even) {
    background-color: #ffffff;
}

.page-support__faq-container,
.page-support__contact-container,
.page-support__responsible-gaming-container,
.page-support__resources-container,
.page-support__cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__faq-grid,
.page-support__contact-grid,
.page-support__resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-support__faq-card,
.page-support__method-card,
.page-support__resource-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-support__faq-card:hover,
.page-support__method-card:hover,
.page-support__resource-card:hover {
    transform: translateY(-5px);
}

.page-support__card-title {
    font-size: 1.5em;
    color: #000080; /* Dark blue */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__card-title a {
    color: #000080;
    text-decoration: none;
}

.page-support__card-title a:hover {
    color: #FFD700;
}

.page-support__card-text {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__faq-list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 15px;
    color: #555555;
}

.page-support__faq-list li {
    margin-bottom: 8px;
}

.page-support__button--small {
    padding: 8px 18px;
    font-size: 0.9em;
    align-self: flex-start;
    margin-top: auto;
}

.page-support__method-icon {
    width: 250px; /* Minimum size */
    height: 187px; /* Maintain aspect ratio for 400x300 */
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px;
}

.page-support__responsible-gaming-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    background-color: #000080; /* Dark blue background */
    color: #ffffff;
    padding: 50px;
    border-radius: 15px;
}

.page-support__responsible-gaming-image {
    width: 400px; /* Display size */
    height: 300px; /* Display size */
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.page-support__responsible-gaming-content {
    flex-grow: 1;
}

.page-support__responsible-gaming-content .page-support__section-title {
    color: #FFD700; /* Gold */
    text-align: left;
    font-size: 2.2em;
}

.page-support__responsible-gaming-content .page-support__section-intro,
.page-support__text-block {
    color: #f0f0f0;
    text-align: left;
    margin-bottom: 20px;
}

.page-support__responsible-gaming-content .page-support__button {
    margin-top: 20px;
}

.page-support__responsible-gaming-content .page-support__button--primary {
    background-color: #FFD700;
    color: #000080;
    border: 2px solid #FFD700;
}

.page-support__responsible-gaming-content .page-support__button--primary:hover {
    background-color: #e6c200;
    color: #000066;
}

.page-support__resource-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__resource-card .page-support__card-title {
    margin-top: 0;
}

.page-support__cta-section {
    background-color: #FFD700; /* Gold background */
    color: #000080; /* Dark blue text */
    text-align: center;
    padding: 80px 20px;
}

.page-support__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #000080; /* Dark blue */
    font-weight: bold;
}

.page-support__cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #333333;
}

.page-support__button--large {
    padding: 15px 35px;
    font-size: 1.1em;
    border-width: 3px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__responsible-gaming-container {
        flex-direction: column;
        text-align: center;
    }
    .page-support__responsible-gaming-content .page-support__section-title {
        text-align: center;
    }
    .page-support__responsible-gaming-content .page-support__section-intro,
    .page-support__text-block {
        text-align: center;
    }
    .page-support__responsible-gaming-content .page-support__button {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
        padding: 40px 15px;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__button {
        width: 100%;
        max-width: 300px;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-support__faq-grid,
    .page-support__contact-grid,
    .page-support__resource-grid {
        grid-template-columns: 1fr;
    }
    .page-support__faq-card,
    .page-support__method-card,
    .page-support__resource-card {
        padding: 25px;
    }
    .page-support__card-title {
        font-size: 1.3em;
    }
    .page-support__card-text {
        font-size: 0.9em;
    }
    .page-support__button--small {
        align-self: stretch;
        text-align: center;
    }
    .page-support__responsible-gaming-container {
        padding: 30px;
    }
    .page-support__responsible-gaming-image {
        width: 100%;
        height: auto;
        max-width: 400px; /* Constraint for mobile */
    }
    .page-support__responsible-gaming-content .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__cta-title {
        font-size: 2em;
    }
    .page-support__cta-description {
        font-size: 1em;
    }

    /* Prevent content overflow for images in content area */
    .page-support img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__cta-title {
        font-size: 1.8em;
    }
    .page-support__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-support__hero-content {
        padding: 15px;
    }
    .page-support__faq-section,
    .page-support__contact-methods,
    .page-support__responsible-gaming,
    .page-support__additional-resources,
    .page-support__cta-section {
        padding: 40px 15px;
    }
}