/* --- 1. FONTS & RESET --- */
@font-face { font-family: 'Haas-Bold'; src: url('font-bold.otf'); }
@font-face { font-family: 'Haas-Light'; src: url('font-light.otf'); }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #000000;
    min-height: 100vh;
    font-family: 'Haas-Light', sans-serif;
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
}

/* --- 2. NAVIGATION (Exact match to Home) --- */
.navbar {
    display: flex;
    align-items: center;
    padding: 40px 150px 20px 150px; 
    position: relative;
    height: 120px;
}

.logo img {
    height: 75px; 
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links li {
    font-family: 'Haas-Light', sans-serif;
    font-size: 12px;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-links li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #f8ff5c;
    box-shadow: 0 0 10px rgba(248, 255, 92, 0.8);
    transition: width 0.3s ease;
}

.nav-links li:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(248, 255, 92, 0.6);
}

.nav-links li:hover::after { width: 100%; }

/* --- 3. FILTER MODE STYLES --- */

.filter-container {
    display: flex;
    justify-content: center;
    padding: 20px 0 40px 0;
}

.set-filters {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.filter-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: 'Haas-Bold', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

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

.filter-btn.active {
    background: #f8ff5c;
    color: black;
    box-shadow: 0 0 15px rgba(248, 255, 92, 0.3);
}

/* --- 4. THE 63 CARD GRID SECTION --- */

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 190px); 
    justify-content: center; 
    gap: 40px 15px;
    padding: 0 20px 100px 20px;
    transition: opacity 0.3s ease; /* Smooth fade when switching sets */
}

.card {
    width: 190px;
    height: 280px;
    position: relative;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    cursor: pointer;
    will-change: transform;
}

.card-inner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px; 
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    pointer-events: none; 
}

.card:hover {
    z-index: 100;
}

.card:hover .card-inner {
    border-color: #f8ff5c;
    box-shadow: 0 0 25px rgba(248, 255, 92, 0.4);
}

.card-image img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 8px;
    transform: translateZ(40px);
}

.card-info h3 {
    font-family: 'Haas-Bold', sans-serif;
    font-size: 13px; 
    text-transform: none;
    margin-bottom: 2px;
    transform: translateZ(50px);
}

.card-info p {
    font-size: 9px; 
    color: rgba(255,255,255,0.5);
    transform: translateZ(45px);
}
.card-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.card-modal.active {
    display: flex;
}

.card-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
}

.card-modal-content {
    position: relative;
    z-index: 2;
    max-width: min(92vw, 900px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px;
}

.card-modal-content img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
}

.card-modal-meta {
    text-align: center;
}

.card-modal-meta h2 {
    font-family: 'Haas-Bold', sans-serif;
    font-size: 20px;
    margin-bottom: 6px;
    color: white;
}

.card-modal-meta p {
    font-family: 'Haas-Light', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.card-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.card-modal-close:hover {
    background: #f8ff5c;
    color: black;
}
.card-info {
    position: relative;
}

.card-number {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 1.2px;
    color: rgba(248, 255, 92, 0.8);
    font-family: 'Haas-Bold', sans-serif;
}

.missing-card {
    width: 100%;
    aspect-ratio: 63 / 88;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px dashed rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 18px 12px;
}

.missing-card-logo img {
    width: 70px;
    opacity: 0.18;
    filter: grayscale(1);
}

.missing-card-text {
    font-family: 'Haas-Bold', sans-serif;
    font-size: 11px;
    line-height: 1.3;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.missing-card-number {
    font-size: 10px;
    color: rgba(248, 255, 92, 0.65);
    letter-spacing: 1.2px;
}

.card-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.card-modal.active {
    display: flex;
}

.card-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(12px);
}

.card-modal-content {
    position: relative;
    z-index: 2;
    max-width: min(92vw, 1000px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.card-modal-image-wrap {
    max-width: 100%;
    max-height: 78vh;
    overflow: auto;
    border-radius: 16px;
    cursor: zoom-in;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.card-modal-image-wrap::-webkit-scrollbar {
    display: none;
}

.card-modal-content img {
    max-width: min(88vw, 520px);
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease;
    transform-origin: center center;
}

.card-modal-content img.zoomed {
    cursor: zoom-out;
}

.card-modal-meta {
    text-align: center;
}

.card-modal-meta h2 {
    font-family: 'Haas-Bold', sans-serif;
    font-size: 20px;
    margin-bottom: 6px;
    color: white;
}

.card-modal-meta p {
    font-family: 'Haas-Light', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

#card-modal-zoom-hint {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
}

.card-modal-close,
.card-modal-nav {
    position: absolute;
    z-index: 3;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.card-modal-close {
    top: 24px;
    right: 24px;
    font-size: 28px;
    line-height: 1;
}

.card-modal-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 38px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-modal-prev {
    left: 24px;
}

.card-modal-next {
    right: 24px;
}

.card-modal-close:hover,
.card-modal-nav:hover {
    background: #f8ff5c;
    color: black;
}