:root {
    --linka-blue: #1c56a3;
    --linka-yellow: #fecc16;
    --linka-dark: #0f172a;
    --linka-light: #f8fafc;
    /* Gradientes modernos */
    --gradient-primary: linear-gradient(135deg, #1c56a3 0%, #0d3d7a 100%);
    --gradient-accent: linear-gradient(135deg, #fecc16 0%, #ffd84d 100%);
    /* Sombras modernas */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--linka-light);
    color: var(--linka-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== HERO SECTION ========== */
.hero {
    background: var(--linka-dark);
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(28, 86, 163, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254, 204, 22, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-logo {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.hero h1 {
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.85;
}

.badge-custom {
    background: var(--gradient-accent);
    color: var(--linka-dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(254, 204, 22, 0.3);
}

/* ========== CTA CARD ========== */
.cta-card {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(254, 204, 22, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-card p {
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* ========== BUTTONS ========== */
.btn-modern {
    padding: 0.875rem 2rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
}

.btn-primary-custom {
    background: var(--gradient-accent);
    color: var(--linka-dark);
    box-shadow: 0 4px 20px rgba(254, 204, 22, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(254, 204, 22, 0.4);
    color: var(--linka-dark);
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* ========== MAIN CONTENT ========== */
main {
    padding: 4rem 0;
}

.section-title {
    font-weight: 800;
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    color: var(--linka-dark);
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ========== CATEGORY CARDS ========== */
.category-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-header {
    background: linear-gradient(135deg, rgba(28, 86, 163, 0.06) 0%, rgba(28, 86, 163, 0.02) 100%);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(28, 86, 163, 0.1);
}

.category-header h3 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--linka-dark);
    margin: 0;
}

.category-badge {
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ========== CHANNEL GRID ========== */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.channel-card {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.channel-card:hover {
    background: #fff;
    border-color: var(--linka-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.channel-card img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.channel-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(28, 86, 163, 0.3);
}

.channel-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--linka-dark);
    line-height: 1.3;
}

/* ========== FOOTER ========== */
footer {
    background: var(--linka-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
}

footer a {
    color: var(--linka-yellow);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #ffd84d;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-logo {
        max-width: 100px;
    }
    
    .cta-card {
        padding: 1.75rem;
        margin-top: 2rem;
    }
    
    .channel-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
