/* ─── Sunčani App — temeljni CSS ──────────────────────────── */

:root {
    --sk-sun:    #F7B731;
    --sk-fire:   #E8411A;
    --sk-night:  #0F0E0C;
    --sk-cream:  #FAF4E8;
    --sk-gray:   #8C8070;
    --sk-light:  #FFFAF0;
    --sk-card:   #FFFFFF;
    --sk-border: #F0E6D0;
    --sk-shadow: 0 4px 16px rgba(247, 183, 49, 0.08);
}

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

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body.sk-app-body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--sk-light);
    color: var(--sk-night);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ─── Welcome screen (Dan 1) ─────────────────────────────────── */

.sk-welcome {
    max-width: 420px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    text-align: center;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.sk-welcome-sun {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: sk-sun-pulse 3s ease-in-out infinite;
}

@keyframes sk-sun-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50%      { transform: scale(1.05) rotate(8deg); }
}

.sk-welcome-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.sk-welcome-sub {
    color: var(--sk-gray);
    font-size: 0.95rem;
    margin-bottom: 36px;
}

.sk-welcome-box {
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 20px;
    padding: 8px 20px;
    box-shadow: var(--sk-shadow);
    width: 100%;
    margin-bottom: 28px;
}

.sk-welcome-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--sk-border);
    font-size: 0.92rem;
}

.sk-welcome-row:last-child {
    border-bottom: none;
}

.sk-welcome-row span {
    color: var(--sk-gray);
    font-weight: 500;
}

.sk-welcome-row strong {
    color: var(--sk-night);
    font-weight: 700;
    font-size: 0.9rem;
}

.sk-welcome-foot {
    color: var(--sk-gray);
    font-size: 0.85rem;
    font-style: italic;
}

/* ─── Auth screens (login, register, onboarding) ──────────── */

.sk-auth-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
        radial-gradient(circle at 20% 0%, rgba(247,183,49,0.08), transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(232,65,26,0.06), transparent 50%),
        var(--sk-light);
}

.sk-auth-card {
    background: var(--sk-card);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(247, 183, 49, 0.10), 0 2px 8px rgba(0,0,0,0.04);
    padding: 36px 28px 28px;
    max-width: 420px;
    width: 100%;
    border: 1px solid var(--sk-border);
}

.sk-auth-card-center { text-align: center; }

.sk-auth-logo {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1;
}

.sk-auth-title {
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
    color: var(--sk-night);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.sk-auth-sub {
    text-align: center;
    color: var(--sk-gray);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.sk-auth-foot {
    text-align: center;
    color: var(--sk-gray);
    font-size: 0.9rem;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--sk-border);
}

/* ─── Forms ───────────────────────────────────────────────── */

.sk-form { display: block; }

.sk-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sk-col { min-width: 0; }

.sk-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sk-gray);
    margin-top: 12px;
    margin-bottom: 6px;
}

.sk-input {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid var(--sk-border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--sk-night);
    background: var(--sk-light);
    transition: border-color 0.15s, background 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.sk-input:focus {
    outline: none;
    border-color: var(--sk-sun);
    background: white;
}

.sk-input::placeholder { color: #c9bfae; }

.sk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    margin-top: 18px;
    transition: transform 0.1s, box-shadow 0.15s, opacity 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.sk-btn-primary {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: var(--sk-night);
    box-shadow: 0 4px 14px rgba(232, 65, 26, 0.20);
}

.sk-btn-primary:hover { box-shadow: 0 6px 20px rgba(232, 65, 26, 0.28); }
.sk-btn-primary:active:not(:disabled) { transform: translateY(1px); }
.sk-btn:disabled { opacity: 0.6; cursor: wait; }

.sk-form-error {
    color: var(--sk-fire);
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    min-height: 18px;
}

.sk-form-help {
    color: var(--sk-gray);
    font-size: 0.82rem;
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.sk-divider {
    display: flex;
    align-items: center;
    margin: 24px 0 16px;
    color: var(--sk-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sk-divider::before, .sk-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sk-border);
}

.sk-divider span { padding: 0 14px; }

.sk-link {
    color: var(--sk-fire);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.sk-link:hover { text-decoration: underline; }

.sk-link-strong {
    color: var(--sk-fire);
    text-decoration: none;
    font-weight: 700;
}
.sk-link-strong:hover { text-decoration: underline; }

.sk-link-block {
    display: block;
    text-align: center;
    padding: 12px;
    margin-top: 12px;
}

.sk-link-back {
    color: var(--sk-gray);
    margin-top: 16px;
}

.sk-msg {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 18px;
    text-align: center;
    line-height: 1.4;
}
.sk-msg-info {
    background: rgba(247, 183, 49, 0.10);
    border: 1px solid rgba(247, 183, 49, 0.4);
    color: #8b6512;
}

.sk-big-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 12px;
    animation: sk-bounce 0.5s ease-out;
}

@keyframes sk-bounce {
    0%   { transform: scale(0.4); opacity: 0; }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.sk-email-pill {
    display: inline-block;
    padding: 10px 18px;
    background: var(--sk-light);
    border: 1px solid var(--sk-border);
    border-radius: 999px;
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: 0.92rem;
    color: var(--sk-night);
    margin: 12px 0 16px;
    word-break: break-all;
}

/* ─── Home temp (Dan 2) ─────────────────────────────────── */

.sk-home-temp {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.sk-home-hello h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sk-night);
    letter-spacing: -0.02em;
}

.sk-home-sub {
    color: var(--sk-gray);
    margin-top: 6px;
    margin-bottom: 28px;
}

.sk-home-card {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    border-radius: 22px;
    padding: 28px 24px;
    color: var(--sk-night);
    text-align: center;
    box-shadow: 0 12px 32px rgba(232, 65, 26, 0.20);
}

.sk-home-tier {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(0,0,0,0.10);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.sk-home-points { margin-bottom: 12px; }

.sk-home-pts-num {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.sk-home-pts-lbl {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.7;
}

.sk-home-next {
    font-size: 0.85rem;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.12);
    line-height: 1.5;
}

.sk-home-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.sk-home-stat {
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.sk-home-stat .n {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sk-night);
}

.sk-home-stat .l {
    display: block;
    font-size: 0.75rem;
    color: var(--sk-gray);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sk-home-foot {
    text-align: center;
    color: var(--sk-gray);
    font-size: 0.85rem;
    margin-top: 28px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   DAN 3 — Glavni app UI
   ═══════════════════════════════════════════════════════════ */

.sk-screen {
    max-width: 440px;
    margin: 0 auto;
    padding: 0 20px 120px;
    min-height: 100vh;
    min-height: 100dvh;
    animation: sk-screen-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes sk-screen-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.sk-home-spacer { height: 40px; }

/* ─── Header ─────────────────────────────────────────────── */

.sk-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0 24px;
}

.sk-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sk-night);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(232, 65, 26, 0.20);
    overflow: hidden;
}

.sk-avatar img { width: 100%; height: 100%; object-fit: cover; }

.sk-avatar-big {
    width: 88px;
    height: 88px;
    font-size: 1.8rem;
    margin: 8px auto 16px;
    box-shadow: 0 4px 16px rgba(232, 65, 26, 0.22);
}

.sk-header-text { flex: 1; min-width: 0; }

.sk-header-text h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sk-night);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sk-header-text p {
    color: var(--sk-gray);
    font-size: 0.88rem;
    margin-top: 2px;
}

.sk-wave {
    display: inline-block;
    animation: sk-wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes sk-wave {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(14deg); }
}

/* ─── Page header (za sub-stranice) ──────────────────────── */

.sk-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0 20px;
}

.sk-page-header h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sk-night);
    flex: 1;
    text-align: center;
}

.sk-back-btn,
.sk-spacer {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--sk-night);
    text-decoration: none;
    flex-shrink: 0;
}

.sk-back-btn {
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    transition: background 0.15s;
}
.sk-back-btn:hover { background: var(--sk-light); }
.sk-back-btn svg { width: 20px; height: 20px; }

/* ─── Mini kartica na home ──────────────────────────────── */

.sk-card-mini {
    display: block;
    position: relative;
    border-radius: 22px;
    padding: 22px 20px;
    text-decoration: none;
    color: var(--sk-night);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(232, 65, 26, 0.16);
    transition: transform 0.15s, box-shadow 0.15s;
}

.sk-card-mini:active { transform: scale(0.98); }

.sk-card-mini-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 110% -10%, #FFD56B, transparent 60%),
        radial-gradient(circle at -10% 110%, #FF6B2C, transparent 60%),
        linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    z-index: 0;
}

.sk-card-mini-content {
    position: relative;
    z-index: 1;
}

.sk-card-mini-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sk-card-mini-tier {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0,0,0,0.12);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.sk-card-mini-arrow {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.10);
    border-radius: 50%;
}
.sk-card-mini-arrow svg { width: 16px; height: 16px; }

