:root {
    --aves-primary: #4584a1;
    --aves-primary-rgb: 69, 132, 161;
    --aves-primary-light: #78bad8;
    --aves-primary-dark: #285a70;

    --aves-bg: #061015;
    --aves-bg-soft: #09161d;
    --aves-panel: #0c1b23;
    --aves-panel-strong: #102630;

    --aves-text: #f4f8fa;
    --aves-muted: #91a4ad;

    --aves-line: rgba(255, 255, 255, 0.09);

    --aves-shadow:
        0 30px 80px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.aves-home {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 10% 4%,
            rgba(var(--aves-primary-rgb), 0.13),
            transparent 28rem
        ),
        var(--aves-bg);

    color: var(--aves-text);
}

body.aves-home::selection {
    background:
        rgba(var(--aves-primary-rgb), 0.4);

    color: #ffffff;
}

.aves-home a {
    color: inherit;
}

.aves-home a,
.aves-home button {
    -webkit-tap-highlight-color: transparent;
}

.aves-home img {
    max-width: 100%;
}

.aves-home [aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
}

.page-shell {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;
}

/* =========================================
   NAWIGACJA
========================================= */

.aves-home .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(4, 12, 17, 0.72);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    transition:
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.aves-home .site-header.scrolled {
    border-color:
        rgba(var(--aves-primary-rgb), 0.24);

    background:
        rgba(4, 12, 17, 0.94);

    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.18);
}

.aves-home .nav {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    min-height: 78px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.aves-home .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.aves-home .brand-logo {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border:
        1px solid rgba(
            var(--aves-primary-rgb),
            0.42
        );

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(var(--aves-primary-rgb), 0.22),
            rgba(var(--aves-primary-rgb), 0.04)
        );
}

.aves-home .brand-logo img {
    width: 31px;
    height: 31px;
    object-fit: contain;
}

.aves-home .brand-copy {
    display: grid;
    gap: 1px;
}

.aves-home .brand-copy strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.aves-home .brand-copy small {
    color: var(--aves-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.2em;
}

.aves-home .nav-links {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 8px;

    list-style: none;
}

.aves-home .nav-links a {
    position: relative;

    display: block;
    padding: 11px 16px;

    border-radius: 10px;

    color: #94a7b0;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;

    transition:
        color 160ms ease,
        background 160ms ease;
}

.aves-home .nav-links a::after {
    content: "";

    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 5px;

    height: 2px;

    border-radius: 99px;
    background: var(--aves-primary-light);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 160ms ease;
}

.aves-home .nav-links a:hover,
.aves-home .nav-links a.active {
    color: #ffffff;

    background:
        rgba(var(--aves-primary-rgb), 0.09);
}

.aves-home .nav-links a:hover::after,
.aves-home .nav-links a.active::after {
    transform: scaleX(1);
}

.aves-home .menu-toggle {
    display: none;

    min-width: 76px;
    padding: 10px 14px;

    border: 1px solid var(--aves-line);
    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.03);

    color: #ffffff;

    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;

    cursor: pointer;
}

/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 100vh;
    padding: 150px 0 95px;

    display: grid;
    align-items: center;

    isolation: isolate;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -5;

    overflow: hidden;
    pointer-events: none;
}

.hero-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6, 16, 21, 0.06),
            rgba(6, 16, 21, 0.74) 63%,
            rgba(6, 16, 21, 0.14)
        ),
        linear-gradient(
            to bottom,
            transparent 60%,
            var(--aves-bg)
        );
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.42;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.032) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.032) 1px,
            transparent 1px
        );

    background-size: 64px 64px;

    mask-image:
        linear-gradient(
            to bottom,
            #000000 10%,
            transparent 94%
        );
}

.hero-glow {
    position: absolute;

    border-radius: 999px;
    filter: blur(105px);
}

.hero-glow-left {
    top: 7%;
    left: -12%;

    width: 470px;
    height: 470px;

    background:
        rgba(var(--aves-primary-rgb), 0.17);
}

.hero-glow-right {
    top: 17%;
    right: 1%;

    width: 550px;
    height: 550px;

    background:
        rgba(var(--aves-primary-rgb), 0.1);
}

.hero-wordmark {
    position: absolute;
    right: -0.08em;
    bottom: -0.17em;

    color:
        rgba(255, 255, 255, 0.018);

    font-size:
        clamp(190px, 29vw, 540px);

    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.09em;
}

