/* === GAMES PAGE SPECIFIC STYLES === */
.page-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(to right, #0d0d0d, #111);
    border-bottom: 1px solid #222;
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #00aaff;
}

.page-hero p {
    font-size: 1.1rem;
    color: #ccc;
}

/* Search bar */
.games-search {
    text-align: center;
    margin: 1.5rem 0;
}

.games-search input {
    width: 60%;
    max-width: 400px;
    padding: 0.8rem 1rem;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    background: #111;
    color: #eee;
    box-shadow: 0 0 10px rgba(0,170,255,0.3);
    outline: none;
    transition: box-shadow 0.3s;
}

.games-search input:focus {
    box-shadow: 0 0 20px rgba(0,170,255,0.6);
}

/* Game Grid */
.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Premium Glassy Cards */
.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: rgba(20, 20, 30, 0.85);
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 170, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    border: 1px solid rgba(0, 170, 255, 0.6);
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.8);
}

/* Icon */
.game-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 20%;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(0,170,255,0.5);
}

/* Title */
.game-card h3 {
    font-size: 1.3rem;
    margin: 0.8rem 0;
    color: #fff;
    transition: color 0.3s;
}

.game-card:hover h3 {
    color: #00ddff;
}

/* Short Description */
.game-card p {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
}
