body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    background-color: #1f1f1f;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00bfff;
    text-decoration: none;
}

nav a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bfff;
}

.welcome-section, .commands-section {
    text-align: center;
    padding: 60px 20px;
}

.buttons {
    margin-top: 20px;
}

.btn {
    background-color: #00bfff;
    color: white;
    padding: 10px 20px;
    margin: 10px;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #008fcc;
}

.stats {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 8px;
    width: 200px;
}

footer {
    background-color: #1f1f1f;
    text-align: center;
    padding: 15px;
}

footer a {
    margin: 0 15px;
    color: #00bfff;
    text-decoration: none;
}

.footer-expanded {
    background-color: #1f1f1f;
    color: #ccc;
    padding: 40px 20px 20px;
    font-size: 14px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3,
.footer-column h4 {
    color: #00bfff;
    margin-bottom: 10px;
}

.footer-column p {
    margin: 0 0 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #00bfff;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.bot-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #00bfff;
}

.stats-heading {
    margin-top: 100px; /* ↓ Ovo određuje udaljenost od vrha */
    margin-bottom: 20px;
    font-size: 28px;
    color: #00bfff;
    text-align: center;
}

.stats-heading::after {
    content: "";
    display: block;
    margin: 10px auto 0;
    width: 60px;
    height: 3px;
    background-color: #00bfff;
    border-radius: 3px;
}

.privacy-box {
    background-color: #242424; /* tamna pozadina kao footer */
    border: 2px solid #00bfff; /* plavi okvir */
    border-radius: 10px;
    padding: 20px 25px;
    margin: 20px auto;
    max-width: 700px;
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.5);
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

.privacy-box h2 {
    color: #00bfff;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
}

.privacy-box p {
    margin-bottom: 15px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #000000;
    margin-bottom: 15px;
    font-size: 16px;

    background-color: #464646; /* tamna pozadina */
    color: #ffffff;            /* bela boja teksta */
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
    color: #aaaaaa; /* siva boja placeholder teksta */
}

.contact-form input[type="submit"] {
    background-color: #00bfff;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background-color: #008fcc;
}

.changelog-entry {
    background-color: #1f1f1f;
    padding: 20px;
    margin: 20px auto;
    max-width: 700px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 0 10px #000;
}

.changelog-entry h2 {
    color: #00bfff;
}

.changelog-entry ul {
    padding-left: 20px;
}

.changelog-entry li {
    margin-bottom: 8px;
}

/* Naslov sekcije Partnerstvo */
.partners-section {
    margin-top: 100px;
    margin-bottom: 40px;
    text-align: center;
}

.partners-section h2 {
    position: relative;
    display: inline-block;
    font-size: 2em;
    color: #00bfff;
    margin-bottom: 60px;
}

/* Plavi underline ispod naslova */
.partners-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #00bfff;
    border-radius: 2px;
}

/* Mreža partnera */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

/* Kartica za partnera */
.partner-card {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 15px;
}

.partner-card h3 {
    color: #00bcd4;
    font-size: 20px;
    margin-bottom: 10px;
}

.partner-link {
    text-decoration: none;
    color: inherit;
}
.partner-link h3:hover {
    color: #008fcc; /* primer hover efekta */
    cursor: pointer;
}

.partner-card p {
    display: flex;
    align-items: center;
    justify-content: center; /* opcionalno - centriraj po širini */
    flex-wrap: wrap; /* opcionalno - ako želiš da prelama */
    font-size: 14px;
    color: #ccc;
    line-height: 1.4;
    text-align: center;
}

.flag-icon {
    width: 30px !important;
    height: 15px !important;
    flex-shrink: 0;
    margin-right: 6px;
    vertical-align: middle;
    align-self: flex-start; /* dodaj ovo */
    margin-top: 2px; /* opcionalno prilagodi */
}

/* RESPONSIVE - prilagodjavanje za manje ekrane */

/* Tablet i manje */
@media (max-width: 1024px) {
    header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    nav a {
        margin-left: 10px;
        font-size: 14px;
    }
    .stats {
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .stat {
        width: 150px;
        padding: 15px;
    }
    .welcome-section, .commands-section {
        padding: 40px 15px;
    }
    .btn {
        padding: 8px 16px;
        margin: 8px;
    }
    .partners-grid {
        gap: 20px;
        justify-content: center;
    }
    .partner-card {
        width: 200px;
        padding: 15px;
    }
    .partner-card img {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }
}

/* Mobilni telefoni */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 15px;
    }
    nav {
        width: 100%;
        margin-top: 10px;
    }
    nav a {
        display: inline-block;
        margin-left: 0;
        margin-right: 20px;
        font-size: 16px;
    }
    .stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .stat {
        width: 90%;
        max-width: 300px;
    }
    .welcome-section, .commands-section {
        padding: 30px 10px;
    }
    .btn {
        width: 100%;
        max-width: 250px;
        margin: 8px auto;
        display: block;
        text-align: center;
    }
    .contact-form {
        padding: 15px;
        max-width: 100%;
    }
    .partner-card {
        width: 90%;
        max-width: 300px;
    }
    .privacy-box {
        width: 90%;
        max-width: 400px;
        margin: 20px auto;
        padding: 15px 20px;
    }
}

/* Mali telefoni - još oštrije smanjenje i sklanjanje horizontalnog scrolla */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        overflow-x: hidden; /* Ograničava horizontalni skrol */
    }
    header {
        padding: 10px 15px;
    }
    .logo {
        font-size: 20px;
    }
    nav a {
        font-size: 14px;
        margin-right: 15px;
        white-space: nowrap; /* Sprečava prelome u meniju */
    }
    .stats-heading {
        font-size: 22px;
        margin-top: 60px;
    }
    .stat {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding: 15px 10px;
    }
    .btn {
        font-size: 14px;
        padding: 10px 15px;
    }
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        font-size: 14px;
        padding: 8px;
    }
    .contact-form input[type="submit"] {
        padding: 10px 20px;
        font-size: 14px;
    }
    .partner-card h3 {
        font-size: 18px;
    }
}

/* Sakrij hamburger dugme na desktopu */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #00bfff;
    cursor: pointer;
}

/* Navigacija kao flex na desktopu */
nav#nav-links {
    display: flex;
    gap: 20px;
}

/* Na manjim ekranima - sakrij nav, prikaži hamburger dugme */
@media (max-width: 768px) {
    #menu-toggle {
        display: block;
        position: absolute;
        top: 9px;
        right: 30px;
        z-index: 1000;
    }

    nav#nav-links {
        display: none; /* sakrij po defaultu */
        position: absolute;
        top: 55px; /* malo ispod headera */
        right: 30px;
        background-color: #1f1f1f;
        border-radius: 8px;
        flex-direction: column;
        width: 180px;
        box-shadow: 0 0 10px rgba(0,191,255,0.5);
        padding: 10px 0;
        z-index: 999;
    }

    nav#nav-links.show-menu {
        display: flex;
    }

    nav#nav-links a {
        padding: 12px 20px;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid #333;
    }

    nav#nav-links a:last-child {
        border-bottom: none;
    }

    nav#nav-links a:hover {
        background-color: #00bfff;
        color: #121212;
    }

    /* U headeru flex - da logo i hamburger budu u istom redu */
    header {
        position: relative;
        padding: 15px 30px;
    }
}