.hero-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(360px, 0.9fr);

    align-items: center;

    gap:
        clamp(52px, 8vw, 110px);
}

.hero-content {
    max-width: 710px;
}

.status-pill {
    width: fit-content;
    margin-bottom: 30px;
    padding: 9px 13px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    border:
        1px solid rgba(
            var(--aves-primary-rgb),
            0.3
        );

    border-radius: 999px;

    background:
        rgba(var(--aves-primary-rgb), 0.08);

    color: #aed0df;

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.status-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background:
        var(--aves-primary-light);

    box-shadow:
        0 0 0 5px
        rgba(var(--aves-primary-rgb), 0.08),
        0 0 16px
        rgba(var(--aves-primary-rgb), 0.72);
}

.eyebrow {
    margin: 0 0 13px;

    color:
        var(--aves-primary-light);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.24em;
}

/*
 * Poprawiony naglowek dla czcionki Inter.
 * Wiekszy line-height usuwa nachodzenie linii.
 */

.hero h1 {
    max-width: 800px;
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(52px, 6.5vw, 92px);

    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.065em;
}

.hero h1 span {
    display: block;
    margin-top: 0.04em;

    color:
        var(--aves-primary-light);

    text-shadow:
        0 0 42px
        rgba(var(--aves-primary-rgb), 0.22);
}

.hero-description {
    max-width: 650px;
    margin: 28px 0 0;

    color: #9caeb7;

    font-size:
        clamp(16px, 1.4vw, 19px);

    line-height: 1.8;
}

.hero-actions,
.join-actions {
    margin-top: 34px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 52px;
    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border: 1px solid transparent;
    border-radius: 12px;

    font: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;

    text-decoration: none;
    cursor: pointer;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--aves-primary);
    color: #ffffff;

    box-shadow:
        0 15px 34px
        rgba(var(--aves-primary-rgb), 0.24);
}

.button-primary:hover {
    background: #5094b3;

    box-shadow:
        0 19px 40px
        rgba(var(--aves-primary-rgb), 0.33);
}

.button-secondary,
.button-ghost {
    border-color: var(--aves-line);

    background:
        rgba(255, 255, 255, 0.025);

    color: #dbe6eb;
}

.button-secondary:hover,
.button-ghost:hover {
    border-color:
        rgba(var(--aves-primary-rgb), 0.35);

    background:
        rgba(var(--aves-primary-rgb), 0.07);
}

.server-bar {
    width: min(100%, 650px);
    margin-top: 28px;
    padding: 15px 17px;

    display: grid;

    grid-template-columns:
        auto minmax(0, 1fr) auto;

    align-items: center;
    gap: 18px;

    border: 1px solid var(--aves-line);
    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.025);

    color: inherit;

    font: inherit;
    text-align: left;

    cursor: pointer;
}

.server-bar-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #b8c7cd;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.server-bar-address {
    overflow: hidden;

    color: #ffffff;

    font-size: 13px;
    font-weight: 750;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-bar-action {
    color:
        var(--aves-primary-light);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

/* =========================================
   PANEL HERO
========================================= */

.server-showcase {
    position: relative;

    padding: 20px;

    border:
        1px solid rgba(
            var(--aves-primary-rgb),
            0.24
        );

    border-radius: 28px;

    background:
        linear-gradient(
            160deg,
            rgba(var(--aves-primary-rgb), 0.13),
            rgba(255, 255, 255, 0.015) 44%
        ),
        rgba(8, 21, 28, 0.88);

    box-shadow: var(--aves-shadow);
    overflow: hidden;
}

.showcase-header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.showcase-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-logo {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(
            var(--aves-primary-rgb),
            0.3
        );

    border-radius: 14px;

    background:
        rgba(var(--aves-primary-rgb), 0.1);
}

.showcase-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.showcase-brand > span:last-child {
    display: grid;
    gap: 2px;
}

.showcase-brand strong {
    color: #ffffff;
    font-size: 16px;
}

.showcase-brand small {
    color: var(--aves-muted);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.showcase-live {
    padding: 7px 9px;

    border:
        1px solid rgba(
            var(--aves-primary-rgb),
            0.26
        );

    border-radius: 999px;

    background:
        rgba(var(--aves-primary-rgb), 0.07);

    color:
        var(--aves-primary-light);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.showcase-visual {
    position: relative;

    height: 330px;
    margin: 19px 0;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 21px;

    background:
        radial-gradient(
            circle at center,
            rgba(var(--aves-primary-rgb), 0.19),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            #0e222c,
            #071117
        );

    overflow: hidden;
}

.showcase-visual img {
    position: relative;
    z-index: 3;

    width: min(43%, 165px);
}

.visual-ring {
    position: absolute;

    border:
        1px solid rgba(
            var(--aves-primary-rgb),
            0.23
        );

    border-radius: 50%;
}

.visual-ring-one {
    width: 230px;
    height: 230px;

    animation:
        orbit-spin 18s linear infinite;
}

.visual-ring-two {
    width: 300px;
    height: 300px;

    border-style: dashed;
    opacity: 0.65;

    animation:
        orbit-spin 28s linear infinite reverse;
}

.visual-line {
    position: absolute;

    width: 76%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(var(--aves-primary-rgb), 0.3),
            transparent
        );
}

.visual-line-one {
    transform: rotate(28deg);
}

.visual-line-two {
    transform: rotate(-28deg);
}

.showcase-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;
}

.showcase-grid > div {
    padding: 14px 12px;

    display: grid;
    gap: 5px;

    border: 1px solid var(--aves-line);
    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.02);
}