.sk-card-mini-points strong {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
}
.sk-card-mini-points span {
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.65;
    margin-top: 2px;
    display: inline-block;
}

.sk-card-mini-lifetime {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.75;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.10);
}

.sk-card-mini-lifetime strong { font-weight: 800; }

.sk-card-mini-progress {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.10);
}

.sk-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.12);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.sk-progress-bar span {
    display: block;
    height: 100%;
    background: rgba(0,0,0,0.55);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.sk-card-mini-progress p {
    font-size: 0.82rem;
    line-height: 1.4;
    opacity: 0.85;
}

/* ─── Section title ─────────────────────────────────────── */

.sk-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sk-gray);
    margin: 28px 0 12px;
    padding-left: 4px;
}

.sk-section-empty {
    background: var(--sk-card);
    border: 1.5px dashed var(--sk-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: var(--sk-gray);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ─── Quick actions grid ───────────────────────────────── */

.sk-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sk-quick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 6px;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--sk-night);
    font-size: 0.75rem;
    font-weight: 600;
    transition: transform 0.12s, background 0.15s;
}

.sk-quick:active { transform: scale(0.96); }
.sk-quick:hover { background: var(--sk-light); }

.sk-quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.sk-quick-icon svg { width: 22px; height: 22px; }

.sk-quick-icon-sun  { background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire)); }
.sk-quick-icon-blue { background: linear-gradient(135deg, #5B9CF2, #3B82F6); }
.sk-quick-icon-pink { background: linear-gradient(135deg, #F472B6, #EC4899); }
.sk-quick-icon-gray { background: linear-gradient(135deg, #94A3B8, #64748B); }

/* ─── Event card (na home) ─────────────────────────────── */

.sk-event-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 18px;
    text-decoration: none;
    color: var(--sk-night);
    transition: transform 0.12s, box-shadow 0.15s;
}
.sk-event-card:active { transform: scale(0.98); }
.sk-event-card:hover { box-shadow: var(--sk-shadow); }

.sk-event-img {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.sk-event-img-placeholder {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.sk-event-info { flex: 1; min-width: 0; padding: 2px 0; }
.sk-event-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.sk-event-info p {
    font-size: 0.82rem;
    color: var(--sk-gray);
    margin: 0;
}
.sk-event-loc { margin-top: 2px !important; }

/* ─── Sunčana kartica fullscreen ────────────────────────── */

.sk-screen-kartica {
    background:
      radial-gradient(circle at 20% 20%, rgba(247,183,49,0.10), transparent 40%),
      radial-gradient(circle at 80% 80%, rgba(232,65,26,0.08), transparent 40%);
}

.sk-kartica-wrap { padding: 8px 0 40px; }

.sk-kartica {
    position: relative;
    border-radius: 28px;
    padding: 28px 24px 24px;
    color: var(--sk-night);
    overflow: hidden;
    background:
        radial-gradient(circle at 120% -10%, #FFD56B, transparent 55%),
        radial-gradient(circle at -10% 110%, #FF6B2C, transparent 50%),
        linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    box-shadow:
        0 20px 50px rgba(232, 65, 26, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.sk-kartica-big {
    transform: scale(1.02);
}

.sk-kartica::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    border-radius: 27px;
    border: 1px solid rgba(255,255,255,0.25);
    pointer-events: none;
}

.sk-kartica-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sk-kartica-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.sk-kartica-brand {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sk-kartica-brand-sub {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 2px;
    opacity: 0.9;
}

.sk-kartica-sun {
    font-size: 2.4rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.sk-kartica-tier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.sk-kartica-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(0,0,0,0.15);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sk-night);
}

.sk-kartica-pts {
    text-align: right;
    line-height: 1;
}
.sk-kartica-pts strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.sk-kartica-pts span {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.7;
}

.sk-kartica-qr-box {
    background: white;
    border-radius: 16px;
    padding: 14px;
    margin: 22px auto 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    width: 220px;
    height: 220px;
}

.sk-kartica-qr { width: 100%; height: 100%; display: block; }

.sk-kartica-name {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 4px;
}

.sk-kartica-number {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    opacity: 0.75;
    font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', monospace;
}

.sk-kartica-lifetime {
    text-align: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.12);
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.8;
}

.sk-kartica-lifetime strong { font-weight: 800; }

.sk-kartica-qr {
    width: 100%;
    height: 100%;
    display: block;
}

.sk-kartica-qr svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sk-qr-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ccc;
    font-size: 2rem;
    animation: sk-qr-pulse 1s ease-in-out infinite;
}

@keyframes sk-qr-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.sk-kartica-valid {
    text-align: center;
    color: var(--sk-gray);
    font-size: 0.82rem;
    margin-top: 14px;
}

.sk-info-box {
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 18px;
    padding: 18px 20px;
    margin-top: 20px;
}

.sk-info-box h3 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--sk-night);
}

.sk-info-box ul {
    list-style: none;
}

.sk-info-box li {
    font-size: 0.9rem;
    color: var(--sk-night);
    padding: 6px 0;
    line-height: 1.4;
}

.sk-link-how {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    margin-top: 14px;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 14px;
    color: var(--sk-fire);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background 0.15s;
}
.sk-link-how:hover { background: var(--sk-light); }
.sk-link-how svg { width: 18px; height: 18px; }

/* ─── Empty state ───────────────────────────────────────── */

.sk-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--sk-gray);
}

.sk-empty-icon {
    font-size: 4rem;
    margin-bottom: 14px;
}

.sk-empty h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sk-night);
    margin-bottom: 10px;
}

.sk-empty p {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
}

/* ─── Profil ────────────────────────────────────────────── */

.sk-profile-top {
    text-align: center;
    padding: 8px 0 24px;
}

.sk-profile-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sk-night);
    margin-bottom: 4px;
}

.sk-profile-email {
    color: var(--sk-gray);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.sk-profile-tier {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: var(--sk-night);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(232, 65, 26, 0.20);
}

.sk-profile-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 18px;
    margin: 8px 0 20px;
}

.sk-profile-stats > div:not(.sk-stat-sep) {
    flex: 1;
    text-align: center;
}

.sk-profile-stats strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--sk-night);
    letter-spacing: -0.02em;
}

.sk-profile-stats span {
    display: block;
    font-size: 0.72rem;
    color: var(--sk-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
    font-weight: 600;
}

.sk-stat-sep {
    width: 1px;
    height: 32px;
    background: var(--sk-border);
}

/* ─── Menu ──────────────────────────────────────────────── */

.sk-menu {
    display: flex;
    flex-direction: column;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 18px;
    overflow: hidden;
}

.sk-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--sk-night);
    border-bottom: 1px solid var(--sk-border);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.12s;
}

.sk-menu-item:last-child { border-bottom: none; }
.sk-menu-item:hover { background: var(--sk-light); }

.sk-menu-item > span { flex: 1; }
.sk-menu-item > svg:last-child {
    width: 18px;
    height: 18px;
    color: var(--sk-gray);
}

.sk-menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--sk-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sk-gray);
    flex-shrink: 0;
}
.sk-menu-icon svg { width: 18px; height: 18px; }

.sk-menu-icon-sun {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: white;
}

.sk-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    background: transparent;
    border: 1.5px solid #f0d0d0;
    border-radius: 14px;
    color: #b91c1c;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s;
}
.sk-logout-btn:hover { background: rgba(185, 28, 28, 0.05); }
.sk-logout-btn svg { width: 18px; height: 18px; }

.sk-version-footer {
    text-align: center;
    color: var(--sk-gray);
    font-size: 0.75rem;
    margin-top: 16px;
}

/* ─── Form padded (za profile edit) ───────────────────── */

.sk-form-padded { margin-top: 8px; }

.sk-input-readonly {
    background: var(--sk-light) !important;
    color: var(--sk-gray);
    cursor: not-allowed;
}

/* ─── Bottom navigacija ─────────────────────────────────── */

.sk-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 440px;
    margin: 0 auto;
    background: var(--sk-card);
    border-top: 1px solid var(--sk-border);
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0));
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}

.sk-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 4px 8px;
    text-decoration: none;
    color: var(--sk-gray);
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 10px;
    transition: color 0.15s, background 0.15s;
}

.sk-nav-item:active { background: var(--sk-light); }

.sk-nav-item svg {
    width: 22px;
    height: 22px;
    transition: transform 0.2s;
}

.sk-nav-active {
    color: var(--sk-fire);
}

.sk-nav-active svg {
    transform: scale(1.1);
}

.sk-nav-active span {
    color: var(--sk-fire);
}

/* ═══════════════════════════════════════════════════════════
   DAN 4.1 — Događaji
   ═══════════════════════════════════════════════════════════ */

/* Tabs (Nadolazeći / Prošli) */
.sk-tabs-row {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 14px;
    margin-bottom: 16px;
}

.sk-tab {
    flex: 1;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sk-gray);
    transition: all 0.15s;
}

.sk-tab:hover { color: var(--sk-night); }

