/* ===== GTA VI Balkan – Vice City sunset tema ===== */
:root {
  --bg: #0d0b17;
  --bg2: #151226;
  --panel: #1b1730;
  --panel2: #231e3d;
  --line: #2f2850;
  --text: #ece9f7;
  --muted: #9d97b8;
  --pink: #ff3d8b;
  --orange: #ffa94d;
  --teal: #2de2c8;
  --purple: #8b5cf6;
  --danger: #ff5a5f;
  --grad: linear-gradient(135deg, #ff3d8b 0%, #ff7a59 55%, #ffb347 100%);
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Inter, system-ui, sans-serif; font-size: 15.5px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  background-image: radial-gradient(1200px 500px at 85% -10%, rgba(255, 61, 139, .16), transparent 60%),
                    radial-gradient(900px 500px at -10% 10%, rgba(45, 226, 200, .08), transparent 60%);
  background-attachment: fixed; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: #7ff3e2; }
img, video { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: .5px; font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.main { flex: 1; padding-top: 26px; padding-bottom: 50px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.narrow { max-width: 760px; margin: 0 auto; }
.empty { color: var(--muted); padding: 22px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ----- Header ----- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(13, 11, 23, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; font-family: Anton, Impact, sans-serif; font-size: 1.55rem; letter-spacing: 1px; color: #fff; white-space: nowrap; }
.logo:hover { color: #fff; }
.logo-vi { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.15em; }
.logo-balkan { font-size: .6em; color: var(--teal); letter-spacing: 3px; }
.logo-sm { font-size: 1.3rem; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a { color: var(--text); padding: 8px 12px; border-radius: 4px; font-weight: 500; }
.nav > a:hover { background: var(--panel); }
.nav > a.active { color: #fff; background: var(--panel2); box-shadow: inset 0 -2px 0 var(--pink); }
.nav .btn { margin-left: 4px; }
.search { margin-left: auto; }
.search input { width: 190px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); font-size: 1.3rem; border-radius: 4px; padding: 4px 12px; cursor: pointer; }
.usermenu { position: relative; }
.usermenu-btn { display: flex; align-items: center; gap: 8px; color: var(--text); padding: 5px 10px 5px 5px; border-radius: 4px; background: var(--panel); }
.usermenu-drop { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 6px; min-width: 190px; box-shadow: var(--shadow); }
.usermenu:hover .usermenu-drop, .usermenu:focus-within .usermenu-drop { display: block; }
.usermenu-drop::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.usermenu-drop a, .usermenu-drop button { display: block; width: 100%; text-align: left; padding: 8px 12px; color: var(--text); border-radius: 3px; background: none; border: 0; font: inherit; cursor: pointer; }
.usermenu-drop a:hover, .usermenu-drop button:hover { background: var(--panel2); }

/* ----- Form elementi ----- */
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line);
  border-radius: 4px; padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 61, 139, .18); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--pink); }
input[type=file] { padding: 8px; }
textarea { resize: vertical; min-height: 90px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; }
.form label.check, label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.form .row { display: flex; gap: 14px; }
.form .row > * { flex: 1; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
legend { padding: 0 6px; color: var(--muted); }
.row-actions { display: flex; gap: 10px; }

.btn {
  --cut: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border: 0; border-radius: 0;
  font: inherit; font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: 1px;
  color: #fff; background: var(--grad); cursor: pointer; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .12s, filter .12s;
}
.btn:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.12); }
.btn-lg { padding: 16px 30px; font-size: .95rem; --cut: 14px; }
.btn-outline { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-outline:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { padding: 6px 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--text); }
.btn-ghost:hover { background: var(--panel2); box-shadow: none; color: #fff; }
.btn-danger { background: var(--danger); box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer; }
.link-btn:hover { color: var(--text); }
.link-btn.danger:hover { color: var(--danger); }

.flash { padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; border: 1px solid; }
.flash-success { background: rgba(45, 226, 200, .1); border-color: rgba(45, 226, 200, .4); color: #9ff5e8; }
.flash-error { background: rgba(255, 90, 95, .1); border-color: rgba(255, 90, 95, .45); color: #ffb3b5; }

/* ----- Avatar, oznake ----- */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-block; }
.avatar-letter { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.role { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 4px; vertical-align: middle; font-family: Inter, sans-serif; }
.role-admin { background: rgba(255, 61, 139, .18); color: var(--pink); }
.role-urednik { background: rgba(255, 169, 77, .18); color: var(--orange); }
.role-user { background: rgba(157, 151, 184, .15); color: var(--muted); }
.role-banned { background: rgba(255, 90, 95, .2); color: var(--danger); }
.tag { display: inline-block; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; padding: 3px 10px; border-radius: 6px; }
.tag-pin { background: var(--teal); color: #08221e; }
.pill { font-size: .85rem; color: var(--muted); background: var(--bg2); padding: 3px 10px; border-radius: 4px; white-space: nowrap; }
.badge { margin-right: 4px; }
.meta { color: var(--muted); font-size: .84rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 6px 14px; border-radius: 4px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-size: .9rem; }
.chip.active { background: var(--grad); border-color: transparent; color: #fff; }
.chip small { opacity: .6; }

/* ----- Naslovna ----- */
.hero {
  position: relative; border-radius: 4px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end;
  background: linear-gradient(160deg, #2a0f3d 0%, #6b1a4f 45%, #ff6a3d 85%, #ffb347 100%);
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero::before { /* stilizovano sunce i palme-linije kad nema slike */
  content: ""; position: absolute; right: 8%; top: 14%; width: 240px; height: 240px; border-radius: 50%;
  background: repeating-linear-gradient(180deg, #ffd27a 0 16px, transparent 16px 24px); opacity: .55;
  -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent);
}
.hero.has-cover { background: var(--cover) center/cover no-repeat; }
.hero.has-cover::before { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 11, 23, .95) 0%, rgba(13, 11, 23, .35) 55%, transparent 100%); }
.hero-content { position: relative; z-index: 1; padding: 34px; max-width: 720px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 12px 0 10px; }
.hero h1 a { color: #fff; }
.hero p { color: #ddd6f3; font-size: 1.05rem; margin: 0 0 12px; }
.hero .meta { margin-bottom: 16px; color: #cfc8e6; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.stats > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; flex-direction: column; }
.stats strong { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 1.8rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stats span { color: var(--muted); font-size: .85rem; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.layout-even { grid-template-columns: 1fr 1fr; }
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.box-cta { background: linear-gradient(160deg, rgba(255, 61, 139, .18), rgba(255, 179, 71, .1)), var(--panel); border-color: rgba(255, 61, 139, .35); }
.box p { margin: .4em 0 1em; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 10px 0 14px; }
.section-head h2, .section-head h3 { margin: 0; }
.small-head { margin-top: 0; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h1 { margin-bottom: .2em; }
.page-head p { margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }

/* ----- Kartice vijesti ----- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 34px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: rgba(255, 61, 139, .5); color: var(--text); }
.card-img { aspect-ratio: 16/9; background: linear-gradient(135deg, #3b1450, #ff6a3d) center/cover; position: relative; }
.card-img .tag { position: absolute; left: 12px; top: 12px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { margin: 0 0 10px; font-size: .92rem; flex: 1; }

/* ----- Liste ----- */
.list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 30px; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; color: var(--text); }
a.list-row:hover { border-color: rgba(45, 226, 200, .45); color: var(--text); }
.thread-title { color: var(--text); font-weight: 600; }
.thread-title:hover { color: var(--teal); }
.members { display: flex; flex-direction: column; gap: 8px; }
.members a { display: flex; align-items: center; gap: 10px; color: var(--text); }
.members-row { flex-direction: row; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.avatar-wall { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mini-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; display: block; }
.related { display: flex; gap: 10px; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.related:last-child { border-bottom: 0; }
.related img { width: 70px; height: 50px; object-fit: cover; border-radius: 3px; }
.related span { display: flex; flex-direction: column; }

/* ----- Forum ----- */
.forum-cats { display: flex; flex-direction: column; gap: 10px; }
.forum-cat { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.forum-cat:hover { border-color: rgba(255, 61, 139, .4); }
.forum-icon { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--panel2); border-radius: 4px; flex-shrink: 0; }
.forum-cat-name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.forum-cat p { margin: 2px 0 0; }
.forum-counts { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.forum-counts strong { font-size: 1.1rem; }
.forum-counts span { font-size: .75rem; color: var(--muted); }
.forum-last { width: 200px; display: flex; flex-direction: column; font-size: .9rem; }
.forum-last a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.post { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; scroll-margin-top: 90px; }
.post:target { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(45, 226, 200, .25); }
.post-first { border-color: rgba(255, 61, 139, .35); }
.userbox { width: 170px; flex-shrink: 0; padding: 18px 12px; background: var(--bg2); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; border-right: 1px solid var(--line); }
.userbox-name { font-weight: 700; color: #fff; word-break: break-word; }
.post-main { flex: 1; min-width: 0; padding: 16px 20px; display: flex; flex-direction: column; }
.post-head { display: flex; justify-content: space-between; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.post-main .prose { flex: 1; }
.actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.actions form { display: inline; }
.mod-tools { display: flex; gap: 8px; }
.mod-tools form { display: inline; }
.like { background: var(--bg2); border: 1px solid var(--line); color: var(--muted); border-radius: 4px; padding: 4px 12px; font: inherit; font-size: .88rem; cursor: pointer; transition: all .15s; }
.like:hover { border-color: var(--orange); color: var(--text); }
.like.liked { background: rgba(255, 122, 89, .15); border-color: var(--orange); color: var(--orange); }
.like.pop { animation: pop .3s; }
@keyframes pop { 50% { transform: scale(1.18); } }

.reply-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.reply-form .composer { width: 100%; }
.login-wall { text-align: center; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px dashed rgba(255, 61, 139, .45); margin-top: 18px; }

/* ----- Composer ----- */
.composer { display: flex; flex-direction: column; gap: 8px; }
.composer p { margin: 0; }
.toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.toolbar button { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 3px; width: 34px; height: 30px; cursor: pointer; font: inherit; }
.toolbar button:hover { border-color: var(--pink); }
.toolbar .muted { margin-left: 6px; }
.attach { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.yt-input { flex: 1; min-width: 200px; }
.file-btn { position: relative; overflow: hidden; flex-direction: row !important; font-weight: 600 !important; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.preview { display: flex; flex-wrap: wrap; gap: 8px; }
.preview:empty { display: none; }
.preview > div { position: relative; width: 96px; height: 96px; border-radius: 4px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); }
.preview img, .preview video { width: 100%; height: 100%; object-fit: cover; }
.preview span { position: absolute; bottom: 0; left: 0; right: 0; font-size: .7rem; background: rgba(0, 0, 0, .65); padding: 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ----- Sadržaj objava ----- */
.prose { overflow-wrap: anywhere; }
.prose p { margin: 0 0 .9em; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 1.2em 0 .5em; font-size: 1.25rem; }
.prose blockquote { margin: 0 0 .9em; padding: 10px 14px; border-left: 3px solid var(--pink); background: var(--bg2); border-radius: 0 4px 4px 0; color: #d3cde9; }
.prose .mention { color: var(--orange); font-weight: 600; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.article h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.article .prose { font-size: 1.05rem; line-height: 1.75; }
.byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.byline form { display: inline; }
.lead { font-size: 1.18rem; color: #d8d2ee; margin: 0 0 18px; }
.cover { width: 100%; border-radius: var(--radius); margin-bottom: 20px; display: block; }
.current-cover { display: flex; align-items: center; gap: 14px; }
.current-cover img { width: 160px; border-radius: 4px; }

.media-grid { display: grid; gap: 8px; margin-top: 14px; }
.media-2 { grid-template-columns: 1fr 1fr; }
.media-3 { grid-template-columns: repeat(3, 1fr); }
.media-grid img, .media-grid video { width: 100%; border-radius: 4px; display: block; background: #000; }
.media-1 img, .media-1 video { max-height: 520px; object-fit: contain; }
.media-2 img, .media-3 img { aspect-ratio: 4/3; object-fit: cover; }
.media-2 video, .media-3 video { aspect-ratio: 4/3; }
.yt { position: relative; aspect-ratio: 16/9; margin-top: 14px; border-radius: 4px; overflow: hidden; background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.comments { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.comment:target { background: rgba(45, 226, 200, .06); }
.comment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.comment .actions { margin-top: 6px; }

/* ----- Galerija ----- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 26px; }
.gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #000; }
.gallery figcaption { padding: 8px 10px; font-size: .82rem; color: var(--muted); }
.zoom { display: block; cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 4, 10, .92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 3px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: var(--panel); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }

/* ----- Profil ----- */
.profile-head { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; padding: 24px; background: linear-gradient(120deg, rgba(255, 61, 139, .15), rgba(45, 226, 200, .06)), var(--panel); border: 1px solid var(--line); border-radius: 4px; flex-wrap: wrap; }
.profile-head h1 { margin-bottom: .1em; }
.profile-head p { margin: 0 0 8px; }
.avatar-edit { display: flex; align-items: center; gap: 18px; }
.existing-media { display: flex; flex-wrap: wrap; gap: 10px; }
.check-media { width: 130px; display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
.check-media img, .check-media video { width: 130px; height: 100px; object-fit: cover; border-radius: 3px; }

/* ----- Auth ----- */
.auth { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: center; max-width: 980px; margin: 20px auto; }
.auth-single { grid-template-columns: 440px; justify-content: center; }
.auth-side h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 1.08rem; }
.auth-form { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 28px; box-shadow: var(--shadow); }
.auth-form h2 { margin: 0; font-size: 1.6rem; }
.auth-form p { margin: 0; }

/* ----- Ostalo ----- */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 20px 0 30px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 6px 13px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.pagination a.current { background: var(--grad); border-color: transparent; color: #fff; }
.search-big { display: flex; gap: 10px; margin-bottom: 26px; }
.table-wrap { overflow-x: auto; margin-bottom: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; background: var(--panel); font-size: .92rem; }
.table th, .table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { background: var(--panel2); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.table select { width: auto; padding: 5px 8px; }
.inline-form { margin: 0; }
.error-page { text-align: center; padding: 70px 0; }
.error-code { font-family: Anton, Impact, sans-serif; font-size: clamp(2.4rem, 7vw, 4rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page p { color: var(--muted); font-size: 1.1rem; margin-bottom: 24px; }

.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 30px 0; margin-top: 30px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.footer p { margin: 6px 0 0; font-size: .9rem; }
.footer-links { display: flex; gap: 18px; align-items: flex-start; }
.footer-links a { color: var(--muted); }
.disclaimer { grid-column: 1 / -1; color: #6f6990; font-size: .78rem !important; }

/* ===== Paket 1: XP, bedževi, notifikacije, online, ankete, odbrojavanje ===== */
.bell { position: relative; font-size: 1.1rem; padding: 6px 10px !important; }
.bell-count { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.bell-count[hidden] { display: none; }
.bell-label { display: none; }
.usermenu-level { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: .82rem; }
.usermenu-level span { display: block; font-weight: 600; margin-bottom: 6px; }
.usermenu-level small { color: var(--muted); }
.xpbar { height: 6px; background: var(--bg2); border-radius: 6px; overflow: hidden; margin-bottom: 4px; }
.xpbar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; transition: width .6s; }
.xpbar.big { height: 10px; margin: 8px 0 6px; }

.avatar-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.online-dot { position: absolute; right: 2px; bottom: 2px; width: 13px; height: 13px; border-radius: 50%; background: #2ee86b; box-shadow: 0 0 0 3px var(--bg2); }
.online-dot.big { width: 20px; height: 20px; right: 6px; bottom: 6px; box-shadow: 0 0 0 4px var(--panel); }
.online-text { color: #2ee86b; font-weight: 600; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2ee86b; margin-right: 4px; vertical-align: middle; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 232, 107, .6); } 70% { box-shadow: 0 0 0 8px rgba(46, 232, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 232, 107, 0); } }
.online-list { line-height: 1.8; margin-bottom: 4px; }
.role-name { font-weight: 600; }
.role-text-admin { color: var(--pink); }
.role-text-urednik { color: var(--orange); }
.role-text-user { color: var(--text); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.mini-stats div { background: var(--bg2); border-radius: 4px; padding: 8px; text-align: center; }
.mini-stats b { display: block; font-size: 1.15rem; }
.mini-stats span { font-size: .75rem; color: var(--muted); }
.lvl { font-size: .74rem; color: var(--orange); font-weight: 600; line-height: 1.3; }

/* Odbrojavanje */
.countdown {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 18px 24px; margin-bottom: 22px; border-radius: 4px;
  background: linear-gradient(100deg, rgba(255, 61, 139, .2), rgba(139, 92, 246, .15) 50%, rgba(45, 226, 200, .14)), var(--panel);
  border: 1px solid rgba(255, 61, 139, .35);
}
.cd-text { display: flex; flex-direction: column; flex: 1; min-width: 180px; }
.cd-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal); font-weight: 700; }
.cd-text strong { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 1.6rem; letter-spacing: .5px; }
.cd-units { display: flex; gap: 10px; }
.cd-units div { min-width: 74px; text-align: center; background: rgba(13, 11, 23, .55); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
.cd-units b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 2rem; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cd-units span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.countdown.is-out .cd-units div { min-width: 140px; }

/* Rang lista */
.toplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.toplist li { display: flex; align-items: center; gap: 10px; }
.toplist a { display: flex; align-items: center; gap: 8px; color: var(--text); flex: 1; min-width: 0; }
.toplist a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toplist b { font-size: .82rem; color: var(--orange); white-space: nowrap; }
.rank { width: 26px; height: 26px; border-radius: 3px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--bg2); color: var(--muted); flex-shrink: 0; }
.rank-1 { background: linear-gradient(135deg, #ffd76a, #f5a623); color: #3a2500; }
.rank-2 { background: linear-gradient(135deg, #e5e7f0, #a9adc0); color: #22242e; }
.rank-3 { background: linear-gradient(135deg, #f0a77a, #b8673d); color: #2e1405; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; margin-bottom: 18px; }
.podium-step { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; border-radius: 4px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-align: center; }
.podium-step:hover { color: var(--text); border-color: var(--pink); }
.podium-step.step-1 { padding-top: 26px; padding-bottom: 30px; background: linear-gradient(180deg, rgba(255, 215, 106, .18), transparent), var(--panel); border-color: rgba(255, 215, 106, .45); }
.podium-step small { color: var(--muted); font-size: .76rem; }
.medal { font-size: 1.8rem; line-height: 1; }
.podium-xp { font-weight: 700; color: var(--orange); }
.lb-xp { color: var(--orange); white-space: nowrap; }
.xp-rules, .levels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.xp-rules li, .levels li { display: flex; justify-content: space-between; gap: 10px; }
.xp-rules b { color: #2ee86b; }
.levels small { color: var(--muted); }
.badge-mini { display: flex; flex-direction: column; gap: 10px; }
.badge-mini > div { display: flex; gap: 10px; align-items: flex-start; }
.badge-mini > div > span { font-size: 1.4rem; line-height: 1.2; }
.badge-mini b { display: block; font-size: .9rem; }
.badge-mini small { color: var(--muted); font-size: .78rem; }

/* Profil: nivo i bedževi */
.level-card { display: flex; align-items: center; gap: 14px; margin: 10px 0 6px; max-width: 520px; }
.level-badge { width: 58px; height: 58px; border-radius: 4px; background: var(--grad); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; box-shadow: 0 6px 18px rgba(255, 61, 139, .35); }
.level-badge small { font-size: .62rem; text-transform: uppercase; letter-spacing: 1px; opacity: .85; }
.level-badge b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 1.7rem; line-height: 1; }
.level-name { font-weight: 700; }
.bio { margin-top: 10px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 30px; }
.badge-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.badge-card.owned { border-color: rgba(255, 169, 77, .5); background: linear-gradient(180deg, rgba(255, 169, 77, .12), transparent), var(--panel); }
.badge-card.locked { opacity: .45; filter: grayscale(1); }
.badge-icon { font-size: 2rem; line-height: 1.2; }
.badge-card b { font-size: .92rem; }
.badge-card small { color: var(--muted); font-size: .74rem; line-height: 1.35; }

/* Notifikacije */
.notif-list { display: flex; flex-direction: column; gap: 8px; }
.notif { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; color: var(--text); }
a.notif:hover { border-color: rgba(45, 226, 200, .45); color: var(--text); }
.notif.unread { border-color: rgba(255, 61, 139, .45); background: linear-gradient(90deg, rgba(255, 61, 139, .1), transparent 60%), var(--panel); }
.notif-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--panel2); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.new-pill { font-size: .7rem; font-weight: 700; text-transform: uppercase; background: var(--pink); color: #fff; padding: 2px 8px; border-radius: 4px; }

/* Ankete */
.poll { margin-top: 16px; padding: 16px 18px; border-radius: 4px; background: var(--bg2); border: 1px solid var(--line); }
.poll-head { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--teal); margin-bottom: 6px; }
.poll h3 { margin-bottom: 12px; }
.poll-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.poll-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); cursor: pointer; }
.poll-option:hover { border-color: var(--pink); }
.poll-option input { accent-color: var(--pink); }
.poll-results { display: flex; flex-direction: column; gap: 8px; }
.poll-bar { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 4px; background: var(--panel); overflow: hidden; border: 1px solid var(--line); }
.poll-bar i { position: absolute; inset: 0 auto 0 0; background: rgba(139, 92, 246, .28); transition: width .8s; }
.poll-bar.top i { background: linear-gradient(90deg, rgba(255, 61, 139, .4), rgba(255, 179, 71, .35)); }
.poll-bar.mine { border-color: var(--teal); }
.poll-bar span, .poll-bar b { position: relative; }
.poll-bar small { color: var(--muted); font-weight: 400; }
.poll-create { border: 1px dashed var(--line); border-radius: 4px; padding: 12px 14px; }
.poll-create[open] { display: flex; flex-direction: column; gap: 12px; }
.poll-create summary { cursor: pointer; font-weight: 600; }
.admin-settings { margin-bottom: 30px; }
.admin-settings h3, .admin-settings p { margin: 0; }

/* ===== Oštriji izgled: naslovi sekcija, kutije, kartice ===== */
body { overflow-x: clip; }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line); border: 0; }
.section-head h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; font-size: 1.55rem; display: flex; align-items: center; gap: 12px; }
.section-head h2::before { content: ""; width: 7px; height: 24px; background: var(--grad); transform: skewX(-14deg); flex-shrink: 0; }
.section-head > a { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.box { border-top: 2px solid rgba(255, 61, 139, .55); }
.box h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; }
.card { border-bottom: 2px solid transparent; }
.card:hover { border-bottom-color: var(--pink); }
.card-img { overflow: hidden; }
.tag { border-radius: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); padding-right: 14px; }
.chip.active, .pagination a.current { clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.nav > a { border-radius: 0; text-transform: uppercase; font-size: .82rem; letter-spacing: 1px; font-weight: 700; }
.nav > a.active { background: none; box-shadow: inset 0 -3px 0 var(--pink); }
.nav > a:hover { background: rgba(255, 255, 255, .05); }

/* ===== HERO s video pozadinom ===== */
.flash + .hero2 { margin-top: 0; }
.hero2 {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100vw; margin: -26px calc(50% - 50vw) 0;
  min-height: min(90vh, 880px); display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, #1d0a2e 0%, #5d1546 45%, #e8573a 85%, #ffb347 100%);
}
.hero2-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; container-type: size; }
/* Video i slika uvijek POKRIVAJU cijeli hero (nikad manji od njega), ali kad je ekran
   širok i nizak, odsijeca se uglavnom DNO kadra – glave likova (gornji dio) ostaju vidljive.
   --focus = visina kadra koja ostaje fiksna (0% = vrh, 50% = sredina). */
.hero2 { --focus: 18%; }
.hero2-poster, .hero2-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% var(--focus); transform-origin: 50% var(--focus); transform: scale(1.03);
}
.hero2-poster { filter: saturate(1.15); animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.hero2-yt iframe {
  position: absolute; left: 50%; top: var(--focus); border: 0; pointer-events: none;
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
  /* blago uvećanje skriva YouTube rubove; uvećava se oko fokusa, ne oko sredine */
  transform-origin: 50% var(--focus); transform: translate(-50%, calc(var(--focus) * -1)) scale(1.1);
  opacity: 0; transition: opacity 1s ease;
}
.hero2-yt.ready iframe { opacity: 1; }
.hero2-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 6, 16, .94) 0%, rgba(8, 6, 16, .7) 34%, rgba(8, 6, 16, .2) 62%, rgba(8, 6, 16, .45) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 11, 23, .55) 22%, transparent 48%),
    linear-gradient(180deg, rgba(8, 6, 16, .75) 0%, transparent 22%),
    radial-gradient(80% 60% at 75% 30%, rgba(255, 61, 139, .18), transparent 70%);
}
.hero2-scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .28; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); }
.hero2-inner { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: end; padding-top: 140px; padding-bottom: 34px; }
.hero2-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--teal); padding: 6px 12px 6px 10px; background: rgba(8, 6, 16, .55); border-left: 3px solid var(--teal); margin-bottom: 18px; }
.hero2-title {
  font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.1rem, 9.5vw, 8rem); line-height: .86; letter-spacing: 1px; margin: 0 0 22px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
}
.hero2-title span { display: block; }
.hero2-title .hl { background: linear-gradient(90deg, #ff3d8b 0%, #ff7a59 45%, #ffc65c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 6px 30px rgba(255, 61, 139, .45)); }
.hero2-sub { font-size: 1.12rem; color: #ddd6f3; max-width: 540px; margin: 0 0 28px; }
.hero2-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sound-btn { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.25rem; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); transition: background .15s; }
.sound-btn:hover { background: rgba(255, 255, 255, .16); }
.sound-btn[hidden] { display: none; }

.hero2-side { background: rgba(8, 6, 16, .62); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .08); border-top: 3px solid var(--pink); }
.hero2-side-head { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: var(--pink); padding: 14px 18px 6px; }
.hero2-item { display: flex; gap: 14px; align-items: center; padding: 14px 18px; color: var(--text); border-top: 1px solid rgba(255, 255, 255, .06); transition: background .15s; }
a.hero2-item:hover { background: rgba(255, 61, 139, .1); color: #fff; }
.hero2-num { font-family: Anton, Impact, sans-serif; font-size: 1.7rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); flex-shrink: 0; width: 34px; }
a.hero2-item:hover .hero2-num { -webkit-text-stroke-color: var(--pink); }
.hero2-item img { width: 74px; height: 50px; object-fit: cover; flex-shrink: 0; }
.hero2-item-text { display: flex; flex-direction: column; min-width: 0; }
.hero2-item-text small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.hero2-item-text b { font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hero2-bar { display: flex; background: rgba(8, 6, 16, .72); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 26px; }
.hb-cell { flex: 1; padding: 14px 20px; border-left: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hb-cell:first-child { border-left: 0; }
.hb-cell small { font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-cell b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 1.7rem; line-height: 1.15; letter-spacing: .5px; }
.hb-countdown { flex: 2.2; background: linear-gradient(90deg, rgba(255, 61, 139, .2), transparent); }
.hb-countdown b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hb-cd i { font-style: normal; font-size: .9rem; margin-right: 6px; opacity: .8; }

/* Traka sa najnovijim naslovima */
.ticker { width: 100vw; margin: 0 calc(50% - 50vw) 34px; display: flex; height: 46px; background: #0a0913; border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-label {
  display: flex; align-items: center; flex-shrink: 0; z-index: 1;
  padding: 0 30px 0 max(16px, calc(50vw - 584px));
  font-family: Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: 2px; color: #fff; background: var(--grad);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.ticker-track { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.ticker-move { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { line-height: 46px; padding: 0 30px; color: var(--text); white-space: nowrap; font-weight: 500; border-right: 1px solid var(--line); }
.ticker-move a:hover { color: var(--pink); }
.ticker-move em { font-style: normal; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal); margin-right: 10px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Trailer prozor */
.trailer-modal { position: fixed; inset: 0; z-index: 120; background: rgba(4, 3, 8, .92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.trailer-modal[hidden] { display: none; }
.trailer-box { position: relative; width: min(1100px, 100%); }
.trailer-frame { aspect-ratio: 16/9; background: #000; border-top: 3px solid var(--pink); }
.trailer-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.trailer-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 1.1rem; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .hero2-poster, .ticker-move { animation: none; }
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .layout, .layout-even { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth-single { grid-template-columns: minmax(0, 440px); }
  .forum-last { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; background: var(--bg2); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .search { margin: 6px 0; }
  .search input { width: 100%; }
  .nav .btn { margin: 4px 0 0; }
  .usermenu-drop { display: block; position: static; box-shadow: none; border: 0; padding: 4px 0 0; background: none; }
  .usermenu-btn { background: none; }
  .bell { display: flex !important; align-items: center; gap: 8px; }
  .bell-label { display: inline; font-size: .95rem; }
  .bell-count { position: static; box-shadow: none; order: 3; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards-3 { grid-template-columns: 1fr; }
  .hero { min-height: 320px; }
  .hero-content { padding: 22px; }
  .hero::before { width: 150px; height: 150px; }
  .post { flex-direction: column; }
  .userbox { width: auto; flex-direction: row; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; text-align: left; flex-wrap: wrap; }
  .userbox .avatar { width: 36px !important; height: 36px !important; font-size: 16px !important; }
  .post-main { padding: 14px; }
  .forum-cat { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .forum-cat .grow { flex-basis: calc(100% - 70px); }
  .forum-counts { min-width: 0; flex-direction: row; gap: 4px; }
  .hide-sm { display: none !important; }
  .form .row { flex-direction: column; }
  .media-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .profile-head { padding: 18px; gap: 16px; }
  .countdown { padding: 16px; gap: 14px; }
  .cd-units { width: 100%; gap: 6px; }
  .cd-units div { flex: 1; min-width: 0; padding: 6px 4px; }
  .cd-units b { font-size: 1.55rem; }
  .cd-units span { font-size: .62rem; }
  .podium { gap: 6px; }
  .podium-step { padding: 12px 4px; }
  .podium-step b { font-size: .85rem; word-break: break-all; }
  .podium-step small { display: none; }
}

/* ----- Hero responsive ----- */
@media (max-width: 980px) {
  .hero2 { min-height: 0; }
  .hero2-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 110px; }
  .hero2-side { max-width: 620px; }
}
@media (max-width: 640px) {
  .hero2-inner { padding-top: 80px; padding-bottom: 22px; }
  .hero2-title { font-size: clamp(2.7rem, 15vw, 4rem); }
  .hero2-sub { font-size: 1rem; }
  .hero2-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 6, 16, .82) 45%, rgba(8, 6, 16, .45) 100%); }
  .hero2-cta .btn-lg { padding: 14px 18px; font-size: .82rem; }
  .hero2-item { padding: 12px 14px; }
  .hero2-bar { flex-wrap: wrap; }
  .hb-cell { flex: 1 1 33%; padding: 10px 14px; }
  .hb-countdown { flex: 1 1 100%; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .hb-cell:nth-child(2) { border-left: 0; }
  .hb-cell b { font-size: 1.4rem; }
  .ticker-label { padding-right: 22px; font-size: .85rem; }
}

/* ----- Logo ----- */
.logo-img { display: block; height: 56px; width: auto; filter: drop-shadow(0 2px 10px rgba(255, 61, 139, .25)); transition: transform .15s; }
.logo:hover .logo-img { transform: rotate(-2deg) scale(1.04); }
.logo-img-footer { height: 120px; }
@media (max-width: 640px) { .logo-img { height: 48px; } .logo-img-footer { height: 100px; } }
.logo { flex-shrink: 0; }
.nav > a { white-space: nowrap; }

/* ----- Izvori uz vijest ----- */
.sources { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 16px; padding: 10px 14px; background: var(--bg2); border-left: 3px solid var(--teal); font-size: .9rem; }

/* ----- Potvrda emaila ----- */
.verify-bar { background: linear-gradient(90deg, rgba(255, 169, 77, .18), rgba(255, 61, 139, .12)); border-bottom: 1px solid rgba(255, 169, 77, .45); }
.verify-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; font-size: .92rem; }
.verify-inner form { margin: 0; }
.ok-mark { color: #2ee86b; font-weight: 800; margin-left: 4px; }
.inline-verify { display: inline; margin-left: 6px; }
.inline-verify .link-btn { color: var(--orange); }
.right { text-align: right; }
.email-status h3, .email-status p { margin: 0 0 8px; }

/* ----- Stranica „Uskoro” (sajt u izradi) ----- */
.soon-body { min-height: 100vh; background: #07060d; }
.hero2.soon { --focus: 22%; width: 100%; margin: 0; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; align-items: center; justify-content: stretch; }
.soon-shade { background:
  radial-gradient(60% 55% at 50% 48%, rgba(8, 6, 16, .35), rgba(8, 6, 16, .88) 100%),
  linear-gradient(0deg, rgba(8, 6, 16, .95) 0%, transparent 35%),
  linear-gradient(180deg, rgba(8, 6, 16, .8) 0%, transparent 25%) !important; }
.soon-glow { position: absolute; inset: auto 0 0 0; height: 45%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 100%, rgba(255, 61, 139, .28), transparent 70%); animation: soonPulse 6s ease-in-out infinite alternate; }
@keyframes soonPulse { from { opacity: .55; } to { opacity: 1; } }
.soon-top, .soon-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(16px, 4vw, 40px); }
.soon-status { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: var(--teal); padding: 7px 14px; background: rgba(8, 6, 16, .6); border: 1px solid rgba(45, 226, 200, .35); backdrop-filter: blur(8px); }
.soon-login { font-size: 1rem; opacity: .35; text-decoration: none; transition: opacity .2s; }
.soon-login:hover { opacity: 1; }
.soon-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 16px 30px; max-width: 900px; margin: 0 auto; width: 100%; }
.soon-logo { width: min(440px, 80vw); height: auto; margin-bottom: 18px; filter: drop-shadow(0 12px 50px rgba(255, 61, 139, .5)); animation: soonFloat 6s ease-in-out infinite; }
@keyframes soonFloat { 50% { transform: translateY(-8px) rotate(-1deg); } }
.soon-title { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2.5rem, 7.5vw, 5.4rem); line-height: .92; margin: 0 0 16px; text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }
.soon-title span { display: block; }
.soon-title .hl { background: linear-gradient(90deg, #ff3d8b, #ff7a59 45%, #ffc65c); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 6px 30px rgba(255, 61, 139, .45)); }
.soon-sub { color: #ddd6f3; font-size: clamp(1rem, 2vw, 1.15rem); max-width: 600px; margin: 0 0 26px; }
.soon-form { display: flex; width: min(520px, 100%); background: rgba(8, 6, 16, .7); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); padding: 6px; gap: 6px; }
.soon-form input { flex: 1; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 12px 14px; font-size: 1rem; }
.soon-form input:focus { box-shadow: none; }
.soon-form:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 61, 139, .2); }
.soon-note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.soon-joined, .soon-flash { padding: 12px 18px; background: rgba(45, 226, 200, .12); border: 1px solid rgba(45, 226, 200, .45); color: #b5fbef; font-weight: 600; margin-bottom: 8px; }
.soon-flash.error { background: rgba(255, 90, 95, .12); border-color: rgba(255, 90, 95, .5); color: #ffb3b5; }
.soon-features { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.soon-features li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px; background: rgba(8, 6, 16, .55); border: 1px solid rgba(255, 255, 255, .08); border-top: 2px solid rgba(255, 61, 139, .6); backdrop-filter: blur(10px); }
.soon-features span { font-size: 1.5rem; }
.soon-features b { font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; }
.soon-features small { color: var(--muted); font-size: .78rem; }
.soon-bottom { font-size: .78rem; color: #8f88ad; }
.soon-day { font-family: Anton, Impact, sans-serif; font-size: 1.1rem; letter-spacing: 1px; color: #fff; }
.soon-day b { color: var(--orange); font-weight: 400; }
@media (max-width: 720px) {
  .soon-features { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
  .soon-form { flex-direction: column; }
  .soon-form .btn { width: 100%; }
  .soon-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .soon-logo, .soon-glow { animation: none; } }
.admin-lock-bar { background: rgba(45, 226, 200, .12); border-bottom: 1px solid rgba(45, 226, 200, .4); font-size: .88rem; }
.admin-lock-bar .container { padding-top: 8px; padding-bottom: 8px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.waitlist summary { cursor: pointer; font-size: .92rem; }
.waitlist textarea { margin: 10px 0 6px; font-size: .85rem; }
.waitlist ul { margin: 0; padding-left: 18px; max-height: 220px; overflow: auto; font-size: .88rem; }
