/*
 * Archivo CSS para la página de Términos y Condiciones
 * Manteniendo el estilo corporativo de TVoPLUS.
 */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #1a1a2e;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    padding-bottom: 150px;
    background-image: linear-gradient(135deg, rgba(14, 14, 30, 0.9) 0%, rgba(42, 42, 74, 0.9) 50%, rgba(14, 14, 30, 0.9) 100%), url('https://i.postimg.cc/VkBS2MFp/img2-wallspic-com-angulo-modo-monocromo-fila-monocromo-el-arte-abstracto-2618x1636.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

.logo-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo-corporativo {
    max-width: 200px;
    height: auto;
}

.content-container {
    background-color: #33334d;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 800px; /* Un poco más ancho para mejor lectura */
    margin-bottom: 20px;
    text-align: justify;
}

h1 {
    color: #7B68EE;
    text-align: center;
    margin-bottom: 2rem;
}

h2 {
    color: #7B68EE;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p, li {
    line-height: 1.6;
    margin-bottom: 1rem;
}

ul {
    padding-left: 20px;
}

.section {
    margin-bottom: 2rem;
}

/* Estilo para el botón "Volver al inicio" */
.back-button-container {
    text-align: center;
    margin: 20px 0;
}

.back-to-home-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.back-to-home-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.back-to-home-button i {
    font-size: 16px;
}

/* Contenedor de botones flotantes para posicionarlos */
.floating-buttons-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1000;
}

/* Estilos de botones flotantes y modal, copiados de login.css para consistencia */
.floating-button-join, .floating-button-streaming {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: bold;
    animation: pulse 2s infinite;
    text-decoration: none;
    color: white;
}

.floating-button-join {
    background-color: #007bff;
}

.floating-button-streaming {
    background-color: #ff4500;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes ripple {
    0% { width: 100%; height: 100%; opacity: 0.8; }
    100% { width: 250%; height: 250%; opacity: 0; }
}

.floating-button-join::before, .floating-button-join::after,
.floating-button-streaming::before, .floating-button-streaming::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: ripple 2s infinite;
}

.floating-button-join::before, .floating-button-join::after {
    background-color: rgba(0, 123, 255, 0.8);
}
.floating-button-streaming::before, .floating-button-streaming::after {
    background-color: rgba(255, 69, 0, 0.8);
}

.floating-button-join::after, .floating-button-streaming::after {
    animation-delay: 1s;
}

/* Estilos de modal eliminados para evitar conflictos con index.php */

.whatsapp-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
}
.whatsapp-button:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
}
.close-button {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #f0f0f0;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close-button:hover {
    color: #7B68EE;
}