.sk-tab-active {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: var(--sk-night);
    box-shadow: 0 2px 8px rgba(232, 65, 26, 0.15);
}

.sk-tab-active:hover { color: var(--sk-night); }

/* Lista evenata */
.sk-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sk-event-list-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--sk-night);
    transition: transform 0.12s, box-shadow 0.15s;
}

.sk-event-list-item:active { transform: scale(0.98); }
.sk-event-list-item:hover {
    box-shadow: 0 4px 16px rgba(247, 183, 49, 0.10);
    border-color: var(--sk-sun);
}

.sk-event-past { opacity: 0.65; }

.sk-event-list-img {
    width: 90px;
    height: 110px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: var(--sk-light);
}

.sk-event-list-img-placeholder {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
}

.sk-event-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.sk-event-list-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--sk-fire);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sk-event-list-date strong { font-weight: 800; }
.sk-event-list-date span { color: var(--sk-gray); font-weight: 600; }

.sk-event-list-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 4px 0 6px;
    line-height: 1.25;
    color: var(--sk-night);
}

.sk-event-list-meta {
    color: var(--sk-gray);
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: auto;
}

.sk-event-list-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

.sk-event-list-type {
    font-size: 0.72rem;
    color: var(--sk-gray);
    padding: 3px 10px;
    background: var(--sk-light);
    border-radius: 999px;
    font-weight: 600;
}

.sk-event-list-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--sk-fire);
}

.sk-event-list-price-free {
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Detalj eventa ───────────────────────────────────────── */

.sk-screen-event {
    padding: 0 0 120px;
    max-width: 440px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
}

.sk-page-header-float {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-width: 440px;
    margin: 0 auto;
    padding: 16px 20px;
    z-index: 10;
    pointer-events: none;
}

.sk-page-header-float > * { pointer-events: auto; }

.sk-back-btn-float {
    background: rgba(0, 0, 0, 0.45);
    color: white;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
}

.sk-back-btn-float:hover { background: rgba(0, 0, 0, 0.6); }

.sk-event-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--sk-light);
}

.sk-event-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sk-event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 40%, transparent 60%, rgba(250,244,232,0.9) 100%);
}

.sk-event-hero-placeholder {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    display: flex;
    align-items: center;
    justify-content: center;
}

.sk-event-hero-sun { font-size: 5rem; color: white; }

.sk-event-content {
    padding: 0 20px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.sk-event-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.sk-event-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sk-event-badge-type {
    background: rgba(255, 255, 255, 0.95);
    color: var(--sk-night);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.sk-event-badge-past {
    background: rgba(100, 116, 139, 0.95);
    color: white;
}

.sk-event-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--sk-night);
    margin-bottom: 18px;
}

.sk-event-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 16px;
    padding: 6px 16px;
}

.sk-event-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sk-border);
    text-decoration: none;
    color: var(--sk-night);
}

.sk-event-meta:last-child { border-bottom: none; }

.sk-event-meta-link:hover { opacity: 0.75; }

.sk-event-meta-icon {
    font-size: 1.3rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sk-event-meta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sk-event-meta-text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--sk-night);
    line-height: 1.3;
}

.sk-event-meta-text span {
    font-size: 0.8rem;
    color: var(--sk-gray);
    line-height: 1.3;
}

.sk-event-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--sk-night);
    margin-bottom: 24px;
}

.sk-event-description p { margin-bottom: 12px; }
.sk-event-description p:last-child { margin-bottom: 0; }
.sk-event-description strong { font-weight: 700; }
.sk-event-description a { color: var(--sk-fire); font-weight: 600; }

.sk-event-cta-wrap { margin-top: 24px; }

.sk-btn-cta {
    font-size: 1.05rem;
    padding: 16px 20px;
    margin-top: 0;
}

.sk-btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    border: 1.5px dashed var(--sk-border);
    border-radius: 12px;
    background: var(--sk-light);
    color: var(--sk-gray);
    text-decoration: none;
    font-family: inherit;
}

.sk-btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    text-decoration: none;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.20);
}

.sk-event-cta-note {
    text-align: center;
    color: var(--sk-gray);
    font-size: 0.82rem;
    margin-top: 12px;
    line-height: 1.4;
}

/* ─── Home: sljedeći događaji grupirano po danu (Dan 4.1.1) ─ */

.sk-next-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 28px 0 12px;
    padding: 0 4px;
    gap: 10px;
}

.sk-next-head .sk-section-title {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.sk-next-date {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sk-fire);
    text-transform: capitalize;
    text-align: right;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sk-next-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sk-event-free {
    color: #22c55e;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   DAN 4.3a — Moje ulaznice (lista + detalj + home preview)
   ═══════════════════════════════════════════════════════════ */

/* Home: mini preview "Sljedeća ulaznica" */
.sk-home-ticket-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border: 1.5px solid var(--sk-sun);
    border-radius: 16px;
    text-decoration: none;
    color: var(--sk-night);
    margin-bottom: 16px;
    transition: transform 0.12s, box-shadow 0.15s;
}

.sk-home-ticket-card:active { transform: scale(0.98); }
.sk-home-ticket-card:hover {
    box-shadow: 0 4px 16px rgba(247, 183, 49, 0.25);
}

.sk-home-ticket-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(232,65,26,0.10);
}

.sk-home-ticket-info {
    flex: 1;
    min-width: 0;
}

.sk-home-ticket-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.25;
    color: var(--sk-night);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sk-home-ticket-info p {
    font-size: 0.78rem;
    color: var(--sk-gray);
    margin: 0;
    line-height: 1.3;
}

.sk-home-ticket-num {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 0.7rem !important;
    color: var(--sk-fire) !important;
    font-weight: 700;
    margin-top: 2px !important;
    letter-spacing: 0.02em;
}

.sk-home-ticket-arrow {
    font-size: 1.2rem;
    color: var(--sk-fire);
    font-weight: 700;
    flex-shrink: 0;
}

/* ─── Lista ulaznica po eventu ───────────────────────────── */

.sk-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sk-tickets-event {
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 18px;
    overflow: hidden;
}

.sk-tickets-event.sk-event-past { opacity: 0.65; }

.sk-tickets-event-head {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(to bottom, rgba(247,183,49,0.06), transparent);
}

.sk-tickets-event-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: var(--sk-light);
}

.sk-tickets-event-img-ph {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.sk-tickets-event-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sk-tickets-event-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.2;
}

.sk-tickets-event-info p {
    font-size: 0.8rem;
    color: var(--sk-gray);
    margin: 0;
    line-height: 1.3;
}

.sk-tickets-event-loc {
    margin-top: 2px !important;
}

/* Ticket chips (pojedinačne ulaznice za event) */
.sk-tickets-chips {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--sk-border);
}

.sk-ticket-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--sk-card);
    text-decoration: none;
    color: var(--sk-night);
    transition: background 0.15s;
}

.sk-ticket-chip:hover { background: var(--sk-light); }
.sk-ticket-chip:active { background: #FFF8E5; }

.sk-ticket-chip-qr {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sk-ticket-chip-qr svg {
    width: 20px;
    height: 20px;
}

.sk-ticket-chip-num {
    flex: 1;
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sk-night);
    letter-spacing: 0.02em;
}

.sk-ticket-chip-arrow {
    color: var(--sk-fire);
    font-size: 1.1rem;
    font-weight: 700;
}

.sk-ticket-chip-badge {
    font-size: 0.72rem;
    color: #22c55e;
    font-weight: 700;
    background: rgba(34,197,94,0.12);
    padding: 3px 10px;
    border-radius: 999px;
}

.sk-ticket-chip-used { opacity: 0.6; }
.sk-ticket-chip-used .sk-ticket-chip-qr {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
}

/* ─── Detalj ulaznice — fullscreen QR kartica ───────────── */

.sk-screen-ticket {
    background: linear-gradient(to bottom, #FFF8E5, #FAF4E8);
    min-height: 100vh;
    min-height: 100dvh;
}

.sk-ticket-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(232, 65, 26, 0.12);
    padding: 24px;
    margin: 16px;
    text-align: center;
    border: 2px solid var(--sk-sun);
}

.sk-ticket-card-used {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.sk-ticket-card-used .sk-ticket-qr-wrap {
    opacity: 0.5;
}

.sk-ticket-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 10px;
}

.sk-ticket-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sk-ticket-brand-sun {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.sk-ticket-brand-txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.sk-ticket-brand-txt strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--sk-night);
}

