/* Modern and unique styling for DralleGame */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
    display: flex;
}

/* Sidebar Navigation */
.navbar {
    width: 250px;
    height: 100vh;
    background-color: #1e1e1e;
    padding-top: 20px;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    display: block;
    transition: 0.3s;
}

.navbar a:hover {
    background-color: #ff512f;
    border-radius: 5px;
}

/* Content wrapper */
.main-content {
    margin-left: 250px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(100% - 250px);
    text-align: center;
}

header {
    background: linear-gradient(90deg, #ff512f, #dd2476);
    color: white;
    padding: 20px 0;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
}

h2 {
    margin-top: 20px;
    font-size: 26px;
    text-transform: uppercase;
    color: #ff512f;
}

.games-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 30px;
}

.game-card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(255, 81, 47, 0.3);
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 81, 47, 0.5);
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    margin-top: 15px;
    background: linear-gradient(90deg, #ff512f, #dd2476);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: linear-gradient(90deg, #dd2476, #ff512f);
    transform: scale(1.1);
}
