:root {
    --primary-color: #0f0f0f;
    --secondary-color: #1a1a1a;
    --accent-color: #00e676;
    --text-color: #ffffff;
    --text-muted: #888888;
    --card-bg: #1e1e1e;
    --hover-bg: #252525;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 22px;
    color: var(--accent-color);
}

.logo h1 {
    font-size: 20px;
    letter-spacing: -0.5px;
}

.logo h1 span {
    color: var(--accent-color);
}

nav {
    display: flex;
    gap: 8px;
}

.tab-btn {
    background: #2a2a2a;
    border: none;
    color: #ccc;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.tab-btn.active {
    background-color: var(--accent-color);
    color: #000;
}

.update-info {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

main {
    padding: 20px 0;
}

.games-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.game-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 12px;
}

.liga {
    color: var(--text-muted);
    font-weight: 500;
}

.horario {
    color: var(--accent-color);
    font-weight: 700;
}

.game-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 40%;
}

.img-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.team span {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.vs {
    font-size: 12px;
    font-weight: 900;
    color: #444;
    padding: 0 10px;
}

.game-footer {
    border-top: 1px solid #2a2a2a;
    padding-top: 12px;
}

.canais-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.canal-tag {
    background: #111;
    border: 1px solid #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.canal-logo {
    height: 14px;
    width: auto;
}

.loader {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #333;
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.error-msg, .no-games {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
}
