@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

body { font-family: 'Inter', sans-serif; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.06); }
}

.animate-float { animation: float 5s ease-in-out infinite; }
.animate-glow { animation: pulseGlow 6s ease-in-out infinite; }

.glass-panel {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.interactive-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.interactive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(200, 16, 46, 0.15);
}

.nav-link { transition: color 0.2s ease; white-space: nowrap; }
.nav-link:hover,
.nav-link[aria-current="page"] { color: #C8102E; }

.filter-btn { transition: all 0.2s ease; }
.filter-btn[aria-pressed="true"] {
    background-color: #C8102E;
    border-color: #C8102E;
    color: #ffffff;
}

.field {
    width: 100%;
    background-color: #171717;
    border: 1px solid #404040;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    color: #ffffff;
}
.field::placeholder { color: #737373; }
.field:focus { outline: none; box-shadow: 0 0 0 2px #C8102E; }

/* Cookie notice */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #1A1A1A;
    color: #F8FAFC;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
    font-size: 0.875rem;
    line-height: 1.5;
}
@media (min-width: 768px) {
    .cookie-banner { left: 1.5rem; right: auto; bottom: 1.5rem; max-width: 26rem; }
}
.cookie-banner__text { margin: 0; color: #CBD5E1; }
.cookie-banner__link { color: #ffffff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.cookie-banner__link:hover { color: #C8102E; }
.cookie-banner__actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.cookie-banner__btn {
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #C8102E;
    background: #C8102E;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cookie-banner__btn:hover { background: #9B0B22; border-color: #9B0B22; }
.cookie-banner__btn--ghost { background: transparent; border-color: #404040; }
.cookie-banner__btn--ghost:hover { background: transparent; border-color: #F8FAFC; }
.cookie-banner__btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* Image lightbox */
.lightbox-trigger { cursor: zoom-in; }
.lightbox-trigger:focus-visible { outline: 2px solid #C8102E; outline-offset: 3px; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    cursor: zoom-out;
}
.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid #404040;
    background: #1A1A1A;
    color: #F8FAFC;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.lightbox__close:hover { background: #C8102E; border-color: #C8102E; }
.lightbox__close:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
body.lightbox-open { overflow: hidden; }
