/* ==================== 海洋主题配色 ==================== */
:root {
    --ocean-deep: #020c1b;
    --ocean-mid: #0a192f;
    --ocean-surface: #112240;
    --ocean-light: #1d3a5c;
    --cyan-primary: #00d4ff;
    --cyan-glow: #64e9ff;
    --cyan-soft: rgba(0, 212, 255, 0.1);
    --coral: #ff6b6b;
    --coral-glow: #ff8e8e;
    --coral-soft: rgba(255, 107, 107, 0.1);
    --sand: #ffd6a5;
    --sand-glow: #ffecd2;
    --pearl: #e6f1ff;
    --pearl-dim: #8892b0;
    --glass-bg: rgba(17, 34, 64, 0.75);
    --glass-border: rgba(0, 212, 255, 0.15);
    --glass-border-strong: rgba(0, 212, 255, 0.35);
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --gradient-ocean: linear-gradient(135deg, #020c1b 0%, #0a192f 50%, #112240 100%);
    --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #0099cc 30%, #0a192f 70%, #020c1b 100%);
    --gradient-coral: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ffd6a5 100%);
    --shadow-cyan: 0 0 30px rgba(0, 212, 255, 0.25);
    --shadow-coral: 0 0 30px rgba(255, 107, 107, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gradient-ocean);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 海洋背景纹理与光效 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(255, 107, 107, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 153, 204, 0.05) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025' fill='%2300d4ff'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -2;
}

/* 流动光带 */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.03) 25%,
        rgba(255, 107, 107, 0.02) 50%,
        rgba(0, 212, 255, 0.03) 75%,
        transparent 100%);
    animation: oceanFlow 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes oceanFlow {
    0%, 100% { transform: translateX(0) skewX(0deg); }
    50% { transform: translateX(-33%) skewX(2deg); }
}

/* ==================== 导航栏 ==================== */
.navbar {
    background: linear-gradient(180deg, rgba(2, 12, 27, 0.95) 0%, rgba(10, 25, 47, 0.9) 100%);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan-primary), var(--sand), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: "🍸";
    font-size: 28px;
    -webkit-text-fill-color: initial;
}

.logo span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
    margin-left: 8px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan-primary), var(--coral));
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--cyan-primary);
}

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

/* ==================== Hero 区域 ==================== */
.hero {
    padding: 100px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    border-radius: 0 0 60px 60px;
    margin: 0 20px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%2300d4ff' fill-opacity='0.08' d='M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,69.3C960,85,1056,107,1152,101.3C1248,96,1344,64,1392,48L1440,32L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    position: relative;
}

.hero h1::after {
    content: "\f561";
    position: absolute;
    margin-left: 15px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 42px;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.badge {
    background: var(--cyan-soft);
    border: 1px solid var(--glass-border);
    color: var(--cyan-primary);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.badge:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan-primary), #0099cc);
    color: #020c1b;
    box-shadow: 0 4px 25px rgba(0, 212, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 212, 255, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--glass-border-strong);
    color: var(--cyan-primary);
}

.btn-coral {
    background: linear-gradient(135deg, var(--coral), #ff8e8e);
    color: #fff;
    box-shadow: 0 4px 25px rgba(255, 107, 107, 0.3);
}

.btn-coral:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 107, 107, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

/* ==================== 内容区 ==================== */
.section {
    padding: 70px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.section-title::before {
    content: "";
    width: 4px;
    height: 32px;
    background: linear-gradient(180deg, var(--cyan-primary), var(--coral));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* ==================== 功能卡片网格 ==================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 36px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    background: radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.2) 0%, transparent 50%);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-strong);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), var(--shadow-cyan);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 44px;
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(14px * 1.7 * 2);
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--cyan-primary), #0099cc);
    color: #020c1b;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.feature-card:hover .feature-btn {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* ==================== 卡片 ==================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan-primary), var(--coral));
    opacity: 0.6;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border-strong);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), var(--shadow-cyan);
}

.card:hover::before {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s;
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-surface));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    overflow: hidden;
}

.card-image img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.card:hover .card-image img,
.card:hover .detail-poster img {
    transform: scale(1.05);
}

.card:hover .card-image {
    transform: none;
}

.card-body {
    padding: 22px;
}

