/* Vibe-Centric Living 樣式文件 */

/* 基礎設定 */
:root {
    /* 主要色彩 */
    --primary-vibe: #2D5A27;
    --secondary-vibe: #8B4513;
    --accent-vibe: #D4AF37;

    /* 氛圍色彩 */
    --vibe-creative: #9B59B6;
    --vibe-lively: #E74C3C;
    --vibe-peaceful: #3498DB;
    --vibe-natural: #27AE60;
    --vibe-cozy: #E67E22;
    --vibe-elegant: #34495E;

    /* 中性色彩 */
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #EEEEEE;
    --neutral-300: #E0E0E0;
    --neutral-400: #BDBDBD;
    --neutral-500: #9E9E9E;
    --neutral-600: #757575;
    --neutral-700: #616161;
    --neutral-800: #424242;
    --neutral-900: #212121;

    /* 字體 */
    --font-primary: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Noto Serif TC', Georgia, serif;

    /* 陰影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-vibe: 0 25px 50px -12px rgba(45, 90, 39, 0.25);
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 導航列 */
.vibe-header {
    background: linear-gradient(135deg, var(--primary-vibe), var(--secondary-vibe));
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.vibe-navbar {
    padding: 1rem 0;
}

.vibe-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-brand i {
    color: var(--accent-vibe);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.vibe-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.vibe-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 主要內容 */
.vibe-main {
    margin-top: 80px;
}

/* 情感化探索區域 */
.emotive-exploration {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.exploration-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--accent-vibe);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 氛圍搜尋欄 */
.vibe-search-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
}

.emotion-input,
.lifestyle-input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    color: var(--neutral-800);
    transition: all 0.3s ease;
}

.emotion-input:focus,
.lifestyle-input:focus {
    outline: none;
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.explore-button {
    background: var(--accent-vibe);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
}

.explore-button:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-vibe);
}

/* 情感標籤雲 */
.emotion-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.emotion-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.emotion-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.emotion-tag.selected {
    background: var(--accent-vibe);
    border-color: var(--accent-vibe);
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

/* 社群故事輪播 */
.community-stories {
    padding: 4rem 0;
    background: var(--neutral-100);
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--neutral-800);
}

.stories-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.story-card {
    display: none;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.story-card.active {
    display: block;
}

.story-image {
    height: 300px;
    overflow: hidden;
}

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

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

.story-content {
    padding: 2rem;
}

.story-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.story-location,
.story-type {
    background: var(--primary-vibe);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neutral-800);
}

.story-content p {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.story-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.story-author span {
    font-weight: 500;
    color: var(--neutral-700);
}

/* 輪播控制 */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--primary-vibe);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--secondary-vibe);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neutral-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-vibe);
    transform: scale(1.2);
}

/* 互動式地圖 */
.vibe-map {
    padding: 4rem 0;
    background: white;
}

.map-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    height: 600px;
}

.map-controls {
    background: var(--neutral-100);
    border-radius: 15px;
    padding: 1.5rem;
    height: fit-content;
}

.layer-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.layer-btn {
    background: white;
    border: 1px solid var(--neutral-300);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.layer-btn.active {
    background: var(--primary-vibe);
    color: white;
    border-color: var(--primary-vibe);
}

.layer-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

.legend-color.creative {
    background: var(--vibe-creative);
}

.legend-color.peaceful {
    background: var(--vibe-peaceful);
}

.legend-color.lively {
    background: var(--vibe-lively);
}

.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.interactive-map {
    width: 100%;
    height: 100%;
    background: var(--neutral-200);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.poi-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
}

.poi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.poi-header h4 {
    color: var(--neutral-800);
    font-weight: 600;
}

.poi-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--neutral-500);
    font-size: 1.2rem;
}

.poi-content p {
    color: var(--neutral-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.poi-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-vibe);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

.explore-community {
    background: var(--primary-vibe);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.explore-community:hover {
    background: var(--secondary-vibe);
    transform: translateY(-2px);
}

/* 社群DNA展示 */
.community-dna {
    padding: 4rem 0;
    background: var(--neutral-100);
}

.dna-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.dna-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.dna-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-vibe);
}

.dna-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dna-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.dna-icon.creative {
    background: var(--vibe-creative);
}

.dna-icon.peaceful {
    background: var(--vibe-peaceful);
}

.dna-icon.natural {
    background: var(--vibe-natural);
}

.dna-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.dna-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dna-tag {
    background: var(--neutral-200);
    color: var(--neutral-700);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.dna-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dna-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-label {
    min-width: 80px;
    font-size: 0.9rem;
    color: var(--neutral-600);
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: var(--neutral-200);
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-vibe), var(--accent-vibe));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.stat-value {
    min-width: 40px;
    font-weight: 600;
    color: var(--primary-vibe);
}

.explore-dna {
    background: var(--primary-vibe);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.explore-dna:hover {
    background: var(--secondary-vibe);
    transform: translateY(-2px);
}

/* 推薦房產 */
.vibe-properties {
    padding: 4rem 0;
    background: white;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-vibe);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.property-vibe-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-vibe);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-content {
    padding: 1.5rem;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-600);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.property-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--neutral-800);
}

.property-description {
    color: var(--neutral-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--neutral-500);
}

.property-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-vibe);
    margin-bottom: 1rem;
}

.property-vibe-match {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.match-bar {
    flex: 1;
    height: 6px;
    background: var(--neutral-200);
    border-radius: 3px;
    overflow: hidden;
}

.match-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--vibe-natural), var(--accent-vibe));
    border-radius: 3px;
}

.view-property {
    background: var(--primary-vibe);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.view-property:hover {
    background: var(--secondary-vibe);
    transform: translateY(-2px);
}

/* 浮動按鈕 */
.vibe-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-vibe);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
}

