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

html {
    background: purple;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: "Playpen Sans", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    cursor: default;
    background: purple;
}

/* All headings use Playpen Sans with thicker weight */
h1, h2, h3, h4, h5, h6 {
    font-family: "Playpen Sans", cursive;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

/* Navigation Menu */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: none;
    width: auto;
    max-width: 90%;
}

/* Ensure nav-menu is hidden on desktop */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar > * {
    pointer-events: auto;
}

/* Mobile styles moved to mobile.css */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-link:active {
    transform: translateY(0);
}

/* Hamburger Menu Toggle (hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100000;
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 50px;
    height: 50px;
    justify-content: space-around;
    align-items: center;
    margin: 0;
}

.menu-toggle span {
    width: 30px;
    height: 4px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
}

/* Mobile Navigation Styles - Moved to mobile.css */

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 35px;
    height: 35px;
    pointer-events: none;
    z-index: 10000;
    transform-origin: center center;
    will-change: transform;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.cursor-follower img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.8));
    animation: float 2s ease-in-out infinite;
}

/* Fallback if image doesn't load */
.cursor-follower:before {
    content: '⭐';
    position: absolute;
    font-size: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.cursor-follower img:not([src]),
.cursor-follower img[src=""],
.cursor-follower:has(img:not([src])):before,
.cursor-follower:has(img[src=""]):before {
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Scene Base Styles */
.scene {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out;
}

.scene-content {
    text-align: center;
    z-index: 100;
    padding: 2rem;
    max-width: 90%;
    position: relative;
}

.scene h1, .scene h2 {
    font-size: clamp(2rem, 8vw, 5rem);
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.subtitle, .final-message {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
}

.main-logo {
    max-width: 90%;
    height: auto;
    max-height: 60vh;
    margin: 0 auto 2rem;
    display: block;
    animation: fadeInUp 1s ease-out;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.5));
    position: relative;
    z-index: 10;
}

.scene-description {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.4s ease-out;
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.6;
    padding: 0 1rem;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scene Start - Sky/Clouds */
.scene-start {
    background: linear-gradient(to bottom, #87CEEB 0%, #E0F6FF 50%, #87CEEB 100%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.cloud {
    position: absolute;
    opacity: 0.9;
    animation: drift 20s infinite linear;
    z-index: 1;
    pointer-events: none;
    max-width: 300px;
    height: auto;
}

.cloud-1 {
    width: 200px;
    top: 15%;
    left: -250px;
    animation-duration: 25s;
}

.cloud-2 {
    width: 250px;
    top: 35%;
    left: -300px;
    animation-duration: 30s;
    animation-delay: -5s;
}

.cloud-3 {
    width: 180px;
    top: 55%;
    left: -220px;
    animation-duration: 28s;
    animation-delay: -10s;
    z-index: 15;
}

.cloud-4 {
    width: 220px;
    top: 75%;
    left: -280px;
    animation-duration: 32s;
    animation-delay: -15s;
}

@keyframes drift {
    to {
        transform: translateX(calc(100vw + 200px));
    }
}

/* Scene Abenteuer - Sky and Landscape */
.scene-abenteuer {
    background: #B8E5FC;
    position: relative;
    overflow: hidden;
}

.scene-abenteuer::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 80%;
    background: #6AB86A;
    z-index: 0;
    clip-path: polygon(
        0% 0%,
        20% 8%,
        40% 12%,
        60% 10%,
        80% 14%,
        100% 11%,
        100% 100%,
        0% 100%
    );
}

/* Abenteuer scene specific styling - title centered, image left, text wraps */
.scene-abenteuer .scene-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 100;
}

.scene-abenteuer h2 {
    position: relative;
    z-index: 101;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
    font-size: clamp(2.2rem, 9vw, 5.5rem);
}

.scene-abenteuer .abenteuer-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    position: relative;
    z-index: 101;
    margin-top: 5%;
}

