﻿/* Global Styles */
body {
    background: radial-gradient(circle, #0f2027, #203a43, #2c5364);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

/* Game Container */
.game-container {
    width: 99%;
    max-width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

/* Canvas Styling */
.game-canvas {
    width: 100%;
    height: auto;
    border: 5px solid #f39c12;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Button Area Styling */
.button-area {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

/* Custom Button Styling */
.custom-button {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-button:hover {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

/* Log Window Styling */
.log-window {
    width: 100%; /* Take the entire width available */
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-top: 20px;
    height: 250px;
    color: #ffffff;
    font-size: 1em;
    text-align: left;
    overflow-y: auto;
    max-width: 1200px; /* Match the max-width of the game container */
}

.log-window::-webkit-scrollbar {
    width: 10px;
}

.log-window::-webkit-scrollbar-thumb {
    background: #f39c12;
    border-radius: 10px;
}

/* Alert Message */
.alert-warning {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease;
}

/* Responsive Adjustments for PC Screens */
@media (min-width: 992px) {
    .button-area {
        justify-content: center;
        gap: 20px;
    }
}