/* SuperionGG Awards – [sgg_awards] */

.sgg-aw {
    --aw-bg: #0f1117;
    --aw-card: #1b1e29;
    --aw-card2: #232736;
    --aw-line: rgba(255, 255, 255, .08);
    --aw-text: #f4f6fb;
    --aw-muted: #9aa3b5;
    --aw-blue: #1e73be;
    --aw-blue2: #3b82f6;
    --aw-gold: #f5c451;
    --aw-red: #ef4444;
    position: relative;
    color: var(--aw-text);
    font-family: inherit;
    max-width: 1400px;
    margin: 0 auto;
}
.sgg-aw *, .sgg-aw *::before, .sgg-aw *::after { box-sizing: border-box; }
.sgg-aw-admin-note { padding: 12px 16px; border: 1px dashed #f59e0b; color: #f59e0b; border-radius: 8px; }

/* Szablon strony (templates/page-awards.php) */
.sgg-aw-page { padding: 0 0 40px; }
.sgg-aw-page__inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.sgg-aw-page__inner > p:empty { display: none; }

/* ── Hero ─────────────────────────────────────────── */
.sgg-aw-hero {
    position: relative;
    text-align: center;
    padding: 70px 20px 40px;
    overflow: hidden;
}
.sgg-aw-hero__glow {
    position: absolute; inset: -20% -10% auto;
    height: 420px;
    background: radial-gradient(ellipse at 50% 40%, rgba(30, 115, 190, .35), transparent 65%);
    pointer-events: none;
}
.sgg-aw .sgg-aw-hero__title {
    position: relative;
    font-family: 'Krona One', sans-serif !important;
    font-size: clamp(22px, 3.2vw, 38px) !important;
    line-height: 1.2 !important;
    letter-spacing: .04em;
    color: #fff !important;
    margin: 0 !important;
    font-weight: 400 !important;
}
.sgg-aw-hero__year {
    position: relative;
    font-family: 'Major Mono Display', monospace;
    font-size: clamp(90px, 16vw, 210px);
    line-height: 1;
    color: var(--aw-blue);
    text-shadow: 0 0 60px rgba(30, 115, 190, .45);
    margin: 10px 0 26px;
}
.sgg-aw-hero__intro { position: relative; max-width: 720px; margin: 18px auto 0; color: var(--aw-muted); font-size: 16px; line-height: 1.6; }
.sgg-aw-hero__links { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

.sgg-aw-bar {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 12px 16px;
    padding: 12px 22px;
    border: 1px solid var(--aw-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(6px);
}
.sgg-aw-bar__text { color: var(--aw-muted); font-size: 15px; }
.sgg-aw-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; border-radius: 999px;
    background: rgba(59, 130, 246, .15); color: #93c5fd;
    font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.sgg-aw-pill--live { background: rgba(239, 68, 68, .16); color: #fca5a5; }
.sgg-aw-pill--live i { width: 9px; height: 9px; border-radius: 50%; background: var(--aw-red); box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); animation: sgg-aw-pulse 1.6s infinite; }
.sgg-aw-pill--vote { background: rgba(16, 185, 129, .15); color: #6ee7b7; }
@keyframes sgg-aw-pulse { 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

.sgg-aw-cd { display: inline-flex; gap: 8px; }
.sgg-aw-cd__u { display: inline-flex; flex-direction: column; align-items: center; min-width: 52px; padding: 6px 8px; border-radius: 10px; background: var(--aw-card2); }
.sgg-aw-cd__u b { font-size: 22px; font-variant-numeric: tabular-nums; color: #fff; line-height: 1.1; }
.sgg-aw-cd__u small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--aw-muted); }

.sgg-aw-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 10px;
    border: 1px solid var(--aw-line); background: var(--aw-card);
    color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 14px;
    transition: transform .2s, border-color .2s, background .2s;
}
.sgg-aw-btn:hover { transform: translateY(-2px); border-color: var(--aw-blue2); }
.sgg-aw-btn--live { background: linear-gradient(135deg, #9146ff, #6d28d9); border-color: transparent; }
.sgg-aw-btn[hidden] { display: none; }

/* ── Nagłówek nominacji + nawigacja ──────────────── */
.sgg-aw-noms-head { text-align: center; padding: 50px 20px 10px; }
.sgg-aw-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--aw-blue2); }
.sgg-aw .sgg-aw-noms-head__title { font-family: 'Krona One', sans-serif !important; font-size: clamp(24px, 3vw, 36px) !important; line-height: 1.25 !important; color: #fff !important; margin: 10px 0 0 !important; font-weight: 400 !important; }
.sgg-aw-noms-head__sub { color: var(--aw-muted); max-width: 620px; margin: 12px auto 0 !important; font-size: 15px; line-height: 1.6; }
.sgg-aw-noms-head__sub[hidden] { display: none !important; }
.sgg-aw-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sgg-aw-nav__item {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 10px 9px 16px; border-radius: 999px;
    background: var(--aw-card); border: 1px solid var(--aw-line);
    color: var(--aw-text) !important; text-decoration: none !important; font-weight: 600; font-size: 14px;
    transition: border-color .2s, transform .2s;
}
.sgg-aw-nav__item:hover { border-color: var(--aw-blue2); transform: translateY(-1px); }
.sgg-aw-nav__item b { min-width: 38px; padding: 3px 9px; border-radius: 999px; background: rgba(59, 130, 246, .15); color: #93c5fd; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }

/* ── Kategorie ────────────────────────────────────── */
.sgg-aw-cat { scroll-margin-top: 90px; }
.sgg-aw-cat__num { display: block; font-family: 'Major Mono Display', monospace; font-size: 22px; color: var(--aw-blue); opacity: .8; margin-bottom: 6px; }
.sgg-aw-cat__count { margin: 10px 0 0 !important; color: var(--aw-muted); font-size: 13px; letter-spacing: .04em; }
.sgg-aw-card__tag { margin-top: -6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aw-blue2); }
.sgg-aw-cats { display: flex; flex-direction: column; gap: 56px; padding: 30px 20px 60px; }
.sgg-aw-cat__head { text-align: center; margin-bottom: 26px; }
.sgg-aw .sgg-aw-cat__title {
    font-family: 'Krona One', sans-serif !important;
    font-size: clamp(18px, 2.2vw, 26px) !important;
    line-height: 1.3 !important;
    color: #fff !important;
    margin: 0 !important;
    font-weight: 400 !important;
}
.sgg-aw-cat__badge {
    display: inline-block; margin: 12px 0 0 !important; padding: 5px 14px; border-radius: 999px;
    background: rgba(245, 196, 81, .12); color: var(--aw-gold); font-size: 13px; font-weight: 600; letter-spacing: .02em;
    border: 1px solid rgba(245, 196, 81, .3);
}
.sgg-aw-cat__badge--community { background: rgba(59, 130, 246, .12); color: #93c5fd; border-color: rgba(59, 130, 246, .3); }
.sgg-aw-how { max-width: 820px; margin: 0 auto 60px; padding: 28px 30px; border-radius: 18px; background: var(--aw-card); border: 1px solid var(--aw-line); }
.sgg-aw .sgg-aw-how__title { font-family: 'Krona One', sans-serif !important; font-size: 18px !important; line-height: 1.4 !important; color: var(--aw-text) !important; margin: 0 0 14px !important; font-weight: 400 !important; }
.sgg-aw-how__list { margin: 0 0 0 20px !important; padding: 0; color: var(--aw-muted); line-height: 1.7; }
.sgg-aw-how__list li { margin-bottom: 6px; }
.sgg-aw-how__list strong { color: var(--aw-text); }
.sgg-aw-cat__desc { color: var(--aw-muted); margin: 10px auto 0 !important; max-width: 680px; }
.sgg-aw-cat--redakcja { padding: 34px 20px 40px; border-radius: 22px; background: linear-gradient(180deg, rgba(245, 196, 81, .07), rgba(245, 196, 81, 0) 70%); border: 1px solid rgba(245, 196, 81, .15); }

.sgg-aw-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* niepełny ostatni rząd też na środku */
    gap: 18px;
}
.sgg-aw-grid > .sgg-aw-card { flex: 0 0 200px; }
.sgg-aw-cat--redakcja .sgg-aw-grid > .sgg-aw-card { flex-basis: 260px; }

.sgg-aw-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 26px 16px 20px;
    border-radius: 16px;
    background: var(--aw-card);
    border: 1px solid var(--aw-line);
    color: var(--aw-text) !important;
    text-decoration: none !important;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    min-height: 210px;
}
a.sgg-aw-card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, .6); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.sgg-aw-card__logo {
    width: 116px; height: 116px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
}
.sgg-aw-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.sgg-aw-card__initial { font-family: 'Krona One', sans-serif; font-size: 44px; color: var(--aw-blue2); }
.sgg-aw-card__name { font-weight: 700; font-size: 16px; text-align: center; line-height: 1.3; }

.sgg-aw-card.is-hidden { background: repeating-linear-gradient(135deg, #161922 0 12px, #181c26 12px 24px); border-style: dashed; }
.sgg-aw-card.is-hidden .sgg-aw-card__logo { background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .12); }
.sgg-aw-card__q { font-family: 'Major Mono Display', monospace; font-size: 54px; color: rgba(255, 255, 255, .18); animation: sgg-aw-q 3s ease-in-out infinite; }
.sgg-aw-card.is-hidden .sgg-aw-card__name { color: var(--aw-muted); font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
@keyframes sgg-aw-q { 50% { color: rgba(59, 130, 246, .45); } }

.sgg-aw-card.is-new { animation: sgg-aw-reveal .9s cubic-bezier(.2, .9, .3, 1.2) both; border-color: var(--aw-blue2); box-shadow: 0 0 0 2px rgba(59, 130, 246, .35), 0 0 40px rgba(59, 130, 246, .35); }
@keyframes sgg-aw-reveal {
    0% { transform: perspective(700px) rotateY(90deg) scale(.9); opacity: 0; }
    60% { transform: perspective(700px) rotateY(-8deg) scale(1.04); opacity: 1; }
    100% { transform: none; }
}

.sgg-aw-card.is-winner { border-color: rgba(245, 196, 81, .7); background: linear-gradient(180deg, #2a2516, var(--aw-card)); box-shadow: 0 0 40px rgba(245, 196, 81, .18); }
.sgg-aw-card__crown {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    padding: 4px 14px; border-radius: 999px; background: var(--aw-gold); color: #1a1405;
    font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}

/* ── Spotlight ────────────────────────────────────── */
.sgg-aw-spot {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    background: rgba(5, 7, 12, .78); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .35s; cursor: pointer; padding: 20px;
}
.sgg-aw-spot[hidden] { display: none; }
.sgg-aw-spot.is-on { opacity: 1; }
.sgg-aw-spot__box {
    text-align: center; padding: 38px 46px 34px; border-radius: 24px; max-width: 460px; width: 100%;
    background: radial-gradient(circle at 50% 0, rgba(59, 130, 246, .3), transparent 60%), #141824;
    border: 1px solid rgba(59, 130, 246, .5);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 80px rgba(59, 130, 246, .25);
    transform: scale(.85); transition: transform .45s cubic-bezier(.2, .9, .3, 1.3);
}
.sgg-aw-spot.is-on .sgg-aw-spot__box { transform: scale(1); }
.sgg-aw-spot__box.is-winner { border-color: rgba(245, 196, 81, .7); background: radial-gradient(circle at 50% 0, rgba(245, 196, 81, .3), transparent 60%), #1a170f; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 90px rgba(245, 196, 81, .3); }
.sgg-aw-spot__label { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(239, 68, 68, .18); color: #fca5a5; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.is-winner .sgg-aw-spot__label { background: var(--aw-gold); color: #1a1405; }
.sgg-aw-spot__cat { margin-top: 14px; font-family: 'Krona One', sans-serif; font-size: 16px; color: #cbd5e1; line-height: 1.4; }
.sgg-aw-spot__ed { margin-top: 6px; color: var(--aw-gold); font-size: 13px; }
.sgg-aw-spot__logo { width: 190px; height: 190px; margin: 24px auto 16px; display: flex; align-items: center; justify-content: center; }
.sgg-aw-spot__logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); }
.sgg-aw-spot__logo span { font-family: 'Krona One', sans-serif; font-size: 90px; color: var(--aw-blue2); }
.sgg-aw-spot__name { font-size: 28px; font-weight: 800; color: #fff; line-height: 1.2; }

@media (max-width: 600px) {
    .sgg-aw-hero { padding: 40px 12px 26px; }
    .sgg-aw-bar { border-radius: 16px; padding: 12px; }
    .sgg-aw-cats { padding: 20px 10px 40px; gap: 40px; }
    .sgg-aw-grid { gap: 12px; }
    .sgg-aw-grid > .sgg-aw-card { flex-basis: calc(50% - 6px); }
    .sgg-aw-noms-head { padding-top: 30px; }
    .sgg-aw-nav__item { font-size: 13px; padding: 7px 8px 7px 12px; }
    .sgg-aw-cat--redakcja .sgg-aw-grid > .sgg-aw-card { flex-basis: min(260px, 100%); }
    .sgg-aw-card { min-height: 170px; padding: 18px 10px 14px; }
    .sgg-aw-card__logo { width: 84px; height: 84px; }
    .sgg-aw-card__name { font-size: 14px; }
    .sgg-aw-cd__u { min-width: 44px; }
    .sgg-aw-cd__u b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .sgg-aw-card.is-new, .sgg-aw-card__q, .sgg-aw-pill--live i { animation: none; }
}

/* ── Jasny motyw ──────────────────────────────────── */
html[data-sgg-theme="light"] body.sgg-light .sgg-aw {
    --aw-card: #ffffff; --aw-card2: #eef2f8; --aw-line: rgba(15, 23, 42, .1);
    --aw-text: #1e293b; --aw-muted: #64748b;
}
html[data-sgg-theme="light"] body.sgg-light .sgg-aw :is(.sgg-aw-hero__title, .sgg-aw-cat__title, .sgg-aw-noms-head__title) { color: var(--sl-heading, #1e293b) !important; }
html[data-sgg-theme="light"] body.sgg-light .sgg-aw .sgg-aw-cd__u b { color: #1e293b; }
html[data-sgg-theme="light"] body.sgg-light .sgg-aw .sgg-aw-card.is-hidden { background: repeating-linear-gradient(135deg, #f1f5f9 0 12px, #e9eef5 12px 24px); }
html[data-sgg-theme="light"] body.sgg-light .sgg-aw .sgg-aw-card__q { color: rgba(15, 23, 42, .2); }
html[data-sgg-theme="light"] body.sgg-light .sgg-aw .sgg-aw-card.is-winner { background: linear-gradient(180deg, #fff7e0, #fff); }
html[data-sgg-theme="light"] body.sgg-light .sgg-aw .sgg-aw-btn:not(.sgg-aw-btn--live) { color: #1e293b !important; }