.scene-abenteuer .character-image-container {
    flex: 0 0 auto;
    width: 400px;
    max-width: 35%;
    position: relative;
    z-index: 101;
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.scene-abenteuer .character-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.scene-abenteuer .scene-description {
    flex: 1;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    position: relative;
    z-index: 101;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .scene-abenteuer .abenteuer-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .scene-abenteuer .character-image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        float: none;
    }
    
    .scene-abenteuer .scene-description {
        text-align: center;
    }
}

.ocean-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: waveMove 3s ease-in-out infinite;
}

.wave-1 {
    bottom: 20%;
    left: -50%;
    animation-delay: 0s;
}

.wave-2 {
    bottom: 15%;
    left: -50%;
    animation-delay: -1s;
    opacity: 0.5;
}

.wave-3 {
    bottom: 10%;
    left: -50%;
    animation-delay: -2s;
    opacity: 0.3;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(25%) translateY(-10px);
    }
}

.sun {
    position: absolute;
    width: 120px;
    height: 120px;
    background: #FFD700;
    border-radius: 50%;
    top: 15%;
    right: 15%;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    animation: sunRotate 20s linear infinite;
}

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


.forest-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Simple grass blades - groups of 2-3 curved strings */
.grass-group {
    position: absolute;
    bottom: 0;
    display: flex;
    gap: 4px;
    align-items: flex-end;
}

.grass-blade {
    width: 3px;
    height: 25px;
    background: #4A8A4A;
    border-radius: 50% 50% 0 0;
    animation: grassSway 2s ease-in-out infinite;
    transform-origin: bottom center;
    transform: rotate(0deg);
    clip-path: ellipse(60% 100% at 50% 0%);
}

.grass-blade:nth-child(1) {
    animation-delay: 0s;
    transform: rotate(-3deg);
    height: 23px;
}

.grass-blade:nth-child(2) {
    animation-delay: 0.2s;
    transform: rotate(2deg);
    height: 28px;
}

.grass-blade:nth-child(3) {
    animation-delay: 0.4s;
    transform: rotate(-2deg);
    height: 25px;
}

/* Spread grass groups across the entire lawn area (bottom 50%) */
.grass-group.group-1 {
    left: 3%;
    bottom: 45%;
    animation-delay: 0s;
}

.grass-group.group-2 {
    left: 12%;
    bottom: 35%;
    animation-delay: 0.3s;
}

.grass-group.group-3 {
    left: 22%;
    bottom: 48%;
    animation-delay: 0.6s;
}

.grass-group.group-4 {
    left: 35%;
    bottom: 25%;
    animation-delay: 0.2s;
}

.grass-group.group-5 {
    left: 48%;
    bottom: 40%;
    animation-delay: 0.5s;
}

.grass-group.group-6 {
    left: 58%;
    bottom: 30%;
    animation-delay: 0.8s;
}

.grass-group.group-7 {
    left: 68%;
    bottom: 42%;
    animation-delay: 0.1s;
}

.grass-group.group-8 {
    left: 78%;
    bottom: 28%;
    animation-delay: 0.4s;
}

.grass-group.group-9 {
    left: 88%;
    bottom: 38%;
    animation-delay: 0.7s;
}

.grass-group.group-10 {
    left: 18%;
    bottom: 15%;
    animation-delay: 0.2s;
}

.grass-group.group-11 {
    left: 42%;
    bottom: 20%;
    animation-delay: 0.5s;
}

.grass-group.group-12 {
    left: 72%;
    bottom: 18%;
    animation-delay: 0.8s;
}

.grass-group.group-13 {
    left: 8%;
    bottom: 22%;
    animation-delay: 0.4s;
}

.grass-group.group-14 {
    left: 28%;
    bottom: 32%;
    animation-delay: 0.7s;
}

.grass-group.group-15 {
    left: 52%;
    bottom: 15%;
    animation-delay: 0.1s;
}

.grass-group.group-16 {
    left: 65%;
    bottom: 8%;
    animation-delay: 0.6s;
}

.grass-group.group-17 {
    left: 85%;
    bottom: 12%;
    animation-delay: 0.3s;
}

