* {
    box-sizing: border-box;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    background: #09090a;
    color: white;
}

body {
    margin: 0;
    background: #09090a;
    min-height: 100vh;
}

a {
    color: inherit;
}

.public-header {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1320px, calc(100% - 48px));
    margin: auto;
    border-bottom: 1px solid #242426;
}

.public-brand {
    text-decoration: none;
}

.public-brand strong {
    display: block;
    font-size: 20px;
    letter-spacing: .18em;
}

.public-brand span {
    display: block;
    color: #77777d;
    font-size: 11px;
    margin-top: 4px;
}

.photo-count {
    color: #77777e;
    font-size: 13px;
}

.hero {
    width: min(920px, calc(100% - 40px));
    margin: 90px auto 70px;
    text-align: center;
}

.hero-label,
.section-tag {
    font-size: 11px;
    letter-spacing: .24em;
    font-weight: 800;
    color: #929298;
    margin-bottom: 17px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero p {
    width: min(680px, 100%);
    margin: 25px auto 32px;
    color: #aaaab0;
    line-height: 1.7;
    font-size: 17px;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: none;
    background: white;
    color: #111;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.photo-grid {
    width: min(1500px, calc(100% - 28px));
    margin: auto;
    columns: 3;
    column-gap: 14px;
}

.photo-card {
    break-inside: avoid;
    margin-bottom: 14px;
    position: relative;
    background: #121214;
}

.image-wrap {
    display: block;
    overflow: hidden;
}

.photo-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .35s ease;
}

.photo-card:hover img {
    transform: scale(1.012);
}

.download-btn {
    display: block;
    padding: 14px 14px;
    font-size: 12px;
    color: #bdbdc1;
    text-decoration: none;
    border-top: 1px solid #252527;
}

.download-btn:hover {
    color: white;
}

.support-section,
.links-section {
    width: min(900px, calc(100% - 40px));
    margin: 130px auto;
    text-align: center;
}

.support-section h2,
.links-section h2 {
    margin: 0;
    font-size: clamp(34px, 6vw, 60px);
    letter-spacing: -.045em;
}

.support-lead,
.links-section > p {
    width: min(670px, 100%);
    margin: 24px auto 40px;
    color: #a5a5ab;
    line-height: 1.75;
    font-size: 16px;
}

.zrzutka-frame {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 18px;
    background: white;
}

.zrzutka-frame iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
}

.support-footer {
    font-size: 13px;
    color: #77777e;
    margin-top: 22px;
}

.links-section {
    padding-top: 100px;
    border-top: 1px solid #252527;
}

.link-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.link-buttons a {
    padding: 13px 19px;
    border: 1px solid #353538;
    border-radius: 100px;
    text-decoration: none;
    color: #ddd;
}

.link-buttons a:hover {
    background: white;
    color: #111;
}

.public-footer {
    width: min(1320px, calc(100% - 48px));
    min-height: 140px;
    margin: 100px auto 0;
    border-top: 1px solid #242426;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #77777d;
    font-size: 12px;
}

.public-footer strong {
    color: white;
    letter-spacing: .18em;
}

.public-footer a {
    margin-left: auto;
}

.no-photos {
    width: min(900px, calc(100% - 40px));
    margin: 70px auto;
    text-align: center;
    color: #777;
}

.home-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
    background:
        radial-gradient(circle at 50% 25%, #242429, transparent 35rem),
        #09090a;
}

.home-center,
.unlock-card {
    width: min(620px, 100%);
    text-align: center;
}

.home-center .logo,
.unlock-card .logo {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: .22em;
}

.logo-sub {
    color: #777;
    margin-top: 8px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-size: 10px;
}

.home-center p,
.unlock-card p {
    color: #939399;
    margin: 30px 0;
    line-height: 1.7;
}

.outline-btn {
    display: inline-flex;
    border: 1px solid #39393d;
    padding: 13px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.unlock-card {
    max-width: 420px;
}

.unlock-card h1 {
    margin-top: 45px;
    font-size: 36px;
}

.password-input {
    width: 100%;
    background: #151517;
    color: white;
    border: 1px solid #333338;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    font: inherit;
}

.unlock-card .main-btn {
    width: 100%;
}

.public-error {
    color: #ffb7bd;
    margin-bottom: 15px;
}

@media (max-width: 1000px) {
    .photo-grid {
        columns: 2;
    }
}

@media (max-width: 620px) {
    .public-header {
        width: calc(100% - 30px);
    }

    .hero {
        margin-top: 60px;
    }

    .photo-grid {
        columns: 1;
        width: calc(100% - 16px);
    }

    .support-section,
    .links-section {
        margin-top: 90px;
        margin-bottom: 90px;
    }

    .zrzutka-frame {
        height: 500px;
        border-radius: 12px;
    }

    .public-footer {
        width: calc(100% - 30px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .public-footer a {
        margin-left: 0;
    }
}
