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;
}

.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); 
}

.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;
    transition: 0.3s;
}

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

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

.searchbar button:hover {
    box-shadow: 0 0 15px #3b82f6;
}

.btn-clear {
    display: inline-block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #ef4444, #b91c1c);
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-clear:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px); /* her kutu 220px genişlik */
    justify-content: center; /* ortalama */
    gap: 70px;
}



.game-card {
    background: rgba(255,255,255,0.05);
    padding: 16px;
    border-radius: 14px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 15px rgba(59,130,246,0.4);
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.game-card a {
    text-decoration: none;
    color: #3b82f6;
    font-weight: bold;
    transition: 0.3s;
}

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

.game-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 10px;
}

.no-games {
    text-align: center;
    font-size: 1.2em;
    color: #aaa;
}

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

.page-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.page-btn:hover {
    box-shadow: 0 0 15px #3b82f6;
}

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