/* ======================
   VARIABLES GLOBALES
====================== */
        :root {
            --primary: #6366f1;          /* Color principal */
            --primary-light: #818cf8;    /* Color principal claro */
            --primary-dark: #4f46e5;     /* Color principal oscuro */
            --accent: #ec4899;           /* Color de acento */
            --accent-light: #f472b6;     /* Color de acento claro */
            --bg-dark: #0f0f1a;          /* Fondo principal oscuro */
            --bg-sidebar: #1a1a2e;       /* Fondo de la barra lateral */
            --text: #f8fafc;             /* Texto principal */
            --text-secondary: #a5b4fc;   /* Texto secundario */
            --border: #2d2d42;           /* Bordes */
            --card-bg: rgba(30, 30, 60, 0.5); /* Fondo de tarjetas */
            --card-hover: rgba(40, 40, 80, 0.8); /* Hover de tarjetas */
            --danger: #ef4444;
            --success: #10b981;          /* Color de éxito */
            --error: #ef4444;            /* Color de error */
            --warning: #f59e0b;          /* Color de advertencia */
            --border-color: var(--border);
            --shadow: 0 8px 24px rgba(0, 0, 0, 0.3); /* Sombras */
            --gradient-1: linear-gradient(135deg, var(--primary-light), var(--accent-light)); /* Gradiente 1 */
            --gradient-2: linear-gradient(135deg, var(--primary), var(--accent)); /* Gradiente 2 */
            --header-bg: rgba(15, 15, 26, 0.95); /* Fondo del encabezado */
        }

/* ======================
   RESET Y BODY
====================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PF DinDisplay Pro Black', sans-serif;;
                                                
        }

        body {
            background: var(--bg-dark);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            line-height: 1.6;
            background-image: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%), 
                           radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
        }

/* ======================
   HEADER Y NAV
====================== */
header {
            background: var(--header-bg);
            padding: 1rem;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.15);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .site-title {
            font-size: 1.75rem;
            font-weight: 600;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }

        nav a {
            position: relative;
            overflow: hidden;
            color: var(--text);
            text-decoration: none;
            font-size: 0.95rem;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
            letter-spacing: 0.2px;
        }

        nav a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary);
            opacity: 0;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease, opacity 0.3s ease;
            border-radius: 8px;
        }

        nav a:hover::before,
        nav a.active::before {
            transform: scaleX(1);
            transform-origin: left;
            opacity: 0.15;
        }

        nav a:hover, nav a.active {
            color: var(--text);
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        nav a:hover::after, nav a.active::after {
            width: 70%;
        }

/* ======================
   MAIN Y FOOTER
====================== */
        main {
            flex: 1;
            padding: 30px 20px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        footer {
            text-align: center;
            padding: 20px;
            background: var(--header-bg);
            font-size: 0.8rem;
            color: var(--text-secondary);
            border-top: 1px solid var(--border-color);
            backdrop-filter: blur(10px);
        }

        .page-title {
            font-size: 2.2rem;
            margin-bottom: 25px;
            text-align: center;
            color: var(--primary);
            font-weight: 600;
            letter-spacing: -0.5px;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .page-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            width: 60px;
            height: 3px;
            background: var(--gradient-2);
            transform: translateX(-50%);
            border-radius: 3px;
        }

/* ======================
   INICIO
====================== */
                    .welcome-grid {
                        display: grid;
                        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                        gap: 25px;
                        margin-top: 30px;
                    }

                    .card {
            background: var(--card-bg);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            padding: 22px;
            margin-bottom: 25px;
            position: relative;
            overflow: hidden;
                    }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            border-color: var(--primary);
        }
        
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 0;
            background: linear-gradient(to bottom, var(--primary), var(--primary-light));
            transition: height 0.3s ease;
        }
        
        .card:hover::before {
            height: 100%;
        }

        .card h2 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .card p {
            margin-bottom: 15px;
            line-height: 1.6;
        }

                    .card-header {
                        background: rgba(37, 99, 235, 0.1);
                        padding: 20px;
                        display: flex;
                        align-items: center;
                        gap: 15px;
                    }

                    .feature-icon {
                        font-size: 24px;
                    }

                    .card-content {
                        padding: 20px;
                    }

        .update-item {
            border-left: 3px solid var(--primary);
            padding-left: 15px;
            margin-bottom: 20px;
        }

        .update-date {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 5px;
        }

        .update-title {
            font-weight: 600;
            margin-bottom: 5px;
        }

                    .feature-highlight {
                        margin-bottom: 20px;
                    }

                    .main-description {
                        font-size: 1.1em;
                        line-height: 1.6;
                    }

                    .feature-list {
                        display: flex;
                        flex-direction: column;
                        gap: 15px;
                    }

                    .feature-item {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                    }

                    .check-icon {
                        color: #22c55e;
                    }

                    .info-box {
                        background: rgba(37, 99, 235, 0.1);
                        padding: 15px;
                        border-radius: 10px;
                        margin: 15px 0;
                        display: flex;
                        gap: 10px;
                        align-items: flex-start;
                    }

                    .cta-button {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        background: var(--primary);
                        color: white;
                        padding: 15px 30px;
                        border-radius: 10px;
                        text-decoration: none;
                        margin-top: 20px;
                        transition: transform 0.2s, background 0.2s;
                    }

                    .cta-button:hover {
                        transform: translateY(-2px);
                        background: var(--primary-dark);
                    }

                    .features-grid {
                        display: grid;
                        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                        gap: 15px;
                    }

                    .feature-box {
                        background: rgba(37, 99, 235, 0.1);
                        padding: 15px;
                        border-radius: 10px;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        text-align: center;
                        gap: 10px;
                    }

                    .shortcut-list {
                        display: flex;
                        flex-direction: column;
                        gap: 15px;
                    }

                    .shortcut-item {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                    }

                    .key-combo {
                        background: var(--primary);
                        padding: 8px 12px;
                        border-radius: 12px;
                        font-weight: bold;
                        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
                        border: 1px solid rgba(255, 255, 255, 0.1);
                    }

                    .key-action {
                        color: var(--text);
                        flex: 1;
                        margin-left: 15px;
                    }

                    .feature-box-icon {
                        font-size: 24px;
                    }

                    .problem-list {
                        display: flex;
                        flex-direction: column;
                        gap: 15px;
                    }

                    .problem-item h4 {
                        color: var(--primary-light);
                        margin-bottom: 5px;
                    }

                    .note {
                        margin-top: 15px;
                        padding: 10px;
                        background: rgba(37, 99, 235, 0.1);
                        border-radius: 5px;
                        font-size: 0.9em;
                    }

