/* ========================================================================= 
   Premium Men's Beauty Design System
   ========================================================================= */

:root {
    /* Color Palette (Deep, Sleek, Masculine) */
    --bg-dark: #0a0a0c;
    --bg-surface: #121216;
    --bg-surface-elevated: rgba(25, 25, 30, 0.7);

    --text-primary: #f8f9fa;
    --text-secondary: #a0a0ad;

    /* Gradients for high-tech, premium feel */
    --accent-glow: #3b82f6;
    --accent-primary: #2563eb;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --accent-gradient-hover: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);

    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 100%);

    /* Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Hybrid Font: Serif for brand presence (logo, h1, h2) */
.logo,
h1,
h2,
.section-title {
    font-family: 'Noto Serif JP', 'Inter', serif;
    letter-spacing: 0.04em;
}

.highlight-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block !important;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* Glassmorphism UI */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-glow);
}

.logo .logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 8px;
    letter-spacing: 0;
    vertical-align: middle;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.desktop-nav a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary-small,
.btn-primary-large,
.btn-affiliate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-gradient);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-primary-large {
    padding: 18px 40px;
    font-size: 1.0rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary-small:hover,
.btn-primary-large:hover,
.btn-affiliate:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-affiliate {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
}

.btn-small {
    padding: 8px 12px;
    font-size: 0.85rem;
    margin-top: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: var(--accent-glow);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: block !important;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    word-break: keep-all;
    /* Prevents awkward line breaks in Japanese */
}

.hero-subtitle {
    font-size: 1.0rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta {
    margin-bottom: 40px;
}

.cta-note {
    display: block !important;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 16px;
}

.trust-indicators {
    display: flex;
    gap: 24px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.indicator i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.95) 0%, rgba(30, 30, 40, 0.95) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    /* Red accent for warning */
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.stat-card.highlight i {
    color: #ef4444;
    /* Red icon */
}

.stat-card.highlight .stat-value {
    color: #ef4444;
    /* Red text for impact */
    font-size: 1.8rem;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent-glow);
}

.stat-value {
    display: block !important;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Glass Cards */
.glass-card {
    background: var(--bg-surface-elevated);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    padding: 32px 24px;
    text-align: left;
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-image-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.problem-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.problem-card:hover .problem-image {
    transform: scale(1.05);
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Comparison Table */
.dark-section {
    background-color: var(--bg-surface);
}

.highlighted-section {
    position: relative;
    background: radial-gradient(circle at center top, rgba(37, 99, 235, 0.15) 0%, var(--bg-surface) 50%);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.05) inset;
}

.highlighted-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    z-index: 10;
}

.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1px;
}

/* Ensure the table itself doesn't shrink too much on mobile */
.premium-table {
    width: 100%;
    min-width: 800px;
    /* Forces scrollbar on narrow screens */
    border-collapse: collapse;
    text-align: left;
}

.premium-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.premium-table td {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

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

.premium-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.premium-table tr.top-rank td {
    background: rgba(212, 175, 55, 0.03);
}

.clinic-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.0rem;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.rank-1 {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.rank-2 {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #1e293b;
}

.rank-3 {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #fff;
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

/* Article Page Layout */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 120px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent-glow);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.category-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.publish-date {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 32px;
    line-height: 1.3;
}

.article-main-image {
    width: 100%;
    margin-bottom: 40px;
}

.article-main-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-main-image figcaption {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

/* Article Typography & Components */
.article-body {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.article-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 24px;
}

.article-list,
.article-numbered-list {
    margin: 0 0 24px 24px;
    padding: 0;
}

.article-list li,
.article-numbered-list li {
    margin-bottom: 12px;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--accent-primary);
    padding: 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 32px 0;
}

.highlight-box h4 {
    margin-bottom: 12px;
    color: #60a5fa;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.glass-card.minimal {
    padding: 24px;
}

.glass-card.minimal h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.glass-card.minimal i {
    color: #60a5fa;
    font-size: 1.2rem;
}

.cta-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 40px;
    margin: 48px 0;
    text-align: center;
}

.cta-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* Survey Evidence Box */
.survey-box {
    background: rgba(10, 10, 12, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}

.survey-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
}

.survey-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.survey-header i {
    font-size: 1.5rem;
    color: var(--accent-glow);
}

.survey-result-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-glow);
    display: block !important;
}

.survey-result-bar-bg {
    width: 100%;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    margin: 12px 0;
    overflow: hidden;
}

.survey-result-bar-fill {
    width: 98%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: var(--radius-pill);
}

.survey-source {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 8px;
    font-style: italic;
}

/* Mehrabian Chart Styles */
.mehrabian-chart {
    background: rgba(10, 10, 12, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 32px 0;
}

.chart-bar-container {
    width: 100%;
    height: 32px;
    border-radius: var(--radius-pill);
    display: flex;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.chart-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
}

.bar-visual {
    width: 55%;
    background: linear-gradient(90deg, #ef4444, #f87171);
    /* Red to grab attention */
}

.bar-vocal {
    width: 38%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.bar-verbal {
    width: 7%;
    background: var(--text-secondary);
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.color-visual {
    background: #ef4444;
}

.color-vocal {
    background: #3b82f6;
}

.color-verbal {
    background: var(--text-secondary);
}

.text-center {
    text-align: center;
}

/* Article Navigation */
.article-nav {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-surface-elevated);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    text-align: right;
}

.nav-link:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
}

.nav-link span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.nav-link strong {
    display: block !important;
    font-size: 0.95rem;
    margin-top: 4px;
}

.nav-next {
    margin-left: auto;
}

.mt-30 {
    margin-top: 30px;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Article Footer Navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 64px 0 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-glow);
}

.nav-link strong {
    color: var(--text-primary);
    display: block !important;
    margin-top: 4px;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 24px 16px;
    }
}

