/**
 * =====================================================
 * ESTILOS v2 - TIENDA DE MATHEROS
 * Diseno TikTok moderno con acentos rosados
 * =====================================================
 */

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

:root {
    --rosa: #fe2c55;
    --rosa-light: #ff6b81;
    --rosa-dark: #e01b42;
    --rosa-glow: rgba(254, 44, 85, 0.3);
    --cyan: #25f4ee;
    --cyan-glow: rgba(37, 244, 238, 0.3);
    --bg: #000000;
    --bg-card: rgba(20, 20, 35, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --success: #25f4ee;
    --warning: #ffb800;
    --danger: #ff4444;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px var(--rosa-glow);
    --shadow-cyan: 0 0 30px var(--cyan-glow);
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* ===== SCROLL SNAP CONTAINER ===== */
.app-container {
    height: 100vh;
    width: 100vw;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
}
.app-container::-webkit-scrollbar { display: none; }

/* ===== VIDEO SLIDE ===== */
.video-slide {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #0d0d1a 0%, #1a0a1a 40%, #0f0f1e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(254, 44, 85, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(37, 244, 238, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(254, 44, 85, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
    animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ===== VIDEO ===== */
.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    z-index: 0;
}
.video-fallback .icono-mate {
    font-size: 90px;
    opacity: 0.25;
    animation: floatIcon 4s ease-in-out infinite;
}
.video-fallback .texto-fallback {
    font-size: 1.2rem;
    opacity: 0.4;
    text-align: center;
    padding: 0 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.05); }
}

/* ===== HEADER ===== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 100;
    backdrop-filter: blur(8px);
}

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

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(254, 44, 85, 0.5);
    box-shadow: 0 0 12px rgba(254, 44, 85, 0.3);
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rosa) 0%, var(--rosa-light) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
}
.btn-icon:hover {
    background: rgba(254, 44, 85, 0.15);
    border-color: rgba(254, 44, 85, 0.3);
    transform: scale(1.12);
    box-shadow: 0 0 20px var(--rosa-glow);
}

.carrito-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--rosa), var(--rosa-light));
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(254, 44, 85, 0.5);
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* ===== PROGRESS BAR (top) ===== */
.progress-bar-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 101;
}
.progress-fill-top {
    height: 100%;
    background: linear-gradient(90deg, var(--rosa), var(--rosa-light), var(--cyan));
    border-radius: 0 3px 3px 0;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--rosa-glow);
}

/* ===== OVERLAY INFO ===== */
.info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 120px 24px 35px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 100%
    );
    z-index: 10;
}

/* ===== BADGES ===== */
.badge-container {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.badge-stock {
    background: rgba(37, 244, 238, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(37, 244, 238, 0.25);
}
.badge-agotado {
    background: rgba(255, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(255, 68, 68, 0.25);
}
.badge-pedido {
    background: rgba(255, 184, 0, 0.15);
    color: var(--warning);
    border: 1px solid rgba(255, 184, 0, 0.25);
}
.badge-nuevo {
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.2), rgba(255, 107, 129, 0.2));
    color: var(--rosa-light);
    border: 1px solid rgba(254, 44, 85, 0.25);
    animation: glowBadge 2s ease-in-out infinite;
}

@keyframes glowBadge {
    0%, 100% { box-shadow: 0 0 5px rgba(254, 44, 85, 0.2); }
    50% { box-shadow: 0 0 15px rgba(254, 44, 85, 0.4); }
}

/* ===== PRODUCT TITLE ===== */
.producto-titulo {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.3px;
}

/* ===== DESCRIPTION ===== */
.producto-descripcion {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 85%;
}

/* ===== PRICE ===== */
.precio-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}
.producto-precio {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan) 0%, #7efcf3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 8px var(--cyan-glow));
}
.producto-precio-original {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ===== BUTTONS ===== */
.acciones-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primario {
    background: linear-gradient(135deg, var(--rosa) 0%, var(--rosa-light) 100%);
    color: white;
    box-shadow: 0 4px 25px rgba(254, 44, 85, 0.4), var(--shadow-glow);
}
.btn-primario:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(254, 44, 85, 0.5), 0 0 40px var(--rosa-glow);
}
.btn-primario:active { transform: translateY(-1px) scale(0.98); }

.btn-secundario {
    background: var(--bg-glass);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
}
.btn-secundario:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-pedido {
    background: linear-gradient(135deg, var(--warning) 0%, #ff9500 100%);
    color: #000;
    box-shadow: 0 4px 25px rgba(255, 184, 0, 0.35);
    font-weight: 800;
}
.btn-pedido:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(255, 184, 0, 0.45);
}

.btn-agotado {
    background: rgba(102, 102, 102, 0.2);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(102, 102, 102, 0.2);
    cursor: not-allowed;
}

.btn-cantidad {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
}

.cantidad-display {
    font-size: 1.25rem;
    font-weight: 800;
    min-width: 36px;
    text-align: center;
    color: var(--text);
}

