/* brothel.css - 完整修复版 - 成人向风俗导航网站样式 */

/* CSS变量定义 - 优雅紫粉配色 */
:root {
    --primary-color: #8b5cf6;
    --secondary-color: #a855f7;
    --accent-color: #c084fc;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-color: #ffffff;
    --text-secondary: #e2e8f0;
    --background-color: #0f0f23;
    --surface-color: rgba(15, 15, 35, 0.95);
    --card-bg-color: rgba(30, 30, 60, 0.9);
    --glass-bg: rgba(15, 15, 35, 0.7);
    --neon-purple: #8b5cf6;
    --neon-pink: #ec4899;
    --neon-blue: #06b6d4;
    --neon-orange: #f97316;
    --neon-red: #ef4444;
    --gradient-sexy: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #06b6d4 100%);
    --gradient-hot: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #8b5cf6 100%);
    --gradient-passion: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition-fast: 0.15s;
    --transition-normal: 0.3s;
    --transition-slow: 0.6s;
    --shadow-sm: 0 4px 6px -1px rgba(139, 92, 246, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(139, 92, 246, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(139, 92, 246, 0.3);
    --shadow-neon: 0 0 30px rgba(139, 92, 246, 0.4);
}

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.025em;
}

/* Crisp 聊天样式 */
.crisp-client .cc-tlyw,
.crisp-client .cc-tlyw.cc-unoo {
    display: none !important;
}

.crisp-client .cc-kxkl {
    display: block !important;
}

/* 优雅动态背景系统 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a3e 0%, #0f0f23 70%);
}

.background-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    will-change: transform;
}

.shape1 {
    width: 600px;
    height: 600px;
    background: conic-gradient(from 0deg, #8b5cf6, #ec4899, #06b6d4, #a855f7, #8b5cf6);
    top: -200px;
    left: -200px;
    animation: elegantFloat 25s ease-in-out infinite;
}

.shape2 {
    width: 700px;
    height: 400px;
    background: linear-gradient(45deg, #a855f7, #ec4899, #06b6d4);
    bottom: -150px;
    right: -250px;
    border-radius: 60% 40% 60% 40%;
    animation: elegantFloat 30s ease-in-out infinite reverse;
}

.shape3 {
    width: 500px;
    height: 600px;
    background: radial-gradient(ellipse, #ec4899, #8b5cf6, #6366f1);
    top: 30%;
    left: 70%;
    border-radius: 70% 30% 70% 30%;
    animation: elegantFloat 22s ease-in-out infinite 3s;
}

.shape4 {
    width: 350px;
    height: 350px;
    background: conic-gradient(from 45deg, transparent, #8b5cf6, transparent);
    top: 60%;
    left: 20%;
    animation: elegantRotate 20s linear infinite;
}

.shape5 {
    width: 450px;
    height: 250px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    top: 10%;
    right: 30%;
    border-radius: 50%;
    animation: elegantPulse 18s ease-in-out infinite;
}

/* 网格背景 - 优雅版 */
.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.06) 2px, transparent 2px),
            radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: gridElegantMove 35s linear infinite;
}

/* 动画定义 */
@keyframes elegantFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50%;
    }
    25% {
        transform: translate(60px, -40px) scale(1.1) rotate(90deg);
        border-radius: 60% 40% 70% 30%;
    }
    50% {
        transform: translate(-30px, 60px) scale(0.9) rotate(180deg);
        border-radius: 30% 70% 40% 60%;
    }
    75% {
        transform: translate(40px, 30px) scale(1.05) rotate(270deg);
        border-radius: 70% 30% 60% 40%;
    }
}

@keyframes elegantRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes elegantPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

@keyframes gridElegantMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

/* 主要布局容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.main-wrapper {
    flex: 1;
    padding-top: 120px; /* 增加空间，避免logo和导航挤压 */
}

