.teaser-container {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
}

.main-view {
    width: 100%;
    position: relative;  /* Added to contain absolute positioned hotspots */
}

.main-image {
    width: 100%;
    height: auto;
    display: block;  /* Ensures no extra space below image */
}

.video-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/teaser/full_scene.jpg');  /* Add your main image path here */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    /* background: white; */
    visibility: hidden;
    opacity: 1;  /* Ensure no transparency */
}

#zoom-in-video,
#interaction-video,
#zoom-out-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit: contain;  /* This ensures the video maintains aspect ratio */
    /* background: white;     */
    /* Added white background for videos */
}

/* Hotspot styling */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;  /* Ensure hotspots are above the main image */
}

.hotspot-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.01s ease;
}

.hotspot-marker img {
    width: 40px;
    height: 40px;
}

/* Hover effects */
.hotspot:hover .hotspot-marker {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Tooltip styling */
.hotspot-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    visibility: hidden;
    white-space: nowrap;
    z-index: 5;
    transition: visibility 0s, opacity 0.2s;
    opacity: 0;
}

.hotspot:hover .hotspot-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Update back button style */
.back-button {
    position: absolute;
    top: 20px;
    left: -40px;  /* Moved further left */
    padding: 12px 24px;  /* Larger padding */
    background: rgba(0, 0, 0, 0.7);  /* Slightly darker */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    visibility: hidden;
    z-index: 10;
    font-family: 'Mulish', sans-serif;  /* Added Mulish */
    font-size: 16px;
    font-weight: 600;  /* Semi-bold */
    transition: background-color 0.1s ease;  /* Smooth hover transition */
}

.back-button:hover {
    background: rgba(0, 0, 0, 0.9);  /* Darker on hover */
}

.instruction-text {
    font-family: 'Mulish', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a4a4a;
    text-align: left;  /* Center the text */
}

.inline-icon {
    width: 1em;  /* Make icon size relative to text size */
    height: 1em;
    vertical-align: -0.15em;  /* Fine-tune vertical alignment */
    margin: 0 0.2em;  /* Add small space around icon */
    display: inline;  /* Changed from inline-block */
}

/* Add to teaser.css */
.mobile-teaser-video {
    display: none; /* Hidden by default */
    width: 100%;
    margin: 0 auto;
}

.mobile-teaser-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop view (default) */
.teaser-title,
.teaser-instructions,
.teaser-container {
    display: block;
}

/* Mobile view */
@media screen and (max-width: 768px) {
    .mobile-teaser-video {
        display: block !important; /* Force show on mobile */
    }
    
    .teaser-title,
    .teaser-instructions,
    .teaser-container {
        display: none !important; /* Force hide on mobile */
    }
}