/* style/game-center.css */

:root {
    --page-game-center-primary-color: #0A2E36;
    --page-game-center-secondary-color: #E0B400;
    --page-game-center-text-light: #F8F8F8;
    --page-game-center-text-dark: #1A1A1A;
    --page-game-center-bg-light: #F0F2F5;
    --page-game-center-bg-dark: #0A2E36;
    --page-game-center-accent-color: #f5d1c9; /* Derived from primary complement */
}

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

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

.page-game-center__section-title {
    font-size: 2.8em;
    color: var(--page-game-center-primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.page-game-center__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-game-center-secondary-color);
    border-radius: 2px;
}

.page-game-center__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555;
}

.page-game-center__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
}

.page-game-center__button--primary {
    background-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
    border: 2px solid var(--page-game-center-secondary-color);
}

.page-game-center__button--primary:hover {
    background-color: #cc9f00;
    border-color: #cc9f00;
    color: var(--page-game-center-text-light);
}

.page-game-center__button--secondary {
    background-color: transparent;
    color: var(--page-game-center-secondary-color);
    border: 2px solid var(--page-game-center-secondary-color);
}

.page-game-center__button--secondary:hover {
    background-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
}

.page-game-center__button--outline {
    background-color: transparent;
    color: var(--page-game-center-primary-color);
    border: 1px solid var(--page-game-center-primary-color);
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-game-center__button--outline:hover {
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-text-light);
}

.page-game-center__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-text-light);
    border: 1px solid var(--page-game-center-primary-color);
}

.page-game-center__button--small:hover {
    background-color: var(--page-game-center-secondary-color);
    border-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
}

.page-game-center__button--large {
    padding: 15px 35px;
    font-size: 1.2em;
    background-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
    border: 2px solid var(--page-game-center-secondary-color);
}

.page-game-center__button--large:hover {
    background-color: #cc9f00;
    border-color: #cc9f00;
    color: var(--page-game-center-text-light);
}

/* Hero Section */
.page-game-center__hero-section {
    background: linear-gradient(135deg, var(--page-game-center-primary-color) 0%, #1a4a58 100%);
    padding: 80px 0;
    color: var(--page-game-center-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-game-center__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,gaming_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-center__hero-section .page-game-center__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.page-game-center__hero-content {
    flex: 1;
    max-width: 600px;
}

.page-game-center__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--page-game-center-secondary-color);
}

.page-game-center__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-game-center__hero-actions {
    display: flex;
    gap: 20px;
}

.page-game-center__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-game-center__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About AU88BET Section */
.page-game-center__about-au88bet {
    padding: 80px 0;
    background-color: var(--page-game-center-bg-light);
}

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

.page-game-center__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-center__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-game-center__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.page-game-center__feature-title {
    font-size: 1.5em;
    color: var(--page-game-center-primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-game-center__feature-text {
    font-size: 1em;
    color: #666;
}

/* Game Categories Section */
.page-game-center__game-categories {
    padding: 80px 0;
    background-color: #fcfcfc;
}

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

.page-game-center__game-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-center__game-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-game-center__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-game-center__game-title {
    font-size: 1.6em;
    color: var(--page-game-center-primary-color);
    margin: 20px 0 10px 0;
    padding: 0 20px;
    font-weight: 700;
}

.page-game-center__game-text {
    font-size: 1em;
    color: #666;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-game-center__game-item .page-game-center__button--small {
    margin-bottom: 20px;
}

/* Why Choose Section */
.page-game-center__why-choose {
    background-color: var(--page-game-center-bg-dark);
    color: var(--page-game-center-text-light);
    padding: 80px 0;
}

.page-game-center__why-choose .page-game-center__section-title {
    color: var(--page-game-center-secondary-color);
}

.page-game-center__why-choose .page-game-center__section-title::after {
    background-color: var(--page-game-center-text-light);
}

.page-game-center__why-choose-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}

.page-game-center__why-choose-text {
    flex: 1;
}

.page-game-center__why-choose-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ccc;
}

.page-game-center__why-choose-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-game-center__why-choose-text ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
    color: #e0e0e0;
}

.page-game-center__why-choose-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--page-game-center-secondary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.page-game-center__highlight {
    color: var(--page-game-center-secondary-color);
}

.page-game-center__why-choose-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-game-center__why-choose-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Guide Section */
.page-game-center__guide-section {
    padding: 80px 0;
    background-color: var(--page-game-center-bg-light);
}

.page-game-center__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-game-center__step-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.page-game-center__step-item:hover {
    transform: translateY(-5px);
}

.page-game-center__step-number {
    width: 60px;
    height: 60px;
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: -60px auto 20px auto;
    border: 5px solid var(--page-game-center-secondary-color);
}

.page-game-center__step-title {
    font-size: 1.6em;
    color: var(--page-game-center-primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-game-center__step-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-game-center__faq-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.page-game-center__faq-items {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-game-center__faq-item {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.page-game-center__faq-question {
    font-size: 1.3em;
    color: var(--page-game-center-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: 600;
}

.page-game-center__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--page-game-center-secondary-color);
}

.page-game-center__faq-question.active::after {
    content: '-';
}

.page-game-center__faq-answer {
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-game-center__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    margin-top: 10px;
}

/* Call to Action Bottom */
.page-game-center__cta-bottom {
    background-color: var(--page-game-center-primary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--page-game-center-text-light);
}

.page-game-center__cta-title {
    font-size: 2.5em;
    color: var(--page-game-center-secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-game-center__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Floating Promo */
.page-game-center__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: page-game-center-pulse 2s infinite;
}

.page-game-center__floating-text {
    font-weight: bold;
    font-size: 1.1em;
    margin: 0;
}

.page-game-center__button--floating {
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-secondary-color);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-game-center__button--floating:hover {
    background-color: #1a4a58;
    color: var(--page-game-center-secondary-color);
}

@keyframes page-game-center-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-center__hero-section .page-game-center__container {
        flex-direction: column;
        text-align: center;
    }

    .page-game-center__hero-content {
        max-width: 100%;
    }

    .page-game-center__hero-image-wrapper {
        margin-top: 40px;
    }

    .page-game-center__why-choose-content {
        flex-direction: column;
    }

    .page-game-center__why-choose-image-wrapper {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }

    .page-game-center__hero-title {
        font-size: 2.8em;
    }

    .page-game-center__section-title {
        font-size: 2.2em;
    }

    .page-game-center__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-game-center__hero-section {
        padding: 60px 0;
    }

    .page-game-center__hero-title {
        font-size: 2.5em;
    }

    .page-game-center__hero-description {
        font-size: 1em;
    }

    .page-game-center__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-game-center__button {
        width: 100%;
    }

    .page-game-center__section-title {
        font-size: 2em;
    }

    .page-game-center__section-description {
        font-size: 0.95em;
    }

    .page-game-center__features-grid,
    .page-game-center__game-list,
    .page-game-center__guide-steps {
        grid-template-columns: 1fr;
    }

    .page-game-center__step-number {
        margin-top: 0;
    }

    .page-game-center__floating-promo {
        bottom: 10px;
        right: 10px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px 15px;
    }
    .page-game-center__floating-text {
        font-size: 0.9em;
    }
    .page-game-center__button--floating {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-game-center__hero-title {
        font-size: 2em;
    }
    .page-game-center__section-title {
        font-size: 1.8em;
    }
    .page-game-center__cta-title {
        font-size: 1.6em;
    }
    .page-game-center__button--large {
        font-size: 1em;
        padding: 12px 25px;
    }
}