/* Algemeen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    color: #f0e68c;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: rgba(0,0,0,0.3);
    text-align: center;
    padding: 10px 0;
}

/* Egyptisch menu */
.egypt-menu {
    background: rgba(212,175,55,0.95);
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.egypt-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.egypt-menu ul li a {
    text-decoration: none;
    color: #3e2c14;
    font-weight: bold;
    font-size: 18px;
    padding: 5px 10px;
    transition: 0.3s;
}

.egypt-menu ul li a:hover {
    color: gold;
    text-shadow: 1px 1px 0 #a67c00;
    transform: translateY(-2px);
}

/* Game container */
#game-container {
    margin: 100px auto 0 auto;
    width: 900px;
    height: 650px;
    background: linear-gradient(135deg, #2c0e0e 0%, #000000 100%);
    border: 5px solid #d4af37;
    position: relative;
    box-shadow: 0 0 30px #d4af37;
    border-radius: 15px;
}

/* HUD */
#hud {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    z-index: 10;
    text-shadow: 2px 2px 0 #000;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 5px;
}

#status { color: #f0e68c; }
#timer { color: #ff6b6b; }
#inventory { color: #4ecdc4; }

/* Speelveld */
#room {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(212,175,55,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(212,175,55,0.1) 0%, transparent 50%);
}

/* Player */
.character {
    position: absolute;
    font-size: 55px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.8));
    z-index: 5;
    transition: left 0.1s ease;
}

#player {
    left: 50px;
    bottom: 250px;
}

/* Objecten */
.item {
    position: absolute;
    font-size: 65px;
    transition: all 0.3s;
    cursor: pointer;
}

.item.clickable:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px #d4af37);
}

#key {
    bottom: 150px;
    left: 300px;
}

#door {
    bottom: 150px;
    right: 100px;
}

#puzzle {
    bottom: 150px;
    right: 300px;
}

/* Instructies */
#instructions {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 10;
}

#instructions p { margin: 5px 0; }

#instructions strong { color: #d4af37; }

/* Overlay */
#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 15px;
}

#overlay h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px currentColor;
}

#overlay p {
    font-size: 24px;
    margin-bottom: 30px;
}

#overlay button {
    background: linear-gradient(45deg, #d4af37, #f0e68c);
    border: none;
    padding: 15px 40px;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 10px;
    transition: transform 0.2s;
}

#overlay button:hover {
    transform: scale(1.1);
}

.hidden {
    display: none !important;
}

/* Animatie bij ophalen */
@keyframes collect {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(0); }
}

.collected {
    animation: collect 0.5s forwards;
    opacity: 0;
}