* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #6F459E;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kontejner {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.kartica {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #6F459E;
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

p {
    color: black;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.forma {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

label {
    color: black;
    margin-bottom: 10px;
    font-weight: 600;
}

.unos-polje {
    padding: 12px;
    border: 2px solid #6F459E;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
}

.unos-polje:focus {
    outline: none;
    border-color: #8DBD61;
}

.gumb {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    background: #8DBD61;
    color: white;
}

.gumb:hover {
    background: #6F459E;
}

.rezultat-kontejner {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 3px solid black;
}

.rezultat-kontejner h2 {
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.pobjeda {
    background: #8DBD61;
    border-color: #8DBD61;
}

.poraz {
    background: #F66F8D;
    border-color: #F66F8D;
}

.nerijeseno {
    background: #FFB643;
    border-color: #FFB643;
}

.brojevi-prikaz {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
}

.broj-kartica {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-left: 10px;
    margin-right: 10px;
    min-width: 120px;
    text-align: center;
    border: 2px solid black;
}

.oznaka {
    font-size: 14px;
    color: black;
    margin-bottom: 10px;
}

.broj {
    font-size: 36px;
    font-weight: bold;
    color: #6F459E;
    margin-bottom: 0;
}