/* Core Structural Styles for LYTL Scene Hotspots */
.lytl-scene-hotspots-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let background clicks pass through wrapper layer */
    overflow: visible;
}

/* Make actual interactive parts receive pointer clicks */
.lytl-sh-trigger,
.lytl-sh-card {
    pointer-events: auto;
}

/* Hotspot Triggers */
.lytl-sh-trigger {
    position: absolute;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    box-sizing: border-box;
    transition: opacity 0.25s ease, border-color 0.25s ease;
    z-index: 100;
}

.lytl-sh-trigger:focus-visible {
    outline: 2px solid var(--accent-color, #3a86ff);
    outline-offset: 2px;
    opacity: 1 !important;
}

/* Editor outlines visualization */
.lytl-sh-editor-mode.lytl-sh-outlines-visible .lytl-sh-trigger {
    opacity: 1;
    border: 2px dashed var(--accent-color, #3a86ff);
    background: rgba(58, 134, 255, 0.08);
}

.lytl-sh-trigger-name {
    display: none;
    position: absolute;
    top: -24px;
    left: 0;
    background: var(--accent-color, #3a86ff);
    color: #ffffff;
    padding: 2px 8px;
    font-size: 11px;
    font-family: monospace;
    line-height: 1.2;
    border-radius: 3px;
    white-space: nowrap;
}

.lytl-sh-editor-mode.lytl-sh-outlines-visible.lytl-sh-names-visible .lytl-sh-trigger-name {
    display: inline-block;
}

/* Info Cards */
.lytl-sh-card {
    position: absolute;
    z-index: 1000;
    background-color: rgba(23, 23, 31, 0.92);
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

/* Editor Preview cards should stay visible to allow live preview customization */
.lytl-sh-editor-mode .lytl-sh-card.lytl-editor-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Card states */
.lytl-sh-card.is-active-34876c23 {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Reveal Animations */
.lytl-sh-card.lytl-sh-anim-fade {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lytl-sh-card.lytl-sh-anim-fade-up {
    transform: translateY(15px);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s ease;
}
.lytl-sh-card.lytl-sh-anim-fade-up.is-active-34876c23 {
    transform: translateY(0) !important;
}

.lytl-sh-card.lytl-sh-anim-scale {
    transform: scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s ease;
}
.lytl-sh-card.lytl-sh-anim-scale.is-active-34876c23 {
    transform: scale(1) !important;
}

/* Typography & Layout spacing defaults */
.lytl-sh-card-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lytl-sh-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent-color, #3a86ff);
    padding-bottom: 6px;
}

.lytl-sh-card-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.lytl-sh-card-details {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lytl-sh-card-detail-item {
    font-size: 13px;
    list-style-type: disc;
}

.lytl-sh-card-btn {
    align-self: flex-start;
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
