:root {
    --primary-color: #E60012;
    --secondary-color: #0055A5;
    --accent-color: #FBD000;
    --bg-main: #F5F5DC;
    --bg-surface: #FFFFFF;
    --text-primary: #222222;
    --text-secondary: #5D4037;
    --border-color: #222222;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.bg-parchment {
    background-color: #F5F5DC;
}

.text-muted {
    color: #6B7280 !important;
}

.heading-retro {
    font-family: 'Press Start 2P', cursive;
}

.smooth-transition {
    transition: all 0.3s ease-in-out;
}

.glass-case {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-case:hover {
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateY(-5px);
}

input,
textarea {
    font-family: 'Poppins', sans-serif;
}

/* ===== header ===== */
.header-museum {
    font-family: 'Poppins', sans-serif;
}

.header-museum .js-dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translate-y(0);
}

.header-museum .js-mobile-menu.active {
    display: flex;
}

/* ===== hero ===== */
.hero-block {
    position: relative;
}

.hero-block .crt-overlay {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    z-index: 20;
}

.hero-block .hero-title {
    text-shadow: 4px 4px 0px #222222;
}

.hero-block .hero-card-item {
    height: 100%;
}

.hero-block .hero-badge {
    box-shadow: 0 0 15px rgba(230, 0, 18, 0.4);
}

@media (max-width: 767px) {
    .hero-block {
        min-h-[500px];
        padding-top: 60px;
    }

    .hero-block .hero-title {
        line-height: 1.4;
    }
}

/* ===== about_museum ===== */
.about-museum-block .crt-overlay {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 3px 100%;
    transition: opacity 0.5s ease;
}

.about-museum-block .crt-off .crt-overlay {
    opacity: 0;
}

.about-museum-block .museum-frame img {
    aspect-ratio: 4/3;
}

.about-museum-block .pixel-accent {
    clip-path: polygon(0 25%, 25% 25%, 25% 0, 75% 0, 75% 25%, 100% 25%, 100% 75%, 75% 75%, 75% 100%, 25% 100%, 25% 75%, 0 75%);
}

.about-museum-block .text-content p {
    color: #5D4037;
}

/* ===== exhibits_preview ===== */
.exhibits-preview .exhibit-case {
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

.exhibits-preview .exhibit-case:hover {
    transform: translateY(-10px);
}

.exhibits-preview .exhibit-case:hover .exhibit-overlay {
    opacity: 0.05;
}

.exhibits-preview .exhibit-case::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.exhibits-preview .exhibit-case:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 10px;
    background: #FBD000;
    box-shadow: 0 0 30px 10px rgba(251, 208, 0, 0.4);
    z-index: 5;
    border-radius: 0 0 50% 50%;
}

/* ===== newsletter ===== */
.newsletter-block .scanline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    z-index: 1;
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
}

.newsletter-block .js-email-input::placeholder {
    color: #5D4037;
    opacity: 0.6;
}

.newsletter-block .js-submit-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-block .js-error-message.visible {
    display: block;
}

/* ===== contact_exhibit ===== */
.contact-exhibit-section .form-group input::placeholder,
.contact-exhibit-section .form-group textarea::placeholder {
    color: #8B4513;
    opacity: 0.6;
}

.contact-exhibit-section .exhibit-info-card {
    transition: transform 0.2s ease;
}

.contact-exhibit-section .exhibit-info-card:hover {
    transform: translateY(-4px);
}

/* ===== footer ===== */
.epic-footer {
    position: relative;
}

.epic-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.02) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.01));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

.epic-footer .footer-brand p {
    hyphens: auto;
}

.epic-footer ul li a {
    position: relative;
    display: inline-block;
}

.epic-footer ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #0055A5;
    transition: width 0.3s ease;
}

.epic-footer ul li a:hover::after {
    width: 100%;
}

.header-museum {
    font-family: 'Poppins', sans-serif;
}

.header-museum .js-dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.header-museum .js-mobile-menu.active {
    display: flex;
}

.hero-block {
    position: relative;
}

.hero-block .crt-overlay {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    z-index: 20;
}

.hero-block .hero-title {
    text-shadow: 4px 4px 0px #222222;
}

.exhibit-card {
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.epic-footer {
    position: relative;
}

.epic-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.02) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.01));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

.epic-footer ul li a {
    position: relative;
    display: inline-block;
}