.sk-ticket-brand-txt span {
    font-size: 0.72rem;
    color: var(--sk-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.sk-ticket-used-badge {
    background: #cbd5e1;
    color: #475569;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.sk-ticket-event {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 4px 0 20px;
    line-height: 1.2;
    color: var(--sk-night);
    letter-spacing: -0.02em;
}

.sk-ticket-qr-wrap {
    background: white;
    padding: 16px;
    border-radius: 16px;
    margin: 0 auto 16px;
    display: inline-block;
    border: 1px solid var(--sk-border);
}

.sk-ticket-qr {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    display: block;
}

.sk-ticket-qr svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sk-ticket-number {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 1rem;
    font-weight: 800;
    color: var(--sk-night);
    letter-spacing: 0.05em;
    padding: 8px 14px;
    background: var(--sk-light);
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.sk-ticket-meta {
    text-align: left;
    background: var(--sk-light);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 8px;
}

.sk-ticket-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.88rem;
}

.sk-ticket-meta-row:last-child { border-bottom: none; }

.sk-ticket-meta-label {
    color: var(--sk-gray);
    font-weight: 600;
}

.sk-ticket-meta-value {
    color: var(--sk-night);
    font-weight: 700;
    text-align: right;
}

.sk-ticket-note {
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(247, 183, 49, 0.10);
    border-radius: 12px;
    font-size: 0.82rem;
    color: var(--sk-night);
    line-height: 1.4;
    text-align: left;
}

/* ═══════════════════════════════════════════════════════════
   DAN 4.3b — Check-in + Poveži ulaznicu + Event detail tickets
   ═══════════════════════════════════════════════════════════ */

/* ─── Check-in success/error screen ─────────────────────── */

.sk-screen-checkin {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #FFF8E5 0%, #FAF4E8 100%);
}

.sk-checkin-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(232, 65, 26, 0.12);
    padding: 32px 24px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    border: 2px solid var(--sk-sun);
}

.sk-checkin-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 44px;
    color: white;
    font-weight: 800;
    line-height: 1;
}

.sk-checkin-icon-success {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.30);
}

.sk-checkin-icon-info {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

.sk-checkin-icon-error {
    background: linear-gradient(135deg, #fb923c, #ef4444);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25);
}

.sk-checkin-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--sk-night);
    letter-spacing: -0.02em;
}

.sk-checkin-sub {
    font-size: 1rem;
    color: var(--sk-night);
    line-height: 1.5;
    margin: 0 0 16px;
}

.sk-checkin-points {
    display: inline-block;
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: white;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 0 14px;
    box-shadow: 0 4px 16px rgba(247,183,49,0.40);
}

.sk-checkin-note {
    font-size: 0.88rem;
    color: var(--sk-gray);
    margin: 0 0 24px;
    line-height: 1.5;
}

.sk-checkin-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

/* ─── Poveži ulaznicu ekran ──────────────────────────────── */

.sk-link-ticket-intro {
    text-align: center;
    padding: 20px 12px 0;
}

.sk-link-ticket-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.sk-link-ticket-intro h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--sk-night);
    line-height: 1.3;
}

.sk-link-ticket-intro p {
    font-size: 0.92rem;
    color: var(--sk-gray);
    line-height: 1.5;
    margin: 0 0 20px;
}

.sk-link-ticket-form {
    padding: 0 12px;
    display: flex;
    flex-direction: column;
}

.sk-input-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sk-night);
    margin-bottom: 6px;
    display: block;
}

.sk-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--sk-border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: var(--sk-night);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.sk-input:focus {
    outline: none;
    border-color: var(--sk-sun);
    box-shadow: 0 0 0 4px rgba(247,183,49,0.15);
}

.sk-input-large { font-size: 1.05rem; padding: 16px 18px; }

.sk-input-help {
    font-size: 0.78rem;
    color: var(--sk-gray);
    margin: 6px 4px 0;
    line-height: 1.4;
}

.sk-alert {
    margin: 0 12px 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.4;
}

.sk-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.sk-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1.5px solid var(--sk-border);
    border-radius: 12px;
    background: transparent;
    color: var(--sk-night);
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
}

.sk-btn-ghost:hover { background: var(--sk-light); }

/* ─── Moje ulaznice: "Poveži ulaznicu" gumb na listi ──── */

.sk-tickets-top-actions {
    margin-bottom: 12px;
}

.sk-tickets-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    background: var(--sk-card);
    border: 1.5px dashed var(--sk-sun);
    border-radius: 12px;
    color: var(--sk-fire);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}

.sk-tickets-link-btn:hover { background: #FFF8E5; }

/* ─── Event detail: "Moje ulaznice za ovaj event" ──────── */

.sk-event-mytickets {
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border: 1.5px solid var(--sk-sun);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 20px;
}

.sk-event-mytickets-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.sk-event-mytickets-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(232,65,26,0.12);
}

.sk-event-mytickets-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sk-event-mytickets-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--sk-night);
    line-height: 1.2;
}

.sk-event-mytickets-text span {
    font-size: 0.78rem;
    color: var(--sk-gray);
}

.sk-event-mytickets-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sk-event-myticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: var(--sk-night);
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.12s;
}

.sk-event-myticket:active { transform: scale(0.98); }
.sk-event-myticket:hover { background: #FFF8E5; }

.sk-event-myticket-num {
    color: var(--sk-night);
}

.sk-event-myticket-arrow {
    color: var(--sk-fire);
    font-weight: 800;
    font-size: 1.1rem;
}

.sk-event-myticket-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34,197,94,0.12);
    padding: 3px 10px;
    border-radius: 999px;
    font-family: inherit;
    letter-spacing: 0;
}

.sk-event-myticket-used {
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   DAN 4.4 — Universal Scanner
   ═══════════════════════════════════════════════════════════ */

/* ─── Scanner login screen ──────────────────────────────── */

.sk-screen-scanner-login {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #0F0E0C 0%, #1e1a15 100%);
}

.sk-scanner-login-card {
    background: white;
    border-radius: 20px;
    padding: 28px 22px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.sk-scanner-login-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 8px;
    color: var(--sk-night);
}

.sk-scanner-login-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
}

.sk-scanner-login-sub {
    text-align: center;
    color: var(--sk-gray);
    font-size: 0.92rem;
    margin: 0 0 20px;
}

.sk-input-pin {
    font-size: 1.6rem !important;
    font-family: 'SF Mono', Consolas, monospace !important;
    letter-spacing: 0.5em !important;
    text-align: center !important;
    font-weight: 700 !important;
    padding: 18px 10px !important;
}

/* ─── Scanner main screen ───────────────────────────────── */

.sk-screen-scanner {
    background: #0F0E0C;
    min-height: 100vh;
    min-height: 100dvh;
    color: white;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.sk-scanner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    position: relative;
    z-index: 10;
}

.sk-scanner-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sk-scanner-device {
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
}

.sk-scanner-event {
    font-size: 0.78rem;
    color: #F7B731;
    font-weight: 600;
}

.sk-scanner-logout {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

/* ─── Live stats bar ────────────────────────────────────── */

.sk-scanner-stats {
    display: flex;
    gap: 10px;
    padding: 8px 16px 12px;
    position: relative;
    z-index: 10;
}

.sk-scanner-stat {
    flex: 1;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 8px 6px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.sk-scanner-stat-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: #F7B731;
}

.sk-scanner-stat-lbl {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    margin-top: 3px;
}

/* ─── Camera container ──────────────────────────────────── */

.sk-scanner-camera-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 320px;
    background: black;
}

#sk-scanner-camera {
    width: 100%;
    height: 100%;
    min-height: 320px;
    position: relative;
}

#sk-scanner-camera video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.sk-scanner-target {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border: 3px solid #F7B731;
    border-radius: 24px;
    pointer-events: none;
    box-shadow: 0 0 0 100vmax rgba(0,0,0,0.45);
    z-index: 5;
}

.sk-scanner-target-line {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #F7B731 50%, transparent 100%);
    animation: scan-line 2.2s ease-in-out infinite;
}

@keyframes scan-line {
    0%, 100% { top: 0; opacity: 0.5; }
    50% { top: calc(100% - 2px); opacity: 1; }
}

/* ─── Manual input fallback ─────────────────────────────── */

.sk-scanner-manual {
    padding: 14px 16px 20px;
    background: rgba(0,0,0,0.6);
    position: relative;
    z-index: 10;
}

.sk-scanner-manual summary {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    cursor: pointer;
    text-align: center;
    padding: 6px;
}

.sk-scanner-manual-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.sk-scanner-manual-form .sk-input {
    flex: 1;
    font-family: monospace;
    text-transform: uppercase;
}

.sk-scanner-manual-form .sk-btn {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    padding: 10px 16px;
}

/* ─── Result overlay ────────────────────────────────────── */

