
:root {
    --primary-color: #1a237e;
    --secondary-color: #303f9f;
    --accent-color: #3f51b5;
    --background-color: #f0f2f5;
    --card-background: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body {
    background: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.category-section {
    margin-bottom: 40px;
}

.category-title {
    color: var(--secondary-color);
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--accent-color);
    font-size: 1.8em;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 10px 0;
}

.channel-card {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.channel-logo-container {
    position: relative;
    padding-top: 56.25%;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.channel-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

.channel-card:hover .channel-logo {
    transform: scale(1.05);
}

.channel-info {
    padding: 20px;
}

.channel-name {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.channel-number {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1.1em;
}

.play-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.play-button svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.copy-button {
    background: var(--secondary-color);
    margin-top: 10px;
}

/* Animação para feedback de cópia */
@keyframes copyFeedback {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.copy-feedback {
    animation: copyFeedback 0.3s ease;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
}

.toast.show {
    display: block;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2s forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 0 10px;
    }

    .channels-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    .category-title {
        font-size: 1.5em;
    }
}