.grass-group.group-18 {
    left: 15%;
    bottom: 5%;
    animation-delay: 0.9s;
}

@keyframes grassSway {
    0%, 100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

.butterfly {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #FF69B4;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: butterflyFly 8s ease-in-out infinite;
}

.butterfly:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #FF1493;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 5px;
    left: 5px;
}

.butterfly-1 {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.butterfly-2 {
    top: 50%;
    right: 20%;
    animation-delay: -2s;
}

@keyframes butterflyFly {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -30px) rotate(10deg);
    }
    50% {
        transform: translate(100px, 20px) rotate(-10deg);
    }
    75% {
        transform: translate(50px, -20px) rotate(5deg);
    }
}

/* Scene Freunde - Characters */
.scene-freunde {
    background-image: url('/images/webui/familie.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: auto;
}

.scene-freunde .scene-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 0;
}

.scene-freunde h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

/* Gallery Container */
.gallery-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-container {
    flex: 1;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.gallery-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    min-width: min-content;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.gallery-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.gallery-item-image {
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.gallery-item-title {
    padding: 1rem;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.gallery-scroll-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Custom Gallery Slider - Playful Style */
.gallery-slider {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
    padding: 0.5rem 1rem;
}

.slider-track {
    position: relative;
    flex: 1;
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(255, 255, 255, 0.1);
}

.slider-track:hover {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(255, 255, 255, 0.2);
}

.slider-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    cursor: grab;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6), 0 0 0 4px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
    left: 0;
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.slider-handle:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.8), 0 0 0 5px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4);
    animation: bounce 0.5s ease;
}

.slider-handle:active {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 1), 0 0 0 6px rgba(255, 255, 255, 0.5), 0 6px 16px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-50%) scale(1.15);
    }
    50% {
        transform: translateY(-50%) scale(1.25);
    }
}

.slider-arrow {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.9) 0%, rgba(255, 105, 180, 0.9) 100%);
    border: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 0;
    font-family: inherit;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-arrow svg {
    width: 28px;
    height: 28px;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.slider-arrow:hover {
    background: linear-gradient(135deg, rgba(255, 192, 203, 1) 0%, rgba(255, 105, 180, 1) 100%);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 16px rgba(255, 182, 193, 0.7), 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: wiggle 0.5s ease;
}

.slider-arrow:active {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.6), 0 1px 4px rgba(0, 0, 0, 0.2);
}

@keyframes wiggle {
    0%, 100% {
        transform: scale(1.15) rotate(5deg);
    }
    25% {
        transform: scale(1.15) rotate(-5deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
    75% {
        transform: scale(1.15) rotate(-5deg);
    }
}

.slider-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(200, 200, 200, 0.5);
    border-color: rgba(200, 200, 200, 0.7);
}

.slider-arrow-left {
    /* Left arrow styling */
}

.slider-arrow-right {
    /* Right arrow styling */
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .gallery-slider {
        max-width: 100%;
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .slider-track {
        height: 10px;
    }
    
    .slider-handle {
        width: 36px;
        height: 36px;
    }
    
    .slider-arrow {
        width: 48px;
        height: 48px;
    }
    
    .slider-arrow svg {
        width: 24px;
        height: 24px;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.space-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(200, 200, 200, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(200, 200, 200, 0.3);
    animation: twinkle 1.5s ease-in-out infinite;
    filter: blur(0.5px);
}

.star-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.star-2 {
    top: 30%;
    right: 20%;
    animation-delay: -0.5s;
}

.star-3 {
    top: 50%;
    left: 30%;
    animation-delay: -1s;
}

.star-4 {
    top: 60%;
    right: 35%;
    animation-delay: -1.5s;
}

.star-5 {
    top: 80%;
    left: 50%;
    animation-delay: -0.3s;
}

.star-6 {
    top: 15%;
    left: 45%;
    animation-delay: -0.8s;
}

.star-7 {
    top: 40%;
    right: 15%;
    animation-delay: -1.2s;
}

.star-8 {
    top: 70%;
    left: 20%;
    animation-delay: -0.6s;
}

.star-9 {
    top: 25%;
    left: 60%;
    animation-delay: -1.4s;
}

.star-10 {
    top: 55%;
    right: 45%;
    animation-delay: -0.9s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.3);
    }
}

.planet {
    position: absolute;
    border-radius: 50%;
    animation: planetFloat 10s ease-in-out infinite;
    filter: blur(2px);
    opacity: 0.6;
}

.planet-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B4A4A, #6B3535);
    top: 25%;
    right: 10%;
    box-shadow: 0 0 20px rgba(139, 74, 74, 0.3);
    animation-delay: 0s;
}

.planet-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3A7A75, #2D5F5A);
    bottom: 20%;
    left: 15%;
    box-shadow: 0 0 15px rgba(58, 122, 117, 0.3);
    animation-delay: -3s;
}