.sk-scanner-result {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sk-scanner-result.sk-scanner-result-active {
    display: flex;
    animation: fade-in 0.15s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sk-scanner-result-inner {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    animation: pop-in 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-in {
    from { transform: scale(0.75); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.sk-scanner-result-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin: 0 auto 16px;
    line-height: 1;
}

.sk-scanner-result-success .sk-scanner-result-icon {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    box-shadow: 0 0 40px rgba(34,197,94,0.5);
}

.sk-scanner-result-warning .sk-scanner-result-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 40px rgba(245,158,11,0.5);
}

.sk-scanner-result-error .sk-scanner-result-icon {
    background: linear-gradient(135deg, #f87171, #ef4444);
    box-shadow: 0 0 40px rgba(239,68,68,0.5);
}

.sk-scanner-result-info .sk-scanner-result-icon {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 0 40px rgba(59,130,246,0.5);
}

.sk-scanner-result-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F0E0C;
    margin-bottom: 6px;
    line-height: 1.2;
}

.sk-scanner-result-sub {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.4;
}

.sk-scanner-result-body {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 8px;
    line-height: 1.5;
    word-break: break-word;
}

.sk-scanner-result-body code {
    background: rgba(247, 183, 49, 0.18);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 700;
    color: #E8411A;
}

.sk-scanner-result-body:empty {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   DAN 4.4.1 — Prošireni member view u scanneru
   ═══════════════════════════════════════════════════════════ */

/* Kad je member detail prikazan, result inner je veći */
.sk-scanner-result-memberview .sk-scanner-result-inner {
    max-width: 500px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 20px 16px;
}

.sk-scanner-result-memberview .sk-scanner-result-icon {
    width: 68px;
    height: 68px;
    font-size: 36px;
    margin-bottom: 8px;
}

.sk-scanner-result-memberview .sk-scanner-result-title {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.sk-scanner-result-memberview .sk-scanner-result-body {
    text-align: left;
    background: transparent;
    padding: 0;
}

/* Member detail block */

.sk-member-detail {
    text-align: left;
}

.sk-member-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border-radius: 12px;
    border: 1px solid rgba(247, 183, 49, 0.3);
    margin-bottom: 14px;
}

.sk-member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(232,65,26,0.15);
}

.sk-member-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--sk-night);
    line-height: 1.2;
    margin-bottom: 2px;
}

.sk-member-meta {
    font-size: 0.78rem;
    color: var(--sk-gray);
    line-height: 1.3;
}

.sk-member-meta strong {
    color: var(--sk-fire);
    font-weight: 700;
}

.sk-member-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sk-gray);
    margin: 8px 0 6px;
    padding-left: 2px;
}

.sk-member-tickets {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sk-member-ticket {
    background: white;
    border: 1.5px solid var(--sk-border);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.sk-member-ticket.is-free {
    border-color: #22c55e;
    background: #f0fdf4;
}

.sk-member-ticket.is-used {
    opacity: 0.65;
    background: #f8fafc;
}

.sk-member-ticket-info {
    flex: 1;
    min-width: 0;
}

.sk-member-ticket-num {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sk-night);
    margin-bottom: 2px;
    word-break: break-all;
}

.sk-member-ticket-status {
    font-size: 0.72rem;
    color: var(--sk-gray);
}

.sk-member-ticket.is-free .sk-member-ticket-status {
    color: #15803d;
    font-weight: 600;
}

.sk-member-checkin-btn {
    width: auto !important;
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    margin: 0 !important;
    flex-shrink: 0;
    white-space: nowrap;
}

.sk-member-checkin-btn[disabled] {
    opacity: 0.5;
    cursor: wait;
}

.sk-member-empty {
    padding: 12px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #78350f;
    text-align: center;
    line-height: 1.4;
}

.sk-member-other-tickets {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sk-member-other-ticket {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 10px;
}

.sk-mot-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sk-night);
    line-height: 1.2;
}

.sk-mot-meta {
    font-size: 0.7rem;
    color: var(--sk-gray);
    font-family: monospace;
    margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════
   DAN 4.5 — Rewards (Nagrade)
   ═══════════════════════════════════════════════════════════ */

/* ─── Bodova balance (top bar u katalogu) ─────────────── */

.sk-rewards-balance {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: white;
    padding: 14px 18px;
    border-radius: 16px;
    margin: 4px 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(232, 65, 26, 0.20);
}

.sk-rewards-balance-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.95;
}

.sk-rewards-balance-val {
    font-size: 1.4rem;
    font-weight: 800;
}

.sk-rewards-myawards-link {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: var(--sk-fire);
    font-weight: 700;
    text-decoration: none;
    padding: 6px 0;
}

/* ─── Katalog grid ────────────────────────────────────── */

.sk-rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 2px;
}

.sk-reward-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1.5px solid var(--sk-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.12s, box-shadow 0.12s;
}

.sk-reward-card:active { transform: scale(0.97); }
.sk-reward-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }

.sk-reward-card.is-soldout {
    opacity: 0.55;
}

.sk-reward-card.is-expensive {
    border-color: var(--sk-border);
}

.sk-reward-image {
    width: 100%;
    padding-bottom: 70%;
    background-size: cover;
    background-position: center;
    background-color: #FAF4E8;
    position: relative;
}

.sk-reward-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    min-height: 110px;
}

.sk-reward-image-placeholder span {
    font-size: 52px;
    opacity: 0.7;
}

.sk-reward-content {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sk-reward-type {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sk-gray);
}

.sk-reward-name {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--sk-night);
    min-height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sk-reward-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.sk-reward-price {
    font-size: 0.85rem;
    color: var(--sk-night);
}

.sk-reward-price strong {
    font-weight: 800;
    color: var(--sk-fire);
}

.sk-reward-badge {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.sk-reward-badge-ok {
    background: #dcfce7;
    color: #15803d;
}

.sk-reward-badge-soldout {
    background: #fee2e2;
    color: #991b1b;
}

.sk-reward-badge-lowstock {
    background: #fef3c7;
    color: #854d0e;
}

.sk-reward-badge-locked {
    background: #f3f4f6;
    color: #6b7280;
}

/* ─── Reward detail (single) ──────────────────────────── */

.sk-reward-detail-image {
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding-bottom: 56%;
    background-size: cover;
    background-position: center;
    background-color: #FAF4E8;
}

.sk-reward-detail-placeholder {
    padding-bottom: 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sk-reward-detail-placeholder span {
    font-size: 100px;
    opacity: 0.6;
}

.sk-reward-detail-content {
    padding: 16px 2px 0;
}

.sk-reward-detail-type {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sk-gray);
    margin-bottom: 4px;
}

.sk-reward-detail-name {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--sk-night);
}

.sk-reward-detail-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
}

.sk-reward-detail-price-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sk-fire);
}

.sk-reward-detail-price-lbl {
    font-size: 0.88rem;
    color: var(--sk-gray);
}

.sk-reward-detail-desc {
    margin-bottom: 16px;
    color: var(--sk-night);
    line-height: 1.5;
}

.sk-reward-detail-desc p { margin: 0 0 8px; }

/* Linked event (za ticket tip) */
.sk-reward-linked-event {
    background: #FFF8E5;
    border: 1.5px solid var(--sk-sun);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.sk-reward-linked-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.sk-reward-linked-name {
    font-weight: 800;
    color: var(--sk-night);
    font-size: 0.95rem;
    line-height: 1.2;
}

.sk-reward-linked-meta {
    font-size: 0.82rem;
    color: var(--sk-gray);
    margin-top: 2px;
}

/* Donation note */
.sk-reward-donation-note {
    background: #fce7f3;
    border: 1.5px solid #f9a8d4;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.92rem;
    color: #831843;
    line-height: 1.45;
    margin-bottom: 16px;
}

/* Status box */
.sk-reward-status-box {
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.sk-reward-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 0.92rem;
}

.sk-reward-status-row span { color: var(--sk-gray); }
.sk-reward-status-row strong { font-weight: 700; color: var(--sk-night); }

/* ─── Moje nagrade (lista) ─────────────────────────────── */

.sk-my-rewards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sk-my-reward-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1.5px solid var(--sk-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.12s;
}

.sk-my-reward-card:active { transform: scale(0.98); }

.sk-my-reward-pending {
    border-left: 4px solid #f59e0b;
}

.sk-my-reward-delivered {
    border-left: 4px solid #22c55e;
}

.sk-my-reward-cancelled {
    border-left: 4px solid #dc2626;
    opacity: 0.6;
}

.sk-my-reward-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #FFF8E5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.sk-my-reward-body {
    flex: 1;
    min-width: 0;
}

.sk-my-reward-name {
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--sk-night);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sk-my-reward-meta {
    font-size: 0.74rem;
    color: var(--sk-gray);
    margin-bottom: 3px;
    font-family: monospace;
}

.sk-my-reward-meta code {
    background: rgba(232, 65, 26, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--sk-fire);
    font-weight: 700;
}

.sk-my-reward-status {
    font-size: 0.75rem;
    font-weight: 600;
}

