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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    perspective: 1000px;
    position: relative;
}

.secret-code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    letter-spacing: 3px;
    z-index: 1;
    pointer-events: none;
}

.door {
    width: 400px;
    height: 600px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.door:hover {
    transform: scale(1.02);
}

.door-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2c1810, #1a0f0a);
    border: 20px solid #3d2817;
    border-radius: 10px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.door-panel {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            #4a2c1a 0%, 
            #5c3620 10%, 
            #4a2c1a 20%,
            #5c3620 30%,
            #4a2c1a 40%,
            #5c3620 50%,
            #4a2c1a 60%,
            #5c3620 70%,
            #4a2c1a 80%,
            #5c3620 90%,
            #4a2c1a 100%
        );
    border-radius: 5px;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.door-panel::before,
.door-panel::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    height: 35%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(92, 54, 32, 0.5);
}

.door-panel::before {
    top: 10%;
}

.door-panel::after {
    bottom: 10%;
}

.door-handle {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 15px;
    background: linear-gradient(180deg, #8b7355 0%, #5c4a3a 50%, #3d2f24 100%);
    border-radius: 7px;
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.door-handle::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #6b5644 0%, #4a3829 100%);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.door-sign {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c1810;
    padding: 15px 30px;
    border: 3px solid #5c3620;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.door-sign p {
    color: #d4af37;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
}

/* Ambient light effect */
.door::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
