﻿:root {
    --bt-bg: #0f0f12;
    --bt-ink: #f3f0e8;
    --bt-muted: rgba(243,240,232,.75);
    --bt-beige: #f3e7cf;
    --bt-paper: #e9dcc4;
    --bt-gold: #d2a93a;
    --bt-gold-2: #b98b22;
    --bt-line: rgba(243,240,232,.12);
    --bt-shadow: 0 16px 40px rgba(0,0,0,.45);
    --bt-radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--bt-ink);
    background: radial-gradient(1200px 600px at 20% -10%, rgba(210,169,58,.12), transparent 60%), radial-gradient(900px 500px at 85% 10%, rgba(243,231,207,.08), transparent 55%), radial-gradient(800px 500px at 50% 110%, rgba(210,169,58,.08), transparent 60%), var(--bt-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

.bt-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.external-links .bt-container  h2 {
    text-align: center;
 /*   margin-bottom: 40px;*/
    letter-spacing: 0.04em;
}

.bt-h1 {
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.03;
    letter-spacing: -0.02em;
    margin: 14px 0 12px;
}

.bt-h1__accent {
    color: var(--bt-gold);
    text-shadow: 0 10px 30px rgba(210,169,58,.18);
}

.bt-h2 {
    font-size: clamp(22px, 2.4vw, 30px);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.bt-lead {
    font-size: 16px;
    line-height: 1.55;
    color: var(--bt-muted);
    max-width: 56ch;
    margin: 0 0 18px;
}

.bt-text {
    color: var(--bt-muted);
    line-height: 1.6;
    margin: 0;
}
/* ARCHITECTURE */
.bt-arch__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    align-items: start;
}

.bt-arch__lead {
    margin-top: 8px;
    margin-bottom: 14px;
    max-width: 70ch;
}

.bt-steps {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 10px;
}

.bt-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(243,240,232,.12);
    background: rgba(243,240,232,.04);
    border-radius: 16px;
    padding: 12px;
}

.bt-step__n {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #0f0f12;
    background: radial-gradient(14px 14px at 25% 20%, rgba(255,255,255,.28), transparent 55%), linear-gradient(135deg, var(--bt-gold), var(--bt-gold-2));
    box-shadow: 0 10px 24px rgba(210,169,58,.18);
}

.bt-step__t {
    font-weight: 900;
    margin-bottom: 2px;
}

.bt-step__d {
    color: rgba(243,240,232,.68);
    font-size: 13px;
    line-height: 1.5;
}

.bt-arch__actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bt-card--arch {
    padding: 16px;
    border-radius: 20px;
}

.bt-archmap__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.bt-archmap__title {
    font-weight: 900;
}

.bt-archmap__pill {
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(210,169,58,.25);
    background: rgba(243,231,207,.06);
    color: rgba(243,240,232,.8);
}

.bt-archmap {
    position: relative;
    height: 260px;
    border-radius: 18px;
    border: 1px dashed rgba(243,240,232,.16);
    background: radial-gradient(240px 160px at 22% 25%, rgba(210,169,58,.14), transparent 60%), radial-gradient(260px 160px at 75% 65%, rgba(243,231,207,.10), transparent 62%), rgba(0,0,0,.18);
    overflow: hidden;
}

.bt-archnode {
    position: absolute;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 13px;
    border: 1px solid rgba(243,240,232,.12);
    background: rgba(15,15,18,.55);
}

.bt-archnode--forest {
    left: 14px;
    top: 18px;
}

.bt-archnode--tower {
    left: 34%;
    top: 12px;
}

.bt-archnode--camp {
    left: 26%;
    top: 46%;
}

.bt-archnode--council {
    right: 22%;
    top: 48%;
}

.bt-archnode--harbor {
    right: 14px;
    bottom: 18px;
}

.bt-archline {
    position: absolute;
    height: 2px;
    background: rgba(210,169,58,.35);
    filter: blur(.2px);
}

.bt-archline--a {
    left: 18%;
    top: 36px;
    width: 30%;
}

.bt-archline--b {
    left: 44%;
    top: 36px;
    width: 18%;
    transform: rotate(22deg);
    transform-origin: left;
}

.bt-archline--c {
    left: 32%;
    top: 148px;
    width: 36%;
}

.bt-archline--d {
    left: 62%;
    top: 160px;
    width: 22%;
    transform: rotate(18deg);
    transform-origin: left;
}
.bt-section {
    scroll-margin-top: 86px; /* dopasuj jeśli navbar ma inną wysokość */
}

.bt-archmap__note {
    margin-top: 10px;
    color: rgba(243,240,232,.65);
    font-size: 12px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 980px) {
    .bt-arch__grid {
        grid-template-columns: 1fr;
    }

    .bt-archmap {
        height: 240px;
    }
}

/* centrowanie ikony + napisu */
.ext-card .ext-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    /* centrowanie samego napisu */
    .ext-card .ext-link .ext-text {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 8px;
        line-height: 1.2;
        white-space: nowrap;
    }