.selector-cantidad {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== SIDEBAR ACTIONS ===== */
.sidebar-actions {
    position: absolute;
    right: 14px;
    bottom: 170px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 15;
    align-items: center;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.action-btn:hover { transform: scale(1.18); }
.action-btn .icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.action-btn:hover .icon-circle {
    background: rgba(254, 44, 85, 0.15);
    border-color: rgba(254, 44, 85, 0.3);
    box-shadow: 0 0 20px var(--rosa-glow);
}
.action-btn .action-label {
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.3px;
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 20;
    animation: bounce 2.5s infinite;
    pointer-events: none;
}
.scroll-hint span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.5;
    font-weight: 600;
}
.scroll-hint .flecha {
    font-size: 1.3rem;
    opacity: 0.7;
    color: var(--rosa-light);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ===== DOTS INDICATOR ===== */
.slide-dots {
    position: fixed;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 50;
}
.slide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s;
    cursor: pointer;
}
.slide-dot.active {
    background: var(--rosa);
    height: 24px;
    border-radius: 3px;
    box-shadow: 0 0 10px var(--rosa-glow);
}

/* ===== MODAL CARRITO ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: linear-gradient(180deg, #141428 0%, #0d0d1f 100%);
    width: 100%;
    max-height: 88vh;
    border-radius: 28px 28px 0 0;
    padding: 28px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    position: relative;
    border-top: 1px solid rgba(254, 44, 85, 0.15);
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--rosa-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-cerrar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.btn-cerrar:hover {
    background: rgba(254, 44, 85, 0.15);
    border-color: rgba(254, 44, 85, 0.3);
    transform: rotate(90deg);
}

/* Carrito items */
.carrito-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.carrito-item {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--bg-glass);
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}
.carrito-item:hover {
    border-color: rgba(254, 44, 85, 0.15);
    background: rgba(254, 44, 85, 0.03);
}
.carrito-item-info { flex: 1; }
.carrito-item-titulo { font-size: 0.98rem; font-weight: 700; margin-bottom: 5px; }
.carrito-item-precio { font-size: 0.88rem; color: var(--cyan); font-weight: 700; }
.carrito-item-cantidad { display: flex; align-items: center; gap: 10px; }
.btn-eliminar {
    background: rgba(255, 68, 68, 0.12);
    border: none;
    color: var(--danger);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.btn-eliminar:hover { background: rgba(255, 68, 68, 0.3); transform: scale(1.1); }
.carrito-vacio {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-dim);
}
.carrito-vacio .icono { font-size: 3.5rem; margin-bottom: 18px; opacity: 0.35; }

/* Total */
.carrito-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}
.carrito-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.carrito-total-label { font-size: 1.05rem; opacity: 0.8; font-weight: 600; }
.carrito-total-valor { font-size: 1.7rem; font-weight: 900; color: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan-glow)); }

/* ===== FORMULARIO DE CHECKOUT ===== */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}
.form-input:focus {
    border-color: var(--rosa);
    box-shadow: 0 0 0 4px var(--rosa-glow), 0 0 20px var(--rosa-glow);
    background: rgba(255, 255, 255, 0.06);
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }

label.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.form-group-modal { margin-bottom: 4px; }

.btn-checkout {
    width: 100%;
    padding: 18px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.35);
    font-family: inherit;
}
.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.45);
}

.btn-seguir {
    width: 100%;
    padding: 16px;
    margin-top: 12px;
    font-size: 0.95rem;
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}
.btn-seguir:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== MODAL WHATSAPP / CONFIRMACION ===== */
.confirm-modal .modal-content {
    text-align: center;
    padding: 45px 28px 35px;
    max-width: 420px;
    border-radius: 28px;
    margin: auto 20px;
}
.confirm-icon { font-size: 4.5rem; margin-bottom: 20px; animation: pulseScale 2s ease-in-out infinite; }
@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.confirm-titulo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, var(--rosa-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.confirm-mensaje {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 28px;
}
.confirm-datos {
    background: var(--bg-glass);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 24px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.06);
}
.confirm-datos p { margin-bottom: 8px; font-size: 0.92rem; }
.confirm-datos strong { color: var(--rosa-light); }
.confirm-espera {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--cyan);
    font-size: 0.9rem;
    margin-bottom: 24px;
    font-weight: 600;
}
.spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(37, 244, 238, 0.2);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(25, 25, 45, 0.97);
    backdrop-filter: blur(25px);
    padding: 16px 28px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    white-space: nowrap;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast.success { border-color: rgba(37, 244, 238, 0.25); }
.toast.error { border-color: rgba(255, 68, 68, 0.25); }

/* ===== VIDEO LOADER ===== */
.video-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
}
.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--rosa);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 15px var(--rosa-glow);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .app-container { max-width: 430px; margin: 0 auto; }
    .modal-content { max-width: 430px; border-radius: 28px; margin-bottom: 24px; max-height: 82vh; }
    .modal-overlay { align-items: center; }
    .info-overlay { padding-bottom: 45px; }
    .slide-dots { right: calc(50% - 215px); }
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-rosa { color: var(--rosa-light); }
.text-cyan { color: var(--cyan); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ADMIN STYLES (inline in admin) ===== */
.admin-body {
    overflow: auto;
    height: auto;
    min-height: 100vh;
    background: linear-gradient(135deg, #050510 0%, #0d0d20 50%, #0a0a18 100%);
}
