* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #1d1d1d;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d62828;
}

.nav {
    display: flex;
    gap: 20px;
    font-size: 16px;
}

.nav a {
    color: #2d2d2d;
}

/* Hero sekcija */
.hero {
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: white;
    padding: 100px 50px;
}

.hero-text {
    max-width: 650px;
}

.mini-title {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #ffd166;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    color: #edf4fb;
}

.buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    font-weight: bold;
    border-radius: 8px;
}

.primary {
    background: #f72585;
    color: white;
}

.secondary {
    background: transparent;
    border: 1px solid white;
    color: white;
}

/* Popularne serije */
.content {
    padding: 50px 50px 20px;
}

.content h2,
.genres h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.series {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.serie {
    background: transparent;
}

.slika {
    height: 260px;
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
}

.slika1 {
    background: linear-gradient(135deg, #2a9d8f, #264653);
}

.slika2 {
    background: linear-gradient(135deg, #ef476f, #f4a261);
}

.slika3 {
    background: linear-gradient(135deg, #4361ee, #4cc9f0);
}

.slika4 {
    background: linear-gradient(135deg, #ffb703, #fb8500);
}

.serie h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.serie p {
    color: #4c4c4c;
    font-size: 15px;
}

/* Žanrovi */
.genres {
    padding: 20px 50px 60px;
}

.genre-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.genre {
    background: white;
    padding: 18px 10px;
    text-align: center;
    font-weight: bold;
    color: #333;
    border-radius: 6px;
}

/* Footer */
.footer {
    background: #1f1f1f;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .series {
        grid-template-columns: repeat(2, 1fr);
    }

    .genre-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .content,
    .genres {
        padding-left: 20px;
        padding-right: 20px;
    }

    .series,
    .genre-list {
        grid-template-columns: 1fr;
    }
}