.vibe-fab:hover {
    background: var(--secondary-vibe);
    transform: scale(1.1);
    box-shadow: var(--shadow-vibe);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .exploration-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .map-container {
        grid-template-columns: 1fr;
        height: 400px;
    }

    .map-controls {
        order: 2;
    }

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

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

    .nav-menu {
        display: none;
    }

    .search-inputs {
        flex-direction: column;
    }

    .emotion-tag-cloud {
        justify-content: center;
    }
}

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

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

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

    .vibe-search-bar {
        padding: 1.5rem;
    }

    .story-content {
        padding: 1.5rem;
    }

    .dna-card {
        padding: 1.5rem;
    }
}

/* 新增：地圖佔位符樣式 */
.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.map-overlay-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.map-hero {
    margin-bottom: 3rem;
}

.map-hero i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-vibe);
}

.map-hero h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.map-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.map-area {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.map-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.map-area:hover::before {
    transform: translateX(100%);
}

.map-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.map-area.creative {
    border-left: 4px solid var(--vibe-creative);
}

.map-area.peaceful {
    border-left: 4px solid var(--vibe-peaceful);
}

.map-area.natural {
    border-left: 4px solid var(--vibe-natural);
}

.map-area.lively {
    border-left: 4px solid var(--vibe-lively);
}

.area-marker {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.area-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.area-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.vibe-score {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 優化整體排版 */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-vibe), var(--accent-vibe));
    border-radius: 2px;
}

/* 改善間距 */
.emotive-exploration {
    padding: 6rem 0;
}

.community-stories {
    padding: 5rem 0;
    background: var(--neutral-50);
}

.vibe-map {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.community-dna {
    padding: 5rem 0;
    background: white;
}

.vibe-properties {
    padding: 5rem 0;
    background: var(--neutral-50);
}

/* 改善卡片樣式 */
.dna-card,
.property-card {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.dna-card:hover,
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* 改善按鈕樣式 */
.explore-button,
.explore-dna,
.view-property,
.explore-community {
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.explore-button::before,
.explore-dna::before,
.view-property::before,
.explore-community::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.explore-button:hover::before,
.explore-dna:hover::before,
.view-property:hover::before,
.explore-community:hover::before {
    left: 100%;
}

/* 改善響應式設計 */
@media (max-width: 768px) {
    .map-areas {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .map-placeholder {
        padding: 2rem 1rem;
        min-height: 300px;
    }

    .map-hero h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .emotive-exploration,
    .community-stories,
    .vibe-map,
    .community-dna,
    .vibe-properties {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .map-placeholder {
        padding: 1.5rem 1rem;
        min-height: 250px;
    }

    .map-hero i {
        font-size: 2rem;
    }

    .map-hero h3 {
        font-size: 1.25rem;
    }

    .map-area {
        padding: 1rem;
    }

    .area-marker {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* 圓形地圖區塊 */
.circle-map-bg {
    position: relative;
    width: 100%;
    height: 480px;
    background: radial-gradient(circle at 60% 40%, #f093fb 0%, #f5576c 100%);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(200, 80, 160, 0.12);
    margin: 0 auto;
    overflow: hidden;
    min-width: 320px;
    min-height: 320px;
    max-width: 700px;
}

.city-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}

.circle-area {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s cubic-bezier(.4, 2, .6, 1), box-shadow 0.2s;
}

.circle-area .area-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    border: 3px solid #fff;
    background: linear-gradient(135deg, #9B59B6 0%, #E74C3C 100%);
    transition: background 0.3s, box-shadow 0.2s;
}

.circle-area.creative .area-dot {
    background: linear-gradient(135deg, #9B59B6 0%, #8e44ad 100%);
}

.circle-area.peaceful .area-dot {
    background: linear-gradient(135deg, #3498DB 0%, #2980b9 100%);
}

.circle-area.natural .area-dot {
    background: linear-gradient(135deg, #27AE60 0%, #16a085 100%);
}

.circle-area.lively .area-dot {
    background: linear-gradient(135deg, #E74C3C 0%, #e67e22 100%);
}

.circle-area .area-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    letter-spacing: 0.05em;
}

.circle-area:hover {
    transform: scale(1.13) translateY(-6px);
    z-index: 10;
}

.circle-area:hover .area-dot {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    filter: brightness(1.15);
}

/* 浮動卡片 */
.area-float-card {
    position: absolute;
    min-width: 180px;
    max-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(80, 80, 80, 0.18);
    padding: 1.2rem 1.3rem 1rem 1.3rem;
    left: 50%;
    top: 10%;
    transform: translate(-50%, 0);
    z-index: 99;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s, top 0.18s;
    font-size: 1rem;
    text-align: left;
    line-height: 1.6;
}

.area-float-card.show {
    opacity: 1;
    top: 0;
    pointer-events: auto;
}

.float-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #222;
}

.float-desc {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
    color: #555;
}

.float-score {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #9B59B6 0%, #E74C3C 100%);
    border-radius: 12px;
    padding: 0.2rem 0.8rem;
    display: inline-block;
}

@media (max-width: 900px) {
    .circle-map-bg {
        height: 340px;
        min-height: 220px;
    }

    .area-float-card {
        font-size: 0.95rem;
        min-width: 140px;
        max-width: 180px;
        padding: 0.8rem 0.8rem 0.7rem 0.8rem;
    }
}

@media (max-width: 600px) {
    .circle-map-bg {
        height: 220px;
        min-height: 120px;
    }

    .area-float-card {
        font-size: 0.9rem;
        min-width: 100px;
        max-width: 140px;
        padding: 0.5rem 0.5rem 0.4rem 0.5rem;
    }

    .circle-area .area-dot {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .circle-area .area-name {
        font-size: 0.85rem;
    }
}