/* ============================================================
   Shared Stylesheet — Daphne Inn Valencia / Case Refactor
   ============================================================ */

:root {
    --alert-red: #b71c1c;
    --alert-dark: #7f0000;
    --warning-amber: #ff8f00;
    --warning-bg: #fff8e1;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --bg-main: #faf9f7;
    --bg-section: #ffffff;
    --border-light: #e8e8e8;
    --border-accent: #d32f2f;
    --link-blue: #1565c0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 48px;
}

body {
    font-family: 'Libre Franklin', system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
}

/* ============================================================
   Alert Banner
   ============================================================ */
.alert-banner {
    background: linear-gradient(135deg, var(--alert-red) 0%, var(--alert-dark) 100%);
    color: white;
    padding: 16px 20px;
    text-align: center;
}

.alert-banner-inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.alert-icon {
    font-size: 28px;
    line-height: 1;
}

.alert-text {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================================
   Navigation Bar
   ============================================================ */
.site-nav {
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.nav-inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-item {
    flex-shrink: 0;
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-item:hover {
    color: var(--alert-red);
    background: #fef7f7;
}

.nav-item.active {
    color: var(--alert-red);
    border-bottom-color: var(--alert-red);
}

/* ============================================================
   Hero Header
   ============================================================ */
.hero-header {
    background: linear-gradient(to bottom, #ffffff 0%, #faf9f7 100%);
    border-bottom: 4px solid var(--alert-red);
    padding: 40px 24px 32px;
}

.hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.hero-category {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--alert-red);
    margin-bottom: 12px;
}

.hero-category-en {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 12px;
}

.hero-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.hero-subtitle-en {
    font-size: 15px;
    color: var(--text-muted);
    font-style: italic;
}

.hero-address {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--warning-bg);
    border-left: 4px solid var(--warning-amber);
    border-radius: 0 8px 8px 0;
}

.address-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--warning-amber);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.address-main {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.address-en {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2px;
}

/* ============================================================
   Intro Block
   ============================================================ */
.intro-block {
    background: var(--bg-section);
    border-bottom: 2px solid var(--border-light);
    padding: 40px 24px;
}

.intro-inner {
    max-width: 920px;
    margin: 0 auto;
}

.intro-heading {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.intro-inner p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    max-width: 800px;
}

/* ============================================================
   Main Content Area
   ============================================================ */
.content-area {
    max-width: 920px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

/* ============================================================
   Warning Block
   ============================================================ */
.warning-block {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    border: 2px solid var(--alert-red);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.warning-icon {
    width: 32px;
    height: 32px;
    background: var(--alert-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.warning-label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--alert-dark);
}

.warning-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.warning-body {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.warning-body-en {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
    line-height: 1.6;
}

/* ============================================================
   Content Sections
   ============================================================ */
.content-section {
    background: var(--bg-section);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
}

.section-top {
    background: linear-gradient(to right, #f5f5f5 0%, #fafafa 100%);
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
}

.section-name {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.section-name-en {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.section-content {
    padding: 24px;
}

.section-intro {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.section-intro-en {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}

/* ============================================================
   Info Cards
   ============================================================ */
.info-card {
    background: #fafafa;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-card--highlight {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.card-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-value-en {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2px;
}

/* ============================================================
   Status Grid
   ============================================================ */
.status-grid {
    display: grid;
    gap: 16px;
}

.status-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.status-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.status-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.status-name-en {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.status-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 6px;
}

.status-desc-en {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 4px;
    line-height: 1.5;
}

/* ============================================================
   Badges
   ============================================================ */
.badge-danger {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    color: var(--alert-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.badge-warning {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #e65100;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ============================================================
   Case Cards (Legal Proceedings)
   ============================================================ */
.case-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.case-card:last-child {
    margin-bottom: 0;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.case-authority {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.case-ref {
    font-size: 13px;
    font-weight: 700;
    font-family: 'SF Mono', 'Consolas', monospace;
    color: var(--text-primary);
    margin-top: 2px;
}

.case-status {
    background: var(--alert-red);
    color: white;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
}

.case-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.case-summary-en {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
    line-height: 1.6;
}

/* ============================================================
   Links Section
   ============================================================ */
.link-group {
    display: grid;
    gap: 12px;
}

.link-card {
    background: #fafafa;
    border-radius: 8px;
    padding: 16px 20px;
    transition: background 0.2s;
}

.link-card:hover {
    background: #f5f5f5;
}

.link-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.link-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--link-blue);
    text-decoration: none;
}

.link-button:hover {
    text-decoration: underline;
}

.link-button::after {
    content: "→";
}

/* ============================================================
   Section Links Grid (for landing page)
   ============================================================ */
.section-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.section-link-card {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: var(--alert-red);
}

.section-link-icon {
    font-size: 28px;
    line-height: 1;
}

.section-link-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-link-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================================
   Platform Table
   ============================================================ */
.platform-table {
    width: 100%;
    border-collapse: collapse;
}

.platform-table th {
    text-align: left;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 12px 16px;
    background: #fafafa;
    border-bottom: 2px solid var(--border-light);
}

.platform-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
    font-size: 13px;
}

.platform-table tr:last-child td {
    border-bottom: none;
}

.platform-name {
    font-weight: 600;
}

.platform-detail {
    margin-bottom: 4px;
}

.platform-alert {
    color: var(--alert-dark);
    font-weight: 500;
}

.platform-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.platform-note-en {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    padding-right: 36px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    user-select: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1;
    transition: transform 0.2s;
}

details[open] > .faq-summary::after {
    content: "×";
}

.faq-summary:hover .faq-q-es {
    color: var(--alert-red);
}

.faq-q-es {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    transition: color 0.2s;
}

.faq-q-en {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
}

.faq-body {
    padding-bottom: 22px;
}

.faq-answer-es {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.faq-answer-es p {
    margin-bottom: 10px;
}

.faq-answer-es p:last-child {
    margin-bottom: 0;
}

.faq-answer-es ul {
    margin: 10px 0 10px 22px;
}

.faq-answer-es ul li {
    margin-bottom: 6px;
}

.faq-answer-en {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}

.faq-answer-en p {
    margin-bottom: 10px;
}

.faq-answer-en p:last-child {
    margin-bottom: 0;
}

.faq-answer-en ul {
    margin: 10px 0 10px 22px;
}

.faq-answer-en ul li {
    margin-bottom: 6px;
}

/* ============================================================
   Reviews Section
   ============================================================ */
.reviews-source-notice {
    background-color: #f0f0f0;
    padding: 10px 14px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.reviews-source-text {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.reviews-source-text-en {
    font-size: 11px;
    color: #666;
    font-style: italic;
    line-height: 1.5;
    margin-top: 2px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.review-card {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #ffffff;
}

.review-card:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.review-reviewer {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.review-stars {
    font-size: 13px;
    color: #e65100;
    letter-spacing: 1px;
}

.review-text {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 5px;
}

.review-text-en {
    font-size: 12px;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

/* ============================================================
   Critical Incident Block
   ============================================================ */
.warning-block--critical {
    background: linear-gradient(135deg, #1a0000 0%, #3d0000 100%);
    border: 2px solid #ff1744;
    color: #f5f5f5;
}

.warning-block--critical .warning-label {
    color: #ff8a80;
}

.warning-block--critical .warning-title {
    color: #ffffff;
    font-size: 18px;
}

.warning-block--critical .warning-body {
    color: #e0e0e0;
}

.warning-block--critical .warning-body ul {
    margin: 10px 0 10px 20px;
    line-height: 1.75;
}

.warning-block--critical .warning-body ul li {
    margin-bottom: 4px;
}

.warning-block--critical .warning-body-en {
    color: #bdbdbd;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 12px;
    margin-top: 16px;
}

.warning-block--critical .warning-body-en ul {
    margin: 10px 0 10px 20px;
    line-height: 1.75;
}

.warning-block--critical .warning-body-en ul li {
    margin-bottom: 4px;
}

.incident-police-quote {
    background: rgba(255,255,255,0.07);
    border-left: 4px solid #ff8a80;
    padding: 14px 18px;
    margin-top: 14px;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.75;
}

.incident-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.incident-photo-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.incident-photo-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    display: block;
}

.incident-photo-caption {
    font-size: 11px;
    color: #9e9e9e;
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-light);
    border-radius: 2px;
}

.timeline-entry {
    position: relative;
    margin-bottom: 28px;
    padding-bottom: 4px;
}

.timeline-entry:last-child {
    margin-bottom: 0;
}

.timeline-entry::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--alert-red);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--alert-red);
}

.timeline-date {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--alert-red);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-desc-en {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 4px;
    line-height: 1.5;
}

/* ============================================================
   Disclaimer Banner
   ============================================================ */
.disclaimer-banner {
    background: #f5f5f0;
    border-top: 4px solid #78909c;
    padding: 40px 24px;
}

.disclaimer-inner {
    max-width: 920px;
    margin: 0 auto;
}

.disclaimer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #37474f;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.disclaimer-block {
    margin-bottom: 32px;
}

.disclaimer-block:last-child {
    margin-bottom: 0;
}

.disclaimer-block p {
    font-size: 13px;
    color: #546e7a;
    line-height: 1.75;
    margin-bottom: 10px;
}

.disclaimer-block p:last-child {
    margin-bottom: 0;
}

.disclaimer-divider {
    border: none;
    border-top: 1px solid #cfd8dc;
    margin: 28px 0;
}

/* ============================================================
   Footer
   ============================================================ */
.page-footer {
    background: linear-gradient(135deg, #263238 0%, #1a1a2e 100%);
    color: white;
    padding: 40px 24px 32px;
}

.footer-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.footer-purpose {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-purpose-en {
    font-size: 13px;
    opacity: 0.7;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-notice {
    font-size: 11px;
    opacity: 0.6;
    line-height: 1.6;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* ============================================================
   Unofficial Links Bar
   ============================================================ */
.unofficial-links-bar {
    background: #1a1a2e;
    border-bottom: 3px solid var(--warning-amber);
    padding: 14px 20px;
}

.unofficial-links-inner {
    max-width: 920px;
    margin: 0 auto;
}

.unofficial-links-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warning-amber);
    margin-bottom: 10px;
}

.unofficial-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.unofficial-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.unofficial-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.unofficial-link-x {
    background: #000000;
    color: #ffffff;
    border: 1px solid #333;
}

.unofficial-link-reddit {
    background: #ff4500;
    color: #ffffff;
}

.unofficial-link-web {
    background: #1565c0;
    color: #ffffff;
}

.unofficial-link-icon {
    font-size: 15px;
    line-height: 1;
}

/* ============================================================
   Last Updated
   ============================================================ */
.last-updated {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: var(--text-muted);
}

.last-updated-separator {
    margin: 0 10px;
}

/* ============================================================
   Back to Top Button
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--alert-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--alert-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(183, 28, 28, 0.4);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* ============================================================
   Responsive Table Wrapper
   ============================================================ */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
}

.table-responsive .platform-table {
    min-width: 500px;
}

/* ============================================================
   General Accordion (details/summary)
   ============================================================ */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    background: var(--bg-section);
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    padding-right: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    user-select: none;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    background: #fafafa;
    transition: background 0.2s;
}

.accordion-summary::-webkit-details-marker {
    display: none;
}

.accordion-summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1;
    transition: transform 0.2s;
}

details[open] > .accordion-summary::after {
    content: "×";
}

.accordion-summary:hover {
    background: #f0f0f0;
}

.accordion-summary .accordion-year {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--alert-red);
    min-width: 48px;
}

.accordion-summary .accordion-label {
    flex: 1;
}

.accordion-summary .accordion-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
}

.accordion-body {
    padding: 0 20px 20px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) {
    .hero-title {
        font-size: 26px;
    }

    .status-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .case-meta {
        flex-direction: column;
        gap: 8px;
    }

    .section-content {
        padding: 18px;
    }

    .incident-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .section-links-grid {
        grid-template-columns: 1fr;
    }

    .accordion-summary {
        padding: 14px 16px;
        padding-right: 38px;
        font-size: 13px;
    }
}

/* ============================================================
   Print Styles
   ============================================================ */
@media print {
    *,
    *::before,
    *::after {




/* ============================================================
   Day/Night Theme Toggle
   ============================================================ */

/* -- Dark theme CSS custom properties -- */
[data-theme="dark"] {
    --alert-red: #ef5350;
    --alert-dark: #e53935;
    --warning-amber: #ffb74d;
    --warning-bg: #2a2415;
    --text-primary: #e8e8e8;
    --text-secondary: #bdbdbd;
    --text-muted: #9e9e9e;
    --bg-main: #121212;
    --bg-section: #1e1e1e;
    --border-light: #333333;
    --border-accent: #ef5350;
    --link-blue: #64b5f6;
}

[data-theme="dark"] body {
    background: var(--bg-main);
    color: var(--text-primary);
}

[data-theme="dark"] .alert-banner {
    background: linear-gradient(135deg, #4a0000 0%, #2a0000 100%);
}

[data-theme="dark"] .site-nav {
    background: #1a1a1a;
    border-bottom-color: #333;
}

[data-theme="dark"] .nav-item:hover {
    background: #2a1515;
}

[data-theme="dark"] .hero-header {
    background: linear-gradient(to bottom, #1a1a1a 0%, #121212 100%);
    border-bottom-color: var(--alert-red);
}

[data-theme="dark"] .hero-address {
    background: #2a2415;
}

[data-theme="dark"] .intro-block {
    background: var(--bg-section);
    border-bottom-color: var(--border-light);
}

[data-theme="dark"] .warning-block {
    background: linear-gradient(135deg, #2a1515 0%, #1f1018 100%);
    border-color: var(--alert-red);
}

[data-theme="dark"] .warning-block--critical {
    background: linear-gradient(135deg, #1a0000 0%, #2a0000 100%);
    border-color: #ff1744;
}

[data-theme="dark"] .section-top {
    background: linear-gradient(to right, #252525 0%, #1e1e1e 100%);
    border-bottom-color: var(--border-light);
}

[data-theme="dark"] .content-section {
    background: var(--bg-section);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

[data-theme="dark"] .status-item {
    border-bottom-color: var(--border-light);
}

[data-theme="dark"] .info-card {
    background: #252525;
}

[data-theme="dark"] .info-card--highlight {
    background: linear-gradient(135deg, #2a2415 0%, #1f1a0a 100%);
}

[data-theme="dark"] .case-card {
    background: #1e1e1e;
    border-color: var(--border-light);
}

[data-theme="dark"] .link-card {
    background: #252525;
}

[data-theme="dark"] .link-card:hover {
    background: #2a2a2a;
}

[data-theme="dark"] .section-link-card {
    background: var(--bg-section);
    border-color: var(--border-light);
}

[data-theme="dark"] .section-link-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

[data-theme="dark"] .platform-table th {
    background: #252525;
    border-bottom-color: var(--border-light);
}

[data-theme="dark"] .platform-table td {
    border-bottom-color: var(--border-light);
}

[data-theme="dark"] .accordion-item {
    border-color: var(--border-light);
    background: var(--bg-section);
}

[data-theme="dark"] .accordion-summary {
    background: #252525;
}

[data-theme="dark"] .accordion-summary:hover {
    background: #2a2a2a;
}

[data-theme="dark"] .accordion-summary .accordion-count {
    background: #333;
}

[data-theme="dark"] .timeline::before {
    background: #333;
}

[data-theme="dark"] .timeline-entry::before {
    border-color: #1e1e1e;
}

[data-theme="dark"] .disclaimer-banner {
    background: #1a1a1a;
    border-top-color: #546e7a;
}

[data-theme="dark"] .disclaimer-block p {
    color: #90a4ae;
}

[data-theme="dark"] .disclaimer-divider {
    border-top-color: #37474f;
}

[data-theme="dark"] .disclaimer-heading {
    color: #b0bec5;
}

[data-theme="dark"] .page-footer {
    background: linear-gradient(135deg, #0d1117 0%, #0a0a14 100%);
}

[data-theme="dark"] .unofficial-links-bar {
    background: #0d0d1a;
}

[data-theme="dark"] .badge-danger {
    background: linear-gradient(135deg, #2a1515 0%, #1f1018 100%);
}

[data-theme="dark"] .badge-warning {
    background: linear-gradient(135deg, #2a2415 0%, #1f1a0a 100%);
}

[data-theme="dark"] .faq-summary:hover .faq-q-es {
    color: var(--alert-red);
}

[data-theme="dark"] .reviews-source-notice {
    background-color: #252525;
}

[data-theme="dark"] .reviews-source-text {
    color: #ccc;
}

[data-theme="dark"] .reviews-source-text-en {
    color: #999;
}

[data-theme="dark"] .reviews-list {
    border-color: #333;
}

[data-theme="dark"] .review-card {
    background-color: #1e1e1e;
    border-bottom-color: #2a2a2a;
}

[data-theme="dark"] .review-text {
    color: #ccc;
}

[data-theme="dark"] .review-text-en {
    color: #999;
}

[data-theme="dark"] .review-reviewer {
    color: #e0e0e0;
}

/* -- Toggle button -- */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--bg-section);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 90;
    transition: background 0.3s, border-color 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    line-height: 1;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    border-color: var(--alert-red);
}

.theme-toggle:active {
    transform: translateY(0) scale(0.95);
}

[data-theme="dark"] .theme-toggle {
    background: #2a2a2a;
    border-color: #444;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

[data-theme="dark"] .theme-toggle:hover {
    border-color: var(--warning-amber);
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

@media (max-width: 640px) {
    .theme-toggle {
        bottom: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ============================================================
   Print Styles
   ============================================================ */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .alert-banner,
    .site-nav,
    .unofficial-links-bar,
    .back-to-top,
    .disclaimer-banner,
    .page-footer {
        display: none !important;
    }

    .hero-header {
        border-bottom: 2px solid #000;
        padding: 20px 0;
    }

    .hero-title {
        font-size: 18pt;
    }

    .hero-subtitle,
    .hero-subtitle-en {
        font-size: 11pt;
    }

    .content-area {
        max-width: 100%;
        padding: 16px 0;
    }

    .content-section {
        break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 16px;
        box-shadow: none;
    }

    .section-top {
        background: #eee !important;
        border-bottom: 1px solid #ccc;
    }

    .warning-block {
        border: 2px solid #000;
        break-inside: avoid;
    }

    .warning-block--critical {
        border: 2px solid #000;
    }

    .badge-danger,
    .badge-warning {
        border: 1px solid #000;
        background: #f5f5f5 !important;
    }

    .case-card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    .case-status {
        border: 1px solid #000;
        background: #ddd !important;
    }

    .timeline::before {
        background: #999;
    }

    .timeline-entry::before {
        background: #000;
        border-color: #fff;
        box-shadow: 0 0 0 2px #000;
    }

    .timeline-entry {
        break-inside: avoid;
    }

    .platform-table th {
        background: #eee !important;
        border-bottom: 2px solid #000;
    }

    .platform-table td {
        border-bottom: 1px solid #ccc;
    }

    .section-link-card,
    .link-card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    .incident-photo-item img {
        border: 1px solid #ccc;
        max-width: 150px;
    }

    .accordion-item {
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    details[open] .accordion-body {
        display: block !important;
    }

    details:not([open]) .accordion-body {
        display: none !important;
    }

    a {
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        font-weight: normal;
    }

    .last-updated {
        border-top: 1px solid #ccc;
        margin-top: 20px;
    }

    @page {
        margin: 2cm;
    }
}
