/* styles.css - Página de Descarga Deporte Libre */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a3a1d 0%, #1e5631 100%);
    color: white;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 500px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    border: 3px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.features {
    text-align: left;
    margin: 30px 0;
    padding: 0 20px;
}

.features li {
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1em;
}

.features li:before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0;
}

.download-btn {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: #0a3a1d;
    border: none;
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 50px;
    cursor: pointer;
    margin: 20px 0;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.download-btn:hover,
.download-btn:focus {
    background: linear-gradient(135deg, #ffd700 0%, #fff8dc 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.download-btn:active {
    transform: translateY(-1px);
}

.version {
    margin-top: 15px;
    font-size: 0.9em;
    opacity: 0.7;
}

.instructions {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: left;
    border-left: 4px solid #d4af37;
}

.instructions h3 {
    margin-bottom: 10px;
    color: #ffd700;
}

.instructions ol {
    padding-left: 20px;
}

.instructions li {
    margin: 8px 0;
}

.warning {
    color: #ff6b6b;
    font-weight: bold;
    margin-top: 10px;
    font-size: 0.9em;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .download-btn {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    
    .logo {
        font-size: 50px;
    }
}

/* Botón debug alternativo */
.debug-btn {
  background: linear-gradient(135deg, #666 0%, #888 100%) !important;
  margin-top: 10px !important;
  font-size: 1.1em !important;
}

.debug-btn:hover,
.debug-btn:focus {
  background: linear-gradient(135deg, #888 0%, #aaa 100%) !important;
}

.tv-tips {
  margin-top: 20px;
  padding: 15px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  border-left: 3px solid #d4af37;
}

.tv-tips h4 {
  color: #ffd700;
  margin-bottom: 8px;
}

.tv-tips ul {
  padding-left: 20px;
  margin: 0;
}

.tv-tips li {
  margin: 5px 0;
  font-size: 0.9em;
}

/* ===== ESTILOS PARA TÉRMINOS Y CONDICIONES ===== */
.terms-container {
    max-width: 800px;
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid #d4af37;
    color: #333;
    text-align: left;
}

.terms-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #d4af37;
}

.terms-logo {
    font-size: 48px;
    margin-bottom: 15px;
}

.terms-container h1 {
    color: #1e5631;
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: none;
}

.terms-subtitle {
    color: #666;
    font-size: 16px;
}

.terms-content {
    margin-bottom: 30px;
}

.terms-container h2 {
    color: #2c5e1a;
    margin: 25px 0 15px 0;
    font-size: 20px;
    border-left: 4px solid #d4af37;
    padding-left: 10px;
}

.terms-container p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
}

.terms-container ul {
    margin: 15px 0;
    padding-left: 30px;
}

.terms-container li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid #fdcb6e;
    color: #856404;
}

.disclaimer {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid #2c5e1a;
    color: #155724;
}

.terms-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 14px;
}

.back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: #0a3a1d;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.back-btn:hover,
.back-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Enlace de términos en la página principal */
.terms-link {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.terms-link a {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.terms-link a:hover,
.terms-link a:focus {
    color: white;
    text-decoration: underline;
    outline: none;
}

/* Responsive para términos */
@media (max-width: 768px) {
    .terms-container {
        padding: 20px;
        margin: 10px;
    }
    
    .terms-container h1 {
        font-size: 24px;
    }
    
    .terms-container h2 {
        font-size: 18px;
    }
    
    .terms-container p, 
    .terms-container li {
        font-size: 14px;
    }
}
