/* style/hall-of-fame.css */

/* Base styling for the Hall of Fame page */
.page-hall-of-fame {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Page specific background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-hall-of-fame__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hall-of-fame__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    padding-top: 40px;
}

.page-hall-of-fame__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-hall-of-fame__button {
    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;
    cursor: pointer;
    font-size: 1em;
    margin: 10px;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

/* Hero Section */
.page-hall-of-fame__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* Light text for potentially dark image overlay */
    padding: 0; /* No padding here, handled by hero-content */
}

.page-hall-of-fame__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, NO color change */
}

.page-hall-of-fame__hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
}

.page-hall-of-fame__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
    max-width: 90%;
}

.page-hall-of-fame__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 80%;
    color: #F0F0F0;
}

.page-hall-of-fame__hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.page-hall-of-fame__button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-hall-of-fame__button--register:hover {
    background-color: #FCBC45; /* Login button color for hover */
    color: #FFFFFF;
    border-color: #FCBC45;
}

.page-hall-of-fame__button--learn-more {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-hall-of-fame__button--learn-more:hover {
    background-color: #FFFFFF;
    color: #000000;
}

/* Featured Winners Section */
.page-hall-of-fame__featured-winners {
    padding: 60px 0;
    background-color: #F8F8F8; /* Light background for contrast */
}

.page-hall-of-fame__winner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-hall-of-fame__winner-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 550px; /* Ensure cards have enough space */
}

.page-hall-of-fame__winner-image {
    width: 100%;
    max-width: 400px; /* Max width for image within card */
    height: 300px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-hall-of-fame__winner-name {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-hall-of-fame__winner-story {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left; /* Align story text left for readability */
}

.page-hall-of-fame__button--read-story {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: auto; /* Push button to bottom */
}

.page-hall-of-fame__button--read-story:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
}

/* Donnalyn Impact Section */
.page-hall-of-fame__donnalyn-impact {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-hall-of-fame__donnalyn-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-hall-of-fame__donnalyn-image {
    width: 100%;
    max-width: 500px; /* Max width for Donnalyn image */
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-hall-of-fame__donnalyn-text {
    flex: 1;
    min-width: 300px; /* Ensure text block has min width */
}

.page-hall-of-fame__donnalyn-text p {
    margin-bottom: 20px;
    color: #333333;
    font-size: 1.1em;
}

.page-hall-of-fame__button--donnalyn-content {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-hall-of-fame__button--donnalyn-content:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
}

/* How to Join Section */
.page-hall-of-fame__how-to-join {
    padding: 60px 0;
    background-color: #F8F8F8;
}

.page-hall-of-fame__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-hall-of-fame__step-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 500px;
}

.page-hall-of-fame__step-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-hall-of-fame__step-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-hall-of-fame__step-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.page-hall-of-fame__button--register-now,
.page-hall-of-fame__button--deposit-now,
.page-hall-of-fame__button--play-now {
    background-color: #FCBC45; /* Login color for these actions */
    color: #FFFFFF;
    border: 2px solid #FCBC45;
    margin-top: auto;
}

.page-hall-of-fame__button--register-now:hover,
.page-hall-of-fame__button--deposit-now:hover,
.page-hall-of-fame__button--play-now:hover {
    background-color: #000000;
    border-color: #000000;
}

/* Testimonials Section */
.page-hall-of-fame__testimonials {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-hall-of-fame__testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-hall-of-fame__testimonial-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
}

.page-hall-of-fame__testimonial-text {
    font-size: 1.1em;
    font-style: italic;
    color: #333333;
    margin-bottom: 20px;
}

.page-hall-of-fame__testimonial-author {
    font-weight: bold;
    color: #000000;
    display: block;
    margin-top: 10px;
}

/* Call to Action Section */
.page-hall-of-fame__cta {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF;
    text-align: center;
}

.page-hall-of-fame__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.page-hall-of-fame__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #F0F0F0;
}

.page-hall-of-fame__button--cta-join {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-hall-of-fame__button--cta-join:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}

/* FAQ Section */
.page-hall-of-fame__faq {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-hall-of-fame__faq-items {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-hall-of-fame__faq-item {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-hall-of-fame__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer;
}

.page-hall-of-fame__faq-answer {
    font-size: 1em;
    color: #555555;
}

/* Responsible Gambling Section */
.page-hall-of-fame__responsible-gambling {
    padding: 60px 0;
    background-color: #F0F0F0;
    text-align: center;
}

.page-hall-of-fame__button--responsible-gambling {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-hall-of-fame__button--responsible-gambling:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-hall-of-fame__hero-title {
        font-size: 3em;
    }
    .page-hall-of-fame__hero-description {
        font-size: 1.2em;
    }
    .page-hall-of-fame__section-title {
        font-size: 2.2em;
    }
    .page-hall-of-fame__donnalyn-content {
        flex-direction: column;
        text-align: center;
    }
    .page-hall-of-fame__donnalyn-image {
        max-width: 100%;
    }
    .page-hall-of-fame__donnalyn-text {
        min-width: unset;
        width: 100%;
    }
    .page-hall-of-fame__winner-story,
    .page-hall-of-fame__step-description {
        text-align: center; /* Center text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-hall-of-fame {
        padding-top: var(--header-offset, 80px); /* Adjust header offset for mobile */
    }
    .page-hall-of-fame__hero-title {
        font-size: 2em;
        max-width: 95%;
    }
    .page-hall-of-fame__hero-description {
        font-size: 1em;
        max-width: 95%;
    }
    .page-hall-of-fame__button {
        min-width: 150px;
        padding: 10px 20px;
    }
    .page-hall-of-fame__section-title {
        font-size: 1.8em;
    }
    .page-hall-of-fame__section-intro {
        font-size: 0.9em;
    }
    .page-hall-of-fame__winner-grid,
    .page-hall-of-fame__steps,
    .page-hall-of-fame__testimonial-grid {
        grid-template-columns: 1fr;
    }
    .page-hall-of-fame__winner-card,
    .page-hall-of-fame__step-card {
        min-height: auto; /* Allow height to adjust */
    }
    .page-hall-of-fame__winner-image,
    .page-hall-of-fame__step-image,
    .page-hall-of-fame__donnalyn-image {
        max-width: 100%;
        height: auto; /* Ensure images scale correctly */
    }
    /* Enforce image sizing for content area */
    .page-hall-of-fame img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important; /* Ensure minimum size */
        object-fit: cover;
    }
    .page-hall-of-fame__cta-title {
        font-size: 2em;
    }
    .page-hall-of-fame__cta-description {
        font-size: 1em;
    }
    .page-hall-of-fame__faq-question {
        font-size: 1.2em;
    }
}