:root {
    --primary: #e63946;
    --dark: #1d3557;
    --light: #f1faee;
    --text: #333;
    --gray: #a8dadc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--dark);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover, .active {
    color: var(--primary);
}

.search-bar input {
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    outline: none;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('liga.jpg');
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    border-radius: 15px;
    color: white;
    margin-top: 30px;
}

.hero-content h1 {
    font-size: 42px;
    margin: 10px 0;
    max-width: 800px;
}

.badge {
    background: var(--primary);
    padding: 5px 12px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 20px;
}

.category {
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.card-body h3 {
    margin: 10px 0;
}

.latest-feed {
    margin-top: 50px;
    background: white;
    padding: 30px;
    border-radius: 15px;
}

.feed-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.feed-item .time {
    font-weight: bold;
    color: var(--primary);
    margin-right: 20px;
    min-width: 50px;
}

footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
    }
    nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 28px;
    }
}