.card-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.card-tag {
    background: var(--cyan-soft);
    color: var(--cyan-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
}

.card-tag.coral {
    background: var(--coral-soft);
    color: var(--coral);
}

.card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    padding: 0 22px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-level {
    font-size: 12px;
    color: var(--text-secondary);
}

.card-score {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--cyan-primary);
    font-weight: 600;
}

/* ==================== 百科页 ==================== */
.filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
    max-width: 420px;
}

.search-box input {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 16px 14px 48px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}

.search-box input:focus {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.1);
}

.search-box::before {
    content: "🔍";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.genre-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.genre-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-family: inherit;
}

.genre-btn:hover,
.genre-btn.active {
    background: var(--cyan-soft);
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

/* ==================== 详情页 ==================== */
.detail-hero {
    padding: 60px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: start;
}

.detail-poster {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), var(--shadow-cyan);
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-surface));
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    position: relative;
    overflow: hidden;
}

.detail-poster::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

.detail-info h1 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, var(--cyan-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-alias {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 24px;
    font-style: italic;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.detail-meta-item {
    display: flex;
    gap: 10px;
    font-size: 15px;
    align-items: center;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.detail-meta-label {
    color: var(--text-secondary);
    min-width: 48px;
}

.detail-meta-value {
    color: var(--cyan-primary);
    font-weight: 600;
}

.detail-rating-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--cyan-soft);
    border: 1px solid var(--glass-border);
    padding: 14px 24px;
    border-radius: 14px;
    margin-bottom: 28px;
}

.detail-rating-box .score {
    font-size: 32px;
    font-weight: 900;
    color: var(--cyan-primary);
}

.detail-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.detail-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.detail-section h2::before {
    content: "";
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--cyan-primary), var(--coral));
    border-radius: 2px;
}

.detail-section p,
.detail-section li {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 15px;
}

.detail-section ul {
    padding-left: 24px;
    margin: 16px 0;
}

.detail-section li {
    margin: 10px 0;
}

/* ==================== 推荐页 ==================== */
.ai-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}

.ai-hero {
    text-align: center;
    padding: 40px 0 50px;
}

.ai-hero h1 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 12px;
    color: #fff;
}

.ai-hero p {
    color: var(--text-secondary);
    font-size: 17px;
}

.ai-input-area {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
}

.ai-input-area label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--cyan-primary);
}

.ai-input-area textarea,
.ai-input-area input,
.ai-input-area select {
    width: 100%;
    background: rgba(2, 12, 27, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 18px;
    transition: all 0.3s;
}

.ai-input-area textarea:focus,
.ai-input-area input:focus,
.ai-input-area select:focus {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.ai-input-area textarea {
    min-height: 110px;
}

.ai-input-area select {
    appearance: none;
    cursor: pointer;
}

.recommend-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.recommend-form-grid .form-group {
    margin-bottom: 0;
}

.recommend-form-grid .form-group.full-width {
    grid-column: 1 / -1;
}

.glass-dropdown {
    position: relative;
    margin-top: 10px;
}

.glass-dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.glass-dropdown-trigger:hover {
    border-color: var(--glass-border-strong);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.glass-dropdown.open .glass-dropdown-trigger {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.glass-dropdown-icon {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.25));
}

.glass-dropdown-text {
    flex: 1;
}

.glass-dropdown-arrow {
    font-size: 12px;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

.glass-dropdown.open .glass-dropdown-arrow {
    transform: rotate(180deg);
}

.glass-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    background: rgba(10, 25, 47, 0.98);
    border: 1px solid var(--glass-border-strong);
    border-radius: 16px;
    padding: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.15);
}

.glass-dropdown.open .glass-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.glass-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.glass-dropdown-item:hover {
    background: rgba(0, 212, 255, 0.1);
}

.glass-dropdown-item.selected {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--cyan-primary);
}

.glass-dropdown-item-icon {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.2));
}

.glass-dropdown-item-text {
    font-size: 14px;
    color: var(--text-primary);
}

.ai-result {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px;
    line-height: 1.9;
    font-size: 15px;
    display: none;
}

.ai-result.show {
    display: block;
    animation: fadeIn 0.5s;
}

.ai-result h3 {
    color: var(--cyan-primary);
    margin-bottom: 18px;
    font-size: 20px;
}

