/* TeamPlay Game Page Styles */
/* Extends main styles.css with game-specific styling */

/* ============================================
   Game Hero Section
   ============================================ */

.game-hero {
    position: relative;
    width: 100%;
    margin-top: 80px;
    background: var(--color-white);
}

.game-hero-image-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
}

.game-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.game-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.3) 0%,
        rgba(5, 5, 5, 0.7) 100%
    );
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.game-hero-content {
    text-align: left;
}

.game-badge {
    display: inline-block;
    background: var(--color-orange-light);
    color: var(--color-black);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.game-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 16px;
}

.game-hero-tagline {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

/* ============================================
   Game Stats Bar
   ============================================ */

.game-stats-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-100);
    padding: 32px 0;
}

.game-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.game-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-stat-icon {
    font-size: 32px;
    line-height: 1;
}

.game-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.game-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
}

/* ============================================
   Game Description Section
   ============================================ */

.game-description-section {
    padding: 60px 0 40px;
    background: var(--color-white);
}

.game-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-gray-600);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Game Sections Grid
   ============================================ */

.game-sections {
    padding: 40px 0 80px;
    background: var(--color-gray-50);
}

.game-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.game-section-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.game-section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.game-section-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 16px;
}

.game-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 12px;
}

.game-section-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-600);
}

/* ============================================
   CTA Section
   ============================================ */

.game-cta-section {
    padding: 80px 0;
    background: var(--color-gray-50);
}

.game-cta-content {
    text-align: center;
}

.game-cta-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 16px;
}

.game-cta-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 40px;
}

.game-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Error State
   ============================================ */

.error-state {
    padding: 120px 20px;
    text-align: center;
}

.error-state h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 16px;
}

.error-state p {
    font-size: 18px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

/* ============================================
   Color Themes
   ============================================ */

/* Blue theme */
.theme-blue .game-section-card:hover {
    border-color: var(--color-blue);
}

.theme-blue .btn-primary {
    background: var(--color-blue);
}

/* Green theme */
.theme-green .game-section-card:hover {
    border-color: var(--color-green);
}

.theme-green .btn-primary {
    background: var(--color-green);
}

/* Orange theme */
.theme-orange .game-section-card:hover {
    border-color: var(--color-orange);
}

.theme-orange .btn-primary {
    background: var(--color-orange);
}

/* Purple theme */
.theme-purple .game-section-card:hover {
    border-color: var(--color-purple);
}

.theme-purple .btn-primary {
    background: var(--color-purple);
}

/* Red theme */
.theme-red .game-section-card:hover {
    border-color: rgb(239, 68, 68);
}

.theme-red .btn-primary {
    background: rgb(239, 68, 68);
}

/* Pink theme */
.theme-pink .game-section-card:hover {
    border-color: rgb(236, 72, 153);
}

.theme-pink .btn-primary {
    background: rgb(236, 72, 153);
}

/* Teal theme */
.theme-teal .game-section-card:hover {
    border-color: rgb(20, 184, 166);
}

.theme-teal .btn-primary {
    background: rgb(20, 184, 166);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .game-sections-grid {
        grid-template-columns: 1fr;
    }

    .game-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .game-hero-image-container {
        height: 400px;
    }

    .game-hero-title {
        font-size: 40px;
    }

    .game-hero-tagline {
        font-size: 18px;
    }

    .game-hero-overlay {
        padding-bottom: 40px;
    }

    .game-description {
        font-size: 18px;
    }

    .game-section-card {
        padding: 24px;
    }

    .game-section-title {
        font-size: 20px;
    }

    .game-cta-title {
        font-size: 36px;
    }

    .game-cta-subtitle {
        font-size: 18px;
    }

    .game-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .game-cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .game-stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .game-hero-image-container {
        height: 300px;
    }

    .game-hero-title {
        font-size: 32px;
    }

    .game-hero-tagline {
        font-size: 16px;
    }

    .game-section-icon {
        font-size: 36px;
    }

    .game-cta-title {
        font-size: 28px;
    }
}
