/* ============================================
   terminos.css
   Estilos para Términos y Condiciones + Aviso de Privacidad
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f0e8ff, #ffe8f5);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    padding: 20px;
}

.terminos-wrapper {
    width: 100%;
    max-width: 900px;
    position: relative;
}

.btn-volver-fixed {
    position: fixed;
    top: 20px;
    left: 25px;
    background: #FFF9F0;
    border: 2px solid #d0c0f0;
    border-radius: 50px;
    padding: 8px 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #4A4A4A;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
}

.btn-volver-fixed:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(150, 130, 200, 0.2);
}

.terminos-container {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 50px 55px;
    box-shadow: 0 20px 60px rgba(120, 100, 180, 0.15);
    max-height: 90vh;
    overflow-y: auto;
}

.terminos-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0e8ff;
}

.terminos-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    object-fit: contain;
}

.terminos-title {
    font-family: 'Pacifico', cursive;
    font-size: 34px;
    color: #6a5ac4;
    margin-bottom: 8px;
}

.terminos-version {
    font-size: 14px;
    color: #888;
}

.terminos-content {
    text-align: left;
}

.terminos-content h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #6a5ac4;
    margin: 24px 0 10px;
    border-left: 4px solid #8a7ad4;
    padding-left: 12px;
}

.terminos-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.terminos-content a {
    color: #8a7ad4;
    font-weight: 700;
    text-decoration: none;
}

.terminos-content a:hover {
    text-decoration: underline;
}

.terminos-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.terminos-content ul li {
    font-size: 15px;
    color: #555;
    padding: 5px 0 5px 24px;
    position: relative;
    line-height: 1.6;
}

.terminos-content ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #8a7ad4;
    font-weight: 800;
    font-size: 18px;
}

.terminos-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0e8ff;
    text-align: center;
}

.terminos-footer p {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
}

.btn-cerrar {
    background: linear-gradient(135deg, #b5a8e0, #8a7ad4);
    border: none;
    border-radius: 50px;
    padding: 12px 40px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(122, 106, 212, 0.3);
}

.btn-cerrar:hover {
    transform: scale(1.04);
}

@media (max-width: 600px) {
    .terminos-container {
        padding: 30px 25px;
        border-radius: 30px;
    }
    .terminos-title {
        font-size: 26px;
    }
    .terminos-logo {
        width: 60px;
        height: 60px;
    }
    .btn-volver-fixed {
        top: 10px;
        left: 12px;
        font-size: 12px;
        padding: 6px 14px;
    }
}