/* style/blog-hh888-platform-analysis.css */

/* Variables from custom palette */
:root {
    --hh888-primary-color: #11A84E;
    --hh888-secondary-color: #22C768;
    --hh888-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --hh888-card-bg: #11271B;
    --hh888-background: #08160F;
    --hh888-text-main: #F2FFF6;
    --hh888-text-secondary: #A7D9B8;
    --hh888-border-color: #2E7A4E;
    --hh888-glow-color: #57E38D;
    --hh888-gold-color: #F2C14E;
    --hh888-divider-color: #1E3A2A;
    --hh888-deep-green: #0A4B2C;
}

/* Global body padding handled by shared.css */
.page-blog-hh888-platform-analysis {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--hh888-text-main); /* Light text for dark background */
    background-color: var(--hh888-background);
}

.page-blog-hh888-platform-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-hh888-platform-analysis__section-title {
    font-size: 2.5em;
    color: var(--hh888-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-blog-hh888-platform-analysis__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--hh888-text-secondary);
    text-align: justify;
}

/* Hero Section */
.page-blog-hh888-platform-analysis__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding for visual spacing */
    background-color: var(--hh888-background);
}

.page-blog-hh888-platform-analysis__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 400px;
}

.page-blog-hh888-platform-analysis__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Adjust to bring content closer to image, but not over it */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-blog-hh888-platform-analysis__main-title {
    color: var(--hh888-gold-color);
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-hh888-platform-analysis__description {
    font-size: 1.2em;
    color: var(--hh888-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-hh888-platform-analysis__cta-button {
    display: inline-block;
    background: var(--hh888-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-hh888-platform-analysis__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.page-blog-hh888-platform-analysis__cta-button--secondary {
    background: var(--hh888-deep-green);
    border: 2px solid var(--hh888-primary-color);
}

.page-blog-hh888-platform-analysis__cta-button--secondary:hover {
    background: var(--hh888-primary-color);
}

/* Section Styling */
.page-blog-hh888-platform-analysis__intro-section,
.page-blog-hh888-platform-analysis__features-section,
.page-blog-hh888-platform-analysis__guide-section,
.page-blog-hh888-platform-analysis__faq-section {
    padding: 60px 0;
    background-color: var(--hh888-background);
    color: var(--hh888-text-main);
}

.page-blog-hh888-platform-analysis__game-types-section,
.page-blog-hh888-platform-analysis__promotions-section,
.page-blog-hh888-platform-analysis__responsible-gaming-section,
.page-blog-hh888-platform-analysis__conclusion-section {
    padding: 60px 0;
    background-color: var(--hh888-card-bg);
    color: var(--hh888-text-main);
}

/* Game Grid */
.page-blog-hh888-platform-analysis__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-hh888-platform-analysis__game-card {
    background-color: var(--hh888-deep-green);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog-hh888-platform-analysis__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-hh888-platform-analysis__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-blog-hh888-platform-analysis__game-title {
    font-size: 1.5em;
    color: var(--hh888-gold-color);
    padding: 15px;
    margin-bottom: 5px;
    text-align: center;
}

.page-blog-hh888-platform-analysis__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-blog-hh888-platform-analysis__game-title a:hover {
    text-decoration: underline;
}

.page-blog-hh888-platform-analysis__game-description {
    font-size: 0.95em;
    color: var(--hh888-text-secondary);
    padding: 0 15px 15px;
    flex-grow: 1;
}

/* Feature Grid */
.page-blog-hh888-platform-analysis__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-hh888-platform-analysis__feature-item {
    background-color: var(--hh888-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--hh888-border-color);
}

.page-blog-hh888-platform-analysis__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-hh888-platform-analysis__feature-title {
    font-size: 1.6em;
    color: var(--hh888-gold-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-blog-hh888-platform-analysis__feature-description {
    font-size: 1em;
    color: var(--hh888-text-secondary);
    text-align: justify;
}

/* Promotions List */
.page-blog-hh888-platform-analysis__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: center;
}

.page-blog-hh888-platform-analysis__promo-item {
    background-color: var(--hh888-deep-green);
    border: 1px solid var(--hh888-primary-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--hh888-text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Guide Section */
.page-blog-hh888-platform-analysis__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-blog-hh888-platform-analysis__step-item {
    background-color: var(--hh888-card-bg);
    border: 1px solid var(--hh888-border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-blog-hh888-platform-analysis__step-title {
    font-size: 1.8em;
    color: var(--hh888-primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--hh888-divider-color);
    padding-bottom: 10px;
}

.page-blog-hh888-platform-analysis__step-item p {
    color: var(--hh888-text-secondary);
    font-size: 1.05em;
}

/* FAQ Section */
.page-blog-hh888-platform-analysis__faq-item {
    background-color: var(--hh888-card-bg);
    border: 1px solid var(--hh888-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog-hh888-platform-analysis__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    color: var(--hh888-text-main);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--hh888-deep-green);
    border-bottom: 1px solid var(--hh888-divider-color);
    list-style: none; /* For details/summary */
}

.page-blog-hh888-platform-analysis__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-hh888-platform-analysis__faq-qtext {
    flex-grow: 1;
    color: var(--hh888-text-main);
}

.page-blog-hh888-platform-analysis__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--hh888-gold-color);
}

.page-blog-hh888-platform-analysis__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--hh888-text-secondary);
    background-color: var(--hh888-card-bg);
}

.page-blog-hh888-platform-analysis__faq-item[open] .page-blog-hh888-platform-analysis__faq-question {
    border-bottom: 1px solid var(--hh888-divider-color);
}

.page-blog-hh888-platform-analysis__faq-item[open] .page-blog-hh888-platform-analysis__faq-toggle {
    content: '−';
}

/* Conclusion Section */
.page-blog-hh888-platform-analysis__conclusion-section .page-blog-hh888-platform-analysis__text-block {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-hh888-platform-analysis__conclusion-section .page-blog-hh888-platform-analysis__cta-button {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-hh888-platform-analysis__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }

    .page-blog-hh888-platform-analysis__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-blog-hh888-platform-analysis {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-hh888-platform-analysis__container {
        padding: 0 15px;
    }

    .page-blog-hh888-platform-analysis__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }

    .page-blog-hh888-platform-analysis__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-blog-hh888-platform-analysis__description {
        font-size: 1em;
    }

    .page-blog-hh888-platform-analysis__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-blog-hh888-platform-analysis__game-grid,
    .page-blog-hh888-platform-analysis__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-hh888-platform-analysis__game-image {
        height: 180px;
    }

    .page-blog-hh888-platform-analysis__cta-button,
    .page-blog-hh888-platform-analysis__cta-button--secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-hh888-platform-analysis__hero-section,
    .page-blog-hh888-platform-analysis__intro-section,
    .page-blog-hh888-platform-analysis__game-types-section,
    .page-blog-hh888-platform-analysis__features-section,
    .page-blog-hh888-platform-analysis__promotions-section,
    .page-blog-hh888-platform-analysis__guide-section,
    .page-blog-hh888-platform-analysis__responsible-gaming-section,
    .page-blog-hh888-platform-analysis__faq-section,
    .page-blog-hh888-platform-analysis__conclusion-section {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-blog-hh888-platform-analysis img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-hh888-platform-analysis__video-section,
    .page-blog-hh888-platform-analysis__video-container,
    .page-blog-hh888-platform-analysis__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-blog-hh888-platform-analysis__video-section {
        padding-top: 10px !important;
    }

    .page-blog-hh888-platform-analysis__cta-buttons,
    .page-blog-hh888-platform-analysis__button-group,
    .page-blog-hh888-platform-analysis__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-blog-hh888-platform-analysis__hero-content {
        padding: 20px 10px;
        margin-top: -40px;
    }

    .page-blog-hh888-platform-analysis__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }

    .page-blog-hh888-platform-analysis__section-title {
        font-size: 1.5em;
    }

    .page-blog-hh888-platform-analysis__cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }

    .page-blog-hh888-platform-analysis__game-title {
        font-size: 1.3em;
    }

    .page-blog-hh888-platform-analysis__feature-title {
        font-size: 1.4em;
    }

    .page-blog-hh888-platform-analysis__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
}