.sk-my-reward-pending .sk-my-reward-status { color: #b45309; }
.sk-my-reward-delivered .sk-my-reward-status { color: #15803d; }
.sk-my-reward-cancelled .sk-my-reward-status { color: #b91c1c; }

.sk-my-reward-arrow {
    font-size: 1.2rem;
    color: var(--sk-fire);
    font-weight: 800;
    flex-shrink: 0;
}

/* ─── Detalj moje nagrade (s QR kodom) ────────────────── */

.sk-my-reward-detail {
    text-align: center;
    padding: 20px 2px 0;
}

.sk-my-reward-detail-icon {
    font-size: 4rem;
    margin-bottom: 8px;
}

.sk-my-reward-detail-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sk-night);
    margin: 0 0 4px;
}

.sk-my-reward-detail-type {
    font-size: 0.82rem;
    color: var(--sk-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin: 0 0 16px;
}

.sk-my-reward-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.sk-my-reward-badge small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.85;
    margin-left: 4px;
}

.sk-my-reward-badge-pending {
    background: #fef3c7;
    color: #854d0e;
}

.sk-my-reward-badge-delivered {
    background: #dcfce7;
    color: #15803d;
}

.sk-my-reward-badge-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.sk-my-reward-instructions {
    font-size: 0.88rem;
    color: var(--sk-gray);
    line-height: 1.4;
    margin: 0 0 16px;
}

.sk-my-reward-ticket-link {
    padding: 16px;
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border-radius: 12px;
    border: 1.5px solid var(--sk-sun);
    margin: 16px 0;
    text-align: center;
}

.sk-my-reward-qr-wrap {
    background: white;
    padding: 14px;
    border-radius: 20px;
    border: 2px solid var(--sk-sun);
    display: inline-block;
    margin: 0 auto 12px;
}

.sk-my-reward-qr {
    width: 220px;
    height: 220px;
    display: block;
}

.sk-my-reward-qr svg { width: 100%; height: 100%; display: block; }

.sk-my-reward-code {
    margin: 10px 0 20px;
}

.sk-my-reward-code-lbl {
    font-size: 0.68rem;
    color: var(--sk-gray);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.sk-my-reward-code-val {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--sk-fire);
    letter-spacing: 0.08em;
    margin-top: 3px;
}

.sk-my-reward-meta-list {
    background: var(--sk-card);
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 16px;
    text-align: left;
}

.sk-my-reward-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.88rem;
}

.sk-my-reward-meta-row span { color: var(--sk-gray); }
.sk-my-reward-meta-row strong { color: var(--sk-night); font-weight: 700; }

.sk-alert-success {
    background: #dcfce7;
    color: #15803d;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 0 0 16px;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
}

/* ─── Home card: Nagrade preview ──────────────────────── */

.sk-home-rewards-card {
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border: 1.5px solid var(--sk-sun);
    border-radius: 16px;
    padding: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.sk-home-rewards-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.sk-home-rewards-icon {
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(232,65,26,0.12);
}

.sk-home-rewards-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--sk-night);
    display: block;
    line-height: 1.2;
}

.sk-home-rewards-text span {
    font-size: 0.78rem;
    color: var(--sk-gray);
}

.sk-home-rewards-arrow {
    margin-left: auto;
    font-weight: 800;
    color: var(--sk-fire);
    font-size: 1.1rem;
}

.sk-home-rewards-preview {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
}

.sk-home-rewards-preview::-webkit-scrollbar { display: none; }

.sk-home-reward-mini {
    flex-shrink: 0;
    min-width: 110px;
    max-width: 130px;
    background: white;
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
    border: 1px solid rgba(247,183,49,0.3);
}

.sk-home-reward-mini-icon {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.sk-home-reward-mini-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sk-night);
    line-height: 1.2;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sk-home-reward-mini-price {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--sk-fire);
}

/* ═══════════════════════════════════════════════════════════
   DAN 4.6 — Donacije
   ═══════════════════════════════════════════════════════════ */

/* ─── Landing ────────────────────────────────────────────── */

.sk-donate-intro {
    text-align: center;
    padding: 12px 8px 20px;
}

.sk-donate-intro-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.sk-donate-intro h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sk-night);
    margin: 0 0 6px;
}

.sk-donate-intro p {
    color: var(--sk-gray);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.sk-donate-campaigns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sk-donate-campaign-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 14px;
    background: white;
    border: 1.5px solid var(--sk-border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.12s, box-shadow 0.12s;
}

.sk-donate-campaign-card:hover {
    box-shadow: 0 4px 16px rgba(232, 65, 26, 0.12);
    border-color: var(--sk-sun);
}

.sk-donate-campaign-card:active { transform: scale(0.98); }

.sk-donate-campaign-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
    border: 1px solid rgba(247, 183, 49, 0.3);
}

.sk-donate-campaign-body {
    flex: 1;
    min-width: 0;
}

.sk-donate-campaign-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--sk-night);
    line-height: 1.2;
    margin-bottom: 3px;
}

.sk-donate-campaign-tagline {
    font-size: 0.82rem;
    color: var(--sk-gray);
    line-height: 1.3;
    margin-bottom: 5px;
}

.sk-donate-campaign-points {
    font-size: 0.78rem;
    color: var(--sk-fire);
    font-weight: 700;
}

.sk-donate-campaign-arrow {
    font-size: 1.3rem;
    color: var(--sk-fire);
    font-weight: 800;
    flex-shrink: 0;
}

/* ─── Detalj kampanje ────────────────────────────────────── */

.sk-donate-header {
    text-align: center;
    padding: 16px 0 12px;
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    margin: 0 -16px 16px;
    padding: 24px 16px;
}

.sk-donate-header-icon {
    font-size: 3.5rem;
    margin-bottom: 6px;
}

.sk-donate-header-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sk-night);
    margin: 0 0 4px;
    line-height: 1.2;
}

.sk-donate-header-tagline {
    font-size: 0.92rem;
    color: var(--sk-gray);
    margin: 0;
}

.sk-donate-description {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--sk-night);
    margin-bottom: 18px;
}

.sk-donate-description p { margin: 0 0 10px; }

.sk-donate-section-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: var(--sk-gray);
    margin: 8px 0 10px;
}

.sk-donate-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 8px;
    margin-bottom: 4px;
}

.sk-donate-amount {
    position: relative;
    cursor: pointer;
    background: white;
    border: 2px solid var(--sk-border);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    transition: border-color 0.12s, transform 0.12s;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sk-donate-amount input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sk-donate-amount:active { transform: scale(0.97); }

.sk-donate-amount:has(input:checked) {
    border-color: var(--sk-sun);
    background: #FFF8E5;
}

.sk-donate-amount-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sk-night);
}

.sk-donate-amount-pts {
    font-size: 0.66rem;
    color: var(--sk-fire);
    font-weight: 700;
}

.sk-donate-custom-toggle {
    margin-top: 10px;
}

.sk-donate-custom-toggle summary {
    cursor: pointer;
    padding: 10px 14px;
    background: var(--sk-card);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sk-night);
    list-style: none;
}

.sk-donate-custom-toggle summary::-webkit-details-marker { display: none; }
.sk-donate-custom-toggle summary::before { content: '+ '; color: var(--sk-fire); font-weight: 800; }
.sk-donate-custom-toggle[open] summary::before { content: '− '; }

.sk-donate-custom-body {
    padding: 12px 4px 4px;
}

.sk-donate-honor {
    background: var(--sk-card);
    padding: 10px 12px;
    border-radius: 12px;
}

/* Methods */
.sk-donate-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sk-donate-method-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 14px;
    background: white;
    border: 2px solid var(--sk-border);
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    transition: border-color 0.12s, background 0.12s;
}

.sk-donate-method-btn:hover {
    border-color: var(--sk-sun);
    background: #FFFBEE;
}

.sk-donate-method-btn:active { transform: scale(0.98); }

.sk-donate-method-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.sk-donate-method-icon {
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    background: #FFF8E5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sk-donate-method-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sk-donate-method-body strong {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--sk-night);
}

.sk-donate-method-body span {
    font-size: 0.78rem;
    color: var(--sk-gray);
}

.sk-donate-method-arrow {
    font-size: 1.2rem;
    color: var(--sk-fire);
    font-weight: 800;
}

/* ─── Uplatnica ─────────────────────────────────────────── */

.sk-screen-uplatnica {
    background: var(--sk-card);
}

.sk-uplatnica-card {
    background: white;
    border-radius: 18px;
    padding: 16px;
    border: 1.5px solid var(--sk-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.sk-uplatnica-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sk-border);
    margin-bottom: 14px;
}

.sk-uplatnica-icon {
    font-size: 2.4rem;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sk-uplatnica-campaign {
    font-weight: 800;
    color: var(--sk-night);
    font-size: 1rem;
    line-height: 1.2;
}

.sk-uplatnica-ref {
    font-size: 0.78rem;
    color: var(--sk-gray);
    margin-top: 2px;
    font-family: monospace;
}

.sk-uplatnica-qr-wrap {
    text-align: center;
    padding: 14px 0 10px;
    border-bottom: 1px solid var(--sk-border);
    margin-bottom: 14px;
}

.sk-uplatnica-qr-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sk-night);
    margin-bottom: 10px;
}

.sk-uplatnica-qr {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    padding: 10px;
    background: white;
    border: 2px solid var(--sk-sun);
    border-radius: 12px;
    display: block;
}

.sk-uplatnica-qr svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sk-uplatnica-qr-help {
    font-size: 0.75rem;
    color: var(--sk-gray);
    margin-top: 8px;
    line-height: 1.4;
}

