:root {
    --bg-color: #ffffff;
    --text-color: #1d1d1f;
    --secondary-text: #86868b;
    --accent-color: #0071e3;
    --card-bg: #f5f5f7;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 100px;
    margin-bottom: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.back-link:active {
    transform: scale(0.94);
    background: rgba(0, 0, 0, 0.08);
}

.back-link i {
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    margin-top: -1px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 24px;
}

header {
    text-align: center;
    margin-bottom: 70px;
    padding-top: 20px;
}

header h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1d1d1f 0%, #434343 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    font-size: 17px;
    color: var(--secondary-text);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.nav-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 28px;
    border-radius: 24px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item:active {
    transform: scale(0.96) translateY(2px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.nav-item .area-info h2 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-item .area-info p {
    font-size: 13px;
    color: var(--secondary-text);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-item .arrow {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #86868b;
    transition: all 0.3s ease;
}

/* 详情页专用样式 */
.detail-header {
    position: relative;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* 标签组容器，确保完美对齐 */
.detail-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.area-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #fff0f3;
    color: #ff85a2;
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(255, 133, 162, 0.15);
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.detail-slogan {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--accent-color);
}

.detail-hero-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e8e8ed;
    border-radius: 24px;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    z-index: 15;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.9);
    background: rgba(255, 255, 255, 0.5);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.detail-content {
    font-size: 16px;
    color: #424245;
    line-height: 1.8;
    margin-bottom: 50px;
}

.info-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 12px;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.map-container {
    width: 100%;
    height: 250px;
    background: #f5f5f7;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 15px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    width: 100%;
    text-align: center;
    margin-top: 80px;
    padding-bottom: 40px;
}

footer p {
    font-size: 10px;
    color: #c1c1c6;
    letter-spacing: 0.02em;
    font-weight: 400;
}
