#main-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.home-logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.tagline {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
}

.description {
    max-width: 600px;
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
    color: #555;
}

#main-menu button {
    width: 200px;
    height: 60px;
    font-size: 18px;
    font-weight: bold;
    margin: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.draw-black-card {
    background-color: black;
    color: white;
    border: 2px solid black;
}

.draw-white-cards {
    background-color: white;
    color: black;
    border: 2px solid black;
}

#main-menu button:hover {
    transform: scale(1.05);
}

#rules-section {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border: 2px solid black;
    border-radius: 10px;
    text-align: left;
}

.rules-content h2 {
    margin-bottom: 15px;
    color: #333;
}

.rules-content p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.close-rules {
    background-color: #666;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

.close-rules:hover {
    background-color: #555;
}