/* ===================================
   OREUM.XYZ - 서울/경기 산 정보 플랫폼
   MZ Generation Mountain Guide
   Youthful • Bold • Premium
   =================================== */

/* Pretendard & Inter Font Import */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    /* ===== COLOR SYSTEM - MZ Gradient Theme ===== */
    /* Base Colors */
    --color-bg: #0a0a0b;
    --color-bg-secondary: #111113;
    --color-surface: #161618;
    --color-surface-elevated: #1c1c1f;

    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-tertiary: #71717a;

    /* Gradient Palette - MZ Vibe */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-forest: linear-gradient(135deg, #0ba360 0%, #3cba92 100%);

    /* Accent Colors */
    --color-accent: #8b5cf6;
    --color-accent-hover: #a78bfa;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Difficulty Colors */
    --color-beginner: #22c55e;
    --color-intermediate: #f59e0b;
    --color-advanced: #ef4444;

    /* Region Colors */
    --color-seoul: #8b5cf6;
    --color-gyeonggi: #06b6d4;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);

    /* ===== LAYOUT ===== */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* ===== TYPOGRAPHY ===== */
    --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Inter', var(--font-sans);

    /* ===== EFFECTS ===== */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.2);
    --shadow-glow-green: 0 0 40px rgba(16, 185, 129, 0.2);

    --transition-fast: all 0.15s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== BASE RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.container-lg {
    max-width: 1400px;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-forest);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
}

.nav-status .status-emoji {
    font-size: 1rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
    position: relative;
}

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

.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    text-align: center;
    overflow: hidden;
}

/* Hero Background Effects */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

/* Hero Tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.hero-tag .pulse {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title .highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Description */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--color-text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

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

.map-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.map-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
}

.interactive-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.map-region {
    fill: rgba(255, 255, 255, 0.05);
    stroke: var(--glass-border);
    stroke-width: 2;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.map-region.seoul {
    fill: rgba(139, 92, 246, 0.1);
}

.map-region.gyeonggi {
    fill: rgba(6, 182, 212, 0.1);
}

.map-region:hover {
    fill: rgba(255, 255, 255, 0.15);
    stroke: var(--color-text-primary);
    transform: scale(1.02);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

.map-region.active {
    fill: var(--gradient-primary);
    stroke: var(--color-text-primary);
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
}

.map-region.seoul.active {
    fill: var(--color-seoul);
}

.map-region.gyeonggi.active {
    fill: var(--color-gyeonggi);
}

.map-label {
    fill: var(--color-text-secondary);
    font-size: 16px;
    font-weight: 700;
    text-anchor: middle;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.map-region:hover+.map-label,
.map-region.active+.map-label {
    fill: var(--color-text-primary);
}

/* ===== FILTER SECTION ===== */
.filter-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 8px;
}

.filter-divider {
    width: 1px;
    height: 24px;
    background: var(--glass-border);
}

.filter-btn {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--color-text-primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.filter-btn.region-seoul.active {
    background: var(--color-seoul);
}

.filter-btn.region-gyeonggi.active {
    background: var(--color-gyeonggi);
}

.search-container {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-tertiary);
    font-size: 14px;
}

.search-container input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.search-container input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--glass-bg-hover);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

/* ===== MOUNTAIN CARD GRID ===== */
.mountain-section {
    padding: 80px 0;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

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

.mountain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* ===== MOUNTAIN CARD ===== */
.mountain-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.mountain-card.is-visited {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.mountain-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mountain-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-region {
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.badge-region.seoul {
    background: rgba(139, 92, 246, 0.8);
}

.badge-region.gyeonggi {
    background: rgba(6, 182, 212, 0.8);
}

.badge-difficulty {
    background: rgba(0, 0, 0, 0.6);
}

.badge-difficulty.beginner {
    color: var(--color-beginner);
}

.badge-difficulty.intermediate {
    color: var(--color-warning);
}

.badge-difficulty.advanced {
    color: var(--color-error);
}

.achievement-medal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--color-warning);
    animation: medalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

@keyframes medalPop {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.card-content {
    padding: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card-title-en {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    font-weight: 400;
    margin-top: 2px;
}

.card-height {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-height span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-tertiary);
    -webkit-text-fill-color: var(--color-text-tertiary);
}

/* Weather UI */
.card-weather {
    margin-bottom: 12px;
}

.weather-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.weather-icon {
    font-size: 1.1rem;
}

.weather-temp {
    font-weight: 700;
    color: var(--color-text-primary);
}

.weather-status {
    padding-left: 8px;
    border-left: 1px solid var(--glass-border);
    color: var(--color-accent);
    font-weight: 500;
}

.card-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-actions {
    margin-bottom: 24px;
}

.btn-check {
    width: 100%;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-check:hover {
    background: var(--glass-bg-hover);
    color: var(--color-text-primary);
}

.btn-check.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--color-success);
    color: var(--color-success);
}

.card-meta {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
}

.meta-item .icon {
    font-size: 1rem;
}

/* ===== HOTSPOT SECTION (Course) ===== */
.card-hotspot {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.hotspot-label {
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.hotspot-course {
    font-size: 0.85rem;
    color: var(--color-text-primary);
    line-height: 1.5;
}

.hotspot-tags {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.hotspot-tag {
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== FEATURED CARD (Large) ===== */
.mountain-card.featured {
    grid-column: span 2;
}

.mountain-card.featured .card-image {
    height: 300px;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 80px 0;
}

/* ===== COURSE SECTION ===== */
.course-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

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

.course-card {
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.course-card:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-4px);
}

.course-mountain {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-mountain .emoji {
    font-size: 1.5rem;
}

.course-hotspots {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.course-flow {
    font-size: 0.9rem;
    color: var(--color-text-primary);
    padding: 12px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: var(--color-bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--glass-border);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    position: relative;
    height: 300px;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-body {
    padding: 32px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 1rem;
    color: var(--color-text-tertiary);
    margin-bottom: 24px;
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    margin-bottom: 12px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.info-item {
    padding: 16px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    text-align: center;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-label {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    margin-top: 4px;
}

.transit-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.transit-item .icon {
    font-size: 1.25rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered animations */
.mountain-card:nth-child(1) {
    animation-delay: 0.1s;
}

.mountain-card:nth-child(2) {
    animation-delay: 0.15s;
}

.mountain-card:nth-child(3) {
    animation-delay: 0.2s;
}

.mountain-card:nth-child(4) {
    animation-delay: 0.25s;
}

.mountain-card:nth-child(5) {
    animation-delay: 0.3s;
}

.mountain-card:nth-child(6) {
    animation-delay: 0.35s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mountain-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .mountain-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 56px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        gap: 24px;
    }

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

    .mountain-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .filter-bar {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 12px;
        flex-wrap: nowrap;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .modal-content {
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .card-content {
        padding: 16px;
    }

    .card-meta {
        flex-wrap: wrap;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-tertiary);
}