/* Wicked Wifey - Atmospheric Goth Theme */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    font-family: sans-serif;
    overflow: hidden; /* Default lock for landing page */
}

/* Enable scrolling for hotwife.html */
html.scroll-enabled {
    overflow-y: auto;
    height: auto;
}

html.scroll-enabled body {
    overflow-y: visible;
    height: auto;
    display: block;
}

#background-canvas, #cloud-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#cloud-canvas { z-index: 5; pointer-events: none; }

.content {
    
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; padding-top: 5vh;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: auto; /* Allow clicks to pass to background if needed */
}

/* Allow interaction and scrolling logic to work properly on scrollable pages */
html.scroll-enabled .content {
    
    height: auto;
    min-height: 100vh;
    padding: 15vh 0;
    justify-content: flex-start;
    pointer-events: auto; /* Capture touch events for scrolling */
}

.logo-container { 
    
    position: relative;
    width: 130vw;
    height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 3.5s ease-in-out, filter 3.5s ease-in-out;
}

#logo-goddess { 
    opacity: 0.5; 
    filter: drop-shadow(0 0 25px rgba(200, 220, 255, 0.8));
}
#logo-wicked { 
    opacity: 0; 
    filter: drop-shadow(0 0 25px rgba(255, 0, 40, 0.8));
}

.signature-container { 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
    pointer-events: auto;
}

.signature-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-image, .heart-image {  
    opacity: 0.2;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(255, 0, 40, 0.7));
}

.signature-image {
    width: 300px;
    position: relative;
    left: 20px;
}

.heart-image {
    width: 100px;
    margin-left: -15px;
    position: relative;
    z-index: 2;
}

.kiss-link {
    display: block;
    margin-top: -50px;
    position: relative;
    z-index: 5;
    transition: filter 0.3s ease;
}

.kiss-image {
    width: 100px;
    height: auto;
}

.kiss-link:hover {
    filter: drop-shadow(0 0 20px #ff0028);
}

.kiss-link-ref {
    opacity: 0.2;
}

/* Reflection Styles */
.reflection-wrapper {
    position: absolute;
    bottom: -20vh;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    opacity: 0.15;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 90%);
    pointer-events: auto;
    filter: blur(2px) hue-rotate(200deg) brightness(0.8);
    width: 100%;
    display: flex;
    justify-content: center;
}

.reflection-content {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: ripple 4s ease-in-out infinite alternate;
}

@keyframes ripple {
    0% { transform: scaleX(1) skewX(0deg); }
    50% { transform: scaleX(1.02) skewX(1deg); filter: blur(3px); }
    100% { transform: scaleX(1.01) skewX(-1deg); }
}

/* Hot Wife Page Styles */
.frosted-box {
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #ff0028;
    border-radius: 15px;
    padding: 2.5rem;
    width: 75vw; /* Slightly wider on mobile */
    max-width: 800px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 0, 40, 0.2);
    line-height: 1.6;
    font-size: 1.1rem;
    text-align: left;
    pointer-events: auto;
    margin: 0 auto;
}

.frosted-box p {
    margin-bottom: 1.5rem;
}

.frosted-box p:last-child {
    margin-bottom: 0;
}

/* Mobile specific tweaks */
@media (max-width: 600px) {
    .frosted-box {
        padding: 1.5rem;
        width: 80vw;
        font-size: 1rem;
    }
}
