:root {
    --background-primary: #FDFCF8;
    --background-secondary: #F5F1E6;
    --background-tertiary: #FAF9F6;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #757575 !important;
    --accent-primary: #88BBD6;
    --accent-secondary: #A0D2EB;
    --accent-highlight: #E3B04B;
    --border-color: #E5E1D8;
    --surface-color: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-primary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.editorial-flow-theme {
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}

.ui-font {
    font-family: 'Montserrat', sans-serif;
}

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

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

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

.header-block .header-block-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #88BBD6;
    transition: width 0.3s ease;
}

.header-block .header-block-link:hover::after {
    width: 100%;
}

.header-block .js-dropdown-menu {
    z-index: 120;
}

.header-block .js-mobile-menu.active {
    transform: translateX(0);
}

@media (max-width: 767px) {
    .header-block .container {
        max-width: 100%;
    }
}

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

.hero-archive__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% 4px, 3px 100%;
}

.hero-archive__scanlines {
    background: repeating-linear-gradient(0deg, #000 0px, #000 1px, transparent 1px, transparent 2px);
}

.hero-archive .js-reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-archive .js-reveal-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-archive__btn {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ===== featured-myths ===== */
.featured-myths-block .active-filter {
    color: #1A1A1A !important;
    border-bottom: 2px solid #E3B04B !important;
}

.featured-myths-block .js-myth-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.featured-myths-block .js-myth-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.featured-myths-block .stamp {
    display: inline-block;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.featured-myths-block .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== newsletter ===== */
.newsletter-archive .newsletter-card {
    box-shadow: 20px 20px 0px 0px rgba(229, 225, 216, 0.5);
}

/* ===== forum chronicles ===== */
.forum-chronicles {
    font-family: 'Courier New', Courier, monospace;
    background-color: #F5F1E6;
    position: relative;
}

.forum-chronicles .crt-overlay {
    background: linear-gradient(rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.04) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
}

.forum-chronicles .scanlines {
    background: repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 3px);
    pointer-events: none;
}

.forum-card {
    background: #FFFFFF;
    border: 1px solid #E5E1D8;
    border-left: 3px solid #E3B04B;
    padding: 16px 18px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.forum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px);
    pointer-events: none;
    z-index: 1;
}

.forum-card > * {
    position: relative;
    z-index: 2;
}

.forum-card.rumor { border-left-color: #E3B04B; }
.forum-card.questioned { border-left-color: #88BBD6; }
.forum-card.archived { border-left-color: #5cb85c; }
.forum-card.debunked { border-left-color: #D9534F; }

.status-badge {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 2px 8px;
    border: 1px solid currentColor;
    text-transform: uppercase;
}

.forum-card.rumor .status-badge { color: #E3B04B; border-color: #E3B04B; }
.forum-card.questioned .status-badge { color: #88BBD6; border-color: #88BBD6; }
.forum-card.archived .status-badge { color: #5cb85c; border-color: #5cb85c; }
.forum-card.debunked .status-badge { color: #D9534F; border-color: #D9534F; }

.forum-myth-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #1A1A1A;
    line-height: 1.5;
    margin-bottom: 8px;
}

.forum-source {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    color: #757575;
    font-style: italic;
}

.verify-btn, .expand-btn {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid #E5E1D8;
    background: transparent;
    color: #757575;
    cursor: pointer;
    transition: all 0.2s ease;
}

.verify-btn:hover, .expand-btn:hover {
    border-color: #88BBD6;
    color: #88BBD6;
}

.forum-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #E5E1D8;
    overflow: hidden;
}

.details-line {
    height: 1px;
    background: #E5E1D8;
    margin-bottom: 10px;
}

.details-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #4A4A4A;
    line-height: 1.6;
}

.forum-card.glitch-active {
    animation: forumGlitch 0.35s ease;
}

@keyframes forumGlitch {
    0% { transform: translate(0); filter: none; }
    20% { transform: translate(-2px, 1px); filter: hue-rotate(90deg); }
    40% { transform: translate(2px, -1px); filter: hue-rotate(180deg); }
    60% { transform: translate(-1px, 2px); filter: hue-rotate(270deg); }
    80% { transform: translate(1px, -2px); filter: hue-rotate(360deg); }
    100% { transform: translate(0); filter: none; }
}

.forum-details.hidden {
    display: none;
}

.forum-details .details-text {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.forum-details.revealed .details-text {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .forum-myth-text { font-size: 15px; }
    .details-text { font-size: 14px; }
}

.newsletter-archive .js-input-field::placeholder {
    color: #757575;
    opacity: 0.7;
}

.newsletter-archive .js-input-field:focus+.newsletter-label {
    color: #88BBD6;
}

.newsletter-archive .newsletter-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(136, 187, 214, 0.1) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* ===== archive-info ===== */
.archive-info-section .archive-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(136, 187, 214, 0.1), transparent);
    pointer-events: none;
}

.archive-info-section .archive-content p {
    hyphens: auto;
}

.archive-info-section .archive-label {
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

/* ===== footer ===== */
.neon-footer {
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.neon-footer h3 {
    font-family: 'Playfair Display', serif;
}

.neon-footer a {
    text-decoration: none;
}

.neon-footer .container {
    max-width: 1200px;
}

@media (max-width: 767px) {
    .neon-footer {
        text-align: left;
    }

    .neon-footer .flex-col {
        align-items: flex-start;
    }

    .neon-footer .items-center {
        align-items: flex-start;
    }
}

.header-block .header-block-link {
    position: relative;
}

.header-block .header-block-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #88BBD6;
    transition: width 0.3s ease;
}

.header-block .header-block-link:hover::after {
    width: 100%;
}

.header-block .js-dropdown-menu {
    z-index: 120;
}

.header-block .js-mobile-menu.active {
    transform: translateX(0);
}

.neon-footer {
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.neon-footer h3 {
    font-family: 'Playfair Display', serif;
}

.myth-list-block .myth-card {
    height: 100%;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.myth-list-block .myth-card:hover {
    box-shadow: 10px 10px 0px #1A1A1A;
    transform: translate(-4px, -4px);
}

@media (max-width: 767px) {
    .header-block .container {
        max-width: 100%;
    }

    .neon-footer {
        text-align: left;
    }

    .neon-footer .flex-col {
        align-items: flex-start;
    }

    .neon-footer .items-center {
        align-items: flex-start;
    }
}


/* ===== UNIFIED POLICY PAGES ===== */
.policy-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FDFCF8;
  min-height: 60vh;
}

.policy-content-wrapper h2,
.policy-content-wrapper h3 {
  font-family: 'Playfair Display', serif;
  color: #1A1A1A;
  line-height: 1.2;
}

.policy-content-wrapper h2 {
  font-size: 20px;
  margin-bottom: 24px;
}

.policy-content-wrapper h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.policy-content-wrapper p,
.policy-content-wrapper li {
  font-family: 'Inter', sans-serif;
  color: #4A4A4A;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-content-wrapper a {
  color: #88BBD6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.policy-content-wrapper a:hover {
  color: #E3B04B;
  border-bottom-color: #E3B04B;
}

.policy-content-wrapper section {
  margin-bottom: 32px;
  border-bottom: 1px solid #E5E1D8;
  padding-bottom: 32px;
}

.policy-content-wrapper section:last-of-type {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.policy-content-wrapper header {
  margin-bottom: 32px;
  border-bottom: 1px solid #E5E1D8;
  padding-bottom: 16px;
}

.policy-content-wrapper .meta,
.policy-content-wrapper .disclaimer-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .policy-content-wrapper h2 {
    font-size: 32px;
  }
  .policy-content-wrapper h3 {
    font-size: 26px;
  }
  .policy-content-wrapper p,
  .policy-content-wrapper li {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .policy-content-wrapper {
    padding: 24px 16px;
  }
}

/* ===== PAGE: about ===== */
.about-content h2, .about-content h3 { color: #1A1A1A; }
.about-content p { color: #4A4A4A; line-height: 1.6; }
.about-content .container { position: relative; }
.about-content img { transition: transform 0.5s ease; }
.about-content .hover-shadow-md:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.05); }

/* ===== PAGE: contact ===== */
.contact-section .contact-info-icon { transition: transform 0.3s ease; } .contact-section .contact-form-input:focus { box-shadow: 0 0 0 1px #88BBD6; }

.main-comment-wrapper {
    background-color: #FFFFFF;
    transition: transform 0.2s ease;
}

.avatar-circle {
    aspect-ratio: 1/1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-text {
    font-size: 1.125rem;
    word-break: break-word;
}

.author-name {
    letter-spacing: -0.01em;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.reply-comment-wrapper {
    position: relative;
}

.reply-comment-wrapper .avatar-circle {
    width: 40px;
    height: 40px;
}

.reply-comment-wrapper .comment-text {
    font-size: 1rem;
    color: #4A4A4A;
}

.reply-comment-wrapper .author-name {
    color: #1A1A1A;
}


/* ===== PAGE TEMPLATE: sega-secrets ===== */
.header-block .header-block-link {
    position: relative;
}

.header-block .header-block-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #88BBD6;
    transition: width 0.3s ease;
}

.header-block .header-block-link:hover::after {
    width: 100%;
}

.header-block .js-dropdown-menu {
    z-index: 120;
}

.header-block .js-mobile-menu.active {
    transform: translateX(0);
}

.detail-page-container {
    min-height: 100vh;
}

.prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
    font-weight: 900;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .prose h2 {
        font-size: 32px;
    }
}

.prose h3 {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    margin-bottom: 1.25rem;
    color: #1A1A1A;
    font-weight: 700;
}

@media (min-width: 768px) {
    .prose h3 {
        font-size: 26px;
    }
}

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.prose ul {
    list-style: square;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.neon-footer {
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.neon-footer h3 {
    font-family: 'Playfair Display', serif;
}

@media (max-width: 767px) {
    .neon-footer {
        text-align: left;
    }

    .neon-footer .flex-col {
        align-items: flex-start;
    }

    .neon-footer .items-center {
        align-items: flex-start;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===== PAGE TEMPLATE: dendy-myths ===== */
.header-block .header-block-link {
    position: relative;
}

.header-block .header-block-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #88BBD6;
    transition: width 0.3s ease;
}

.header-block .header-block-link:hover::after {
    width: 100%;
}

.header-block .js-dropdown-menu {
    z-index: 120;
}

.header-block .js-mobile-menu.active {
    transform: translateX(0);
}

.detail-page-container {
    min-height: 100vh;
}

.prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
    font-weight: 900;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .prose h2 {
        font-size: 32px;
    }
}

.prose h3 {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    margin-bottom: 1.25rem;
    color: #1A1A1A;
    font-weight: 700;
}

@media (min-width: 768px) {
    .prose h3 {
        font-size: 26px;
    }
}

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.prose ul {
    list-style: square;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.neon-footer {
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.neon-footer h3 {
    font-family: 'Playfair Display', serif;
}

@media (max-width: 767px) {
    .neon-footer {
        text-align: left;
    }

    .neon-footer .flex-col {
        align-items: flex-start;
    }

    .neon-footer .items-center {
        align-items: flex-start;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}