:root {
    --bg-primary: #030712;
    --bg-secondary: #0a0f1e;
    --bg-card: rgba(255, 255, 255, 0.025);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --text-primary: #e8eaf0;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(100, 140, 255, 0.08);
    --accent-1: #667eea;
    --accent-2: #a855f7;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    --green: #4ade80;
    --red: #f87171;
    --amber: #fbbf24;
    --glow-cyan: #22d3ee;
    --glow-purple: #a855f7;
    --glow-blue: #3b82f6;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 8px 16px;
    background: var(--accent-1);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}
.skip-link:focus {
    top: 8px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.page-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(102, 126, 234, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(34, 211, 238, 0.06), transparent);
}

#neural-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.4;
}

.page-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(100, 140, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 140, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

.page-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 15%, rgba(102, 126, 234, 0.4), transparent),
        radial-gradient(1px 1px at 25% 35%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 40% 10%, rgba(34, 211, 238, 0.35), transparent),
        radial-gradient(1px 1px at 55% 45%, rgba(102, 126, 234, 0.25), transparent),
        radial-gradient(1.5px 1.5px at 70% 20%, rgba(168, 85, 247, 0.4), transparent),
        radial-gradient(1px 1px at 85% 50%, rgba(34, 211, 238, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 15% 60%, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(1px 1px at 90% 10%, rgba(102, 126, 234, 0.35), transparent),
        radial-gradient(1.5px 1.5px at 35% 70%, rgba(168, 85, 247, 0.25), transparent),
        radial-gradient(1px 1px at 60% 80%, rgba(34, 211, 238, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 5% 85%, rgba(102, 126, 234, 0.2), transparent),
        radial-gradient(1px 1px at 75% 75%, rgba(59, 130, 246, 0.25), transparent),
        radial-gradient(1.5px 1.5px at 50% 55%, rgba(168, 85, 247, 0.15), transparent),
        radial-gradient(1px 1px at 20% 90%, rgba(34, 211, 238, 0.2), transparent),
        radial-gradient(1.5px 1.5px at 95% 35%, rgba(102, 126, 234, 0.3), transparent),
        radial-gradient(1px 1px at 45% 25%, rgba(59, 130, 246, 0.2), transparent);
    animation: starTwinkle 8s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
}

.orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--glow-cyan) 0%, var(--accent-1) 50%, transparent 70%);
    top: -250px; left: -200px;
    animation: float1 18s ease-in-out infinite;
}

.orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--glow-purple) 0%, #6d28d9 50%, transparent 70%);
    top: 35%; right: -250px;
    animation: float2 22s ease-in-out infinite;
}

.orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--glow-blue) 0%, #1d4ed8 50%, transparent 70%);
    bottom: -150px; left: 25%;
    animation: float3 20s ease-in-out infinite;
}

@keyframes float1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, 50px) scale(1.05); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, -40px) scale(0.95); } }
@keyframes float3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -60px) scale(1.03); } }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--accent-gradient);
    z-index: 200;
    transition: width 0.1s linear;
}

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav-scrolled {
    background: rgba(3, 7, 18, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.3s;
}

.nav.nav-scrolled .nav-inner {
    height: 48px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon-img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.brand-text { font-size: 16px; font-weight: 600; letter-spacing: -0.3px; }
.brand-tag { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 1.5px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.theme-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    margin-left: 4px;
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); }
.theme-icon-light { display: none; }
.light-mode .theme-icon-dark { display: none; }
.light-mode .theme-icon-light { display: block; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-link-dash {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
}

.nav-link-dash:hover { opacity: 0.9; color: #fff; background: var(--accent-gradient); }

main { position: relative; z-index: 1; }

.hero {
    padding: 140px 24px 80px;
    text-align: center;
}

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

.hero-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    position: relative;
}
.hero-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.2), 0 0 80px rgba(168, 85, 247, 0.1);
}
.hero-avatar::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    border: 2px solid rgba(102, 126, 234, 0.25);
    animation: avatarPulse 3s ease-in-out infinite;
}
@keyframes avatarPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.03); }
}

.hero-entrance {
    opacity: 0;
    transform: translateY(24px);
    animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--entrance-i, 0) * 0.15s);
}
@keyframes heroEnter {
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--glow-cyan);
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.25);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.08), inset 0 0 20px rgba(34, 211, 238, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-stat {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, rgba(168, 85, 247, 0.04) 100%);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 16px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), transparent);
}

.hero-stat:hover {
    border-color: rgba(34, 211, 238, 0.2);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.05);
}

.hero-stat-value {
    font-size: 28px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section {
    padding: 80px 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.section.section-visible {
    opacity: 1;
    transform: translateY(0);
}
.section-alt { background: var(--bg-secondary); }

.section-inner { max-width: 1100px; margin: 0 auto; }

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

.section-icon { font-size: 36px; margin-bottom: 12px; }

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.brain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.brain-card {
    background: linear-gradient(160deg, rgba(102, 126, 234, 0.04) 0%, rgba(168, 85, 247, 0.02) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    padding: 28px;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.brain-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.25), transparent);
}

.brain-card:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.18);
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.06);
}

.brain-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.brain-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.weight-bars { display: flex; flex-direction: column; gap: 10px; }

.weight-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weight-label {
    font-size: 13px;
    color: var(--text-secondary);
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.weight-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
}

.weight-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--accent-gradient);
    transition: width 1s ease;
    width: 0;
}