/* Footer Links */
.glass-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.disclaimer {
    font-size: 0.8rem;
    margin-top: 12px;
    opacity: 0.7;
}

/* Animations */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-up-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.reveal-fade-up-delay.active {
    opacity: 1;
    transform: translateY(0);
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Mobile Navigation Styles */
.nav-actions {
    display: none;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.98);
    /* Less transparent for readability */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    max-height: 500px;
    padding: 16px 24px;
}

.mobile-nav a {
    padding: 16px 0;
    font-size: 1.0rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav a:last-child {
    border-bottom: none;
    margin-top: 16px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-actions {
        display: flex;
    }

    .menu-toggle {
        display: block !important;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-image {
        height: 400px;
    }

    .stat-card {
        left: 10px;
        bottom: -10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        /* Ensure base container has strict padding */
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .premium-table th,
    .premium-table td {
        padding: 16px 12px;
        white-space: nowrap;
        /* Prevent awkward wrapping in small cells */
    }

    .clinic-name span {
        display: none;
    }

    .article-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Article Navigation on Mobile */
    .article-nav {
        flex-direction: column;
        gap: 16px;
    }
}

/* --- 走馬灯アニメーション (Flashback Animation) --- */
.zoumatou-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.zoumatou-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.zoumatou-text {
    position: absolute;
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    width: 90%;
}

.zoumatou-text.flash {
    animation: flashText 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.zoumatou-text.final-flash {
    color: var(--accent-glow);
    font-size: 4rem;
    text-shadow: 0 0 30px var(--accent-glow);
    animation: finalFlashText 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.zoumatou-timer {
    position: absolute;
    top: 15%;
    width: 100%;
    text-align: center;
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    z-index: 10;
}

.zoumatou-timer.active {
    opacity: 0.8;
}

.zoumatou-timer .time-number {
    font-size: 5rem;
    font-weight: 900;
    font-family: 'Courier New', Courier, monospace;
    display: block !important;
    margin: 10px 0;
}

@keyframes flashText {
    0% {
        opacity: 0;
        transform: scale(0.8) translateZ(0);
        filter: blur(10px);
    }

    20% {
        opacity: 1;
        transform: scale(1.1) translateZ(0);
        filter: blur(0);
    }

    80% {
        opacity: 1;
        transform: scale(1) translateZ(0);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: scale(1.2) translateZ(0);
        filter: blur(10px);
    }
}

@keyframes finalFlashText {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(20px);
    }

    30% {
        opacity: 1;
        transform: scale(1.2);
        filter: blur(0);
    }

    80% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
        filter: blur(20px);
    }
}

@media (max-width: 768px) {
    .zoumatou-text {
        font-size: 2rem;
    }

    .zoumatou-text.final-flash {
        font-size: 2.5rem;
    }
}


/* --- MEGA FOOTER (From THE SOVEREIGN) --- */
.big-nav-footer {
    text-align: left;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px);
    margin-top: 4rem;
}
.big-nav-footer .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (max-width: 900px) {
    .big-nav-footer .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .big-nav-footer .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
.big-nav-footer .footer-col h4 {
    color: #f8fafc;
    font-size: 1.0rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}
.big-nav-footer .footer-col a {
    display: block !important;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.big-nav-footer .footer-col a:hover {
    color: #3b82f6;
}
.big-nav-footer .footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 2px;
}
.big-nav-footer .pr-badge {
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    color: rgba(255,255,255,0.7);
}
.big-nav-footer .footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}
.big-nav-footer .footer-subtext {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: -0.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.big-nav-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}
@media (max-width: 768px) {
    .big-nav-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Sitemap Footer Additions */
.sitemap-col a {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    line-height: 1.1;
    display: block !important;
}
.sitemap-col a.sitemap-top {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 0.9rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    display: block !important;
}


/* Cassette Article Cards */
.article-link-card.with-thumbnail {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.article-link-card.with-thumbnail .card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.article-link-card.with-thumbnail .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.article-link-card:hover .card-thumb img {
    transform: scale(1.08);
}
.article-link-card.with-thumbnail .card-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.article-link-card.with-thumbnail h3 {
    margin-top: 0.8rem !important;
    font-size: 1.0rem;
    line-height: 1.5;
}


/* Card Read-More Indicator */
.article-link-card.with-thumbnail .card-content {
    position: relative;
    padding-bottom: 3.5rem !important; /* Reserve space at bottom for the arrow text */
}
.article-link-card.with-thumbnail .card-read-more {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #60a5fa; /* Modern soft blue */
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.article-link-card:hover .card-read-more {
    opacity: 1;
    color: #fff; /* Brighten up on hover */
    transform: translateX(5px);
}
