@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Montserrat:wght@200;300;400&display=swap');

html, body {
    background-color: #1A1C1D;
    color: #E5E0D8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
::-webkit-scrollbar { width: 0px; background: transparent; }

.gsap-reveal {
    opacity: 0;
    transform: translateY(40px);
}
.btn-protocol {
    position: relative;
    border: 1px solid rgba(182, 147, 81, 0.4);
    background-color: #1E1B16;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
}

.btn-protocol:hover {
    background-color: #B69351;
    color: #1A1C1D !important;
    box-shadow: 0 0 25px rgba(182, 147, 81, 0.3);
    border-color: #B69351;
}

.concierge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0px);
    transition: all 0.3s ease;
}

.concierge-icon:active {
    transform: translateY(1px) scale(0.9);
}

.concierge-icon svg {
    filter: drop-shadow(0 0 0px rgba(182, 147, 81, 0));
    transition: filter 0.3s ease;
}

.concierge-icon:active svg {
    filter: drop-shadow(0 0 10px rgba(182, 147, 81, 0.8));
}

input, button, a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.hero-text-depth {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8), 0 5px 30px rgba(0, 0, 0, 0.5);
}

.scroll-pearl {
    width: 32px;
    height: 32px;
    animation: pearlFloat 3s infinite ease-in-out;
}

@keyframes pearlFloat {
    0%, 100% { transform: translateY(-20px); opacity: 0; }
    50% { transform: translateY(20px); opacity: 1; }
}

.chapter-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.7rem, 6vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .chapter-title { letter-spacing: 0.15em; line-height: 1; }
}

.memory-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #1A1C1D 0%, rgba(26,28,29,0.4) 50%, #1A1C1D 100%);
    z-index: 1;
}
.memory-card {
    background: rgba(26, 28, 29, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(229, 224, 216, 0.1);
    transition: all 0.5s ease;
}
.memory-card:hover {
    border-color: rgba(182, 147, 81, 0.5);
    transform: translateY(-5px);
}


.btn-contact-gold {
    position: relative;
    z-index: 1;
    color: #B69351;
    background-color: #1A1C1D;
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 1px #B69351;
    border-radius: 1px;

    transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
    animation: btn-scale 5s ease-in-out infinite;
    display: inline-block;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-font-smoothing: antialiased;
    will-change: transform;
}


.btn-contact-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: 0 0 25px rgba(182, 147, 81, 0.5);
    opacity: 0;
    z-index: -1;
    border-radius: 1px;
    animation: btn-glow 5s ease-in-out infinite;
    transition: opacity 0.5s ease;
}


.btn-contact-gold:hover {
    background-color: #B69351;
    color: #1A1C1D;
    box-shadow: inset 0 0 0 1px #B69351, 0 0 30px rgba(182, 147, 81, 0.4) !important;
    animation-play-state: paused;
    transform: scale(1) translateZ(0) rotate(0.001deg);
}

.btn-contact-gold:hover::before {
    animation-play-state: paused;
    opacity: 1;
}


@keyframes btn-scale {
    0%, 100% {
        transform: scale(0.98) translateZ(0) rotate(0.001deg);
    }
    50% {
        transform: scale(1) translateZ(0) rotate(0.001deg);
    }
}


@keyframes btn-glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

#item-modal {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
    height: 100vh;
    height: -webkit-fill-available;
}

.modal-content-anim {
    transform: scale(0.95) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    min-height: min-content;
}

#item-modal:not(.hidden) .modal-content-anim {
    transform: scale(1) translateY(0);
}

@media (max-width: 768px) {
    .modal-content-anim { margin-top: 20px; margin-bottom: 20px; }
}

.legal-link {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(229, 224, 216, 0.2);
    transition: color 0.3s ease;
    line-height: 1.5;
    display: inline-block;
    padding-top: 4px;
}

.legal-link:hover { color: #B69351; }

body.modal-open {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

body.modal-open #item-modal {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

section.relative.h-screen {
    background-image: url('../img/hero_poster.jpg');
    background-size: cover;
    background-position: center;
    background-color: #1A1C1D;
}

.video-bg { opacity: 0; }
.video-bg[data-loaded="true"] { opacity: 1; }


.legal-content {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(229, 224, 216, 0.8);
}
.legal-section-title {
    font-family: 'Cormorant Garamond', serif;
    color: #B69351;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.legal-item {
    margin-bottom: 1.25rem;
    text-align: justify;
}
.back-link {
    display: inline-flex;
    align-items: center;
    color: #B69351;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.3em;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(182, 147, 81, 0.3);
    padding-bottom: 4px;
}
.back-link:hover {
    color: #E5E0D8;
    border-color: #E5E0D8;
}


.play-btn-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-ring {
    width: 90px;
    height: 90px;
    border: 1px solid rgba(182, 147, 81, 0.5);
    border-radius: 50%;
    position: absolute;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
.play-ring-inner {
    width: 70px;
    height: 70px;
    background: rgba(26, 28, 29, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid #B69351;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.play-btn-wrapper:hover .play-ring-inner {
    background: #B69351;
    transform: scale(1.05);
}
.play-triangle {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #E5E0D8;
    margin-left: 4px;
    transition: all 0.3s ease;
}
.play-btn-wrapper:hover .play-triangle {
    border-left-color: #1A1C1D;
}
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.video-backdrop {
    transition: background-color 1s ease;
}
.video-active {
    background-color: rgba(0, 0, 0, 0.95);
}

#main-video {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}
#main-video.is-playing {
    opacity: 1;
    pointer-events: auto;
}

.spinner {
    display: none;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(182, 147, 81, 0.3);
    border-radius: 50%;
    border-top-color: #B69351;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}