html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body.page-template-3d-page,
body.page-template-3d-page-php {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.proyecto-3d-page {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.scene-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.three-stage,
#three-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.three-stage canvas,
#three-stage canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}
.scene-overlay {
    position: relative;
    z-index: 5;
    min-height: 100%;
    pointer-events: none;
}

.overlay-panel {
    max-width: 440px;
    background: rgba(10, 10, 16, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    pointer-events: auto;
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    opacity: 0.75;
}

.overlay-panel h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
}

.description {
    margin: 0 0 18px;
    line-height: 1.5;
    opacity: 0.88;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: #ff2f92;
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
}

.model-info {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .scene-wrapper {
        min-height: 100vh;
        height: 100vh;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .scene-overlay {
        padding: 18px;
        align-items: flex-end;
    }

    .overlay-panel {
        max-width: none;
        width: 100%;
    }
}


/*Estrellas*/

.fx-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
	background: transparent;
}

.intro-ui {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    pointer-events: none;
}

.kick-button {
    pointer-events: auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #fdf100;
    background: #000;
    color: #fdf100;
    font-family: monospace;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(253, 241, 0, 0.18);
    transition: transform 0.2s ease, opacity 0.25s ease;
}

.kick-button:hover {
    transform: scale(1.04);
}

.kick-button.is-hidden {
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
}