/* ============================================
   CSS Variables - Cyan & Purple Gradient Theme
   ============================================ */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: rgba(15, 23, 42, 0.6);
    --bg-tertiary: #1e2540;
    --text-primary: #e0e6ed;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-primary: #06b6d4;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #ec4899;
    --border-color: rgba(6, 182, 212, 0.3);
    --border-secondary: rgba(139, 92, 246, 0.3);
    --code-bg: #0d1117;
    --shadow: rgba(6, 182, 212, 0.3);
}

/* ============================================
   Animated Gradient Keyframes
   ============================================ */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientRotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(6, 182, 212, 0.3);
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
    }
    50% {
        border-color: rgba(139, 92, 246, 0.6);
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.08), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08), transparent 50%),
                radial-gradient(circle at 40% 70%, rgba(236, 72, 153, 0.06), transparent 40%);
    background-size: 200% 200%;
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 20s ease infinite;
}

body > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

code {
    font-family: 'Fira Code', monospace;
    background-color: var(--code-bg);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--accent-secondary);
}

pre {
    background-color: var(--code-bg);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.code-symbol {
    color: #06b6d4;
    font-family: monospace;
    font-size: 1.8rem;
}

.logo-text {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #06b6d4;
}

.nav-links a.active {
    color: #06b6d4;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 200% 100%;
    transition: width 0.3s ease;
    animation: gradientShift 4s ease infinite;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ============================================
   Home Page Styles
   ============================================ */
.home-hero {
    text-align: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.site-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: gradientShift 8s ease infinite;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-primary);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.site-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
}

.about-section {
    margin-bottom: 4rem;
}

.about-content {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-title {
    font-family: 'Fira Code', monospace;
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* ============================================
   Post Cards
   ============================================ */
.post-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

.post-card.featured {
    border: 1px solid rgba(6, 182, 212, 0.3);
    background: var(--bg-secondary);
    position: relative;
    animation: borderGlow 4s ease-in-out infinite;
}

.post-card.featured:hover {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.3);
}

.post-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    border-radius: 15px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: gradientShift 6s ease infinite;
}

.post-card.featured:hover::before {
    opacity: 0.3;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
}

.post-category {
    color: #06b6d4;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.post-date {
    color: var(--text-muted);
}

.post-reading-time {
    color: var(--accent-secondary);
    font-weight: 500;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--text-primary);
}

.post-title a:hover {
    color: var(--accent-primary);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #06b6d4;
    font-weight: 500;
}

.read-more:hover {
    color: #8b5cf6;
}

/* ============================================
   Sections Grid
   ============================================ */
.sections-grid {
    margin-bottom: 4rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.section-card {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    animation: gradientShift 6s ease infinite;
}

.section-card:hover::before {
    transform: scaleX(1);
}

.section-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.3);
}

.section-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.section-card .arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.section-card:hover .arrow {
    transform: translateX(8px);
}

/* ============================================
   Recent Posts Section
   ============================================ */
.recent-posts {
    margin-bottom: 4rem;
}

.posts-list {
    display: grid;
    gap: 1.5rem;
}

/* ============================================
   Category Pages
   ============================================ */
.category-header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.category-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.category-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* ============================================
   Search Box
   ============================================ */
.search-container {
    margin-bottom: 2rem;
}

.search-box {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.search-box::placeholder {
    color: var(--text-muted);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
}

/* ============================================
   Single Post Page
   ============================================ */
.post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.post-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
}

.post-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.post-tags {
    margin-bottom: 2rem;
}

