* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
}

header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1.5em 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header h1 a {
    color: inherit;
    text-decoration: none;
}

header input {
    margin-top: 15px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    width: 300px;
    max-width: 90%;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

header input:focus {
    outline: none;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 12px 20px;
    display: inline-block;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid transparent;
}

nav ul li a:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

main {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.channels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.channel-item {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.channel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.channel-item:hover::before {
    opacity: 1;
}

.channel-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.channel-item img {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.channel-item:hover img {
    transform: scale(1.1);
}

.channel-item h3 {
    font-size: 1.1em;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.channel-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.channel-page {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.channel-page h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 2em;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.channel-page iframe {
    width: 100%;
    max-width: 900px;
    height: 500px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.channel-page p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}

footer {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    text-align: center;
    padding: 2em 0;
    margin-top: 50px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 0;
    font-size: 1.1em;
}

/* Responsividade */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    header input {
        width: 250px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .channels {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .channel-page iframe {
        height: 300px;
    }
    
    main {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    
    header input {
        width: 200px;
    }
    
    .channels {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .channel-item {
        padding: 15px;
    }
    
    .channel-item img {
        max-width: 80px;
    }
    
    .channel-page iframe {
        height: 250px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.channel-item {
    animation: fadeIn 0.6s ease forwards;
}

.channel-item:nth-child(even) {
    animation-delay: 0.1s;
}

.channel-item:nth-child(3n) {
    animation-delay: 0.2s;
}