/* 悬浮LOGO样式 - 电脑模式 */
#floating-logo {
    position: absolute;
    top: 30px;
    left: 60px;
    z-index: 9998;
    transition: all 0.3s ease;
}

#floating-logo img {
    width: 250px;
    height: auto;
    transition: all 0.3s ease;
}

#floating-logo.shrinked {
    top: 30px;
}

#floating-logo.shrinked img {
    width: 100px;
}

/* 透明悬浮导航栏 */
.floating-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
}

.transparent-nav {
    background: rgba(15, 15, 35, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-item,
.nav-dropdown {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-sexy);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
    border-radius: var(--border-radius);
}

.nav-link:hover::before,
.nav-dropdown.active .nav-link::before {
    opacity: 0.15;
}

.nav-link:hover,
.nav-dropdown.active .nav-link {
    color: var(--neon-purple);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 16px;
    transition: transform var(--transition-normal);
}

.nav-link:hover i {
    transform: scale(1.2);
}

/* 下拉面板 */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    z-index: 1000;
    pointer-events: auto;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.1);
    padding: 20px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    pointer-events: none;
    max-height: 70vh;
    overflow-y: auto;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.active .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-panel:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 华人店特殊布局 */
.nav-dropdown[data-dropdown="chinese"] .dropdown-panel {
    min-width: 600px;
    max-width: 800px;
}

.shop-group {
    margin-bottom: 20px;
}

.group-title {
    color: var(--neon-purple);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding-bottom: 8px;
}

.shop-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-link {
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.shop-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    transform: scale(1.05);
}

/* 其他下拉链接 */
.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-sexy);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.dropdown-link:hover::before {
    transform: scaleY(1);
}

.dropdown-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--neon-purple);
    transform: translateX(8px);
    padding-left: 24px;
}

.dropdown-link i {
    color: var(--neon-pink);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* 主内容区域 */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
    align-items: start; /* 确保轮播和排行榜顶部对齐 */
}

/* 轮播设计 */
.carousel-container {
    background: var(--glass-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(24px);
    position: relative;
    transition: all var(--transition-normal);
}

.carousel-container:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-purple);
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px; /* 固定高度，与排行榜一致 */
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.6s ease;
    display: block;
    border: none;
    outline: none;
}

.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.carousel-item:hover img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.2);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top, rgba(15, 15, 35, 0.9) 0%, rgba(15, 15, 35, 0.6) 60%, transparent 100%);
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    z-index: 2;
    pointer-events: none;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-controls button {
    width: 60px;
    height: 60px;
    background: rgba(15, 15, 35, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.5);
    color: var(--neon-purple);
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.carousel-controls button:hover {
    background: var(--gradient-sexy);
    border-color: var(--neon-purple);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-neon);
}

/* 排行榜 */
.ranking-container {
    background: var(--glass-bg);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(24px);
    position: relative;
    overflow: auto;
    height: 500px; /* 与轮播高度一致 */
}

.ranking-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-sexy);
}

.ranking-container h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-sexy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ranking-list {
    list-style: none;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    transition: all var(--transition-normal);
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    position: relative;
}

.ranking-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(139, 92, 246, 0.1);
    transition: width var(--transition-normal);
    border-radius: var(--border-radius);
}

.ranking-item:hover::before {
    width: 100%;
}

.ranking-item:hover {
    transform: translateX(8px);
}

.ranking-number {
    width: 32px;
    height: 32px;
    background: var(--gradient-sexy);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-right: 12px;
    position: relative;
    z-index: 1;
}

.ranking-text {
    font-size: 14px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.ranking-text strong {
    color: var(--neon-purple);
}

.ranking-link {
    text-decoration: none !important; /* 强制去掉下划线 */
    color: inherit;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--neon-purple);
    text-decoration: none !important; /* 确保无下划线 */
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all var(--transition-normal);
}

.more-link:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(-4px);
}

/* 店铺区域 */
.shop-section {
    margin-top: 20px;
}