/* ======================
   COMPATIBILIDAD
====================== */
.channel-compatibility {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }

.info-card, .restrictions-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-content, .restrictions-content {
  margin-top: 1rem;
}

.channels-summary {
  margin: 2rem 0;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.channel-count {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compatibility-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  min-width: 900px; /* Hacer la tabla más ancha */
}

.compatibility-table th,
.compatibility-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.compatibility-table th {
  background: var(--primary);
  color: white;
}

.channel-list {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: bold;
}

.status-tag.success {
  background: var(--success);
  color: white;
}

.status-tag.error {
  background: var(--error);
  color: white;
}

.important-notes {
  margin: 2rem 0;
}

.important-notes ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.important-notes li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.restrictions-content p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .card {
    padding: 18px;
    margin-bottom: 20px;
  }
  
  .page-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }
  
  nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .channel-compatibility {
    padding: 1rem;
  }

  .compatibility-table {
    overflow-x: auto;
  }

  .compatibility-table table {
    min-width: 800px;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .feature-list, .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-container {
    flex-direction: column;
    gap: 8px;
  }
  
  .site-title {
    font-size: 1.5rem;
  }
  
  main {
    padding: 20px 15px;
  }
  
  .page-title {
    font-size: 1.6rem;
  }
}

/* ======================
   TÉRMINOS Y CONDICIONES
====================== */
.terms-card {
    padding: 2rem;
}

.terms-section {
    margin-bottom: 2rem;
}

.terms-section h2 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.terms-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
}

/* ======================
   FOOTER
====================== */
footer {
    background: var(--header-bg);
    padding: 1.5rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    flex: 1;
    min-width: 250px;
    color: var(--text-secondary);
}

.disclaimer {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* ======================
   DESCARGAR
====================== */
.download-grid {
                        display: grid;
                        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                        gap: 20px;
                        margin-top: 20px;
                    }

                    .download-btn {
                        display: flex;
                        align-items: center;
                        padding: 15px;
                        background: var(--primary);
                        color: white;
                        text-decoration: none;
                        border-radius: 10px;
                        transition: transform 0.2s, background 0.2s;
                    }

                    .download-btn:hover {
                        transform: translateY(-2px);
                        background: var(--primary-dark);
                    }

                    .download-icon {
                        font-size: 24px;
                        margin-right: 15px;
                    }

                    .download-text {
                        display: flex;
                        flex-direction: column;
                    }

                    .download-text strong {
                        font-size: 16px;
                        margin-bottom: 4px;
                    }

                    .download-text small {
                        font-size: 12px;
                        opacity: 0.9;
                    }