/* style/game-center.css */

/* Variables for colors */
:root {
    --page-game-center-primary-color: #1A2E44;
    --page-game-center-secondary-color: #E7C200;
    --page-game-center-text-light: #f8f8f8;
    --page-game-center-text-dark: #333;
    --page-game-center-background-dark: #1A2E44;
    --page-game-center-background-light: #ffffff;
    --page-game-center-accent-gold-dark: #b89c00;
    --page-game-center-accent-gold-light: #fff3c9;
}

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

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

/* Hero Section */
.page-game-center-hero {
    position: relative;
    background-image: url('[GALLERY:hero:bi88,game_center,diverse_games,excitement]');
    background-size: cover;
    background-position: center;
    color: var(--page-game-center-text-light);
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-game-center-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-game-center-hero .page-game-center-container {
    position: relative;
    z-index: 2;
}

.page-game-center-main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--page-game-center-text-light);
}

.page-game-center-hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-game-center-text-light);
}

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

.page-game-center-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.page-game-center-btn-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-btn-primary:hover {
    background-color: var(--page-game-center-accent-gold-dark);
    border-color: var(--page-game-center-accent-gold-dark);
    transform: translateY(-2px);
}

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

.page-game-center-btn-secondary:hover {
    background-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
    transform: translateY(-2px);
}

/* General Section Styling */
.page-game-center-section {
    padding: 60px 0;
    background-color: var(--page-game-center-background-light);
}

.page-game-center-section:nth-of-type(even) {
    background-color: #f0f2f5; /* Light grey for alternating sections */
}

.page-game-center-section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--page-game-center-primary-color);
}

.page-game-center-section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-game-center-text-dark);
}

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

.page-game-center .keyword {
    font-weight: bold;
}

/* Introduction Section */
.page-game-center-introduction {
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-text-light);
}

.page-game-center-introduction .page-game-center-section-title,
.page-game-center-introduction .page-game-center-section-subtitle {
    color: var(--page-game-center-text-light);
}

.page-game-center-intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.page-game-center-intro-text {
    flex: 1;
    font-size: 1.1em;
}

.page-game-center-intro-text p {
    margin-bottom: 15px;
}

.page-game-center-intro-image {
    flex: 1;
    text-align: center;
}

.page-game-center-img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-center-cta-banner {
    background-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.page-game-center-cta-banner h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--page-game-center-primary-color);
}

.page-game-center-cta-banner p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.page-game-center-btn-cta {
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-secondary-color);
    border: 2px solid var(--page-game-center-primary-color);
    padding: 12px 25px;
    font-size: 1em;
}

.page-game-center-btn-cta:hover {
    background-color: #0d1e2f; /* Darker primary */
    border-color: #0d1e2f;
    transform: translateY(-2px);
}

/* Game Categories Grid */
.page-game-center-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-center-game-card {
    background-color: var(--page-game-center-background-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-center-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-game-center-game-title {
    font-size: 1.8em;
    margin: 20px 0 10px;
    color: var(--page-game-center-primary-color);
}

.page-game-center-game-description {
    font-size: 1em;
    color: var(--page-game-center-text-dark);
    padding: 0 20px;
    margin-bottom: 25px;
}

.page-game-center-btn-game {
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-secondary-color);
    border: 2px solid var(--page-game-center-primary-color);
    padding: 10px 20px;
    font-size: 0.95em;
}

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

/* Why Choose Section */
.page-game-center-why-choose {
    background-color: #f0f2f5;
}

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

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

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

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

.page-game-center-feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--page-game-center-primary-color);
}

.page-game-center-feature-item p {
    font-size: 1em;
    color: var(--page-game-center-text-dark);
}

/* Getting Started Section */
.page-game-center-getting-started {
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-text-light);
}

.page-game-center-getting-started .page-game-center-section-title,
.page-game-center-getting-started .page-game-center-section-subtitle {
    color: var(--page-game-center-text-light);
}

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

.page-game-center-step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-game-center-step-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-game-center-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-center-step-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--page-game-center-text-light);
}

.page-game-center-step-item p {
    font-size: 1em;
    color: var(--page-game-center-text-light);
    margin-bottom: 25px;
}

.page-game-center-btn-step {
    background-color: var(--page-game-center-secondary-color);
    color: var(--page-game-center-primary-color);
    border: 2px solid var(--page-game-center-secondary-color);
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-game-center-btn-step:hover {
    background-color: var(--page-game-center-accent-gold-dark);
    border-color: var(--page-game-center-accent-gold-dark);
}

/* Detail Pages Section */
.page-game-center-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-center-detail-card {
    background-color: var(--page-game-center-background-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-center-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-center-detail-title {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-game-center-detail-title a {
    color: var(--page-game-center-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-center-detail-title a:hover {
    color: var(--page-game-center-secondary-color);
}

.page-game-center-detail-description {
    font-size: 1em;
    color: var(--page-game-center-text-dark);
    margin-bottom: 20px;
}

.page-game-center-btn-details {
    display: inline-block;
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-secondary-color);
    border: 2px solid var(--page-game-center-primary-color);
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

/* Conclusion Section */
.page-game-center-conclusion {
    text-align: center;
    background-color: var(--page-game-center-primary-color);
    color: var(--page-game-center-text-light);
}

.page-game-center-conclusion .page-game-center-section-title {
    color: var(--page-game-center-text-light);
}

.page-game-center-conclusion-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--page-game-center-text-light);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-center-main-title {
        font-size: 2.8em;
    }
    .page-game-center-hero-description {
        font-size: 1.1em;
    }
    .page-game-center-section-title {
        font-size: 2em;
    }
    .page-game-center-intro-content {
        flex-direction: column;
        text-align: center;
    }
    .page-game-center-intro-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-game-center-hero {
        padding: 80px 0;
    }
    .page-game-center-main-title {
        font-size: 2.2em;
    }
    .page-game-center-hero-description {
        font-size: 1em;
    }
    .page-game-center-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-center-btn {
        width: 80%;
        max-width: 300px;
    }
    .page-game-center-section {
        padding: 40px 0;
    }
    .page-game-center-section-title {
        font-size: 1.8em;
    }
    .page-game-center-section-subtitle {
        font-size: 1em;
    }
    .page-game-center-game-grid, .page-game-center-features-grid, .page-game-center-steps-grid, .page-game-center-detail-grid {
        grid-template-columns: 1fr;
    }
    .page-game-center-intro-text, .page-game-center-intro-image {
        flex: none;
        width: 100%;
    }
    .page-game-center-cta-banner h3 {
        font-size: 1.6em;
    }
    .page-game-center-cta-banner p {
        font-size: 1em;
    }
    .page-game-center-conclusion-actions {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-game-center-hero {
        padding: 60px 0;
    }
    .page-game-center-main-title {
        font-size: 1.8em;
    }
    .page-game-center-hero-description {
        font-size: 0.9em;
    }
    .page-game-center-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-game-center-section-title {
        font-size: 1.5em;
    }
    .page-game-center-section-subtitle {
        font-size: 0.9em;
    }
    .page-game-center-game-title {
        font-size: 1.5em;
    }
    .page-game-center-feature-title {
        font-size: 1.3em;
    }
    .page-game-center-step-item h3 {
        font-size: 1.4em;
    }
    .page-game-center-detail-title {
        font-size: 1.4em;
    }
}