:root {
    --accent: #00f3ff;
    --neon-pink: #ff0055;
    --bg: #050505;
    --card-bg: #111;
}

body {
    margin: 0;
    background: var(--bg);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 60px 20px;
}

    header h1 {
        font-size: 50px;
        margin: 0;
        letter-spacing: 5px;
        text-shadow: 0 0 20px var(--accent);
    }

        header h1 span {
            color: var(--accent);
        }

    header p {
        color: #888;
        font-size: 14px;
        letter-spacing: 2px;
    }

/* Grid sustav za igrice */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
}

/* Stil kartice */
.game-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

    .game-card:hover {
        transform: translateY(-10px);
        border-color: var(--accent);
        box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
    }

.game-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #222;
}

.game-info {
    padding: 20px;
}

    .game-info h3 {
        margin: 0 0 10px 0;
        color: var(--accent);
    }

    .game-info p {
        font-size: 14px;
        color: #aaa;
        margin-bottom: 15px;
    }

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--neon-pink);
    padding: 5px 10px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
}

.tags span {
    font-size: 10px;
    background: #222;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 5px;
    color: #888;
}

/* Zaključane igrice */
.locked {
    opacity: 0.5;
    cursor: default;
}

.lock-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 40px;
}

footer {
    padding: 40px;
    color: #444;
    font-size: 12px;
}
