/* Katalog vasa.games (/). Lagan stil; deli vizuelni jezik sa igrom (neon). */
:root {
    /* varijable koje koristi SDK pila (.vasa-coins) */
    --text: #f3eefe;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-bd: rgba(255, 255, 255, 0.14);
    --bg2: #120a26;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: #0a0616;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: calc(14px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom));
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
}

/* aurora pozadina */
body::before {
    content: '';
    position: fixed;
    inset: -20%;
    z-index: -1;
    background: radial-gradient(circle at 28% 26%, rgba(124, 77, 255, 0.5), transparent 42%),
               radial-gradient(circle at 74% 64%, rgba(255, 61, 110, 0.4), transparent 42%),
               radial-gradient(circle at 50% 96%, rgba(66, 230, 149, 0.35), transparent 45%);
    filter: blur(48px);
    animation: vcDrift 22s ease-in-out infinite alternate;
}

@keyframes vcDrift {
    from { transform: translate(-4%, -3%) scale(1); }
    to   { transform: translate(5%, 4%) scale(1.16); }
}

/* ---------- Top bar ---------- */
.vc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.vc-brand {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
}
.vc-brand span { color: #b69bff; }

.vc-top__actions { display: flex; align-items: center; gap: 10px; }

.vc-iconbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text);
    border: 1px solid var(--surface-bd);
    border-radius: 14px;
    background: var(--surface);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

/* ---------- Glavni deo ---------- */
.vc-main {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 18px;
}

.vc-hero { text-align: center; padding: 18px 0 4px; }
.vc-hero h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, #ffd86b, #ff7eb3, #b69bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.vc-hero p { margin: 10px 0 0; font-size: 15px; color: rgba(243, 238, 254, 0.65); }
.vc-hero .vc-intro { max-width: 620px; margin: 12px auto 0; font-size: 13.5px; line-height: 1.6; color: rgba(243, 238, 254, 0.5); }

/* ---------- Mreža igara ---------- */
.vc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.vc-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-bd);
    transition: transform 0.16s ease, border-color 0.16s ease;
}
.vc-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.32); }

.vc-card__art {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
}

.vc-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 12px 14px;
    flex: 1;
}
.vc-card__name { font-size: 16px; font-weight: 800; }
.vc-card__desc { font-size: 12.5px; line-height: 1.45; color: rgba(243, 238, 254, 0.55); }
.vc-card__cta { font-size: 13px; font-weight: 700; color: #b69bff; margin-top: auto; }

.vc-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 12px;
    color: rgba(243, 238, 254, 0.4);
    padding-top: 8px;
}
.vc-foot__links { display: flex; gap: 16px; }
.vc-foot__links a { color: rgba(243, 238, 254, 0.6); text-decoration: none; }
.vc-foot__links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 480px) {
    .vc-hero h1 { font-size: 27px; }
    .vc-card__art { height: 100px; font-size: 46px; }
}
