:root {
    --accent: #ffb6c1;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: #ffffff;
    font-family: var(--font-body);
    overflow: hidden;
    user-select: none;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Allows clicks to pass through to 3D canvas if needed */
}

#carousel-wrapper {
    position: relative;
    width: 300px;
    height: 450px;
    perspective: 1000px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.8) translateZ(-100px);
    pointer-events: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 182, 193, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.8);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    pointer-events: auto;
}

.controls {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    pointer-events: auto;
}

.controls button {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 182, 193, 0.8);
    color: #ff8ca3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.controls button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.6);
}

#discover-btn {
    margin-top: 30px;
    padding: 15px 40px;
    background: transparent;
    color: #ff8ca3;
    border: 1px solid rgba(255, 182, 193, 0.8);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

#discover-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 182, 193, 0.5);
}

.hidden {
    display: none !important;
}

/* Glass shatter overlay effect element */
.shatter-piece {
    position: absolute;
    pointer-events: none;
    z-index: 20;
}
