/* Games Page Specific Styles (Supplement to style.css) */

.hero-games {
    padding-top: 140px;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1400px;
}

.editor-choice-card {
    flex: 1.4;
    height: 480px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.editor-choice-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.ec-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.ec-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    color: white;
    z-index: 10;
}

.ec-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ec-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}

.ec-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    max-width: 450px;
    line-height: 1.6;
}

.ec-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ec-badges {
    display: flex;
    gap: 10px;
}

.badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-play {
    padding: 14px 40px;
    font-size: 15px;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.game-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.game-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.game-card:hover .game-thumb img {
    transform: scale(1.08);
}

.game-info {
    padding: 28px;
}

.game-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.game-info p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.game-meta span {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-meta .fa-users {
    color: var(--red);
}

.btn-play-sm {
    padding: 8px 20px;
    font-size: 12px;
}

/* Footer */
.footer {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
        margin-bottom: 0;
        flex: none;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .editor-choice-card {
        width: 100%;
        flex: none;
        height: 380px;
    }
    .ec-title { font-size: 28px; }
}

@media (max-width: 768px) {
    .hero-games { padding-top: 100px; padding-bottom: 40px; }
    .hero-container { gap: 28px; }
    .editor-choice-card { height: 320px; border-radius: 24px; }
    .ec-content { padding: 28px; }
    .ec-title { font-size: 22px; }
    .ec-desc { font-size: 14px; margin-bottom: 20px; }
    .ec-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
    .btn-play { width: 100%; padding: 14px 20px; text-align: center; }
    .games-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .game-info { padding: 20px; }
    .game-info h3 { font-size: 18px; }
    .game-thumb { height: 160px; }
}

@media (max-width: 480px) {
    .hero-games { padding-top: 88px; }
    .editor-choice-card { height: 280px; border-radius: 20px; }
    .ec-content { padding: 20px; }
    .ec-title { font-size: 18px; letter-spacing: -0.5px; }
    .ec-desc { display: none; }
    .ec-badges { display: none; }
    .games-grid { grid-template-columns: 1fr; gap: 16px; }
    .game-thumb { height: 180px; }
    .game-info { padding: 18px; }
    .game-info h3 { font-size: 17px; }
    .game-info p { font-size: 14px; margin-bottom: 20px; }
    .badge { padding: 6px 12px; font-size: 11px; }
}
