/* ==========================================================================
   Gamoz Game Hub Dedicated Stylesheet (Desktop, Tablet & Mobile Optimized)
   ========================================================================== */

.game-hub-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.game-hub-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
    width: 100%;
}

/* Breadcrumbs Bar */
.hub-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hub-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hub-breadcrumb a:hover {
    color: var(--primary-orange);
}

.hub-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

.hub-breadcrumb .current {
    color: var(--cyber-cyan);
    font-weight: 600;
}

/* Hero Section */
.game-hero-card {
    background: linear-gradient(135deg, rgba(18, 25, 38, 0.85) 0%, rgba(13, 18, 28, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 124, 0, 0.08);
    backdrop-filter: blur(16px);
    margin-bottom: 3.5rem;
}

.game-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F57C00, #00F0FF, #F57C00);
    opacity: 0.85;
}

.game-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Hero Info Column */
.game-hero-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.game-badges-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.console-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(245, 124, 0, 0.15);
    color: #FFB74D;
    border: 1px solid rgba(245, 124, 0, 0.4);
    box-shadow: 0 0 15px rgba(245, 124, 0, 0.2);
}

.engine-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(0, 240, 255, 0.12);
    color: var(--cyber-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.game-hub-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(245, 124, 0, 0.2);
}

.game-hub-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.game-hub-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.game-hub-meta .meta-dot {
    color: rgba(255, 255, 255, 0.2);
}

.game-hub-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #CBD5E1;
}

/* Specs HUD Grid */
.specs-hud {
    background: rgba(9, 13, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.spec-item .spec-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-item .spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.spec-item .spec-value i {
    color: var(--primary-orange);
    font-size: 0.85rem;
}

/* CTA Buttons */
.game-hub-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-hub-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #F57C00 0%, #E65100 100%);
    color: #FFFFFF;
    padding: 0.95rem 1.85rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(245, 124, 0, 0.4);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hub-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 124, 0, 0.6);
    background: linear-gradient(135deg, #FF9800 0%, #EF6C00 100%);
}

.btn-hub-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all var(--transition-fast);
}

.btn-hub-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Cover Visual Column */
.game-hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cover-glow-backdrop {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245, 124, 0, 0.3) 0%, rgba(0, 240, 255, 0.15) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.cover-container {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    padding: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(245, 124, 0, 0.4) 50%, rgba(0, 240, 255, 0.3) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    max-width: 320px;
    width: 100%;
    transition: transform var(--transition-normal);
}

.cover-container:hover {
    transform: translateY(-4px) scale(1.02);
}

.cover-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 6px);
    display: block;
    background: #0F1420;
}

.visual-status-pill {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(9, 13, 22, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyber-cyan);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Standard Section Container */
.hub-section {
    margin-bottom: 4rem;
}

.hub-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hub-section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hub-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

/* Emulation Highlights Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition-normal);
}

.feature-hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 124, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 124, 0, 0.15);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(245, 124, 0, 0.12);
    border: 1px solid rgba(245, 124, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.25rem;
}

.feature-hub-card:nth-child(2) .feature-icon-box {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--cyber-cyan);
}

.feature-hub-card:nth-child(3) .feature-icon-box {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--retro-purple);
}

.feature-hub-card:nth-child(4) .feature-icon-box {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--retro-green);
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* How to Play Step-by-Step Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition-normal);
}

.step-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-orange);
    opacity: 0.8;
}

.step-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Editorial Overview / Story Section */
.editorial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #CBD5E1;
}

.editorial-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.editorial-card h3:first-child {
    margin-top: 0;
}

.editorial-card p {
    margin-bottom: 1.25rem;
}

.editorial-card p:last-child {
    margin-bottom: 0;
}

/* FAQ Hub Grid */
.hub-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.hub-faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color var(--transition-fast);
}

.hub-faq-card:hover {
    border-color: rgba(245, 124, 0, 0.4);
}

.hub-faq-q {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.hub-faq-q i {
    color: var(--primary-orange);
    margin-top: 0.2rem;
}

.hub-faq-a {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
    padding-left: 1.6rem;
}

/* Related Games Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 124, 0, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 124, 0, 0.2);
}

.related-thumb-box {
    width: 100%;
    height: 160px;
    background: #0B0E17;
    position: relative;
    overflow: hidden;
}

.related-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.related-card:hover .related-thumb {
    transform: scale(1.05);
}

.related-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.related-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.related-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.related-cta {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyber-cyan);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Call to Action Banner */
.hub-cta-banner {
    background: linear-gradient(135deg, rgba(245, 124, 0, 0.15) 0%, rgba(18, 25, 38, 0.9) 100%);
    border: 1px solid rgba(245, 124, 0, 0.4);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    margin-bottom: 4rem;
}

.hub-cta-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    color: #FFFFFF;
}

.hub-cta-subtitle {
    font-size: 1.05rem;
    color: #CBD5E1;
    max-width: 600px;
}

/* ==========================================================================
   Responsive Breakpoints (Desktop -> Tablet -> Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
    .game-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .game-badges-row,
    .game-hub-meta,
    .game-hub-actions {
        justify-content: center;
    }

    .specs-hud {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .features-grid,
    .steps-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-hub-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .game-hub-container {
        padding: 5.5rem 1rem 3rem;
    }

    .game-hero-card {
        padding: 1.5rem 1.25rem;
    }

    .game-hub-title {
        font-size: 1.85rem;
    }

    .specs-hud {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .game-hub-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hub-primary,
    .btn-hub-secondary {
        width: 100%;
        justify-content: center;
    }

    .features-grid,
    .steps-grid,
    .hub-faq-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .hub-faq-a {
        padding-left: 0;
    }

    .hub-cta-title {
        font-size: 1.75rem;
    }

    .cover-container {
        max-width: 240px;
    }
}

@media (max-width: 480px) {
    .game-hub-title {
        font-size: 1.6rem;
    }

    .game-hub-desc {
        font-size: 0.95rem;
    }

    .editorial-card {
        padding: 1.5rem 1.25rem;
    }
}
