html, body {
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    color: #334155;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.snap-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; 
}
.snap-container::-webkit-scrollbar { display: none; }

.snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

p { margin-bottom: 0.75rem; }

.hero-bg {
    background-image: url('https://cafefcdn.com/203337114487263232/2026/3/12/photo-1773330334868-1773330335279163970666.png');
    background-size: cover;
    background-position: center;
}

.marquee-wrapper {
    width: 100vw;
    overflow: hidden;
    position: absolute;
    bottom: 3%;
    display: flex;
}
.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}
.marquee-content:hover { animation-play-state: paused; }
@keyframes marquee {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}
.img-frame {
    width: 380px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}
.img-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #059669;
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: border-color 0.3s;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #cbd5e1;
    border-radius: 4px;
}
#gaugeNeedle {
    transition: transform 0.3s ease-out;
    transform-origin: 100px 90px;
}

.hotspot {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #059669;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(5, 150, 105, 0.4);
    animation: pulse-light 2s infinite;
    transform: translate(-50%, 50%);
    z-index: 10;
}
.hotspot:hover {
    animation: none;
    background: #ea580c;
    transform: translate(-50%, 50%) scale(1.2);
}
@keyframes pulse-light {
    0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(5, 150, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}
.tooltip-card {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 15px);
    transition: all 0.3s ease;
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
}
.tooltip-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}
.hotspot-container:hover .tooltip-card {
    opacity: 1;
    transform: translate(-50%, 0);
}

.ba-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}
.ba-after-layer {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.ba-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #059669;
    transform: translateX(-50%);
    z-index: 20;
    cursor: ew-resize;
}
.ba-slider-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 2px solid #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    color: #059669;
}