/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    overflow: hidden;
    background-color: #000;
    color: #fff;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-container {
    text-align: center;
    width: 80%;
    max-width: 500px;
}

.loading-container h1 {
    color: #ff5722;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

.loading-bar-container {
    width: 100%;
    height: 20px;
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

#loading-bar {
    height: 100%;
    width: 0%;
    background-color: #ff5722;
    border-radius: 10px;
    transition: width 0.3s ease;
}

#loading-text {
    color: #ccc;
    font-size: 1rem;
}

/* Game Container */
#game-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* UI Overlay */
#ui-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
}

#interaction-prompt {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#notification-area {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Game Menu */
#game-menu, #controls-screen, #inventory-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
}

.menu-container, .controls-container, .inventory-container {
    background-color: #222;
    padding: 2rem;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.menu-container h2, .controls-container h2, .inventory-container h2 {
    color: #ff5722;
    font-size: 2rem;
    margin-bottom: 2rem;
}

button {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e64a19;
}

.controls-container ul {
    text-align: left;
    margin-bottom: 2rem;
    list-style-type: none;
}

.controls-container li {
    margin-bottom: 0.8rem;
}

#inventory-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.inventory-item {
    background-color: #333;
    border-radius: 5px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.inventory-item:hover {
    background-color: #444;
}

.inventory-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
} 