.sk-uplatnica-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sk-uplatnica-field {
    padding: 8px 0;
    border-bottom: 1px solid var(--sk-border);
}

.sk-uplatnica-field:last-child { border-bottom: 0; }

.sk-uplatnica-field-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sk-gray);
    font-weight: 700;
    margin-bottom: 3px;
}

.sk-uplatnica-field-value {
    font-size: 0.92rem;
    color: var(--sk-night);
    line-height: 1.4;
    word-break: break-word;
}

.sk-uplatnica-field-value code {
    font-family: 'SF Mono', Consolas, monospace;
    background: rgba(232, 65, 26, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.92em;
}

.sk-copy-field {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sk-copy-btn {
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.sk-copy-btn:hover { background: var(--sk-sun); }

.sk-uplatnica-note {
    margin-top: 16px;
    padding: 12px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #1e40af;
}

.sk-alert-info {
    background: #eff6ff;
    color: #1e40af;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    border: 1px solid #bfdbfe;
    line-height: 1.4;
}

/* ─── Moje donacije ─────────────────────────────────────── */

.sk-my-donations-summary {
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(247, 183, 49, 0.3);
}

.sk-my-donations-summary > div {
    flex: 1;
    text-align: center;
}

.sk-my-donations-summary-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sk-fire);
    line-height: 1;
}

.sk-my-donations-summary-lbl {
    font-size: 0.72rem;
    color: var(--sk-gray);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.sk-my-donations-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sk-my-donation-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1.5px solid var(--sk-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
}

.sk-my-donation-card:active { transform: scale(0.98); }

.sk-my-donation-pending   { border-left: 4px solid #f59e0b; }
.sk-my-donation-confirmed { border-left: 4px solid #22c55e; }
.sk-my-donation-cancelled { border-left: 4px solid #dc2626; opacity: 0.6; }

.sk-my-donation-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFF8E5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.sk-my-donation-body {
    flex: 1;
    min-width: 0;
}

.sk-my-donation-campaign {
    font-size: 0.85rem;
    color: var(--sk-gray);
    line-height: 1.2;
    margin-bottom: 1px;
}

.sk-my-donation-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sk-night);
    margin-bottom: 2px;
}

.sk-my-donation-meta {
    font-size: 0.72rem;
    color: var(--sk-gray);
}

.sk-my-donation-arrow {
    font-size: 1.2rem;
    color: var(--sk-fire);
    font-weight: 800;
}

/* ─── Home: Doniraj card ────────────────────────────────── */

.sk-home-donate-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fff0f0, #fff5e6);
    border: 1.5px solid #fecaca;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}

.sk-home-donate-icon {
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(220,38,38,0.12);
}

.sk-home-donate-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--sk-night);
    display: block;
    line-height: 1.2;
}

.sk-home-donate-text span {
    font-size: 0.78rem;
    color: var(--sk-gray);
}

.sk-home-donate-arrow {
    margin-left: auto;
    color: #dc2626;
    font-weight: 800;
    font-size: 1.1rem;
}

/* ─── HUB-3 PDF417 barkod (uplatnica) ─────────────────────── */

.sk-uplatnica-pdf417 {
    background: white;
    padding: 14px;
    border: 2px solid var(--sk-sun);
    border-radius: 12px;
    margin: 0 auto 8px;
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
}

.sk-uplatnica-pdf417 canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ─── Fullscreen barkod modal ───────────────────────────── */

.sk-uplatnica-pdf417 {
    cursor: zoom-in;
    transition: transform 0.15s;
}
.sk-uplatnica-pdf417:hover { transform: scale(1.02); }
.sk-uplatnica-pdf417:active { transform: scale(0.98); }

.sk-barcode-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 14, 12, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.sk-barcode-modal[hidden] { display: none !important; }

.sk-barcode-modal-inner {
    background: white;
    border-radius: 20px;
    padding: 24px 20px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-height: 95vh;
    overflow-y: auto;
}

.sk-barcode-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sk-card);
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--sk-night);
    z-index: 2;
}

.sk-barcode-close:hover { background: var(--sk-border); }

.sk-barcode-modal-header {
    text-align: center;
    margin-bottom: 16px;
    padding-right: 44px;
}

.sk-barcode-modal-header strong {
    display: block;
    font-size: 0.95rem;
    color: var(--sk-night);
    line-height: 1.2;
}

.sk-barcode-modal-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sk-fire);
    margin-top: 6px;
}

.sk-barcode-modal-canvas-wrap {
    background: white;
    padding: 12px;
    border: 2px solid var(--sk-sun);
    border-radius: 12px;
    margin: 0 auto 16px;
    overflow-x: auto;
    text-align: center;
}

.sk-barcode-modal-canvas-wrap canvas {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.sk-barcode-modal-info {
    background: var(--sk-card);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--sk-night);
    word-break: break-all;
}

.sk-barcode-modal-info strong {
    color: var(--sk-gray);
    font-weight: 600;
    margin-right: 4px;
}

/* ─── O festu stranica ──────────────────────────────────── */

.sk-about-hero {
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border-radius: 20px;
    padding: 24px 18px;
    text-align: center;
    margin-bottom: 20px;
}

.sk-about-hero-emoji {
    font-size: 3.5rem;
    margin-bottom: 8px;
}

.sk-about-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sk-night);
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.sk-about-hero-tagline {
    font-size: 0.95rem;
    color: var(--sk-fire);
    font-weight: 600;
    margin: 0;
}

.sk-about-content {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--sk-night);
    padding: 0 2px;
}

.sk-about-content h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--sk-night);
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--sk-sun);
    display: inline-block;
}

.sk-about-content h2:first-child { margin-top: 0; }

.sk-about-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sk-night);
    margin: 16px 0 8px;
}

.sk-about-content p {
    margin: 0 0 12px;
}

.sk-about-content ul,
.sk-about-content ol {
    padding-left: 22px;
    margin: 0 0 12px;
}

.sk-about-content li {
    margin-bottom: 6px;
}

.sk-about-content strong {
    color: var(--sk-night);
    font-weight: 700;
}

.sk-about-content a {
    color: var(--sk-fire);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

.sk-about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 12px 0;
}

.sk-about-cta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--sk-border);
}

/* ─── Home: O festu mini card ──────────────────────────── */

.sk-home-about-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.sk-home-about-link-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.sk-home-about-link-text {
    flex: 1;
    color: var(--sk-night);
}

.sk-home-about-link-text strong {
    font-weight: 700;
}

.sk-home-about-link-arrow {
    color: var(--sk-fire);
    font-weight: 700;
}

/* ─── Referral page ─────────────────────────────────────── */

.sk-referral-hero {
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    margin-bottom: 18px;
}

.sk-referral-hero-icon {
    font-size: 3rem;
    margin-bottom: 6px;
}

.sk-referral-hero-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sk-night);
    margin: 0 0 6px;
}

.sk-referral-hero-sub {
    font-size: 0.88rem;
    color: var(--sk-night);
    line-height: 1.5;
    margin: 0;
}

.sk-referral-code-box {
    background: white;
    border: 2px dashed var(--sk-sun);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    margin-bottom: 14px;
}

.sk-referral-code-label {
    font-size: 0.72rem;
    color: var(--sk-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 4px;
}

.sk-referral-code-value {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sk-fire);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.sk-referral-copy-btn {
    background: var(--sk-card);
    border: 1px solid var(--sk-border);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--sk-night);
}

.sk-referral-copy-btn:active { transform: scale(0.97); }

.sk-referral-share {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.sk-referral-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.sk-referral-stat {
    background: white;
    border: 1px solid var(--sk-border);
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
}

.sk-referral-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sk-night);
    line-height: 1.1;
}

.sk-referral-stat-completed { color: #22c55e; }
.sk-referral-stat-points { color: var(--sk-fire); }

.sk-referral-stat-lbl {
    font-size: 0.7rem;
    color: var(--sk-gray);
    margin-top: 4px;
    line-height: 1.2;
}

.sk-referral-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #1e40af;
    text-align: center;
    margin-bottom: 18px;
}

.sk-referral-limit-reached {
    background: #FFF8E5;
    border-color: var(--sk-sun);
    color: #854d0e;
}

.sk-referral-list-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--sk-night);
    margin: 18px 0 10px;
    padding-left: 4px;
}

