body {
    margin: 0;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#intro-container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#recap-area {
    background-color: rgba(0,0,0,0.7);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
}

#enter-menu-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#enter-menu-btn:hover {
    background-color: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

#menu-container.hidden {
    display: none;
}

#menu-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: opacity 0.5s ease;
}

#game-logo {
    max-width: 80%;
    height: auto;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#button-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 300px;
    transition: opacity 0.5s ease;
}

button {
    padding: 15px 20px;
    font-size: 1.2em;
    background-color: transparent;  
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

button:hover::before {
    left: 0;
}

button:hover {
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

#settings-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 300px;
    background-color: transparent;
}

/* Prevent full black screen in settings */
.settings-active body {
    background-color: #000;
}

.settings-active #menu-container {
    opacity: 1;
}

.settings-active #button-area {
    opacity: 1;
}

/* Transformation Animation */
.transform-out {
    animation: transformOut 1s forwards;
}

@keyframes transformOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(360deg);
    }
}

#wife-quote-container {
    text-align: center;
    padding: 20px;
    max-width: 80%;
    margin: 0 auto;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    line-height: 1.5;
    opacity: 0.9;
}