﻿/* ── Bug bounty ───────────────────────────────────────── */
.bounty-page {
    --bounty-panel: var(--card-bg, rgba(255, 255, 255, 0.06));
    --bounty-panel-strong: color-mix(in srgb, #facc15 10%, var(--card-bg, rgba(255, 255, 255, 0.06)));
    --bounty-border: var(--card-border, rgba(255, 255, 255, 0.12));
    --bounty-text: var(--text-hint, rgba(226, 232, 240, 0.72));
    --bounty-title: var(--text, #f8fafc);
    --bounty-gold: #facc15;
    --bounty-gold-dark: #d4a72c;
    min-height: calc(var(--app-vh, 100dvh) - var(--bottom-nav-height) - var(--bottom-nav-gap) - var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)) - 20px);
    padding: 8px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg);
    color: var(--bounty-title);
}
.bounty-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.bounty-icon-wrap {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #111827, #17233a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(245, 158, 11, 0.2);
}
.bounty-icon-wrap::after {
    display: none;
}
.bounty-icon-wrap img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.48)) saturate(0.98) contrast(1.05);
}
.bounty-kicker {
    margin-bottom: 5px;
    color: var(--bounty-gold);
    font-size: 13px;
    font-weight: 900;
}
.bounty-display {
    margin: 0 0 4px;
    color: var(--bounty-title);
    font-size: clamp(48px, 15vw, 76px);
    line-height: 0.86;
    font-weight: 900;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: none;
}
.bounty-page p {
    margin: 0;
    color: var(--bounty-text);
    font-size: 13px;
    line-height: 1.34;
}
.bounty-grid {
    display: grid;
    gap: 8px;
}
.bounty-card {
    position: relative;
    padding: 11px 12px;
    border: 1px solid var(--bounty-border);
    border-radius: 12px;
    background: var(--bounty-panel);
    box-shadow: none;
}
.bounty-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    bottom: 11px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: var(--bounty-gold-dark);
    opacity: 0.55;
}
.bounty-card-title {
    margin-bottom: 4px;
    color: var(--bounty-gold);
    font-size: 14px;
    font-weight: 900;
}
.bounty-card-accent {
    border-color: color-mix(in srgb, var(--bounty-gold-dark) 34%, var(--bounty-border));
    background: var(--bounty-panel-strong);
}
.bounty-note {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--bounty-text);
    background: var(--bounty-panel);
    border: 1px solid var(--bounty-border);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.32;
}
.bounty-contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}
.bounty-contact {
    min-height: 42px;
    border-radius: 12px;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.16s ease, filter 0.16s ease;
}
.bounty-contact:hover {
    filter: brightness(1.04);
}
.bounty-contact:active {
    transform: scale(0.98);
}
.bounty-contact-max {
    background: linear-gradient(135deg, #e7c766, #c9951a);
}
.bounty-contact-tg {
    background: linear-gradient(135deg, #d4a72c, #a9770f);
}

body.theme-light .bounty-page {
    --bounty-panel: #ffffff;
    --bounty-panel-strong: #fff8df;
    --bounty-border: rgba(15, 25, 45, 0.12);
    --bounty-text: #7c8798;
    --bounty-title: #0b1222;
    --bounty-gold: #d7a900;
    --bounty-gold-dark: #e0ad00;
}

body.theme-light .bounty-icon-wrap {
    background: linear-gradient(135deg, #071a36, #0f3a78);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16), inset 0 0 0 1px rgba(15, 25, 45, 0.08);
}

body.theme-light .bounty-icon-wrap img {
    filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.28)) saturate(1.12) contrast(1.08);
}

@media (max-width: 420px) {
    .bounty-hero {
        align-items: flex-start;
    }
    .bounty-icon-wrap {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }
    .bounty-icon-wrap img {
        width: 44px;
        height: 44px;
    }
    .bounty-display {
        font-size: clamp(43px, 14vw, 58px);
    }
}
