.founder-modal {
    width: min(1120px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f4ead2;
    overflow: visible;
}
.founder-modal::backdrop { background: rgb(4 7 9 / .82); backdrop-filter: blur(4px); }
.founder-modal[open] { animation: founder-in .35s ease-out; }
@keyframes founder-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.founder-box {
    position: relative;
    padding: 22px 24px 18px;
    border: 1px solid rgb(214 170 92 / .55);
    border-radius: 14px;
    background: linear-gradient(180deg, #151b20, #0b1013);
    box-shadow: 0 30px 80px rgb(0 0 0 / .6), inset 0 0 0 1px rgb(255 255 255 / .03);
}
.founder-head { text-align: center; margin: 0 40px 16px; }
.founder-head p {
    margin: 0 0 4px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #6fe3a0;
}
.founder-head h2 {
    margin: 0;
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    color: #f1cf86;
}
.founder-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(214 170 92 / .45);
    border-radius: 50%;
    background: rgb(0 0 0 / .35);
    color: #f1cf86;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.founder-close:hover, .founder-close:focus-visible { background: rgb(214 170 92 / .2); outline: none; }

.founder-packs { display: flex; justify-content: center; gap: 16px; }
.founder-pack {
    flex: 0 1 auto;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(0 0 0 / .45);
    transition: transform .2s ease, box-shadow .2s ease;
}
.founder-pack img {
    display: block;
    width: auto;
    height: min(calc(100dvh - 190px), 452px);
    max-width: 100%;
    aspect-ratio: 720 / 949;
    object-fit: cover;
}
.founder-pack:hover, .founder-pack:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 0 0 2px #f1cf86, 0 16px 40px rgb(0 0 0 / .55);
    outline: none;
}
.founder-hint { margin: 14px 0 0; text-align: center; font-size: .9rem; color: #b9b2a0; }

@media (max-width: 760px) {
    .founder-box { padding: 16px 0 14px; }
    .founder-head { margin-bottom: 12px; }
    .founder-packs {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 9vw 6px;
        scroll-padding: 0 9vw;
        scrollbar-width: none;
    }
    .founder-packs::-webkit-scrollbar { display: none; }
    .founder-pack { flex: 0 0 auto; scroll-snap-align: center; }
    .founder-pack img { height: auto; width: min(72vw, calc((100dvh - 170px) * 720 / 949)); }
    .founder-hint { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .founder-modal[open] { animation: none; }
    .founder-pack { transition: none; }
}
