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

        body {
            font-family: 'Cormorant Garamond', serif;
            background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d0 100%);
            color: #2a2a2a;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* SPA view transitions */
        #spa-root {
            position: relative;
        }

        .spa-view {
            opacity: 1;
            transition: opacity 0.26s ease, transform 0.26s ease;
        }

        .spa-view.is-hidden {
            display: none;
        }

        .spa-view.is-enter {
            opacity: 0;
            transform: translateY(8px);
        }

        .spa-view.is-leave {
            opacity: 0;
            transform: translateY(-8px);
            pointer-events: none;
        }

        /* Header Section */
        .header {
            text-align: center;
            padding: 50px 20px 20px;
            animation: fadeInDown 1s ease-out;
        }

        @media (max-width: 768px) {
            .header {
                padding: 30px 20px 15px;
            }
        }

        .header-icon {
            margin-bottom: 20px;
        }

        .rings-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 15px;
        }

        .ring {
            width: 50px;
            height: 50px;
            border: 3px solid #c9a961;
            border-radius: 50%;
            position: relative;
        }

        .ring:first-child {
            margin-right: -15px;
            z-index: 1;
        }

        .names {
            font-family: 'Great Vibes', cursive;
            font-size: 88px;
            margin: 25px 0;
            color: #c9a961;
            line-height: 1;
            text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
            font-weight: 400;
            letter-spacing: 2px;
        }

        @media (max-width: 768px) {
            .names {
                font-size: 64px;
            }
        }

        .subtitle {
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            letter-spacing: 6px;
            text-transform: uppercase;
            margin: 15px 0;
            color: #2a2a2a;
            font-weight: 400;
        }

        .date-display {
            font-family: 'Montserrat', sans-serif;
            font-size: 20px;
            letter-spacing: 3px;
            margin: 10px 0 30px;
            color: #c9a961;
        }

        .divider {
            width: 120px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #c9a961, transparent);
            margin: 20px auto;
        }

        /* Gallery Container */
        .gallery-wrapper {
            padding: 10px 20px 20px;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        @media (min-width: 769px) {
            .gallery-wrapper {
                padding: 0 20px 20px;
            }
        }

        .gallery-container {
            position: relative;
            width: 100%;
            height: 650px;
            perspective: 2000px;
            margin: 20px auto;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @media (min-width: 769px) {
            .gallery-container {
                margin: -15px auto 20px;
            }
        }

        @media (max-width: 768px) {
            .gallery-container {
                height: 500px;
            }
        }

        /* 3D Carousel */
        .carousel-3d {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            will-change: auto;
        }

        .carousel-item {
            position: absolute;
            width: 350px;
            height: 450px;
            left: 50%;
            top: 50%;
            transform-style: preserve-3d;
            background: white;
            border-radius: 12px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                        opacity 0.6s ease-out;
            cursor: pointer;
            backface-visibility: hidden;
            will-change: transform, opacity;
            contain: layout style paint;
        }

        @media (max-width: 768px) {
            .carousel-item {
                width: 280px;
                height: 380px;
            }
        }

        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            display: block;
            will-change: transform;
        }

        .carousel-item:hover img {
            transform: scale(1.05);
        }

        .carousel-item.loading img {
            opacity: 0;
        }

        .carousel-item.loaded img {
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .carousel-item-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
            color: white;
            padding: 30px 20px 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .carousel-item:hover .carousel-item-overlay {
            opacity: 1;
        }

        .carousel-item-title {
            font-family: 'Great Vibes', cursive;
            font-size: 28px;
            margin-bottom: 5px;
            color: #c9a961;
        }

        .carousel-item-description {
            font-size: 14px;
            font-family: 'Montserrat', sans-serif;
            letter-spacing: 1px;
        }

        /* Navigation Controls */
        .gallery-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin-top: 40px;
        }

        .control-btn {
            width: 60px;
            height: 60px;
            border: 2px solid #c9a961;
            background: white;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #c9a961;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .control-btn:hover {
            background: #c9a961;
            color: white;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
        }

        .control-btn:active {
            transform: scale(0.95);
        }

        /* Indicators */
        .gallery-indicators {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 30px;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #d4c9b3;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: #c9a961;
            transform: scale(1.3);
            box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
        }

        /* Footer Message */
        .footer-message {
            text-align: center;
            padding: 60px 20px 40px;
            max-width: 800px;
            margin: 0 auto;
        }

        .footer-message p {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 20px;
            color: #2a2a2a;
        }

        .footer-signature {
            font-family: 'Great Vibes', cursive;
            font-size: 42px;
            color: #c9a961;
            margin-top: 30px;
        }

        /* Link to old gallery */
        .gallery-link {
            text-align: center;
            margin: 40px 0;
        }

        .gallery-link a {
            font-family: 'Montserrat', sans-serif;
            font-size: 13px;
            letter-spacing: 3px;
            color: #c9a961;
            text-decoration: none;
            padding: 15px 40px;
            border: 2px solid #c9a961;
            display: inline-block;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }

        .gallery-link a:hover {
            background: #c9a961;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
        }

        /* Spotify Button */
        .spotify-section {
            text-align: center;
            margin: 50px 0 30px;
        }

        .spotify-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-family: 'Montserrat', sans-serif;
            font-size: 13px;
            letter-spacing: 3px;
            color: white;
            background: #1DB954;
            text-decoration: none;
            padding: 18px 45px;
            border-radius: 50px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
        }

        .spotify-btn:hover {
            background: #1ed760;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
        }

        .spotify-btn:active {
            transform: translateY(-1px);
        }

        .spotify-icon {
            width: 24px;
            height: 24px;
            fill: currentColor;
        }

        .spotify-label {
            font-size: 11px;
            letter-spacing: 2px;
            color: #2a2a2a;
            text-transform: uppercase;
            margin-bottom: 15px;
            opacity: 0.7;
        }

        /* Music control */
        .music-panel {
            position: fixed;
            right: 12px;
            bottom: 12px;
            z-index: 12000;
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(42, 42, 42, 0.9);
            border: 1px solid #c9a961;
            border-radius: 22px;
            padding: 6px 8px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
        }

        .music-control {
            font-family: 'Montserrat', sans-serif;
            font-size: 10px;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: white;
            background: transparent;
            border: 1px solid #c9a961;
            border-radius: 16px;
            padding: 7px 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            line-height: 1;
        }

        .music-control:hover {
            background: #c9a961;
            transform: translateY(-1px);
        }

        .music-control.active {
            background: #c9a961;
        }

        .volume-control {
            width: 78px;
            accent-color: #c9a961;
            cursor: pointer;
        }

        .volume-label {
            min-width: 26px;
            font-family: 'Montserrat', sans-serif;
            font-size: 10px;
            color: #f5f1e8;
            text-align: right;
        }

        @media (max-width: 768px) {
            .music-panel {
                right: 10px;
                left: auto;
                bottom: 10px;
                border-radius: 18px;
                padding: 6px 8px;
            }

            .music-control {
                padding: 7px 9px;
            }

            .volume-control {
                width: 64px;
            }
        }

        .music-audio {
            display: none;
        }

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Prevent flash of unstyled content */
        body {
            opacity: 0;
            animation: fadeIn 0.3s ease-out forwards;
        }

        /* Touch feedback */
        .carousel-3d.grabbing {
            cursor: grabbing;
        }

        .carousel-3d {
            cursor: grab;
        }

        /* Loading Spinner */
        .loading-spinner {
            text-align: center;
            padding: 100px 20px;
        }

        .spinner {
            width: 60px;
            height: 60px;
            border: 4px solid #e8e0d0;
            border-top: 4px solid #c9a961;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            letter-spacing: 2px;
            color: #c9a961;
            text-transform: uppercase;
        }

        /* Modal for full image */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            backdrop-filter: blur(4px);
            z-index: 20000;
            justify-content: center;
            align-items: center;
            padding: 24px;
        }

        .image-modal.show {
            display: flex;
        }

        .modal-content {
            position: relative;
            width: min(92vw, 1180px);
            max-height: calc(100vh - 90px);
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .modal-image {
            width: 100%;
            max-height: 78vh;
            object-fit: contain;
            border-radius: 16px;
            background: #111;
            box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5);
        }

        .modal-info {
            margin-top: 14px;
            text-align: center;
            color: rgba(255, 255, 255, 0.92);
        }

        .modal-title {
            font-family: 'Great Vibes', cursive;
            font-size: 30px;
            color: #f2f2f2;
            margin-bottom: 6px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
        }

        .modal-description {
            font-family: 'Montserrat', sans-serif;
            font-size: 12px;
            letter-spacing: 1.3px;
            opacity: 0.9;
        }

        .modal-close {
            position: absolute;
            top: -50px;
            right: 0;
            width: 40px;
            height: 40px;
            background: rgba(24, 24, 24, 0.58);
            color: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            border-radius: 50%;
            font-size: 22px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s;
            z-index: 1;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
        }

        @media (max-width: 768px) {
            .modal-close {
                right: 12px;
                top: 12px;
            }
        }

        .modal-close:hover {
            background: rgba(24, 24, 24, 0.8);
            transform: scale(1.06);
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            background: rgba(24, 24, 24, 0.58);
            color: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.25s;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
        }

        .modal-nav:hover {
            background: rgba(24, 24, 24, 0.8);
            transform: translateY(-50%) scale(1.06);
        }

        .modal-prev {
            left: 14px;
        }

        .modal-next {
            right: 14px;
        }

        @media (max-width: 768px) {
            .modal-nav {
                width: 42px;
                height: 42px;
                font-size: 18px;
            }

            .modal-prev {
                left: 10px;
            }

            .modal-next {
                right: 10px;
            }
        }

        body.modal-open .music-panel {
            opacity: 0;
            pointer-events: none;
        }