.shop-section h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    background: var(--gradient-sexy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.shop-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-sexy);
    border-radius: 2px;
}

/* 店铺网格 */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 24px;
}

/* 店铺卡片 */
.shop-card {
    background: var(--glass-bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(24px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 550px;
}

.shop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.8s;
    z-index: 0;
}

.shop-card:hover::before {
    left: 100%;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-purple);
}

/* 店铺主布局 */
.shop-layout {
    display: flex;
    gap: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 300px;
}

/* 左侧信息区域 */
.shop-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: transparent;
    min-width: 0;
    overflow: hidden;
}

/* 右侧图片区域 */
.shop-image-section {
    flex: 0 0 220px;
    position: relative;
    overflow: hidden;
    height: 300px;
    min-height: 300px;
    width: 220px;
    max-width: 220px;
    min-width: 220px;
}

/* 店铺标题 */
.shop-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    transition: all var(--transition-normal);
    line-height: 1.3;
}

.shop-card:hover h3 {
    background: var(--gradient-sexy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-card h3 .highlight {
    color: var(--neon-purple);
}

/* 信息网格 - 电脑模式 */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    padding: 0;
    border: none;
    background: transparent;
}

.shop-card:hover .info-item {
    color: var(--text-color);
    transform: translateX(4px);
}

.info-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.location i { color: var(--neon-purple); }
.time i { color: var(--neon-pink); }
.rating i { color: #ffc107; }
.category i { color: var(--neon-blue); }
.foreigner i { color: var(--neon-orange); }

/* PR信息 */
.shop-pr {
    margin-top: auto;
    padding-top: 0;
    border-top: none;
}

.pr-header {
    color: var(--neon-purple);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.shop-pr p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 店铺图片 */
.image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s ease;
    filter: brightness(0.9);
    display: block;
    border: none;
    outline: none;
    opacity: 1 !important;
    visibility: visible !important;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    color: white;
    gap: 8px;
    backdrop-filter: blur(2px);
}

.image-link:hover .image-overlay {
    opacity: 1;
}

.image-link:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.image-overlay i {
    font-size: 24px;
    color: var(--neon-purple);
}

.image-overlay span {
    font-size: 13px;
    font-weight: 600;
}

/* 优良店印章 */
.stamp {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-sexy);
    padding: 6px 10px;
    border-radius: 8px;
    transform: rotate(12deg);
    z-index: 2;
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

.stamp-text {
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 店铺底部 */
.shop-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-top: none;
    background: rgba(15, 15, 35, 0.2);
    position: relative;
    z-index: 1;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.price-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.customer-button {
    background: var(--gradient-sexy);
    border: none;
    padding: 10px 16px;
    border-radius: var(--border-radius);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    min-width: 80px;
}

.customer-button::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.6s;
}

.customer-button:hover::before {
    left: 100%;
}

.customer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 92, 246, 0.4);
}

.customer-button i {
    font-size: 14px;
}

/* 底部栏 */
.footer {
    background: var(--background-color);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 40px 0 20px;
    margin-top: 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-sexy);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 24px;
}

