.container {
    width: min(95%, 900px);
    margin: 0 auto;
    padding: clamp(12px, 3vmin, 25px);
    background-color: rgba(20, 20, 20, 0.9);
    min-height: 100vh;
    border: 3px solid #5d5d5d;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: -1;
}

header {
    text-align: center;
    margin-bottom: clamp(25px, 4vw, 35px);
    padding-bottom: clamp(15px, 3vw, 25px);
    border-bottom: 2px solid #5d5d5d;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 25%;
    right: 25%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}


.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(5%, 2vmin, 5px);
    margin-top: clamp(15px, 3vmin, 25px);
}

.question-container {
    margin-bottom: clamp(15px, 3vmin, 30px);
    background-color: rgba(44, 44, 44, 0.7);
    padding: clamp(15px, 3vmin, 25px);
    border: 2px solid #5d5d5d;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.question-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    pointer-events: none;
}

.result-container {
    text-align: center;
    padding: 25px;
    background-color: rgba(44, 44, 44, 0.8);
    border: 2px solid #5d5d5d;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
    animation: fadeIn 0.8s ease-out;
}

.house-result {
    margin: 25px 0;
    padding: 20px;
    background-color: rgba(44, 44, 44, 0.7);
    border: 2px solid #5d5d5d;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.house-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #740001, #1a472a, #0e1a40, #ecb939);
}

.house-result img {
    width: clamp(120px, 40vmin, 220px);
    height: auto;
    margin-bottom: clamp(15px, 3vmin, 25px);
}

.house-result img:hover {
    transform: scale(1.05);
}

/* Floating candles effect */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.candle {
    position: absolute;
    width: 20px;
    height: 40px;

    animation: float 3s infinite ease-in-out;
    opacity: 0.6;
    z-index: -1;
}

.candle:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}
.candle:nth-child(2) {
    top: 15%;
    right: 8%;
    animation-delay: 0.5s;
}
.candle:nth-child(3) {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}
.candle:nth-child(4) {
    bottom: 15%;
    right: 5%;
    animation-delay: 1.5s;
}