.sk-referral-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sk-referral-item {
    background: white;
    border: 1px solid var(--sk-border);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sk-referral-item-name {
    font-weight: 700;
    color: var(--sk-night);
    font-size: 0.9rem;
    flex: 1;
}

.sk-referral-item-status {
    font-size: 0.78rem;
    font-weight: 600;
}

.sk-referral-item-date {
    font-size: 0.72rem;
    color: var(--sk-gray);
    width: 100%;
    margin-top: 2px;
}

/* ─── Rewards balance bar (Dan 5.2) ─────────────────────── */

.sk-rewards-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sk-rewards-balance-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sk-rewards-balance-tier {
    background: rgba(255,255,255,0.25);
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
}

.sk-rewards-balance-tier span {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Category tabs (sticky scrollable) ─────────────────── */

.sk-cat-tabs-scroll {
    margin: 0 -16px 14px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sk-cat-tabs-scroll::-webkit-scrollbar { display: none; }

.sk-cat-tabs {
    display: flex;
    gap: 6px;
    padding-bottom: 4px;
    width: max-content;
}

.sk-cat-tab {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: white;
    border: 1.5px solid var(--sk-border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--sk-night);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.12s;
}

.sk-cat-tab:active { transform: scale(0.95); }

.sk-cat-tab.is-active {
    background: var(--sk-fire);
    border-color: var(--sk-fire);
    color: white;
}

.sk-cat-tab-icon {
    font-size: 1rem;
    line-height: 1;
}

.sk-cat-tab-count {
    background: rgba(0,0,0,0.08);
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.sk-cat-tab.is-active .sk-cat-tab-count {
    background: rgba(255,255,255,0.3);
}

/* ─── Special banner ────────────────────────────────────── */

.sk-special-banner {
    background: linear-gradient(135deg, #FFF8E5, #FFE5B4);
    border: 1.5px solid var(--sk-sun);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.sk-special-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.sk-special-banner strong {
    display: block;
    font-size: 0.95rem;
    color: var(--sk-night);
    line-height: 1.2;
    margin-bottom: 4px;
}

.sk-special-banner p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--sk-gray);
}

/* ─── Reward card variants (Dan 5.2) ────────────────────── */

.sk-reward-card.is-tier-locked {
    opacity: 0.85;
    border-color: #c4b5fd;
    background: linear-gradient(180deg, white 70%, #f5f3ff 100%);
}

.sk-reward-card.is-special {
    border: 2px solid var(--sk-sun);
    background: linear-gradient(180deg, #FFFBEE 0%, white 70%);
    box-shadow: 0 2px 12px rgba(247, 183, 49, 0.18);
}

.sk-reward-card.is-draw {
    border-color: #a78bfa;
    background: linear-gradient(180deg, #f5f3ff 0%, white 70%);
}

.sk-reward-corner-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--sk-fire);
    color: white;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.sk-reward-corner-draw {
    background: #7c3aed;
}

/* Tier badge */
.sk-reward-badge-tier {
    background: #ede9fe;
    color: #5b21b6;
    font-size: 0.62rem !important;
    padding: 3px 7px !important;
    line-height: 1.2;
}

/* ─── Reward detail tier banners ────────────────────────── */

.sk-reward-tier-banner {
    background: #ede9fe;
    border: 1.5px solid #c4b5fd;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.sk-reward-tier-banner-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.sk-reward-tier-banner strong {
    display: block;
    color: #5b21b6;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.sk-reward-tier-banner p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #5b21b6;
    opacity: 0.9;
}

.sk-reward-special-note {
    background: linear-gradient(135deg, #FFF8E5, #FFE5B4);
    border: 1.5px solid var(--sk-sun);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.sk-reward-special-note strong {
    display: block;
    color: var(--sk-night);
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.sk-reward-special-note p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--sk-night);
}

.sk-reward-draw-note {
    background: #f5f3ff;
    border: 1.5px solid #c4b5fd;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.sk-reward-draw-note strong {
    display: block;
    color: #5b21b6;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.sk-reward-draw-note p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #5b21b6;
}

/* ─── Rewards list view (vertikalna lista, Dan 5.4) ─────── */

.sk-rewards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 2px;
}

.sk-reward-row {
    display: flex;
    gap: 12px;
    background: white;
    border: 1.5px solid var(--sk-border);
    border-radius: 18px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.12s, box-shadow 0.12s;
    align-items: stretch;
    min-height: 120px;
    overflow: hidden;
}

.sk-reward-row:active {
    transform: scale(0.985);
}

.sk-reward-row:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--sk-sun);
}

/* Body lijevo */
.sk-reward-row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    padding-right: 4px;
}

.sk-reward-row-name {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--sk-night);
    margin: 0;
    overflow-wrap: break-word;
}

.sk-reward-row-subtitle {
    font-size: 0.82rem;
    color: var(--sk-gray);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.sk-reward-row-price {
    font-size: 1rem;
    color: var(--sk-night);
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.sk-reward-row-price strong {
    font-weight: 800;
    color: var(--sk-fire);
    font-size: 1.15rem;
}

.sk-reward-row-price span {
    font-size: 0.78rem;
    color: var(--sk-gray);
    font-weight: 500;
}

/* CTA gumb stil */
.sk-reward-row-cta {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    align-self: flex-start;
    min-width: 130px;
    margin-top: 4px;
}

.sk-reward-row-cta.is-ok {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: white;
    box-shadow: 0 2px 8px rgba(232, 65, 26, 0.25);
}

.sk-reward-row-cta.is-need {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.74rem;
}

.sk-reward-row-cta.is-locked {
    background: #ede9fe;
    color: #5b21b6;
    font-size: 0.74rem;
}

.sk-reward-row-cta.is-soldout {
    background: #fee2e2;
    color: #991b1b;
}

/* Slika desno */
.sk-reward-row-image {
    flex-shrink: 0;
    width: 95px;
    align-self: stretch;
    background-size: cover;
    background-position: center;
    background-color: #FAF4E8;
    border-radius: 14px;
    position: relative;
    min-height: 95px;
}

.sk-reward-row-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF8E5, #FFE5B4);
}

.sk-reward-row-image-placeholder span {
    font-size: 42px;
    opacity: 0.85;
}

/* Corner badges za list view */
.sk-reward-row-image .sk-reward-corner-badge {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: var(--sk-fire);
    color: white;
    font-weight: 800;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-transform: none;
    letter-spacing: 0;
}

.sk-reward-row-image .sk-reward-corner-draw {
    background: #7c3aed;
}

.sk-reward-row-stock {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

/* Variants */
.sk-reward-row.is-soldout {
    opacity: 0.55;
}

.sk-reward-row.is-tier-locked {
    border-color: #c4b5fd;
    background: linear-gradient(180deg, white 70%, #f5f3ff 100%);
}

.sk-reward-row.is-special {
    border: 2px solid var(--sk-sun);
    background: linear-gradient(180deg, #FFFBEE 0%, white 70%);
    box-shadow: 0 2px 12px rgba(247, 183, 49, 0.18);
}

.sk-reward-row.is-draw {
    border-color: #a78bfa;
    background: linear-gradient(180deg, #f5f3ff 0%, white 70%);
}

/* Mali ekrani — još kompaktnije */
@media (max-width: 380px) {
    .sk-reward-row-image {
        width: 80px;
    }
    .sk-reward-row-name {
        font-size: 0.98rem;
    }
}

/* ─── Kako do bodova page ───────────────────────────────── */

.sk-howto-hero {
    background: linear-gradient(135deg, #FFF8E5, #FFF0E0);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    margin-bottom: 18px;
}
.sk-howto-hero-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}
.sk-howto-hero h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sk-night);
    margin: 0 0 8px;
    line-height: 1.25;
}
.sk-howto-hero p {
    font-size: 0.85rem;
    color: var(--sk-night);
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.sk-howto-section {
    font-size: 1rem;
    font-weight: 800;
    color: var(--sk-night);
    margin: 22px 0 10px;
    padding-left: 4px;
}

.sk-howto-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.sk-howto-item {
    background: white;
    border: 1.5px solid var(--sk-border);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.sk-howto-points {
    background: linear-gradient(135deg, var(--sk-sun), var(--sk-fire));
    color: white;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 8px 12px;
    border-radius: 12px;
    flex-shrink: 0;
    min-width: 64px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(232, 65, 26, 0.2);
}

.sk-howto-item strong {
    display: block;
    color: var(--sk-night);
    font-size: 0.95rem;
    line-height: 1.25;
}

.sk-howto-item p {
    margin: 2px 0 0;
    color: var(--sk-gray);
    font-size: 0.8rem;
    line-height: 1.4;
}

.sk-howto-note {
    font-size: 0.85rem;
    color: var(--sk-gray);
    line-height: 1.5;
    margin: 0 4px 12px;
    padding: 0;
    font-style: italic;
}

.sk-howto-cta {
    text-align: center;
    margin: 14px 0 6px;
}

.sk-howto-cta .sk-btn {
    display: inline-block;
    width: auto;
    min-width: 200px;
}

.sk-howto-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.sk-howto-tier {
    background: white;
    border: 1.5px solid var(--sk-border);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.sk-howto-tier-emoji {
    display: block;
    font-size: 1.7rem;
    margin-bottom: 4px;
}

.sk-howto-tier strong {
    display: block;
    color: var(--sk-night);
    font-size: 0.92rem;
}

.sk-howto-tier-pts {
    display: block;
    color: var(--sk-gray);
    font-size: 0.74rem;
    font-weight: 600;
    margin-top: 2px;
}