.social-share {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.share-label {
    font-family: 'Fira Code', monospace;
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.share-btn svg {
    flex-shrink: 0;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: var(--text-primary);
}

.share-btn.twitter:hover {
    border-color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
}

.share-btn.linkedin:hover {
    border-color: #0077B5;
    background: rgba(0, 119, 181, 0.1);
    color: #0077B5;
}

.share-btn.reddit:hover {
    border-color: #FF4500;
    background: rgba(255, 69, 0, 0.1);
    color: #FF4500;
}

.share-btn.email:hover {
    border-color: var(--accent-primary);
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-primary);
}

.tags-label {
    font-family: 'Fira Code', monospace;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.tag {
    display: inline-block;
    background-color: var(--bg-tertiary);
    color: var(--accent-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-tags-inline {
    margin-top: 1rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.post-navigation a {
    flex: 1;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

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

.next-post {
    text-align: right;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links {
    margin-top: 1rem;
}

.rss-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.rss-link:hover {
    border-color: var(--accent-primary);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .container {
        padding: 2rem 1rem;
    }

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

    .post-navigation {
        flex-direction: column;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
}

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

    .section-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   About Page - Maps & Visualizations
   ============================================ */
.about-page {
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: gradientShift 8s ease infinite;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.about-content-wrapper {
    margin-bottom: 4rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-content-wrapper h2 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content-wrapper h3 {
    color: #06b6d4;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* World Map Section */
.map-section {
    margin-bottom: 5rem;
    padding: 3rem 0;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.world-map-container {
    margin-top: 2rem;
}

.countries-lived {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.country-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.country-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.country-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.country-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.country-card .years {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.country-card .lesson {
    color: #06b6d4;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.5rem;
}

/* National Parks Section */
.national-parks-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-top: 2px solid rgba(139, 92, 246, 0.2);
}

.parks-progress {
    margin-bottom: 3rem;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(6, 182, 212, 0.6);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Fira Code', monospace;
    animation: gradientShift 8s ease infinite;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.progress-bar-container {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: var(--bg-secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 200% 100%;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    animation: gradientShift 8s ease infinite;
}

/* Parks Filter */
.parks-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--text-secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: rgba(6, 182, 212, 0.6);
    color: #06b6d4;
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
    border-color: #06b6d4;
    color: #06b6d4;
}

/* Parks Grid */
.parks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.park-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.park-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.park-card.visited {
    border-color: rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
}

.park-card.visited:hover {
    border-color: rgba(6, 182, 212, 0.8);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}

.park-status {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.park-card.visited .park-status {
    color: #06b6d4;
}

.park-card.not-visited .park-status {
    color: var(--text-muted);
}

.park-name {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.park-state {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================================
   Life Stats Section
   ============================================ */
.life-stats-section {
    margin-bottom: 5rem;
    padding: 3rem 0;
    border-top: 2px solid rgba(139, 92, 246, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card-large {
    background: var(--bg-secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-large:hover {
    border-color: rgba(6, 182, 212, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card-large .stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Fira Code', monospace;
    margin-bottom: 0.5rem;
    word-break: break-word;
    line-height: 1.2;
    animation: gradientShift 8s ease infinite;
}

.stat-card-large .stat-label {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-sublabel {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Weeks Visualization */
.weeks-visualization {
    background: var(--bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

.viz-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.viz-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.weeks-grid,
.months-grid,
.years-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.year-square {
    aspect-ratio: 1;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 40px;
}

.week-square {
    aspect-ratio: 1;
    border-radius: 2px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.week-square:hover,
.year-square:hover {
    transform: scale(1.2);
    z-index: 10;
}

.week-square.lived,
.year-square.lived {
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
}

.week-square.current,
.year-square.current {
    background: #ec4899;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
    animation: pulse 2s infinite;
}

.week-square.remaining,
.year-square.remaining {
    background: rgba(100, 116, 139, 0.2);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.weeks-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.legend-box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-box.lived {
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
}

.legend-box.current {
    background: #ec4899;
}

.legend-box.remaining {
    background: rgba(100, 116, 139, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .weeks-grid,
    .months-grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .weeks-grid,
    .months-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 2px;
    }

    .weeks-visualization {
        padding: 1.5rem;
    }

    .stat-card-large .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   Dropdown Menu
   ============================================ */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    min-width: 150px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    margin-left: 0.3rem;
}

/* ============================================
   404 Error Page
   ============================================ */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-title {
    font-size: 8rem;
    font-family: 'Fira Code', monospace;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    line-height: 1;
}

.error-subtitle {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-suggestions {
    margin: 3rem 0;
}

.error-suggestions p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.error-links {
    list-style: none;
    padding: 0;
}

.error-links li {
    margin: 0.8rem 0;
}

.error-links a {
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.error-links a:hover {
    border-color: var(--accent-primary);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

.error-debug {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.debug-message {
    margin: 0;
    font-size: 0.9rem;
}

.debug-message code {
    color: var(--text-muted);
}

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

    .error-subtitle {
        font-size: 1.5rem;
    }

    .error-message {
        font-size: 1rem;
    }
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 300%;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gradientShift 6s ease infinite;
}

.back-to-top:hover {
    transform: translateY(0) scale(1.1);
    box-shadow: 0 6px 30px rgba(6, 182, 212, 0.6);
}

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

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}
