/*
 * ============================================
 * SPLASH PAGE STYLES
 * ============================================
 */

:root {
    --bg-color: #b7b4a3;
    --text-color: #4c4741;
    --font-main: "Times New Roman", Times, serif;
}

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

html, body {
    height: 100%;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.splash-container {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.artwork {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.body-base {
    display: block;
    max-height:88vh;
    width: auto;
    position: relative;
    z-index: 2;
}

.soul-organ,
.mind-organ,
.heart-organ,
.mind-btn-static,
.mind-btn-hover,
.heart-btn-static,
.heart-btn-hover,
.soul-btn-static,
.soul-btn-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.soul-organ {
    width: 55%;
    height: auto;
    top: 2%;
    left: 22.5%;
    z-index: 1;
    transform-origin: center center;
}

.mind-organ,
.heart-organ {
    z-index: 3;
}

.mind-btn-static,
.mind-btn-hover,
.heart-btn-static,
.heart-btn-hover,
.soul-btn-static,
.soul-btn-hover {
    z-index: 4;
}

.mind-btn-static,
.heart-btn-static,
.soul-btn-static {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.mind-btn-hover,
.heart-btn-hover,
.soul-btn-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hotspot {
    position: absolute;
    z-index: 50;
    cursor: pointer;
}

.hotspot-soul-area {
    top: 0;
    left: 20%;
    width: 60%;
    height: 18%;
}

.hotspot-mind-area {
    top: 8%;
    left: 25%;
    width: 50%;
    height: 22%;
}

.hotspot-heart-area {
    top: 30%;
    left: 30%;
    width: 40%;
    height: 20%;
}

.hotspot-soul-btn {
    top: 3%;
    right: 2%;
    width: 20%;
    height: 10%;
}

.hotspot-mind-btn {
    top: 10%;
    left: 2%;
    width: 22%;
    height: 10%;
}

.hotspot-heart-btn {
    top: 34%;
    right: 2%;
    width: 22%;
    height: 10%;
}

.artwork:has(.hotspot-soul-area:hover) .soul-btn-static,
.artwork:has(.hotspot-soul-btn:hover) .soul-btn-static {
    opacity: 0;
}

.artwork:has(.hotspot-soul-area:hover) .soul-btn-hover,
.artwork:has(.hotspot-soul-btn:hover) .soul-btn-hover {
    opacity: 1;
}

.artwork:has(.hotspot-mind-area:hover) .mind-btn-static,
.artwork:has(.hotspot-mind-btn:hover) .mind-btn-static {
    opacity: 0;
}

.artwork:has(.hotspot-mind-area:hover) .mind-btn-hover,
.artwork:has(.hotspot-mind-btn:hover) .mind-btn-hover {
    opacity: 1;
}

.artwork:has(.hotspot-heart-area:hover) .heart-btn-static,
.artwork:has(.hotspot-heart-btn:hover) .heart-btn-static {
    opacity: 0;
}

.artwork:has(.hotspot-heart-area:hover) .heart-btn-hover,
.artwork:has(.hotspot-heart-btn:hover) .heart-btn-hover {
    opacity: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.artwork:has(.hotspot-mind-area:hover) .mind-organ,
.artwork:has(.hotspot-mind-btn:hover) .mind-organ {
    animation: float 3s ease-in-out infinite;
}

@keyframes beat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.05); }
    30% { transform: scale(1); }
    45% { transform: scale(1.05); }
}

.artwork:has(.hotspot-heart-area:hover) .heart-organ,
.artwork:has(.hotspot-heart-btn:hover) .heart-organ {
    animation: beat 1.2s ease-in-out infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.artwork:has(.hotspot-soul-area:hover) .soul-organ,
.artwork:has(.hotspot-soul-btn:hover) .soul-organ {
    animation: spin 8s linear infinite;
}

.instructions {
    margin-top: 20px;
    font-size: 1.2em;
    font-style: italic;
    letter-spacing: 0.1em;
    animation: fade-in 2s ease-in;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media screen and (max-width: 768px) {
    .body-base { max-height: 78vh; }
    .instructions { font-size: 1em; margin-top: 15px; }
}

@media screen and (max-width: 480px) {
    .splash-container { padding: 10px; }
    .body-base { max-height: 70vh; }
}