@keyframes planetFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Scene Eltern - Parents Section */
.scene-eltern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.eltern-main-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 2rem auto;
    flex-wrap: wrap;
}

.eltern-shop-section {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.eltern-shop-section h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.shop-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.shop-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.shop-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #FF8E8E, #FF6B6B);
}

.shop-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Shop Section - Full Browser */
.scene-shop {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
}

.scene-shop .shop-container {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.scene-shop #myShop {
    width: 100%;
    min-height: 100vh;
    display: block;
}

.eltern-newsletter-section {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.eltern-newsletter-section h3 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    text-align: center;
}

.newsletter-section {
    margin-top: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.newsletter-section h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #FF6B6B;
}

.newsletter-form p {
    margin: 0 0 1rem 0;
}

.newsletter-checkbox {
    margin: 1rem 0;
}

.newsletter-checkbox label {
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.newsletter-checkbox-hint {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-left: 1.5rem;
    display: block;
    margin-top: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.newsletter-form input[type="email"]:focus,
.newsletter-form input[type="text"]:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="submit"],
.newsletter-form button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-family: inherit;
    font-weight: bold;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    width: 100%;
    margin-top: 0.5rem;
}

.newsletter-form input[type="submit"]:hover,
.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #FF8E8E, #FF6B6B);
}

.newsletter-form input[type="submit"]:active,
.newsletter-form button:active {
    transform: translateY(0);
}

