body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background: #fff0f5;
    color: #333;
}

h1, h2, h3 {
    text-align: center;
    color: #d63384;
}

a {
    text-decoration: none;
    color: #d63384;
}
a:hover {
    text-decoration: underline;
}

/* Video raspored */
.video-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 20px;
    flex-wrap: wrap;
}
.video-player-container {
    flex: 1 1 700px;
    max-width: 100%;
}
.side-ads {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ad-slot {
    width: 300px;
    height: 250px;
    background-color: #ffe0ea;
    border: 1px dashed #d63384;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #d63384;
    border-radius: 10px;
}
@media screen and (max-width: 991px) {
    .side-ads {
        display: none;
    }
}

/* Video player */
.video-player {
    text-align: center;
    margin: 20px auto;
}
.video-player iframe {
    width: 800px;
    height: 600px;
    max-width: 100%;
    border: none;
}
@media screen and (max-width: 768px) {
    .video-player iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}

/* Naslov videa */
h1.video-title {
    font-size: 28px;
    margin: 20px auto;
    text-align: center;
    color: #d63384;
    max-width: 95%;
}
@media screen and (max-width: 768px) {
    h1.video-title {
        font-size: 20px;
    }
}

/* Opis videa */
.video-description {
    max-width: 700px;
    margin: 30px auto;
    background: #fff;
    padding: 20px;
    border: 1px solid #ffc0cb;
    border-radius: 10px;
    box-shadow: 0 0 10px #ffe0ea;
    text-align: center;
}
.video-description img {
    margin-bottom: 15px;
}

/* Tagovi */
.video-tags {
    text-align: center;
    margin-top: 20px;
}
.video-tags a {
    display: inline-block;
    background: #ffe0ea;
    color: #d63384;
    padding: 4px 10px;
    margin: 3px;
    border-radius: 20px;
    font-size: 14px;
}
.video-tags a:hover {
    background: #ffd6e8;
    color: #c2185b;
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}
.video-box {
    background: #fff;
    border: 1px solid #ffc0cb;
    border-radius: 12px;
    padding: 10px;
    text-align: left;
    box-shadow: 0 0 10px #ffe0ea;
    transition: transform 0.2s;
    overflow: hidden;
}
.video-box:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px #ffb6c1;
}
.thumb-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.thumb-wrapper img {
    width: 100%;
    display: block;
}
.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 4px;
}
.video-box .title {
    font-weight: bold;
    font-size: 16px;
    color: #555;
    margin: 10px 0 5px 0;
    line-height: 1.3;
}
.video-box .meta {
    font-size: 13px;
    color: #888;
}

/* Kategorije */
.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}
.category-box {
    background: #ffe0ea;
    border: 1px solid #ffc0cb;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #d63384;
    text-decoration: none;
    transition: background 0.2s ease;
}
.category-box:hover {
    background: #ffd6e8;
    color: #c2185b;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 30px 0;
}
.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}
.pagination a.active {
    background: #ff0055;
    color: #fff;
}
.pagination a:hover {
    background: #ff3366;
    color: #fff;
}

/* Footer */
footer {
    font-size: 0.9em;
    padding: 15px;
    background: #fce4ec;
    color: #333;
    margin-top: 40px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .video-box .title {
        font-size: 14px;
    }
    .video-box .meta {
        font-size: 12px;
    }
    .duration {
        font-size: 12px;
        padding: 2px 5px;
    }
}
.only-mobile {
    display: none;
}

@media screen and (max-width: 991px) {
    .only-mobile {
        display: block;
    }
}

.fancy-logo {
    font-family: 'Segoe UI', sans-serif;
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to right, #d63384, #ff66a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
    text-shadow: 1px 1px 2px rgba(214, 51, 132, 0.2);
}
/* logo u headeru */
.fancy-logo:hover {
    transform: scale(1.05);
    text-shadow: 2px 2px 8px rgba(255, 105, 180, 0.5);
}

.fancy-logo span {
    font-weight: 800;
    color: #ff99bb;
    -webkit-text-fill-color: #ff99bb;
}

.fancy-logo strong {
    font-weight: 900;
    color: #ff66a3;
    -webkit-text-fill-color: #ff66a3;
}