.showcase-grid span {
    color: #6f858f;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.showcase-grid strong {
    color: #ffffff;
    font-size: 13px;
}

.showcase-progress {
    margin-top: 10px;
    padding: 16px;

    border: 1px solid var(--aves-line);
    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.02);
}

.showcase-progress > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.showcase-progress span {
    color: #81949d;
    font-size: 11px;
}

.showcase-progress strong {
    color:
        var(--aves-primary-light);

    font-size: 9px;
    letter-spacing: 0.15em;
}

.progress-track {
    height: 5px;
    margin-top: 12px;

    display: block;

    border-radius: 99px;

    background:
        rgba(255, 255, 255, 0.06);

    overflow: hidden;
}

.progress-track span {
    width: 78%;
    height: 100%;

    display: block;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--aves-primary-dark),
            var(--aves-primary-light)
        );
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 28px;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: #738892;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.18em;

    text-decoration: none;

    transform: translateX(-50%);
}

.scroll-indicator i {
    width: 34px;
    height: 1px;

    display: block;

    background:
        rgba(var(--aves-primary-rgb), 0.5);
}

/* =========================================
   SEKCJE
========================================= */

.content-section {
    position: relative;
    padding: 120px 0;
}

.about-section {
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(var(--aves-primary-rgb), 0.06),
            transparent 34rem
        ),
        linear-gradient(
            to bottom,
            var(--aves-bg),
            #08151b,
            var(--aves-bg)
        );
}

.aves-home .about-section,
.aves-home .about-heading,
.aves-home .info-cards {
    border: 0 !important;
}

.aves-home .about-section::before,
.aves-home .about-section::after,
.aves-home .about-heading::before,
.aves-home .about-heading::after,
.aves-home .info-cards::before,
.aves-home .info-cards::after {
    display: none !important;
    content: none !important;
}

.about-heading,
.founders-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.72fr);

    align-items: end;

    gap:
        clamp(50px, 8vw, 110px);
}

.section-title h2,
.join-content h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(38px, 4.8vw, 65px);

    line-height: 1.06;
    letter-spacing: -0.05em;
}

.section-description,
.founders-intro {
    color: var(--aves-muted);

    font-size: 16px;
    line-height: 1.8;
}

.section-description p,
.founders-intro {
    margin: 0;
}

.section-description p + p {
    margin-top: 18px;
}

.section-description-lead {
    color: #c6d3d8;
    font-size: 18px;
}

/* =========================================
   KARTY INFORMACYJNE
========================================= */

.info-cards {
    margin-top: 72px;
    padding: 0 !important;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.info-card {
    position: relative;

    min-height: 330px;
    padding: 31px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 0 !important;
    border-radius: 28px;

    background:
        linear-gradient(
            150deg,
            rgba(18, 43, 54, 0.94),
            rgba(6, 18, 24, 0.98)
        );

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);

    overflow: hidden;
    isolation: isolate;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.info-card:nth-child(2) {
    background:
        linear-gradient(
            150deg,
            rgba(13, 35, 45, 0.96),
            rgba(5, 16, 21, 0.99)
        );
}

.info-card:nth-child(3) {
    background:
        linear-gradient(
            150deg,
            rgba(11, 31, 40, 0.97),
            rgba(4, 15, 20, 0.99)
        );
}

.info-card-primary {
    background:
        radial-gradient(
            circle at 0 0,
            rgba(var(--aves-primary-rgb), 0.28),
            transparent 58%
        ),
        linear-gradient(
            150deg,
            #153542,
            #071921
        );
}

.info-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 34px 75px rgba(0, 0, 0, 0.34),
        0 0 40px
        rgba(var(--aves-primary-rgb), 0.08);
}

