/* ===== GLOBALNI STILOVI ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #dfe9ff 0%, #84440b 100%);
    color: #2f2f2f;
    line-height: 1.7;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

/* Bijela pozadina */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 960px;
    height: 100%;
    background: #ffffff;
    z-index: -1;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
    border-radius: 10px;
}

body > * {
    max-width: 860px;
    width: calc(100% - 80px);
    margin: 0 40px 25px 40px;
    display: block;
    position: relative;
    z-index: 1;
}

h1 {
    background: linear-gradient(135deg, #d1b217 0%, #74609f 100%);
    color: white;
    font-size: 2.8em;
    text-align: center;
    padding: 36px 28px;
    margin: 0 0 25px 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(106, 130, 255, 0.35);
}

h2 {
    color: white;
    font-size: 2.1em;
    background: linear-gradient(135deg, #792007 0%, #d36060 100%);
    padding: 26px 28px;
    border-radius: 12px;
    margin: 40px 0 25px 0;
    border-left: 6px solid #b7525c;
    box-shadow: 0 8px 20px rgba(39, 11, 104, 0.25);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    font-weight: 600;
}

h3 {
    color: #2c3e50;
    font-size: 1.5em;
    background: #f9f9ff;
    padding: 16px 22px;
    border-radius: 8px;
    margin: 30px 0 16px 0;
    border-left: 5px solid #c73890;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

p {
    background: white;
    color: #3d3d3d;
    font-size: 1.04em;
    padding: 18px 22px;
    border-radius: 10px;
    margin: 18px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
}

.box {
    background: linear-gradient(135deg, #f7f8ff 0%, #eef2ff 100%);
    padding: 24px;
    border: 1px solid #dfe7ff;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.result {
    background: #ffffff;
    border-left: 5px solid #e0a91c;
    padding: 15px 18px;
    border-radius: 8px;
    margin-top: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    font-weight: 600;
    color: #333;
}

ul {
    background: white;
    padding: 18px 35px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

li {
    margin: 10px 0;
    color: #444;
}

hr {
    border: none;
    height: 4px;
    background: linear-gradient(90deg, #9a52b7 0%, #e0c840 50%, #f66c5c 100%);
    margin: 40px 0;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}