.footer-section h3 {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--gradient-sexy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-section a:hover {
    color: var(--neon-purple);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.footer-links i {
    font-size: 14px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding-top: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.friend-sites {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.friend-sites a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 12px;
    transition: all var(--transition-normal);
}

.friend-sites a:hover {
    color: var(--neon-purple);
    border-color: var(--neon-purple);
    background: rgba(139, 92, 246, 0.1);
}

/* 自定义滚动条 */
.dropdown-panel::-webkit-scrollbar {
    width: 10px;
}

.dropdown-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.dropdown-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6, #ec4899, #06b6d4);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.dropdown-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a855f7, #f472b6, #0ea5e9);
}

.dropdown-panel {
    scrollbar-width: thin;
    scrollbar-color: #a855f7 rgba(255,255,255,0.05);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .main-wrapper {
        padding-top: 80px; /* 手机模式logo和导航空间 */
    }

    .floating-header {
        top: 60px; /* 在logo下方 */
        left: 10px;
        right: 10px;
        transform: none;
        width: auto;
        z-index: 9999;
    }

    .transparent-nav {
        padding: 4px; /* 紧凑导航 */
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .nav-link span {
        display: none;
    }

    .dropdown-panel {
        position: fixed;
        top: 68px !important; /* 更紧贴导航 */
        left: 5vw !important;
        right: 5vw !important;
        width: 90vw !important;
        min-width: auto !important;
        max-width: none !important;
        transform: none !important;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 10000;
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        margin: 0; /* 无多余间距 */
    }

    .nav-dropdown.active .dropdown-panel,
    .nav-dropdown:hover .dropdown-panel {
        transform: none !important;
    }

    .shop-links {
        gap: 6px;
    }

    .shop-link {
        font-size: 12px;
        padding: 4px 8px;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .carousel-container {
        margin-top: 28px; /* 增加间距，避免与导航重叠 */
    }

    .carousel {
        height: 300px;
    }

    .carousel-caption {
        font-size: 16px;
        padding: 20px;
    }

    .carousel-controls button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .ranking-container {
        height: auto; /* 手机模式自适应 */
    }

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .shop-card {
        min-width: auto;
    }

    .shop-layout {
        flex-direction: column;
        min-height: auto;
    }

    .shop-info-section {
        order: 2;
        padding: 12px;
        gap: 6px;
    }

    .shop-image-section {
        order: 1;
        flex: 0 0 200px;
        height: 200px;
        min-height: 200px;
        width: 100%;
        max-width: none;
        min-width: auto;
    }

    /* 信息网格 - 手机模式 */
    .info-grid {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 8px;
    }

    /* 第一排：地址和时间 */
    .info-grid > .location,
    .info-grid > .time {
        display: inline-flex;
        flex: 1;
        max-width: 50%;
        box-sizing: border-box;
        justify-content: flex-start; /* 左对齐 */
        padding: 0 4px;
    }

    /* 第二排：评分和拥有者 */
    .info-grid > .rating,
    .info-grid > .category {
        display: inline-flex;
        flex: 1;
        max-width: 50%;
        box-sizing: border-box;
        justify-content: flex-start; /* 左对齐 */
        padding: 0 4px;
    }

    /* 外国人信息单独一行 */
    .info-grid > .foreigner {
        display: block;
        max-width: 100%;
    }

    .info-item {
        font-size: 12px;
        gap: 8px;
        white-space: nowrap;
    }

    .info-item i {
        font-size: 14px;
        width: 16px;
    }

    .shop-pr {
        margin-top: 6px;
    }

    .pr-header {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .shop-pr p {
        font-size: 12px;
    }

    .shop-footer {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 12px 16px;
        align-items: center;
        justify-content: space-between;
    }

    .price-section {
        flex: 0 0 auto;
        gap: 8px;
    }

    .price-label {
        font-size: 12px;
    }

    .price-value {
        font-size: 14px;
    }

    .customer-button {
        flex: 0 0 auto;
        padding: 8px 12px;
        font-size: 12px;
        min-width: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .friend-sites {
        flex-direction: column;
        align-items: center;
    }

    #floating-logo {
        position: fixed;
        left: 5vw;
        top: 10px;
        z-index: 9998;
    }

    #floating-logo img {
        width: clamp(150px, 40vw, 180px);
    }

    #floating-logo.shrinked {
        top: 10px;
    }

    #floating-logo.shrinked img {
        width: clamp(60px, 20vw, 80px);
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .carousel {
        height: 400px;
    }

    .ranking-container {
        height: 400px;
    }

    .shop-image-section {
        flex: 0 0 200px;
        height: 280px;
        min-height: 280px;
        width: 200px;
        max-width: 200px;
        min-width: 200px;
    }
}

@media screen and (min-width: 1400px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}