:root {
    --bg-color: #102936;
    --card-bg: #264a5c;
    --text-main: #f5eadd;
    --text-muted: #b0c0c9;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'DM Sans', sans-serif;
    --gradient-icon: linear-gradient(145deg, #fbe6cb 0%, #dfb07e 100%);
    --icon-color: #102936;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 10px;
    height: 70px;
}

.header-left, .header-right {
    width: 48px;
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 26px;
    height: 26px;
}

.logo span {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.step-indicator {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-muted);
}

.progress-container {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 24px 10px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #2da18e;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Main Content */
.quiz-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 24px 40px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.step {
    display: none;
    text-align: center;
}

.step.active {
    display: flex;
    flex-direction: column;
    flex: 1;
    animation: fadeIn 0.4s ease-out forwards;
}

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

.main-title {
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.5;
}

.question {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.options-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.option-card {
    background-color: var(--card-bg);
    border-radius: 14px;
    padding: 28px 20px 22px;
    width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.option-card:hover {
    background-color: #2F586C;
}

.option-card:active {
    transform: scale(0.96);
    background-color: #30586b;
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-icon);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.option-text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Custom Date Picker */
.date-picker {
    margin: 30px 0 50px;
    position: relative;
    width: 100%;
}

.date-picker-labels {
    display: flex;
    justify-content: space-around;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 18px;
}

.date-picker-wheels {
    display: flex;
    justify-content: space-around;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.picker-wheel {
    flex: 1;
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 85px 0;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.picker-wheel::-webkit-scrollbar {
    display: none;
}

.picker-item {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--text-muted);
    opacity: 0.3;
    scroll-snap-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.picker-item.selected {
    color: var(--text-main);
    opacity: 1;
    font-size: 22px;
    font-weight: 600;
}

.picker-selection-window {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 30px;
    margin-top: -15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}

/* Time Picker Variation */
.time-picker {
    margin-top: 10px;
}

/* Links */
.text-link {
    color: #2da18e;
    font-size: 16px;
    text-decoration: underline;
    margin-top: auto;
    margin-bottom: 24px;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: color 0.2s;
}

.text-link:hover {
    color: #35b6a3;
}

/* Inputs */
.input-container {
    width: 100%;
    margin-bottom: 30px;
}

.text-input {
    width: 100%;
    background-color: transparent;
    border: 1px solid #2da18e;
    border-radius: 14px;
    padding: 18px 20px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.text-input:focus {
    border-color: #35b6a3;
    box-shadow: 0 0 0 2px rgba(45, 161, 142, 0.2);
}

.text-input::placeholder {
    color: rgba(176, 192, 201, 0.5); /* var(--text-muted) con opacidad */
}

/* Buttons */
.btn-primary {
    background-color: #287a70;
    color: #a9d4c1;
    border: none;
    border-radius: 30px;
    padding: 16px 0;
    width: 100%;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin-top: auto;
}

.text-link + .btn-primary {
    margin-top: 0;
}

.btn-primary.active-btn {
    background-color: #35b6a3;
    color: white;
}

.btn-primary:active, .btn-primary.active-btn:active {
    background-color: #1f6159;
}

/* --- Etapa 5: Carga Astro Epica --- */

.pulsing-title {
    animation: pulseTitle 2s ease-in-out infinite;
}

@keyframes pulseTitle {
    0%, 100% { opacity: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    50% { opacity: 0.7; text-shadow: 0 0 15px rgba(245, 234, 221, 0.4); }
}

.chart-loader-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 20px auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 176, 126, 0.4) 0%, rgba(45, 161, 142, 0.2) 40%, transparent 70%);
    animation: breatheGlow 4s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes breatheGlow {
    0% { transform: scale(1); opacity: 0.8; filter: blur(10px); }
    100% { transform: scale(1.3); opacity: 1; filter: blur(20px); }
}

.chart-graphic {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 180px;
    background-color: rgb(15, 15, 15);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotating-chart {
    width: 100%;
    height: 100%;
    animation: rotateChart 20s linear infinite;
}

@keyframes rotateChart {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.planet {
    animation: pulsePlanet 2s infinite alternate;
}

@keyframes pulsePlanet {
    form { opacity: 0.6; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.2); box-shadow: 0 0 10px white; }
}

.loading-phrases {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.phrase {
    background-color: rgba(38, 74, 92, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 10px 24px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.2;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(5px);
}

.phrase span {
    font-size: 18px;
}

.phrase.active {
    opacity: 1;
    color: var(--text-main);
    transform: translateY(0) scale(1.05);
    background-color: rgba(38, 74, 92, 0.8);
    border-color: rgba(223, 176, 126, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(45, 161, 142, 0.2);
}

.phrase.passed {
    opacity: 0.4;
    transform: translateY(0) scale(1);
    color: var(--text-muted);
    border-color: transparent;
    box-shadow: none;
}

/* --- Etapa 6: Resultados Astral --- */

.chat-bubble-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.chat-bubble {
    background-color: #f6efdf;
    color: #102936;
    padding: 18px 24px;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    text-align: center;
    line-height: 1.4;
    max-width: 320px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #f6efdf transparent transparent transparent;
}

.highlight-text {
    color: #2da18e;
    font-weight: 700;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 12px;
    border: 2px solid transparent; /* Posible brillo adicional */
    z-index: 1;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chart-static-container {
    margin: 5px auto 40px;
}

.chart-glow-dim {
    opacity: 0.6;
    animation: none;
}

.signs-container {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    margin-bottom: 30px;
}

.sign-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.sign-icon {
    font-size: 38px;
    color: #35b6a3;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(53, 182, 163, 0.2));
}

.sign-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.sign-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* --- Etapa 7: Orbe y Precisión --- */

.forecast-title {
    font-size: 26px;
    z-index: 2;
    position: relative;
    margin-top: 15px;
    margin-bottom: 25px;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkleStar 3s infinite ease-in-out;
}

@keyframes twinkleStar {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.5); box-shadow: 0 0 5px white; }
}

.orb-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.orb-glow-purple {
    position: absolute;
    width: 130%;
    height: 130%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 60, 200, 0.4) 0%, rgba(53, 182, 163, 0.2) 40%, transparent 70%);
    animation: breatheGlow 4s infinite alternate;
    z-index: 0;
}

.orb {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(18, 25, 33, 0.95); /* Color oscuro de fondo */
    box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 -5px 20px rgba(119, 219, 186, 0.3);
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-liquid-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.2, 1); /* Súper lento y fluido */
    z-index: 1;
}

.orb-liquid-wave {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Gradiente exacto del líquido. Turquesa verdoso arriba, a púrpura azulado en el centro y oscuro abajo. */
    background: linear-gradient(180deg, #7be0cd 0%, #7657e2 40%, rgba(20,30,50,0.9) 100%);
    border-radius: 40%;
    animation: waveRotate 6s infinite linear;
}

@keyframes waveRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.orb-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Simula el brillo del vidrio 3D */
    box-shadow: inset 0 20px 20px rgba(255,255,255,0.05), inset 0 -10px 30px rgba(0,0,0,0.8);
    background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
    z-index: 2;
    pointer-events: none;
}

.orb-value {
    position: relative;
    z-index: 3;
    font-family: var(--font-sans);
    font-size: 54px;
    font-weight: 300;
    color: white;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    pointer-events: none;
}

/* --- Etapa 8: Listas Apiladas --- */
.stacked-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
}

.stacked-card {
    background-color: var(--card-bg);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stacked-card:hover {
    background-color: #2F586C;
}

.stacked-card:active {
    transform: scale(0.98);
    background-color: #30586b;
}

.stacked-icon {
    font-size: 28px;
    margin-right: 20px;
    line-height: 1;
}

.stacked-text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}

/* --- Etapa 9: Botones Píldora (Goals) --- */
.pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 10px;
    margin-bottom: 20px;
    width: 100%;
}

.pill-btn {
    background-color: var(--card-bg);
    border: 1px solid transparent; /* Para evitar saltos cuando se añada borde */
    border-radius: 24px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pill-btn:hover {
    background-color: #2F586C;
}

.pill-btn.selected {
    background-color: #35b6a3;
    color: white;
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(53, 182, 163, 0.3);
}

.pill-icon {
    font-size: 16px;
}

/* --- Etapa 10: Colores --- */
.color-card {
    padding: 18px 24px;
}

.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* --- Etapa 11: Elementos --- */
.element-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

/* --- Etapa 12: Tarjeta Personal Astrológica --- */
.personal-card {
    background: linear-gradient(145deg, rgba(30, 48, 65, 0.95) 0%, rgba(18, 28, 40, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 25px 20px;
    margin-top: 10px;
    margin-bottom: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
}

.pc-title {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 4px;
}

.pc-subtitle {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 35px;
}

.pc-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.pc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
}

.pc-stat-icon {
    color: #f57468;
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pc-stat-icon svg {
    stroke: #f57468;
}

.pc-stat-title {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.pc-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.pc-center-orb {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.epic-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    /* Gradiente multicolor místico */
    background: radial-gradient(circle, rgba(230,120,200,0.3) 0%, rgba(245,116,104,0.2) 30%, transparent 60%);
    top: -50%;
    left: -50%;
    z-index: 0;
    animation: breatheGlow 4s infinite alternate;
}

.pc-sign-symbol {
    position: relative;
    z-index: 1;
    font-size: 65px;
    background: var(--card-bg);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 5px 15px rgba(0,0,0,0.4);
    text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.pc-details-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 30px;
}

.pc-details-header {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.pc-details-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    line-height: 1.4;
}

.detail-label {
    width: 25%;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.detail-value {
    width: 75%;
    font-size: 12px;
    color: var(--text-muted);
}

.pc-bottom-signs {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.pc-mini-sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
}

.pc-ms-icon {
    font-size: 24px;
    margin-bottom: 6px;
    line-height: 1;
}

.pc-ms-name {
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.pc-ms-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- Etapa 14: Palm Scanner Animado --- */
.palm-scanner-container {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.scanner-frame {
    position: relative;
    width: 220px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.scanner-corners, .scanner-corners-bottom {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

.scanner-corners::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 20px; height: 20px; 
    border-top: 3px solid #5a7582; border-left: 3px solid #5a7582; 
    border-top-left-radius: 6px;
}
.scanner-corners::after {
    content: ''; position: absolute; top: 0; right: 0;
    width: 20px; height: 20px; 
    border-top: 3px solid #5a7582; border-right: 3px solid #5a7582; 
    border-top-right-radius: 6px;
}

.scanner-corners-bottom::before {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 20px; height: 20px; 
    border-bottom: 3px solid #5a7582; border-left: 3px solid #5a7582; 
    border-bottom-left-radius: 6px;
}
.scanner-corners-bottom::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 20px; height: 20px; 
    border-bottom: 3px solid #5a7582; border-right: 3px solid #5a7582; 
    border-bottom-right-radius: 6px;
}

.scanner-glow-bg {
    position: absolute;
    width: 160px;
    height: 180px;
    background: radial-gradient(circle, rgba(53, 182, 163, 0.12) 0%, transparent 60%);
    animation: breatheGlow 4s infinite alternate;
    z-index: 0;
}

.palm-svg {
    position: relative;
    z-index: 1;
}

.scanner-bar {
    position: absolute;
    top: 5px;
    left: 5%;
    width: 90%;
    height: 2px;
    background-color: #4df0d4;
    box-shadow: 0 0 15px 5px rgba(77, 240, 212, 0.4), 0 -5px 25px 3px rgba(77, 240, 212, 0.2);
    border-radius: 2px;
    z-index: 10;
    animation: scanYoyo 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes scanYoyo {
    0% { transform: translateY(0); }
    100% { transform: translateY(230px); }
}

.palm-label {
    position: absolute;
    background: rgba(30, 48, 65, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 12px;
    white-space: nowrap;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
}

.palm-label-1 { top: 10px; left: 50%; transform: translateX(-50%); }
.palm-label-2 { top: 110px; left: 10px; }
.palm-label-3 { top: 110px; right: 10px; }
.palm-label-4 { top: 190px; left: -10px; }
.palm-label-5 { top: 190px; right: 0px; }

.btn-secondary {
    background: transparent;
    color: #35b6a3;
    font-size: 16px;
    font-weight: 600;
    border: none;
    width: 100%;
    padding: 15px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: opacity 0.2s;
}
.btn-secondary:active {
    opacity: 0.7;
}

/* --- Etapa 15: Cámara Full Screen --- */
.camera-back-btn {
    position: absolute;
    top: 30px; 
    left: 20px;
    width: 44px;
    height: 44px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1010;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.camera-flip-btn {
    position: absolute;
    top: 30px; 
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1010;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.camera-viewfinder {
    position: relative;
    width: 100%;
    height: calc(100% - 150px); 
    overflow: hidden;
    background: black;
}

#camera-feed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Espejo para selfie */
}

.camera-warning {
    position: absolute;
    top: 90px;
    left: 50%;
    background-color: rgba(26, 47, 60, 0.95);
    color: #e0e6eb;
    font-size: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    width: 85%;
    text-align: center;
    z-index: 1010;
    font-family: var(--font-sans);
    line-height: 1.4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: dropInToast 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, fadeOutToast 1s ease forwards 4s;
    opacity: 0;
}

@keyframes dropInToast {
    0% { transform: translate(-50%, -40px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes fadeOutToast {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, -10px); opacity: 0; pointer-events: none; }
}

.camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1005;
    pointer-events: none;
    padding: 5% 15% 0 15%;
}

.camera-overlay path {
    animation: pulseStroke 2.5s infinite alternate;
}

@keyframes pulseStroke {
    0% { stroke: rgba(255,255,255,0.4); }
    100% { stroke: rgba(255,255,255,1); filter: drop-shadow(0 0 8px rgba(255,255,255,0.8)); }
}

.camera-controls {
    height: 150px;
    background-color: #1a2f3c; /* Azul oscuro del contenedor inferior */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
}

.camera-instruction {
    font-family: var(--font-sans);
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.camera-capture-btn {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background-color: transparent;
    border: 3px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 0;
}

.camera-capture-btn:active {
    transform: scale(0.92);
}

.capture-inner {
    width: 52px;
    height: 52px;
    background-color: #35b6a3; /* Menta */
    border-radius: 50%;
    transition: background-color 0.2s;
}

.camera-capture-btn:active .capture-inner {
    background-color: #1a8f7c;
}

.camera-flash {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: white;
    z-index: 1020;
    opacity: 1;
    transition: opacity 0.4s ease-out;
}

/* --- Etapa 15: Modal de Error --- */
.error-modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.65);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.error-modal-content {
    background-color: #0b9383; /* Jade verde igual a la screenshot */
    width: 85%;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    text-align: center;
    animation: scaleUpToast 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes scaleUpToast {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.error-modal-text {
    color: #fcebd5; /* Dorado pálido/crema */
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 24px;
    font-weight: 500;
}

.error-modal-icon {
    width: 140px;
    height: 160px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-error-retry {
    background-color: #274b59; /* Azul petroleo */
    color: white;
    font-size: 17px;
    font-family: var(--font-sans);
    font-weight: 600;
    width: 100%;
    padding: 16px;
    border-radius: 28px;
    border: none;
    margin-bottom: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-error-retry:active { opacity: 0.8; }

.btn-error-later {
    background-color: transparent;
    color: white;
    font-size: 16px;
    font-family: var(--font-sans);
    font-weight: 500;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* --- Etapa 16: Animaciones Scanner --- */
.scan-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to bottom, rgba(53, 182, 163, 0.7) 0%, rgba(53, 182, 163, 0) 100%);
    z-index: 2;
    animation: scanGradientMove 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes scanGradientMove {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(200%); }
}

.palm-scan-visuals {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3;
    pointer-events: none;
}

.finger-dot {
    fill: white;
    filter: drop-shadow(0 0 6px white);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.dot-1 { animation: popDot 3s infinite 0.5s; }
.dot-2 { animation: popDot 3s infinite 1.0s; }
.dot-3 { animation: popDot 3s infinite 1.5s; }
.dot-4 { animation: popDot 3s infinite 2.0s; }
.dot-5 { animation: popDot 3s infinite 2.5s; }

@keyframes popDot {
    0% { opacity: 0; transform: scale(0.5); }
    15% { opacity: 1; transform: scale(1.4); }
    30% { opacity: 1; transform: scale(1); }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

.palm-lines-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.line-destiny { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 3.5s forwards 0.5s; }
.line-life { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 3.5s forwards 1.2s; filter: drop-shadow(0 0 2px #f6da66); }
.line-heart { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 3.5s forwards 2.0s; filter: drop-shadow(0 0 2px #f55d5d); }
.line-head { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 3.5s forwards 2.8s; filter: drop-shadow(0 0 2px #af85f5); }

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.justify-center {
    justify-content: center !important;
    padding-top: 0 !important;
}

/* --- Etapa 18: Loading Final Animado --- */
.loading-18-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}
.loading-18-scene.active {
    opacity: 1;
    z-index: 5;
}

.scene-graphic-container {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    position: relative;
    width: 100%;
}

/* Scene 1 items */
.orbit { stroke: #5a7582; stroke-width: 1.5; stroke-dasharray: 4 6; fill: none; }
.planet-group { animation: rotatePos infinite linear; transform-origin: 150px 150px; }
.p1 { animation-duration: 8s;}
.p2 { animation-duration: 14s; }
.p3 { animation-duration: 25s; }
.p4 { animation-duration: 35s; }

@keyframes rotatePos { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.planet-cards {
    display: flex;
    gap: 15px;
    width: 90%;
    position: absolute;
    bottom: 120px;
}
.planet-card {
    background-color: rgba(30, 48, 65, 0.6);
    border-radius: 12px;
    flex: 1;
    padding: 20px 10px;
    text-align: center;
    backdrop-filter: blur(5px);
}
.planet-card-title {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}
.planet-card-value {
    color: #fcebd5;
    font-size: 18px;
    font-weight: bold;
    font-family: var(--font-serif);
}

/* Scene 2 items */
.glow-line-1, .glow-line-2, .glow-line-3, .glow-line-4 {
    animation: pulseLine 2s infinite alternate;
}
@keyframes pulseLine {
    0% { filter: drop-shadow(0 0 2px currentColor); opacity: 0.7; }
    100% { filter: drop-shadow(0 0 10px currentColor); opacity: 1; }
}

/* Scene 3 items */
.final-sign-frame {
    position: relative;
    width: 160px; height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fs-bg-glow {
    position: absolute;
    width: 150%; height: 150%;
    top: -25%; left: -25%;
    background: radial-gradient(circle, rgba(168, 68, 204, 0.4) 0%, rgba(53, 182, 163, 0.2) 30%, transparent 60%);
    animation: breatheGlow 4s infinite alternate;
}
.fs-icon {
    position: absolute;
    font-size: 44px;
    color: #1a2f3c;
    z-index: 2;
}
.fs-name {
    margin-top: 10px;
    font-size: 24px;
    color: white;
    font-family: var(--font-serif);
    animation: slideUpFade 0.8s ease-out;
}

@keyframes slideUpFade {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Base Progress Bar en la Etapa 18 */
.loading-18-progress-container {
    position: absolute;
    bottom: 60px;
    left: 10%;
    width: 80%;
    height: 8px;
    background-color: rgba(53, 182, 163, 0.2);
    border-radius: 4px;
    overflow: hidden;
    z-index: 10;
}
.loading-18-progress-bar {
    width: 0%;
    height: 100%;
    background-color: #35b6a3;
    border-radius: 4px;
    transition: width 0.1s linear;
}

/* --- Etapa 19: Resultados de Lectura --- */
.top-nav-fake {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
}

.swipe-up-icon {
    position: absolute;
    right: 15px;
    top: 5px;
    animation: bounceUp 1.5s infinite;
}

@keyframes bounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.palm-result-wrapper {
    position: relative;
    width: 100%;
    height: 400px; /* Suficientemente alto para poner las tarjetas */
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-rings {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 320px; height: 320px;
    pointer-events: none;
    z-index: 0;
}

.ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.ring-1 { width: 140px; height: 140px; }
.ring-2 { width: 220px; height: 220px; }
.ring-3 { width: 300px; height: 300px; }

.pl-photo-container {
    position: relative;
    width: 160px;
    height: 230px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: #1a2f3c; /* Placeholder */
}

#final-palm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.3) contrast(1.1) brightness(0.85); /* Darle un tono un poco cálido/místico */
}

/* Tarjetas Flotantes Modulares */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 15;
    opacity: 0;
    transform: scale(0.8);
    animation: floatInCard 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.fc-emoji {
    font-size: 22px;
    margin-right: 8px;
    position: relative;
    z-index: 2;
}

.fc-content {
    flex-direction: column;
    margin-right: 15px;
}

.fc-title {
    font-size: 11px;
    font-weight: 600;
    color: #1a2f3c;
    margin-bottom: 3px;
    font-family: var(--font-sans);
}

.fc-desc {
    font-size: 10px;
    color: #4a5c68;
    font-family: var(--font-sans);
}

.fc-lock {
    font-size: 12px;
    color: #8fa0ab;
}

/* Posiciones y colores para cada una */
.fc-children {
    top: 20px; left: -10px;
    background-color: #d1eca5; /* Verde lima claro */
    rotate: -10deg;
    animation-delay: 0.2s;
}

.fc-marriage {
    top: 90px; right: -20px;
    background-color: #f7cece; /* Rosa pastel */
    rotate: 5deg;
    animation-delay: 0.5s;
}

.fc-change {
    bottom: 90px; left: -15px;
    background-color: #c0ebf5; /* Celeste claro */
    rotate: -5deg;
    animation-delay: 0.8s;
}

.fc-money {
    bottom: 10px; right: -5px;
    background-color: #f6eebd; /* Amarillo pastel */
    rotate: 8deg;
    animation-delay: 1.1s;
}

@keyframes floatInCard {
    to { opacity: 1; transform: scale(1); }
}

/* Hover effect for the cards just in case */
.floating-card:hover {
    transform: scale(1.05) translateZ(0) !important;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- Sales Page Elements (Stage 19 content below palm) --- */
.sales-funnel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 0 15px;
    padding-bottom: 120px;
}

.sp-card {
    background-color: rgba(30, 48, 65, 0.8);
    border-radius: 20px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.palm-stats-card {
    margin-top: 30px;
    padding: 0;
    overflow: hidden;
}

.palm-bg {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.sp-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-title {
    font-family: var(--font-serif);
    font-size: 24px;
    color: #fcebd5;
    margin-top: 100px;
    margin-bottom: 20px;
    text-align: center;
}

.stats-list { width: 100%; }
.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: white;
    margin-bottom: 12px;
}
.stat-dot { width: 8px; height: 8px; border-radius: 50%; }
.stat-dot.red { background: #f55d5d; }
.stat-dot.green { background: #35b6a3; }
.stat-dot.yellow { background: #f6da66; }
.stat-dot.purple { background: #af85f5; }

.stat-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}
.stat-bar .fill { height: 100%; border-radius: 3px; }
.sp-text { font-size: 14px; line-height: 1.5; color: #b7c8d4; text-align: left; width: 100%; }
.blurred-text-box { position: relative; width: 100%; margin-top: 15px; }
.blurred-text-box p { filter: blur(3px); opacity: 0.5; font-size: 14px; line-height: 1.5; color: #b7c8d4; }
.more-data { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #35b6a3; font-weight: 600; font-size: 14px; width: 100%; text-align: center; }
.sp-btn { width: 100%; margin-top: 25px; }

/* Advisor card */
.advisor-avatars { display: flex; justify-content: center; gap: -10px; margin-bottom: 15px; }
.avatar-r { width: 40px; height: 40px; border-radius: 50%; background: #1a2f3c; color: white; display: flex; justify-content: center; align-items: center; font-size: 18px; font-weight: bold; border: 2px solid var(--bg-card); z-index: 2;}
.avatar-r:nth-child(2) { z-index: 3; }
.avatar-r:nth-child(3) { z-index: 4; }
.avatar-r:nth-child(4) { z-index: 5; }

.sp-subtitle { font-family: var(--font-serif); font-size: 20px; color: #fcebd5; margin-bottom: 10px; }
.sp-text-center { font-size: 13px; color: #b7c8d4; line-height: 1.5; }

/* Astro You Card */
.astro-you-card {
    text-align: center;
    background: linear-gradient(180deg, rgba(30,48,65,1) 0%, rgba(20,32,44,1) 100%);
}
.sp-subtitle-small { font-size: 12px; color: #8fa0ab; margin-top: -10px; margin-bottom: 30px; }
.astro-main-display { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.ap-icon { color: #f55d5d; font-size: 24px; margin-bottom: 5px; }
.ap-title { font-weight: 600; color: white; font-size: 15px; }
.ap-desc { color: #8fa0ab; font-size: 11px; }
.astro-center-img { position: relative; width: 120px; height: 120px; }
.astro-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(175,133,245,0.4) 0%, transparent 70%); top: 0; left: 0; z-index: 1; }
.astro-center-img img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 2; }

.astro-sub-signs { display: flex; justify-content: space-around; margin-bottom: 30px; }
.sp-secondary-btn { background: rgba(255,255,255,0.05); color: white; padding: 12px; border-radius: 12px; border: none; width: 100%; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Compatibility Profile */
.match-score-row { display: flex; align-items: center; gap: 20px; }
.match-avatar { position: relative; width: 80px; text-align: center; }
.match-badge { position: absolute; top: -10px; right: -15px; background: #35b6a3; color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; box-shadow: 0 2px 10px rgba(53,182,163,0.5); z-index: 5;}
.match-name { color: white; font-size: 14px; margin-top: 8px; font-weight: 600; }

.md-item { display: flex; gap: 15px; margin-bottom: 20px; }
.md-icon { flex-shrink: 0; width: 35px; height: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; background: rgba(245,93,93,0.1); color: #f55d5d; }
.md-icon.purple { background: rgba(175,133,245,0.1); color: #af85f5; }
.md-item p { font-size: 14px; color: #b7c8d4; line-height: 1.5; margin: 0; }
.md-item.blurred { position: relative; }
.md-item.blurred p { filter: blur(3px); opacity: 0.5; }

/* Trust & Reviews */
.trust-container { display: flex; flex-direction: column; align-items: center; margin-top: 50px; width: 100%; }
.trust-badge { background: #faeacc; color: #152733; border-radius: 30px; padding: 12px 30px; display: flex; align-items: center; gap: 20px; font-weight: 700; }
.trust-badge .score { font-size: 36px; font-family: var(--font-serif); line-height: 1; margin-right: 0px; }
.tb-right { display: flex; flex-direction: column; font-size: 13px; font-family: var(--font-main); }
.tb-right span:first-child { color: #152733; margin-bottom: 3px; font-weight: 700; }
.world-map { width: 100%; height: 180px; background-image: url('https://sub.astroline.today/_next/static/media/map@2x.aceea2ca.webp'); background-size: contain; background-position: center; background-repeat: no-repeat; margin: 35px 0 25px 0; opacity: 1; }
.big-number { font-family: var(--font-serif); font-size: 52px; color: #fcebd5; margin: 0; line-height: 1.1; display: flex; align-items: center; gap: 8px;}
.trust-container > p { font-size: 21px; color: white; text-align: center; max-width: 90%; font-family: var(--font-serif); margin-top: 5px; }

.reviews-list { width: 100%; display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
.review-card { background: var(--bg-card); border-radius: 16px; padding: 20px; border: 1px solid rgba(255,255,255,0.05); }
.review-header { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.rh-info { display: flex; flex-direction: column; }
.rh-name { font-weight: 600; color: white; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.rh-name .verified { color: #35b6a3; font-size: 11px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.rh-stars { color: #f6da66; font-size: 12px; margin-top: 4px; }
.review-card p { font-size: 14px; color: #b7c8d4; line-height: 1.5; margin: 0; }

/* Feature list for forecast */
.feat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.feat-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.feat-text {
    flex: 1;
}
.feat-title {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.feat-desc {
    color: #8fa0ab;
    font-size: 12px;
}
.feat-check {
    color: #35b6a3;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(18, 30, 40, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    z-index: 100;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.sticky-time {
    font-size: 28px;
    font-weight: 700;
    color: #eec792;
    font-family: var(--font-serif);
}
.sticky-btn {
    width: auto;
    padding: 12px 24px;
    margin: 0;
    box-shadow: 0 4px 15px rgba(53, 182, 163, 0.3);
}

/* --- Sales Page Content (Etapa 19 Checkout) --- */
.sales-page-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.palm-result-wrapper {
    flex-shrink: 0;
}

.sales-title {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--text-main);
    margin-bottom: 40px;
    text-align: center;
}

.pricing-card {
    background-color: rgba(53, 182, 163, 0.08); /* Menta muy translúcido */
    border: 2px solid #35b6a3;
    border-radius: 16px;
    width: 90%;
    display: flex;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: #f55d5d;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 14px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(245, 93, 93, 0.3);
}

.pc-left {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}

.pc-title {
    font-size: 17px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
    font-family: var(--font-sans);
}

.pc-price-old {
    font-size: 13px;
    color: #8fa0ab;
    font-family: var(--font-sans);
}

.pc-price-old s {
    color: #fcebd5;
    margin-left: 4px;
}

.pc-right {
    background-color: #35b6a3;
    padding: 24px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.pc-price {
    font-size: 24px;
    font-weight: 700;
    color: white;
    font-family: var(--font-serif);
}

.pc-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
    text-align: center;
}

.checkout-btn {
    width: 90%;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(53, 182, 163, 0.3);
    padding: 20px;
    font-size: 18px;
}

.safe-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-top: 40px;
    font-family: var(--font-sans);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.pay-icon {
    background-color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