.ai-result strong {
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading {
    display: none;
    text-align: center;
    padding: 40px;
    color: var(--cyan-primary);
}

.loading.show {
    display: block;
}

.spinner {
    width: 46px;
    height: 46px;
    border: 3px solid rgba(0, 212, 255, 0.15);
    border-top-color: var(--cyan-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== 调制按钮炫酷效果 ==================== */
.mix-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #00d4ff, #0099cc, #00d4ff, #64e9ff);
    background-size: 300% 100%;
    animation: mix-gradient 3s ease infinite;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.15);
    border: none;
    font-size: 18px;
    letter-spacing: 1px;
}

.mix-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.25);
}

.mix-btn:active {
    transform: translateY(0);
}

.mix-btn.mixing .mix-btn-shaker {
    animation: btn-shake-fast 0.4s ease-in-out infinite;
}

.mix-btn.mixing {
    animation: mix-gradient 0.5s ease infinite, btn-press 0.2s ease;
}

@keyframes btn-shake-fast {
    0%, 100% { transform: rotate(-20deg) translateY(0) scale(1.1); }
    50% { transform: rotate(20deg) translateY(-5px) scale(1.1); }
}

@keyframes btn-press {
    0% { transform: scale(1); }
    50% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

.mix-btn-shaker {
    font-size: 24px;
    margin-right: 10px;
    animation: btn-shake 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
    z-index: 2;
}

@keyframes btn-shake {
    0%, 100% { transform: rotate(-12deg) translateY(0); }
    25% { transform: rotate(12deg) translateY(-3px); }
    50% { transform: rotate(-12deg) translateY(0); }
    75% { transform: rotate(12deg) translateY(-3px); }
}

.mix-btn-text {
    position: relative;
    z-index: 2;
}

.mix-btn-liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
    animation: liquid-rise 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes liquid-rise {
    0%, 100% { height: 0%; opacity: 0.3; }
    50% { height: 100%; opacity: 0.6; }
}

.mix-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
    z-index: 3;
}

.mix-btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: pulse-glow 2s ease-in-out infinite;
    z-index: 0;
}

@keyframes mix-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* ==================== 调制加载动画 ==================== */
.loading .shaker {
    font-size: 56px;
    margin: 0 auto 12px;
    animation: shake 0.6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

@keyframes shake {
    0%, 100% { transform: rotate(-15deg) translateY(0); }
    25% { transform: rotate(15deg) translateY(-6px); }
    50% { transform: rotate(-15deg) translateY(0); }
    75% { transform: rotate(15deg) translateY(-6px); }
}

.mix-bubbles {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    height: 24px;
}

.mix-bubbles span {
    width: 10px;
    height: 10px;
    background: var(--cyan-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: bubble-rise 1.2s ease-in-out infinite;
}

.mix-bubbles span:nth-child(2) { animation-delay: 0.15s; }
.mix-bubbles span:nth-child(3) { animation-delay: 0.3s; }
.mix-bubbles span:nth-child(4) { animation-delay: 0.45s; }
.mix-bubbles span:nth-child(5) { animation-delay: 0.6s; }

@keyframes bubble-rise {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-16px) scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--cyan-primary); }
}

/* ==================== 结果卡片调制动画 ==================== */
.mix-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: mix-appear 0.6s ease forwards;
}

@keyframes mix-appear {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    60% { transform: translateY(-4px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.mix-result-content .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.2);
}

/* ==================== 页脚 ==================== */
.footer {
    text-align: center;
    padding: 50px 40px;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(180deg, transparent 0%, rgba(2, 12, 27, 0.8) 100%);
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 40px;
}

.footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-container { justify-content: center; }
    .logo span { display: none; }
    .hero { padding: 60px 20px 50px; border-radius: 0 0 40px 40px; }
    .hero h1 { font-size: 32px; }
    .hero h1::after { font-size: 28px; }
    .section { padding: 50px 20px; }
    .detail-hero { grid-template-columns: 1fr; padding: 40px 20px; }
    .detail-poster { max-width: 280px; margin: 0 auto; font-size: 80px; }
    .detail-meta-grid { grid-template-columns: 1fr; }
    .recommend-form-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .feature-card { flex-direction: column; padding: 28px 22px; }
}

@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; }
}
