/* ============================
   CONTENEDOR PRINCIPAL CENTRADO
============================ */
.contenedor-mascoalba {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 40px;
}

/* ============================
   TITULOS PREMIUM
============================ */
.titulo-premium {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
    letter-spacing: -0.6px;
}

.texto-explicativo {
    font-size: 16px;
    color: #555;
    margin: 0 auto 30px auto;
    max-width: 780px;
    line-height: 1.7;
}

/* ============================
   BOTONES PREMIUM MASCOALBA
============================ */
.accion-btn {
    background: #111;
    color: #fff;
    border: 2px solid #111;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
}

.accion-btn:hover {
    background: #ffdd00;
    color: #000;
    border-color: #e0c200;
    transform: translateY(-2px);
}

/* Botón secundario premium */
.btn-secundario {
    background: #fff;
    color: #111;
    border: 2px solid #111;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
}

.btn-secundario:hover {
    background: #111;
    color: #fff;
}

/* ============================
   ÁREA DE RECORTE
============================ */
.cropper-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 35px;
}

.cropper-area {
    position: relative;
    width: 500px;
    height: 500px;
    background: #f5f5f5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border: 1px solid #ddd;
    backdrop-filter: blur(2px);
}

/* Imagen con animación suave */
#cropImage {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center center;
    user-select: none;
    pointer-events: none;
    transition: transform 0.15s ease-out;
}

/* Marco de recorte premium */
#cropFrame {
    position: absolute;
    border: 3px solid #ffdd00;
    box-shadow:
        0 0 0 2000px rgba(0,0,0,0.45),
        0 0 12px rgba(255,221,0,0.6);
    pointer-events: none;
    transition: all 0.25s ease;
    border-radius: 8px;
}

/* ============================
   CONTROLES PREMIUM
============================ */
.crop-controls {
    width: 270px;
    background: rgba(255,255,255,0.9);
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    text-align: left;
    backdrop-filter: blur(4px);
}

.crop-controls label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

/* Select y range premium */
.crop-controls select,
.crop-controls input[type="range"] {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-size: 14px;
    margin-bottom: 18px;
    transition: all 0.2s ease;
}

.crop-controls select:hover,
.crop-controls input[type="range"]:hover {
    border-color: #ffdd00;
}

.crop-controls select:focus,
.crop-controls input[type="range"]:focus {
    outline: none;
    border-color: #ffdd00;
    background: #fff;
}

/* Indicador de zoom */
.zoom-indicator {
    font-size: 13px;
    color: #666;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: right;
}

.info-premium ul {
    padding-left: 22px;
    margin-top: 10px;
    margin-bottom: 10px;
    list-style: disc;
}

.info-premium li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
}

/* Caja premium elegante */
.info-premium {
    margin: 35px auto;
    max-width: 780px;
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border: 1px solid #e6e6e6;
    text-align: left;
}

/* Título dentro de la caja */
.info-premium h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
}

/* Lista premium */
.lista-premium {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Elementos de la lista */
.lista-premium li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #444;
    line-height: 1.65;
}

/* Punto amarillo Mascoalba */
.lista-premium li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: #ffdd00;
    border-radius: 50%;
}

/* Centrar los botones de acción */
.menu-acciones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0 35px 0;
}

.rule-of-thirds {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rule-of-thirds.hidden {
    display: none;
}

.rule-of-thirds .rot-line {
    position: absolute;
    background: rgba(255,255,255,0.4);
}

.rule-of-thirds .v1 { left: 33.33%; top: 0; width: 1px; height: 100%; }
.rule-of-thirds .v2 { left: 66.66%; top: 0; width: 1px; height: 100%; }

.rule-of-thirds .h1 { top: 33.33%; left: 0; height: 1px; width: 100%; }
.rule-of-thirds .h2 { top: 66.66%; left: 0; height: 1px; width: 100%; }
