[x-cloak] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

html,
body {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100vw;
    color: #0F172A;
    background-color: #FFFFFF;
    font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
}

.tourists-pill,
.tourist-pill {
    border-radius: 9999px !important;
}

/* Tourists Action Buttons */
.tourists-btn-primary,
.tourist-btn-primary,
.wasabi-btn-primary,
.tourists-btn-dark,
.tourist-btn-dark,
.tourists-btn-outline,
.tourist-btn-outline,
.wasabi-btn-outline {
    text-shadow: none !important;
}

.tourists-btn-primary,
.tourist-btn-primary,
.wasabi-btn-primary {
    border-radius: 9999px !important;
    background-color: #00E599 !important;
    color: #0A0F1D !important;
    font-weight: 700 !important;
    padding: 0.85rem 2rem !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(0, 229, 153, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: 1px solid #00E599 !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
}

.tourists-btn-primary:hover,
.tourist-btn-primary:hover,
.wasabi-btn-primary:hover {
    background-color: #00F5A3 !important;
    color: #0A0F1D !important;
    border-color: #00F5A3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(0, 229, 153, 0.5) !important;
}

.tourists-btn-dark,
.tourist-btn-dark {
    border-radius: 9999px !important;
    background-color: #0A0F1D !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    padding: 0.85rem 2rem !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: 1px solid #0A0F1D !important;
    line-height: 1.25 !important;
}

.tourists-btn-dark:hover,
.tourist-btn-dark:hover {
    background-color: #1E293B !important;
    border-color: #1E293B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(10, 15, 29, 0.25) !important;
    color: #FFFFFF !important;
}

.tourists-btn-outline,
.tourist-btn-outline,
.wasabi-btn-outline {
    border-radius: 9999px !important;
    border: 2px solid #0F172A !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    font-weight: 600 !important;
    padding: 0.8rem 1.85rem !important;
    transition: all 0.22s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    line-height: 1.25 !important;
}

.tourists-btn-outline:hover,
.tourist-btn-outline:hover,
.wasabi-btn-outline:hover {
    border-color: #0F172A !important;
    background-color: #0F172A !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

/* Outline on Dark / Hero / CTA sections */
.tourists-btn-outline.on-dark,
.tourist-btn-outline.on-dark,
.wasabi-btn-outline.on-dark,
.tourists-btn-outline-dark,
.tourist-btn-outline-dark {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.tourists-btn-outline.on-dark:hover,
.tourist-btn-outline.on-dark:hover,
.wasabi-btn-outline.on-dark:hover,
.tourists-btn-outline-dark:hover,
.tourist-btn-outline-dark:hover {
    background-color: #FFFFFF !important;
    color: #0A0F1D !important;
    border-color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.2) !important;
}

/* Tourists Card Styles */
.tourists-card,
.tourist-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tourists-card:hover,
.tourist-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.tourists-card-gradient,
.tourist-card-gradient {
    background: linear-gradient(135deg, #080E1A 0%, #0F172A 50%, #1E293B 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    color: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tourists-card-gradient:hover,
.tourist-card-gradient:hover {
    border-color: rgba(0, 229, 153, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
}

.tourists-badge,
.tourist-badge {
    border-radius: 9999px;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Backward-compatible hover lifts & badges */
.card-summit-orange {
    border: 2px solid #FF5000;
    border-radius: 1.5rem;
    box-shadow: 0 4px 14px rgba(255, 80, 0, 0.12);
    transition: all 0.25s ease;
}

.card-summit-orange:hover {
    border-color: #E04500;
    box-shadow: 0 10px 24px rgba(255, 80, 0, 0.22);
    transform: translateY(-3px);
}

.btn-hover-lift {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hover-lift:hover {
    transform: translateY(-2px);
}

.btn-orange-glow:hover {
    box-shadow: 0 10px 24px -4px rgba(255, 80, 0, 0.4);
}

.btn-blue-glow:hover {
    box-shadow: 0 10px 24px -4px rgba(2, 68, 250, 0.4);
}

.btn-dark-glow:hover {
    box-shadow: 0 10px 24px -4px rgba(10, 15, 29, 0.3);
}

.btn-white-glow:hover {
    box-shadow: 0 10px 24px -4px rgba(255, 255, 255, 0.3);
}

.card-hover-lift {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
}

/* Modern Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Entrance Animation - Immediate fade-up without depending on scroll threshold */
#hero-slider .reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: heroFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#hero-slider .reveal.delay-150 {
    animation-delay: 0.12s;
}

#hero-slider .reveal.delay-250 {
    animation-delay: 0.22s;
}

#hero-slider .reveal.delay-350,
#hero-slider .reveal.delay-300 {
    animation-delay: 0.32s;
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-img {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(4px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-img.revealed {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
}

.delay-75 {
    transition-delay: 75ms;
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-120 {
    transition-delay: 120ms;
}

.delay-150 {
    transition-delay: 150ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-250 {
    transition-delay: 250ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-350 {
    transition-delay: 350ms;
}

.delay-360 {
    transition-delay: 360ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-450 {
    transition-delay: 450ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-600 {
    transition-delay: 600ms;
}

.no-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.no-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #F8FAFC;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00E599;
}

/* Modal Smooth Scrollbar */
.modal-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F8FAFC;
    -webkit-overflow-scrolling: touch;
}

.modal-scrollbar::-webkit-scrollbar {
    width: 7px;
}

.modal-scrollbar::-webkit-scrollbar-track {
    background: #F8FAFC;
    border-radius: 9999px;
    margin: 8px 0;
}

.modal-scrollbar::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 9999px;
}

.modal-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #00E599;
}

/* Decorative section divider retained for full test compatibility */
.torn-paper-edge-container {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 20;
}

.torn-paper-edge-container svg {
    display: block;
    width: 100%;
    height: 32px;
}