.newsletter-success {
    display: none;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.newsletter-success.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.newsletter-error {
    display: none;
    padding: 1rem;
    background: rgba(244, 67, 54, 0.9);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.newsletter-error.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.celebration-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.confetti {
    position: absolute;
    width: 15px;
    height: 15px;
    animation: confettiFall 4s linear infinite;
    pointer-events: none;
}

.confetti-1 {
    background: #FF6B6B;
    left: 10%;
    animation-delay: 0s;
}

.confetti-2 {
    background: #4ECDC4;
    left: 30%;
    animation-delay: -1s;
}

.confetti-3 {
    background: #FFE66D;
    left: 50%;
    animation-delay: -2s;
}

.confetti-4 {
    background: #95E1D3;
    left: 70%;
    animation-delay: -1.5s;
}

.confetti-5 {
    background: #F38181;
    left: 90%;
    animation-delay: -0.5s;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cursor-follower {
        width: 28px;
        height: 28px;
    }

    .scene-content {
        padding: 1rem;
    }

    .gallery-item {
        width: 250px;
        height: 350px;
    }

    .gallery {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .newsletter-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .sun {
        width: 80px;
        height: 80px;
        top: 10%;
        right: 10%;
    }

    .grass-blade {
        width: 2px;
        height: 30px;
    }
    
    .grass-group {
        gap: 3px;
    }

    .planet-1 {
        width: 60px;
        height: 60px;
    }

    .planet-2 {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .cursor-follower {
        width: 24px;
        height: 24px;
    }

    .cloud-1, .cloud-2, .cloud-3 {
        width: 60px;
        height: 25px;
    }

    .wave {
        height: 60px;
    }

    .gallery-item {
        width: 200px;
        height: 300px;
    }

    .gallery {
        gap: 1rem;
    }

    .newsletter-section {
        padding: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Age Verification Modal - Hide the popup version, we use embedded */
.age-verification-modal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.age-verification-modal.hidden {
    display: none !important;
}

/* Age Verification Embedded above Blurred Content */
.scene-eltern {
    position: relative;
}

.scene-eltern .age-verification-embedded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    pointer-events: auto;
    transition: opacity 0.5s ease;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.age-verification-embedded.hidden {
    opacity: 0;
    pointer-events: none !important;
    display: none !important;
    visibility: hidden;
    z-index: -1;
}

.age-verification-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.4s ease-out;
    position: relative;
    z-index: 101;
    pointer-events: auto;
}

.age-verification-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.age-verification-content p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.age-verification-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 1rem 3rem;
    border: none;
    border-radius: 15px;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 120px;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.age-btn-yes {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #fff;
}

.age-btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.5);
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
}

.age-btn-no {
    background: linear-gradient(135deg, #F44336, #EF5350);
    color: #fff;
}

.age-btn-no:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 67, 54, 0.5);
    background: linear-gradient(135deg, #EF5350, #F44336);
}

.age-btn:active {
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blurred Content - Only applies to scene eltern */
.scene-eltern .blurred-content {
    position: relative;
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.5s ease, -webkit-filter 0.5s ease;
}

.scene-eltern .blurred-content.unblurred {
    -webkit-filter: blur(0);
    -moz-filter: blur(0);
    -o-filter: blur(0);
    -ms-filter: blur(0);
    filter: blur(0);
    pointer-events: auto !important;
    user-select: auto;
    position: relative;
    z-index: 10;
}

/* Ensure form elements and shop button are clickable when unblurred */
.scene-eltern .blurred-content.unblurred input,
.scene-eltern .blurred-content.unblurred button,
.scene-eltern .blurred-content.unblurred a,
.scene-eltern .blurred-content.unblurred form,
.scene-eltern .blurred-content.unblurred .shop-button,
.scene-eltern .blurred-content.unblurred .eltern-main-content,
.scene-eltern .blurred-content.unblurred .eltern-shop-section,
.scene-eltern .blurred-content.unblurred .eltern-newsletter-section {
    pointer-events: auto !important;
    cursor: pointer;
    position: relative;
    z-index: 20;
}

.scene-eltern .blurred-content.unblurred ~ .age-verification-embedded,
.scene-eltern.unblurred .age-verification-embedded {
    display: none !important;
}

/* Parent Verification Overlay - Only for scene 5 */
.parent-verification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 5;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.parent-verification-overlay.hidden {
    opacity: 0;
    pointer-events: none !important;
    display: none !important;
    visibility: hidden;
}

/* Terms and Conditions Link */
.terms-link {
    margin-top: 1.5rem;
    text-align: center;
}

.terms-and-conditions-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    pointer-events: auto;
}

.terms-and-conditions-link:hover {
    color: #fff;
}

.terms-and-conditions-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Disabled form elements */
.newsletter-form input:disabled,
.newsletter-form input[type="submit"]:disabled,
.newsletter-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Popup Overlay System */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: #f4e8d0;
    background-image: 
        /* Subtle paper texture with organic feel */
        radial-gradient(circle at 20% 50%, rgba(139, 115, 85, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 115, 85, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 115, 85, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(139, 115, 85, 0.02) 0%, transparent 50%),
        /* Fine paper grain texture */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(139, 115, 85, 0.02) 1px,
            rgba(139, 115, 85, 0.02) 2px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(139, 115, 85, 0.015) 1px,
            rgba(139, 115, 85, 0.015) 2px
        ),
        /* Subtle gradient for depth */
        linear-gradient(to bottom, rgba(244, 232, 208, 0.95) 0%, rgba(232, 213, 183, 0.98) 50%, rgba(244, 232, 208, 0.95) 100%);
    border: 3px solid #8b7355;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(139, 115, 85, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    padding: 0;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: #8b7355;
    border: 3px solid #6b5d47;
    border-radius: 50%;
    color: #f4e8d0;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: inherit;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.popup-close:hover {
    background: #6b5d47;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.popup-content {
    padding: 4rem 3rem;
    overflow-y: auto;
    max-height: 90vh;
    position: relative;
    z-index: 2;
}

.popup-content .character-popup {
    margin: -2rem -1.5rem;
    padding: 2rem 1.5rem;
}

/* Scroll-like content area with inner shadow */
.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    box-shadow: 
        inset 0 20px 30px -10px rgba(139, 115, 85, 0.2),
        inset 0 -20px 30px -10px rgba(139, 115, 85, 0.2);
    z-index: -1;
}

.popup-content img {
    max-width: 100%;
    max-height: 85vh;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(139, 115, 85, 0.1);
    border: 2px solid rgba(139, 115, 85, 0.2);
    background: #fff;
    padding: 10px;
}

/* Character Popup Layout - Image and Text Side by Side */
.character-popup {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
    max-width: 100%;
}

.character-popup-image {
    flex: 0 0 auto;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-popup-image img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.character-popup-text {
    flex: 1 1 auto;
    color: #3d2817;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.character-popup-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #2d1f13;
    text-shadow: 1px 1px 2px rgba(139, 115, 85, 0.3);
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-weight: bold;
    border-bottom: 3px solid #8b7355;
    padding-bottom: 1rem;
    position: relative;
}

.character-popup-text h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #c4b498;
}

.character-popup-text p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: #3d2817;
    text-align: left;
    margin: 0;
}

