/* === GENEL === */
body {
    background: linear-gradient(120deg, #0b1a3a, #06203b);
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* === BAŞLIKLAR === */
.total-games {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 10px;
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59,130,246,0.7);
}

.total-gamess {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
    color: #60f63b;
    text-shadow: 0 0 10px rgba(117, 238, 36, 0.7);
}

/* === SEARCH === */
.searchbar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.searchbar input {
    flex: 1;
    max-width: 400px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1em;
}

.searchbar input:focus {
    background: rgba(59,130,246,0.2);
    box-shadow: 0 0 10px #3b82f6;
}

.searchbar button {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg,#3b82f6,#2563eb);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.btn-clear {
    padding: 10px 14px;
    background: linear-gradient(90deg, #ef4444, #b91c1c);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* === GRID === */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    justify-content: center;
    gap: 70px;
}

/* === OYUN KARTI === */
.game-card {
    background: rgba(255,255,255,0.05);
    padding: 16px;
    border-radius: 14px;
    text-align: center;
    min-height: 260px; /* KRİTİK */
    position: relative;
    box-shadow: 0 0 15px rgba(59,130,246,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(59,130,246,0.9);
}

.game-card h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #cfeeff;
}

/* === OYUN GÖRSELİ === */
.game-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* === NORMAL LINK === */
.game-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #3b82f6;
    font-weight: bold;
}

.game-card a:hover {
    text-shadow: 0 0 10px #3b82f6;
}

/* ===================================================== */
/* === EXTRA SALE (AYRI OLARAK SATILIR) === */
/* ===================================================== */

.game-card.extra-sale {
    border: 2px solid #ffcc00;
    box-shadow: 0 0 20px rgba(255,204,0,0.8);
}

.game-card.extra-sale:hover {
    box-shadow: 0 0 30px rgba(255,204,0,1);
}

/* === EXTRA SALE BUTONU === */
.btn-extra-sale {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-extra-sale:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,204,0,1);
}

/* === EXTRA BADGE === */
.extra-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffcc00;
    color: #000;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.page-btn {
    padding: 10px 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.page-btn.active {
    background: linear-gradient(90deg,#10b981,#047857);
    box-shadow: 0 0 15px #10b981;
}

/* === BOŞ DURUM === */
.no-games {
    text-align: center;
    font-size: 1.2em;
    color: #aaa;
}
