.catalog-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, #0a0c1b 0%, #111428 100%);
    position: relative;
    overflow: hidden;
}

.catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-terminal);
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
    color: var(--star-text);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--comet-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-terminal);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--portal-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-interface);
    font-size: 0.9rem;
    color: var(--comet-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.catalog-filters {
    padding: 3rem 0;
    background: rgba(10, 12, 27, 0.5);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.filter-header {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-title {
    font-family: var(--font-interface);
    font-size: 1.8rem;
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.filter-subtitle {
    font-size: 1rem;
    color: var(--comet-text);
}

.filter-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 50px;
    color: var(--comet-text);
    font-family: var(--font-interface);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-quantum);
}

.filter-btn:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--pulse-accent);
    color: var(--star-text);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: rgba(0, 217, 255, 0.15);
    border-color: var(--pulse-accent);
    color: var(--star-text);
}

.filter-btn i {
    font-size: 1.1rem;
}

.games-grid-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #111428 0%, #0a0c1b 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.game-card {
    background: rgba(21, 26, 53, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-warp);
    position: relative;
}

.game-card:hover {
    border-color: var(--pulse-accent);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 217, 255, 0.2);
}

.game-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 27, 0.9) 100%);
}

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    font-family: var(--font-interface);
    font-size: 0.7rem;
    color: var(--pulse-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.game-content {
    padding: 1.5rem;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.game-title {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--star-text);
    margin: 0;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #FFD700;
    font-size: 0.9rem;
}

.game-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin-bottom: 1.5rem;
    height: 4.5em;
    overflow: hidden;
}

.game-meta {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.game-tag {
    padding: 0.2rem 0.6rem;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--pulse-accent);
}

.game-play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--portal-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-interface);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all var(--transition-quantum);
}

.game-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

.catalog-cta {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    color: var(--pulse-accent);
    font-family: var(--font-interface);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all var(--transition-quantum);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--pulse-accent);
    color: var(--star-text);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 217, 255, 0.2);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.2);
    transition: all 0.6s ease;
    opacity: 0;
}

.cta-button:hover .cta-glow {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.catalog-features {
    padding: 5rem 0;
    background: rgba(10, 12, 27, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 16px;
    transition: all var(--transition-quantum);
}

.feature-card:hover {
    border-color: var(--pulse-accent);
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--pulse-accent);
}

.feature-title {
    font-family: var(--font-interface);
    font-size: 1.3rem;
    color: var(--star-text);
    margin-bottom: 0.8rem;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--comet-text);
}

@media (max-width: 768px) {
    .catalog-hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .filter-grid {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 4vw + 1rem, 3rem);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.game-page-hero {
    padding: 2rem 0 1rem;
    background: linear-gradient(180deg, #0a0c1b 0%, #111428 100%);
    position: relative;
    overflow: hidden;
}

.game-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 30%,
        rgba(0, 217, 255, 0.08),
        transparent 60%
    );
}

.game-hero-image {
    position: relative;
    max-width: 900px;
    height: 350px;
    margin: 4rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.15);
}

.game-hero-image img {
    width: 100%;
    max-width: 900px;
    height: 100%;
    max-height: 350px;
}

.game-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,12,27,0.2),
        rgba(10,12,27,0.95)
    );
}

.game-page-content {
    padding: 2rem 0;
    background: #0a0c1b;
}

.game-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.game-description-block.section-title {
    margin-bottom: .5rem;
}

.game-description-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--comet-text);
    margin-bottom: 1.5rem;
    max-width: 720px;
}

.game-action-panel {
    background: rgba(21, 26, 53, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    height: fit-content;
}

.game-play-button {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1.3rem;
}

.game-action-note {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--comet-text);
    text-align: center;
}

@media (max-width: 1024px) {
    .game-hero-image {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .game-content-grid {
        grid-template-columns: 1fr;
    }

    .game-hero-image {
        height: 320px;
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .game-page-hero {
        padding: 6rem 0 4rem;
    }

    .game-hero-image {
        height: 240px;
        border-radius: 14px;
    }

    .game-description-text {
        font-size: 1rem;
    }
}