/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Mitr', sans-serif;
    background-color: #FFF5EB;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    
    padding: 20px;
}

/* Content Layout */
.content-section {
    text-align: center;
    padding: 20px 0;
}

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

.difficulty-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

/* Typography */
.main-title {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 40px;
}

.difficulty-label {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    position: relative;
    margin-top: 15px;
    
}

/* Navigation */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: transparent;
}

.game-title {
    background-color: #79B7D9;
    color: #333;
    padding: 10px 25px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 500;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background-color: #775344;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 15px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: #68493d;
    color: white;
}

/* Difficulty Cards */
.difficulty-card {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

/* Card Image Container */
.card-image-container {
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.difficulty-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Difficulty Colors */
.easy {
    background-color: #5abcf1;
}

.medium {
    background-color: #ffad50;
}

.hard {
    background-color: #ff6d6d;
}

/* Media Queries */
@media (max-width: 992px) {
    .difficulty-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .difficulty-card {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .difficulty-grid {
        flex-direction: column;
        align-items: center;
    }

    .difficulty-option {
        width: 100%;
        max-width: 280px;
    }

    .difficulty-card {
        width: 100%;
        height: 280px;
    }
    
    .card-image-container {
        width: 70%;
        height: 70%;
    }
}

@media (max-width: 576px) {
    .nav-btn {
        padding: 8px 20px;
        font-size: 1rem;
    }

    .content-section {
        margin-top: 20px;
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .difficulty-option {
        max-width: 200px;
    }

    .difficulty-card {
        height: 200px;
    }

    .difficulty-label {
        font-size: 1rem;
    }
}