.weight-value {
    font-size: 12px;
    color: var(--text-muted);
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}

.negative-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.neg-title {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.neg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.neg-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.neg-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.neg-tag {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(248, 113, 113, 0.1);
    color: var(--red);
    border: 1px solid rgba(248, 113, 113, 0.15);
}

.curiosity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.curiosity-card {
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.03) 0%, rgba(102, 126, 234, 0.02) 100%);
    border: 1px solid rgba(34, 211, 238, 0.08);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: background 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.curiosity-card:hover {
    background: rgba(34, 211, 238, 0.04);
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.15);
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.04);
}

.curiosity-topic {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.curiosity-used {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.curiosity-used-yes {
    background: rgba(74, 222, 128, 0.12);
    color: var(--green);
}

.curiosity-used-no {
    background: rgba(251, 191, 36, 0.12);
    color: var(--amber);
}

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

.curiosity-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
}

.curiosity-empty, .posts-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.trend-chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.trend-chart-container canvas {
    display: block;
    max-width: 100%;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.post-card {
    background: linear-gradient(160deg, rgba(168, 85, 247, 0.03) 0%, rgba(102, 126, 234, 0.02) 100%);
    border: 1px solid rgba(168, 85, 247, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: background 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    background: rgba(168, 85, 247, 0.04);
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.15);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.04);
}

.post-kind {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-2);
    margin-bottom: 8px;
    opacity: 0.8;
}

.post-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-primary);
    margin-bottom: 14px;
    word-break: break-word;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.post-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-1);
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.post-score {
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    margin-left: auto;
}

.post-time {
    font-size: 11px;
    color: var(--text-muted);
}

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

.how-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: background 0.2s;
}

.how-card:hover { background: var(--bg-card-hover); }

.how-card-icon { font-size: 28px; margin-bottom: 14px; }

.how-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.how-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 28px 24px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.back-to-top {
    position: fixed;
    bottom: 72px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.5);
}

.motto-section {
    text-align: center;
    padding: 64px 24px 48px;
}
.motto-inner {
    max-width: 600px;
    margin: 0 auto;
}
.motto-text {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.motto-sub {
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.light-mode {
    --bg-primary: #f8f9fc;
    --bg-secondary: #eef0f6;
    --bg-card: rgba(0, 0, 0, 0.025);
    --bg-card-hover: rgba(0, 0, 0, 0.045);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-muted: rgba(0, 0, 0, 0.4);
    --border-color: rgba(0, 0, 0, 0.08);
}
.light-mode body { background: var(--bg-primary); }
.light-mode .page-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(102, 126, 234, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.04), transparent);
}
.light-mode .page-bg::after { opacity: 0.15; }
.light-mode #neural-canvas { opacity: 0.1; }
.light-mode .orb { opacity: 0.06; }
.light-mode .nav {
    background: rgba(248, 249, 252, 0.85);
    border-color: rgba(0, 0, 0, 0.06);
}
.light-mode .nav-scrolled {
    background: rgba(248, 249, 252, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.light-mode .nav-link:hover { background: rgba(0, 0, 0, 0.04); }
.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
}
.light-mode .theme-toggle:hover { background: rgba(0, 0, 0, 0.08); }
.light-mode .hero-badge {
    background: rgba(34, 211, 238, 0.06);
    border-color: rgba(102, 126, 234, 0.15);
    box-shadow: none;
}
.light-mode .hero-stat {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}
.light-mode .hero-stat::before { background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.15), transparent); }
.light-mode .brain-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
}
.light-mode .brain-card::after { background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.12), transparent); }
.light-mode .brain-card:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(102, 126, 234, 0.12);
}
.light-mode .weight-bar-bg { background: rgba(0, 0, 0, 0.04); }
.light-mode .curiosity-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
}
.light-mode .curiosity-card:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(34, 211, 238, 0.12);
}
.light-mode .trend-chart-container {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
}
.light-mode .post-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
}
.light-mode .post-card:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(168, 85, 247, 0.12);
}
.light-mode .how-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
}
.light-mode .how-card:hover { background: rgba(255, 255, 255, 0.7); }
.light-mode .section-alt { background: rgba(0, 0, 0, 0.02); }
.light-mode .neg-tag {
    background: rgba(248, 113, 113, 0.08);
}
.light-mode .negative-section { border-color: rgba(0, 0, 0, 0.06); }
.light-mode .footer {
    border-color: rgba(0, 0, 0, 0.06);
}
.light-mode .hamburger-line { background: var(--text-secondary); }

@media (max-width: 768px) {
    .hero { padding: 120px 16px 60px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stat-value { font-size: 22px; }
    .brain-grid { grid-template-columns: 1fr; }
    .neg-grid { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr; }
    .curiosity-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 16px; }
    .section-title { font-size: 28px; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .weight-label { width: 90px; font-size: 12px; }
    .nav-inner { padding: 0 16px; }
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 8px 16px 16px;
        gap: 2px;
    }
    .nav-links.nav-open { display: flex; }
    .nav-link { font-size: 14px; padding: 10px 14px; width: 100%; }
    .theme-toggle { margin-left: 0; margin-top: 4px; align-self: flex-start; }
    .light-mode .nav-links {
        background: rgba(248, 249, 252, 0.95);
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 16px; }
    .hero-avatar { width: 80px; height: 80px; }
    .back-to-top { bottom: 64px; right: 20px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-entrance { opacity: 1; transform: none; }
    .scroll-progress { transition: none; }
}
