body {
    background: linear-gradient(120deg, #0f0f0f, #1a1a1a);
    color: white;
    font-family: 'Inter', sans-serif;
}



/* HERO */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, #120a1f, #0b0614);
}

.hero h1 {
    color: #b36bff;
}



/* SECTIONS */
.section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    color: #b36bff;
}

/* CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.2s ease;
}

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


.card:hover {
    transform: translateY(-5px);
    backdrop-filter: blur(15px);
}





.card h3 {
    color: #b36bff;
}

.card p {
    color: #ccc;
}

.game-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.game-form input,
.game-form select,
.game-form textarea {

    padding: 12px;

    border-radius: 8px;

    border: 1px solid #2a1450;

    background: #140a24;

    color: white;
}

.game-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.game-actions button {
    flex: 1;
}

.status {
    opacity: 0.7;
    font-size: 14px;
}
.game-form button {

    padding: 12px;

    border: none;

    border-radius: 8px;

    background: #b36bff;

    color: white;

    cursor: pointer;

    transition: 0.3s;
}

.game-form button:hover {

    opacity: 0.8;
}

.game-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    transition: 0.2s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.game-link {
    display: inline-block;
    margin-top: 8px;
    color: #4cafef;
    text-decoration: none;
}

.game-link:hover {
    text-decoration: underline;
}

.editing {
    border: 2px solid #b36bff;
    transform: scale(1.02);
}

#home-games {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.filters button {
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    background: #222;
    color: white;
    transition: 0.2s;
}

.filters button:hover {
    background: #444;
}

.filters button.active {
    background: #4caf50;
}

.stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.stat {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(0,0,0,0.05);
    font-size: 14px;
}