.info-card::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.32;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            135deg,
            #000000,
            transparent 70%
        );
}

.info-card::after {
    content: "";

    position: absolute;
    top: -110px;
    right: -100px;
    z-index: -2;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background:
        rgba(var(--aves-primary-rgb), 0.14);

    filter: blur(45px);

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.info-card:hover::after {
    transform: scale(1.25);
}

.info-card-decoration span:first-child {
    position: absolute;
    top: 0;
    right: 38px;

    width: 1px;
    height: 100px;

    background:
        linear-gradient(
            to bottom,
            rgba(var(--aves-primary-rgb), 0.45),
            transparent
        );
}

.info-card-decoration span:last-child {
    position: absolute;
    top: 38px;
    right: 0;

    width: 100px;
    height: 1px;

    background:
        linear-gradient(
            to left,
            rgba(var(--aves-primary-rgb), 0.45),
            transparent
        );
}

.info-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(var(--aves-primary-rgb), 0.23),
            rgba(var(--aves-primary-rgb), 0.06)
        );

    color:
        var(--aves-primary-light);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 12px 28px
        rgba(var(--aves-primary-rgb), 0.1);
}

.info-icon svg {
    width: 27px;
    height: 27px;
}

.info-card-content {
    position: relative;
    z-index: 2;
}

.info-label {
    display: block;
    margin-bottom: 10px;

    color:
        var(--aves-primary-light);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.info-card h3 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.info-card p {
    max-width: 360px;
    margin: 0;

    color: #97abb4;

    font-size: 14px;
    line-height: 1.75;
}

/* =========================================
   ZALOZYCIELE
========================================= */

.founders-section {
    overflow: hidden;
}

.founders-glow {
    position: absolute;
    top: 18%;
    right: -270px;

    width: 540px;
    height: 540px;

    border-radius: 50%;

    background:
        rgba(var(--aves-primary-rgb), 0.09);

    filter: blur(115px);
    pointer-events: none;
}

.founders-grid {
    margin-top: 68px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    align-items: center;
    gap: 16px;
}

.founder-card {
    position: relative;

    min-height: 470px;
    padding: 18px;

    display: flex;
    flex-direction: column;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 27px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.016)
        );

    overflow: hidden;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.founder-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(var(--aves-primary-rgb), 0.4);

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.31);
}

.founder-card-featured {
    z-index: 2;

    border-color:
        rgba(var(--aves-primary-rgb), 0.48);

    background:
        linear-gradient(
            180deg,
            rgba(var(--aves-primary-rgb), 0.18),
            rgba(255, 255, 255, 0.02)
        );

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.28);

    transform: translateY(-22px);
}

.founder-card-featured:hover {
    transform: translateY(-29px);
}

.founder-photo {
    position: relative;

    height: 285px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(var(--aves-primary-rgb), 0.3),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            #122932,
            #08141a
        );

    overflow: hidden;
}

.founder-photo::before {
    content: attr(data-initials);

    position: absolute;

    color:
        rgba(255, 255, 255, 0.11);

    font-size: 112px;
    font-weight: 900;
}

.founder-photo::after {
    content: "";

    position: absolute;
    inset: auto 0 0;
    z-index: 2;

    height: 58%;

    background:
        linear-gradient(
            to top,
            rgba(6, 15, 19, 0.96),
            transparent
        );
}