/* Mobile Responsive - Stack Image and Text */
@media (max-width: 768px) {
    .character-popup {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .character-popup-image {
        max-width: 100%;
        width: 100%;
    }
    
    .character-popup-image img {
        max-height: 50vh;
        width: auto;
    }
    
    .character-popup-text {
        width: 100%;
        text-align: center;
    }
    
    .character-popup-text h2 {
        text-align: center;
    }
    
    .character-popup-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .character-popup-text p {
        text-align: center;
    }
}

.popup-text-content {
    color: #3d2817;
    text-align: left;
    position: relative;
}

.popup-text-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #2d1f13;
    text-shadow: 1px 1px 2px rgba(139, 115, 85, 0.3);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
    border-bottom: 3px solid #8b7355;
    padding-bottom: 1rem;
    position: relative;
}

.popup-text-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c4b498;
}

.popup-text-body {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: #3d2817;
    text-align: left;
}

.popup-text-body h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #2d1f13;
    font-weight: bold;
    margin-bottom: 2rem;
    margin-top: 0;
    text-align: center;
    border-bottom: 2px solid #c4b498;
    padding-bottom: 1rem;
}

.popup-text-body h2 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: #2d1f13;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.popup-text-body h2:first-of-type {
    margin-top: 0;
}

.popup-text-body p {
    margin-bottom: 1.5rem;
    text-indent: 0;
}

.popup-text-body p:last-of-type {
    margin-bottom: 0;
}

.popup-text-body strong {
    color: #2d1f13;
    font-weight: bold;
    font-size: 1.1em;
}

.popup-text-body a {
    color: #8b7355;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.popup-text-body a:hover {
    color: #6b5d47;
    text-decoration: underline;
}

.popup-text-body a:visited {
    color: #8b7355;
}

/* Gallery item clickable */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Scrollbar for popup content - styled to match scroll theme */
.popup-content::-webkit-scrollbar {
    width: 12px;
}

.popup-content::-webkit-scrollbar-track {
    background: rgba(139, 115, 85, 0.2);
    border-radius: 6px;
    margin: 10px 0;
}

.popup-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8b7355, #6b5d47);
    border-radius: 6px;
    border: 2px solid #d4c4a8;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #6b5d47, #5b4d37);
}

/* Site Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-link:disabled,
.footer-link[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 0.5rem;
}

.footer-credit-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-credit-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Mobile responsive styles moved to mobile.css */

