/* assets/style.css */

/* Reset some default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* White text */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
}

/* Header Styling */
header {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #ff4d4d; /* Red color for title */
    margin-bottom: 10px;
    font-size: 2.5em;
}

#status-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

#status-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #333333; /* Dark gray background */
}

#status-bar span i {
    color: #ff4d4d; /* Red icons */
}

/* Game Menu Styling */
#game-menu {
    width: 250px;
    margin-right: 20px;
    background-color: #262626; /* Slightly lighter dark background */
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 77, 77, 0.5); /* Red shadow */
}

#game-menu h2 {
    margin-bottom: 10px;
    color: #ff4d4d; /* Red color */
    font-size: 1.5em;
    text-align: center;
}

#game-menu ul {
    list-style: none;
}

#game-menu li {
    margin-bottom: 12px;
}

#game-menu button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #ff4d4d; /* Red buttons */
    color: #ffffff; /* White text */
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

#game-menu button:hover {
    background-color: #e60000; /* Darker red on hover */
}

/* Main Game Container Styling */
main {
    flex: 1;
    display: flex;
    justify-content: center;
}

#game-container {
    background-color: #1a1a1a; /* Dark background */
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(255, 77, 77, 0.5); /* Red shadow */
}

#output {
    height: 350px;
    overflow-y: auto;
    border: 2px solid #ff4d4d; /* Red border */
    padding: 15px;
    margin-bottom: 20px;
    background-color: #262626; /* Dark gray background */
    border-radius: 5px;
    font-size: 1em;
    line-height: 1.6;
}

#output p {
    margin-bottom: 12px;
}

#input-container {
    display: flex;
    gap: 10px;
}

#player-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ff4d4d; /* Red border */
    border-radius: 5px;
    font-size: 1em;
    background-color: #333333; /* Dark input background */
    color: #ffffff; /* White text */
}

#submit-button {
    padding: 12px 18px;
    border: none;
    background-color: #ff4d4d; /* Red button */
    color: #ffffff; /* White text */
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

#submit-button:hover {
    background-color: #e60000; /* Darker red on hover */
}

/* Responsive Design */
@media (max-width: 900px) {
    body {
        flex-direction: column;
        align-items: center;
    }

    #game-menu {
        width: 100%;
        max-width: 800px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    #status-bar {
        flex-wrap: wrap;
        gap: 15px;
    }

    #game-container {
        max-width: 800px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    #status-bar {
        gap: 10px;
    }

    #game-menu h2 {
        font-size: 1.3em;
    }

    #output {
        height: 250px;
    }

    #game-menu button, #submit-button {
        font-size: 0.9em;
        padding: 10px 14px;
    }

    #player-input {
        font-size: 0.9em;
        padding: 10px;
    }
}