.epic-footer ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #0055A5;
    transition: width 0.3s ease;
}

.epic-footer ul li a:hover::after {
    width: 100%;
}


/* ===== PAGE: privacy ===== */
.policy-wrapper { padding: 40px 20px; background-color: #F5F5DC; min-height: 100vh; } .policy-content-body { max-width: 1000px; margin: 0 auto; background: #FFFFFF; padding: 30px; border: 4px solid #222222; box-shadow: 10px 10px 0px #222222; position: relative; } .policy-text-content { color: #5D4037; font-family: 'Poppins', sans-serif; line-height: 1.8; } .policy-text-content h2 { margin-top: 40px; margin-bottom: 20px; line-height: 1.3; text-transform: uppercase; } .policy-text-content p { margin-bottom: 20px; text-align: justify; hyphens: auto; } .policy-text-content ul { margin-bottom: 24px; } .policy-text-content li { margin-bottom: 12px; } .policy-text-content strong { color: #222222; font-weight: 700; } @media (max-width: 767px) { .policy-content-body { padding: 20px; border-width: 2px; box-shadow: 5px 5px 0px #222222; } .policy-text-content p { text-align: left; } }

/* ===== PAGE: terms ===== */
.policy-content-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #222222;
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
}

.policy-content-body .terms-header-block {
  text-align: center;
  border-bottom: 4px solid #E60012;
  padding-bottom: 2rem;
}

.policy-content-body .terms-badge {
  display: inline-block;
  background: #0055A5;
  color: #FFFFFF;
  padding: 4px 12px;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  margin-bottom: 1rem;
}

.policy-content-body .terms-main-title {
  font-family: 'Press Start 2P', cursive;
  text-transform: uppercase;
  color: #E60012;
  font-size: 18px;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .policy-content-body .terms-main-title {
    font-size: 32px;
  }
}

.policy-content-body h2 {
  font-family: 'Press Start 2P', cursive;
  color: #0055A5;
  font-size: 14px;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .policy-content-body h2 {
    font-size: 20px;
  }
}

.policy-content-body p {
  margin-bottom: 1.2rem;
  color: #5D4037;
}

.policy-content-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: none;
}

.policy-content-body li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
}

.policy-content-body li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #E60012;
}

.policy-content-body a {
  color: #0055A5;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.policy-content-body a:hover {
  color: #E60012;
}

.policy-content-body .terms-section {
  padding: 1.5rem 0;
  border-bottom: 1px dashed #222222;
}

.policy-content-body .last-updated {
  font-style: italic;
  font-size: 0.85rem;
  margin-top: 3rem;
  text-align: center;
  opacity: 0.8;
}