.founder-photo img {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.founder-photo img[hidden] {
    display: none;
}

.founder-status {
    position: absolute;
    right: 15px;
    bottom: 15px;
    z-index: 3;

    width: 13px;
    height: 13px;

    border: 3px solid #0c1b23;
    border-radius: 50%;

    background:
        var(--aves-primary-light);
}

.founder-details {
    padding: 24px 8px 8px;
}

.founder-details > span {
    color:
        var(--aves-primary-light);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.founder-details h3 {
    margin: 9px 0;

    color: #ffffff;
    font-size: 28px;
}

.founder-details p {
    margin: 0;

    color: var(--aves-muted);

    font-size: 13px;
    line-height: 1.65;
}

/* =========================================
   DOLACZ
========================================= */

.join-section {
    padding-top: 45px;
}

.join-card {
    position: relative;

    padding:
        clamp(38px, 6vw, 72px);

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) auto;

    align-items: center;
    gap: 50px;

    border:
        1px solid rgba(
            var(--aves-primary-rgb),
            0.28
        );

    border-radius: 31px;

    background:
        linear-gradient(
            120deg,
            rgba(var(--aves-primary-rgb), 0.21),
            rgba(var(--aves-primary-rgb), 0.025) 55%
        ),
        #0a1920;

    overflow: hidden;
}

.join-card::after {
    content: "A";

    position: absolute;
    right: -0.04em;
    bottom: -0.34em;

    color:
        rgba(255, 255, 255, 0.025);

    font-size: 330px;
    font-weight: 900;
    line-height: 1;
}

.join-content,
.join-actions {
    position: relative;
    z-index: 1;
}

.join-content > p:last-child {
    max-width: 600px;
    margin: 20px 0 0;

    color: #9db0b9;
    line-height: 1.75;
}

.join-actions {
    margin: 0;
}

/* =========================================
   STOPKA
========================================= */

.aves-footer {
    margin-top: 110px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    background: #040c10;
}

.footer-layout {
    min-height: 110px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.footer-brand > div {
    display: grid;
    gap: 1px;
}

.footer-brand strong {
    color: #ffffff;
    font-size: 14px;
}

.footer-brand span,
.footer-layout > p {
    margin: 0;

    color: #647983;
    font-size: 11px;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1500;

    max-width:
        min(360px, calc(100vw - 48px));

    padding: 14px 17px;

    border:
        1px solid rgba(
            var(--aves-primary-rgb),
            0.38
        );

    border-radius: 12px;

    background:
        rgba(8, 22, 29, 0.96);

    color: #ffffff;

    opacity: 0;

    transform: translateY(12px);

    pointer-events: none;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   RESPONSYWNOSC
========================================= */

@media (max-width: 1080px) {
    .hero-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(330px, 0.78fr);

        gap: 48px;
    }

    .join-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 130px;
    }

    .hero-layout,
    .about-heading,
    .founders-heading {
        grid-template-columns: 1fr;
    }

    .server-showcase {
        width: min(100%, 610px);
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: 270px;
    }

    .founders-grid {
        grid-template-columns: 1fr 1fr;
    }

    .founder-card-featured {
        grid-column: 1 / -1;
        grid-row: 1;

        width: calc(50% - 8px);

        justify-self: center;
        transform: none;
    }
}

@media (max-width: 720px) {
    .page-shell,
    .aves-home .nav {
        width: min(
            calc(100% - 28px),
            1180px
        );
    }

    .aves-home .menu-toggle {
        display: inline-flex;
    }

    .aves-home .nav-links {
        position: absolute;

        top: calc(100% + 10px);
        left: 14px;
        right: 14px;

        padding: 10px;

        display: grid;
        gap: 4px;

        border:
            1px solid rgba(255, 255, 255, 0.08);

        border-radius: 15px;

        background:
            rgba(5, 15, 20, 0.98);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-8px);
    }

    .aves-home .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hero {
        padding: 115px 0 84px;
    }

    .hero h1 {
        font-size:
            clamp(47px, 14vw, 72px);

        line-height: 1.08;
        letter-spacing: -0.055em;
    }

    .hero h1 span {
        margin-top: 0.05em;
    }

    .server-bar {
        grid-template-columns: 1fr auto;
    }

    .server-bar-status {
        grid-column: 1 / -1;
    }

    .content-section {
        padding: 90px 0;
    }

    .info-cards {
        margin-top: 50px;
    }

    .info-card {
        min-height: 250px;
        padding: 27px;
    }

    .founders-grid {
        grid-template-columns: 1fr;
    }

    .founder-card,
    .founder-card-featured {
        width: 100%;

        grid-column: auto;
        grid-row: auto;

        transform: none;
    }

    .founder-card-featured {
        order: -1;
    }

    .founder-photo {
        height: min(78vw, 390px);
    }

    .join-card {
        padding: 34px 24px;
    }

    .footer-layout {
        padding: 28px 0;

        flex-direction: column;
        align-items: flex-start;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions,
    .join-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: 235px;
        padding: 24px;

        border-radius: 22px;
    }

    .info-card h3 {
        font-size: 22px;
    }

    .toast {
        right: 14px;
        bottom: 14px;

        max-width:
            calc(100vw - 28px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}