* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: white;
}

.container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 480px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #e94560;
}

.hero p {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 12px;
}

.opis {
    font-size: 15px !important;
    color: #888 !important;
    margin-bottom: 30px !important;
    line-height: 1.6;
}

.opis strong {
    color: #e94560;
}

.uputa {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.uputa strong {
    color: #e94560;
}

input[type="number"] {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-align: center;
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    outline: none;
    border-color: #e94560;
}

input[type="number"]::placeholder {
    color: #666;
}

button {
    width: 100%;
    padding: 14px;
    background-color: #e94560;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

button:hover {
    background-color: #c73652;
}

.btn-igra {
    display: inline-block;
    padding: 14px 40px;
    background-color: #e94560;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.btn-igra:hover {
    background-color: #c73652;
}

.btn-natrag {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgba(255,255,255,0.1);
    color: #ccc;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-natrag:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Rezultat stranica */
.rezultat-wrap {
    margin-bottom: 30px;
}

.brojevi-prikaz {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.broj-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.08);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
}

.label {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.veliki-broj {
    font-size: 52px;
    font-weight: bold;
    color: #e94560;
}

.vs {
    font-size: 24px;
    font-weight: bold;
    color: #555;
}

.ishod {
    padding: 18px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pobjeda {
    background-color: rgba(46, 204, 113, 0.2);
    border: 2px solid #2ecc71;
    color: #2ecc71;
}

.poraz {
    background-color: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    color: #e74c3c;
}

.jednako {
    background-color: rgba(241, 196, 15, 0.2);
    border: 2px solid #f1c40f;
    color: #f1c40f;
}

.gumbi {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