/* ===== PAGE: disclaimer ===== */
.policy-wrapper { padding: 40px 15px; background: #F5F5DC; } .policy-content-body { max-width: 900px; margin: 0 auto; background: #FFFFFF; padding: 30px; border: 2px solid #222222; box-shadow: 8px 8px 0px #222222; } .policy-content-body h1, .policy-content-body h2, .policy-content-body h3 { font-family: 'Press Start 2P', cursive; color: #E60012; text-transform: uppercase; margin-top: 32px; margin-bottom: 16px; line-height: 1.3; } .policy-content-body h1 { margin-top: 0; } .policy-content-body h2 { font-size: 14px; border-left: 4px solid #FBD000; padding-left: 10px; } .policy-content-body p, .policy-content-body li { font-family: 'Poppins', sans-serif; color: #5D4037; font-size: 16px; line-height: 1.8; margin-bottom: 1rem; text-align: justify; hyphens: auto; } .policy-content-body ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; } .policy-content-body ul li { position: relative; padding-left: 25px; } .policy-content-body ul li::before { content: '\f11b'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 0; color: #0055A5; font-size: 14px; } .policy-content-body a { color: #0055A5; text-decoration: underline; transition: color 0.3s ease; } .policy-content-body a:hover { color: #E60012; } @media (max-width: 768px) { .policy-content-body { padding: 20px; box-shadow: 4px 4px 0px #222222; } .policy-content-body h2 { font-size: 12px; } .policy-content-body p, .policy-content-body li { font-size: 14px; } }

/* ===== PAGE: cookies ===== */
.policy-wrapper { padding: 40px 20px; max-width: 1000px; margin: 0 auto; color: #222222; } .policy-content-body { line-height: 1.6; font-family: 'Poppins', sans-serif; background: #FFFFFF; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); border: 2px solid #222222; } .policy-content-body h2, .policy-content-body h3 { font-family: 'Press Start 2P', cursive; text-transform: uppercase; word-wrap: break-word; } .policy-content-body p { margin-bottom: 1.5rem; color: #5D4037; } .policy-content-body strong { color: #222222; font-weight: 600; } .policy-content-body a { color: #0055A5; text-decoration: underline; transition: color 0.3s ease; } .policy-content-body a:hover { color: #E60012; } @media (max-width: 768px) { .policy-wrapper { padding: 20px 10px; } .policy-content-body { padding: 20px; } }

/* ===== PAGE: history ===== */
.history-content-block .js-filter-btn.active {
  background-color: #FBD000;
  box-shadow: 4px 4px 0px 0px rgba(34,34,34,1);
  transform: translate(-2px, -2px);
}
.history-content-block .js-exhibit-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.history-content-block .js-exhibit-item:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 0px 0px rgba(34,34,34,1);
}
@media (max-width: 767px) {
  .history-content-block h1 {
    hyphens: auto;
  }
  .history-content-block .js-exhibit-item {
    box-shadow: 4px 4px 0px 0px rgba(34,34,34,1);
  }
}

.font-press-start {
    font-family: 'Press Start 2P', cursive;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.comment-main-wrapper {
    position: relative;
    transition: all 0.2s ease;
}

.comment-main-wrapper:hover {
    transform: translate(-2px, -2px);
    shadow: [10px_10px_0px_0px_rgba(34, 34, 34, 1)];
}

.avatar-box {
    box-shadow: 4px 4px 0px 0px rgba(34, 34, 34, 1);
}

.comment-reply-wrapper {
    position: relative;
    border-left-color: #FBD000;
}

.avatar-box div {
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.comment-content p {
    word-break: break-word;
}


/* ===== PAGE TEMPLATE: evolution ===== */
.bg-parchment {
    background-color: #F5F5DC;
}

.detail-page-container {
    font-family: 'Poppins', sans-serif;
}

.header-museum {
    font-family: 'Poppins', sans-serif;
}

.header-museum .js-dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.header-museum .js-mobile-menu.active {
    display: flex;
}

.prose-custom p {
    margin-bottom: 2rem;
}

.prose-custom h2 {
    color: #E60012;
    margin-top: 3rem;
}

.epic-footer {
    position: relative;
}

.epic-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.02) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.01));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 768px) {
    h1 {
        font-size: 18px !important;
    }

    h2 {
        font-size: 16px !important;
    }

    h3 {
        font-size: 14px !important;
    }

    .content-article {
        padding: 0 10px;
    }
}

/* ===== PAGE TEMPLATE: secrets ===== */
.bg-parchment {
    background-color: #F5F5DC;
}

.detail-page-container {
    font-family: 'Poppins', sans-serif;
}

.header-museum {
    font-family: 'Poppins', sans-serif;
}

.header-museum .js-dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.header-museum .js-mobile-menu.active {
    display: flex;
}

.prose-custom p {
    margin-bottom: 2rem;
}

.prose-custom h2 {
    color: #E60012;
    margin-top: 3rem;
}

.epic-footer {
    position: relative;
}

.epic-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.02) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.01));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 768px) {
    h1 {
        font-size: 18px !important;
    }

    h2 {
        font-size: 16px !important;
    }

    h3 {
        font-size: 14px !important;
    }

    .content-article {
        padding: 0 10px;
    }
}

/* ===== PAGE TEMPLATE: legacy ===== */
.bg-parchment {
    background-color: #F5F5DC;
}

.detail-page-container {
    font-family: 'Poppins', sans-serif;
}

.header-museum {
    font-family: 'Poppins', sans-serif;
}

.header-museum .js-dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.header-museum .js-mobile-menu.active {
    display: flex;
}

.prose-custom p {
    margin-bottom: 2rem;
}

.prose-custom h2 {
    color: #E60012;
    margin-top: 3rem;
}

.epic-footer {
    position: relative;
}

.epic-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.02) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.01));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 768px) {
    h1 {
        font-size: 18px !important;
    }

    h2 {
        font-size: 16px !important;
    }

    h3 {
        font-size: 14px !important;
    }

    .content-article {
        padding: 0 10px;
    }
}