* {
    box-sizing: border-box;
}

:root {
    --bg-dark: #000000;
    --card-bg: #0a0a0c;
    --accent-blue: #3b82f6;
    --glass-bg: rgba(10, 10, 12, 0.9);
}

body {
    background-color: var(--bg-dark);
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* List Container (Ana Ekran) */
.games-list {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Game Item Styling (Ana Ekran Kartları) */
.game-item {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.game-item:hover {
    background-color: #111114;
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.item-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.item-content {
    flex: 1;
}

.item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    margin-bottom: 2px;
}

.item-meta {
    font-size: 0.85rem;
    color: #ffd700; /* Gold for stars */
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-desc {
    font-size: 0.9rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal Styling (Eski Tasarım Geri Getirildi) */
.bg-dark-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
}

.game-icon-modal {
    width: 200px;
    height: 200px;
    border-radius: 45px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-content {
    border: none;
    background: transparent;
}

.store-badge {
    transition: transform 0.3s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInList {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-item {
    animation: fadeInList 0.6s ease-out forwards;
}

.game-item:nth-child(2) { animation-delay: 0.1s; }
.game-item:nth-child(3) { animation-delay: 0.2s; }

/* Mobile Adjustments */
@media (max-width: 576px) {
    .item-icon {
        width: 70px;
        height: 70px;
    }
    .item-title {
        font-size: 1.1rem;
    }
    .game-icon-modal {
        width: 150px;
        height: 150px;
        border-radius: 35px;
    }
}

.footer {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeInList 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.footer-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.badge-new {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    display: inline-block;
    line-height: 1.5;
}

/* Highlight the first game item with a purple border */
.game-item:first-child {
    border-color: rgba(139, 92, 246, 0.5);
    background-color: rgba(139, 92, 246, 0.05);
}

