/* Global Styles - Horoscope Website Color Scheme */
:root {
    /* 主色调 - 神秘紫色 */
    --primary-color: #6b46c1;
    --primary-light: #8b5cf6;
    --primary-dark: #553c9a;

    /* 辅助色 - 星空蓝色 */
    --secondary-color: #3b82f6;
    --secondary-light: #60a5fa;
    --secondary-dark: #2563eb;

    /* 强调色 - 月亮金色 */
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;

    /* 错误色 */
    --error-color: #f56565;
    --error-light: #fc8181;
    --error-dark: #e53e3e;

    /* 深色背景色系 */
    --dark-bg: #0f1419;
    --darker-bg: #1a202c;
    --card-bg: #2d3748;
    --soft-bg: #4a5568;
    --hover-bg: #2d3748;
    --light-bg: #ffffff;
    --dark-section-bg: #1a202c;

    /* 边框和分割线 */
    --border-color: #4a5568;
    --border-light: #2d3748;
    --border-medium: #718096;
    --border-dark: #1a202c;

    /* 文字色系 */
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-light: #cbd5e0;
    --text-muted: #a0aec0;
    --text-white: #ffffff;
    --text-dark: #2d3748;

    /* 阴影效果 - 深色主题 */
    --shadow-light: rgba(0, 0, 0, 0.2);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.4);
    --shadow-game: rgba(66, 153, 225, 0.3);
    --shadow-glow: rgba(66, 153, 225, 0.5);

    /* 渐变色 - 深色游戏风格 */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    --gradient-card: linear-gradient(145deg, var(--card-bg) 0%, var(--darker-bg) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(26, 32, 44, 0.9) 70%);
    --gradient-iframe-glow: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(72, 187, 120, 0.1) 100%);

    /* 兼容旧版本 */
    --light-text: var(--text-primary);
    --gray-text: var(--text-secondary);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    font-weight: 400;
}

.game-bg {
    background: var(--gradient-dark);
}

/* Typography - 更专业的字体设计 */
.fancy-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: none;
    letter-spacing: -0.025em;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Content Wrapper - 深色主题设计 */
.content-wrapper {
    background: var(--gradient-card);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    max-width: 1400px;
    margin: 0 auto;
    margin-top: -1rem;
    position: relative;
    z-index: 2;
}

/* Section Styles */
.content-section {
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.section-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.025em;
}

/* Flex Container */
.flex-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.text-section {
    flex: 1;
    min-width: 0; /* 防止flex项目溢出 */
}

.image-section {
    flex-shrink: 0;
    width: 33.333333%;
}

.image-wrapper {
    background: var(--soft-bg);
    border-radius: 1rem;
    padding: 0.25rem;
    border: 1px solid var(--border-color);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

/* Steps List */
.steps-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

.steps-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.feature-box {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* FAQ Section Styles - Unified for Horoscope Pages */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.video-card {
    background: var(--card-bg);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.video-preview {
    aspect-ratio: 16/9;
}

.video-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-card h3 {
    padding: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Comments Grid */
.comments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.comment-card {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.comment-avatar {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
}

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

.comment-info {
    flex-grow: 1;
}

.comment-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--light-text);
    margin-bottom: 0.125rem;
}

.comment-role {
    font-size: 0.75rem;
    color: var(--gray-text);
}

.comment-text {
    color: var(--gray-text);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }

    .image-section {
        width: 100%;
    }

    .highlight-box {
        min-width: auto;
        max-width: none;
        flex: none;
    }
    
    .features-grid,
    .videos-grid,
    .comments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .comment-card {
        padding: 0.75rem;
    }
    
    .comment-avatar {
        width: 2rem;
        height: 2rem;
    }
    
    .comment-name {
        font-size: 0.8125rem;
    }
    
    .comment-role {
        font-size: 0.6875rem;
    }
    
    .comment-text {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .videos-grid,
    .comments-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
}

/* Navigation - 深色游戏网站导航 */
.navbar {
    background-color: rgba(26, 32, 44, 0.95);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px var(--shadow-medium);
    backdrop-filter: blur(15px);
}

.navbar.scrolled {
    background-color: rgba(26, 32, 44, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px var(--shadow-strong);
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    letter-spacing: -0.025em;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.navbar-brand:hover {
    color: var(--primary-light) !important;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-light) !important;
    background-color: var(--hover-bg);
    text-shadow: 0 0 10px var(--shadow-glow);
}

.nav-link.active {
    color: var(--primary-light) !important;
    background-color: var(--soft-bg);
    text-shadow: 0 0 10px var(--shadow-glow);
}

/* 移动端菜单按钮样式 */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: var(--primary-light) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25) !important;
    border-color: var(--primary-light) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.2em !important;
    height: 1.2em !important;
}

/* 移动端导航栏样式 */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .navbar-brand span {
        font-size: 0.85rem;
    }
    
    .navbar-brand img {
        height: 28px !important;
    }
}

/* Hero Section - 深色主题 */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-main-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    flex: 2.5;
    min-width: 0;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(ellipse at center, rgba(66, 153, 225, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: spotlight 4s ease-in-out infinite;
}

@keyframes spotlight {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

/* Hero Games Sidebar - 深色主题设计 */
.hero-games-sidebar {
    flex: 1.5;
    min-width: 300px;
    max-width: 380px;
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    height: fit-content;
    position: relative;
    z-index: 10;
}

.hero-games-sidebar .sidebar-title {
    color: var(--primary-light);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.75rem;
    letter-spacing: -0.025em;
    text-shadow: 0 0 10px var(--shadow-glow);
}

.hero-games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.hero-game-card {
    background: var(--gradient-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
}

.hero-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: 0 0 20px var(--shadow-glow), 0 8px 25px var(--shadow-strong);
}

.hero-game-card .game-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--soft-bg);
    position: relative;
}

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

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

.hero-game-card .game-info {
    padding: 0.75rem 0.5rem;
    text-align: center;
    background: var(--card-bg);
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 2;
}

.hero-game-card .game-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
    position: relative;
    z-index: 3;
    letter-spacing: -0.01em;
}

/* Custom scrollbar for hero games grid */
.hero-games-grid::-webkit-scrollbar {
    width: 4px;
}

.hero-games-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.hero-games-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 2px;
}

.hero-games-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
        margin-bottom: 1rem;
    }
    
    .video-preview-content .game-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .video-preview-content {
        padding: 1.5rem;
    }
    
    .hero-content .video-preview {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 30px;
    }
    
    .video-preview-content .game-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .video-preview-content {
        padding: 1rem;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(66, 153, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(72, 187, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(237, 137, 54, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .video-preview {
    position: relative;
    box-shadow: 0 0 30px rgba(111, 63, 251, 0.3);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-content .video-preview img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-content .video-preview:hover img {
    transform: scale(1.02);
}

.video-preview-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    text-align: center;
}

.video-preview-content .game-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(111, 63, 251, 0.5);
    background: linear-gradient(to right, #fff, #b19eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.video-preview-content .btn-download {
    margin-top: 1rem;
    z-index: 3;
    position: relative;
}

.game-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-light);
    text-shadow: 0 0 20px var(--shadow-glow), 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.btn-download {
    background: var(--gradient-primary);
    border: 2px solid var(--primary-light);
    color: var(--text-white);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 0 20px var(--shadow-glow), 0 8px 25px var(--shadow-strong);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px var(--shadow-glow), 0 12px 40px var(--shadow-strong);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    color: var(--text-white);
    text-decoration: none;
    border-color: var(--secondary-light);
}

.btn-download i {
    font-size: 1rem;
    vertical-align: middle;
}

/* Sections */
section {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

/* Feature Cards */
.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Reviews Section */
.review-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.review-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.rating {
    color: #ffd700;
}

/* FAQ Section */
.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

/* Footer - 深色主题设计 */
.footer {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-white);
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    box-shadow: 0 -5px 20px var(--shadow-medium);
}

.footer h5 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--text-white);
}

.social-links a {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: darken(var(--primary-color), 10%);
}

main {
    flex: 1;
}

.card {
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.card-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

footer {
    margin-top: auto;
}

/* Codes Grid */
.codes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.code-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.code-box h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.code-box code {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 0.5rem;
    color: #fff;
    font-family: monospace;
    margin-top: 1rem;
    user-select: all;
}

/* Download Section */
.download-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.5rem;
    color: var(--light-text);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(0, 38, 38, 0.6);
}

.download-button i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.download-button span {
    font-size: 1.1rem;
}

.ios-button {
    background: linear-gradient(45deg, #000000, #1a1a1a);
}

.android-button {
    background: linear-gradient(45deg, #3DDC84, #2EAE66);
}

.windows-button {
    background: linear-gradient(45deg, #00A4EF, #0078D4);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    color: var(--light-text);
    text-decoration: none;
}

@media (max-width: 768px) {
    .download-grid {
        max-width: 100%;
    }
    
    .download-button {
        padding: 0.875rem;
    }
    
    .download-button i {
        font-size: 1.25rem;
    }
    
    .download-button span {
        font-size: 1rem;
    }
}

/* System Requirements Section */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.requirements-box {
    background: rgba(31, 41, 55, 0.8);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.requirements-box h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li strong {
    color: var(--light-text);
    margin-right: 0.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .requirements-box {
        padding: 1rem;
    }

    .requirements-list li {
        font-size: 0.85rem;
    }
}

/* Videos Container with Other Games Sidebar */
.videos-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    margin-top: 1rem;
}

.videos-main {
    flex: 2;
    min-width: 0;
}

.main-video {
    margin-bottom: 1.5rem;
}

.main-video .video-preview {
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
}

.main-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.video-grid-small .video-card {
    background: rgba(0, 38, 38, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-grid-small .video-card:hover {
    transform: translateY(-2px);
}

.video-grid-small .video-preview {
    aspect-ratio: 16/9;
}

.video-grid-small iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-grid-small h4 {
    padding: 0.75rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Other Games Sidebar */
.other-games-sidebar {
    flex: 1;
    min-width: 280px;
    background: rgba(0, 38, 38, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidebar-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.other-games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.other-game-card {
    background: rgba(0, 20, 20, 0.8);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.other-game-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.game-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    z-index: 5;
}

.game-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--darker-bg);
}

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

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

.game-info {
    padding: 0.75rem;
}

.game-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--light-text);
    line-height: 1.2;
}

.game-description {
    font-size: 0.7rem;
    color: var(--gray-text);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .other-games-grid {
        grid-template-columns: 1fr;
    }

    .other-games-sidebar {
        min-width: 240px;
    }
}

@media (max-width: 768px) {
    .videos-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .other-games-sidebar {
        min-width: auto;
        order: 2;
    }

    .videos-main {
        order: 1;
    }

    .video-grid-small {
        grid-template-columns: 1fr;
    }

    .other-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .sidebar-title {
        font-size: 1.1rem;
    }
}

/* Hero Section Mobile Responsive */
@media (max-width: 1200px) {
    .hero-main-content {
        max-width: 1200px;
        gap: 2rem;
    }

    .hero-games-sidebar {
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 1024px) {
    .hero-main-content {
        gap: 1.5rem;
        padding: 0 0.75rem;
    }

    .hero-games-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .hero-games-sidebar {
        min-width: 240px;
        max-width: 280px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-main-content {
        flex-direction: column;
        gap: 1.25rem;
        padding: 0 0.5rem;
    }

    .hero-games-sidebar {
        min-width: auto;
        max-width: none;
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .hero-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .hero-games-sidebar .sidebar-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .hero-game-card .game-title {
        font-size: 0.75rem;
    }

    .hero-games-sidebar {
        padding: 0.75rem;
    }
}

/* Game header styles */
.game-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.game-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.game-subtitle {
    color: var(--light-text);
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
    font-weight: 400;
}

/* Game Preview Card - 突出显示的iframe区域 */
.game-preview-card {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gradient-iframe-glow);
    box-shadow: 0 0 30px var(--shadow-glow), 0 8px 32px var(--shadow-strong);
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

.game-preview-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 50px var(--shadow-glow), 0 15px 60px var(--shadow-strong);
    border-color: var(--primary-light);
}

.game-preview-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    border-radius: 18px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Background image with blur effect for entire card */
.game-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.3);
    z-index: 0;
}

/* Game title */
.game-preview-title {
    position: relative;
    z-index: 6;
    color: var(--text-white);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Game image (not blurred) */
.game-preview-image {
    position: relative;
    z-index: 5;
    width: 300px;
    height: 169px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button - 突出显示的游戏按钮 */
.play-game-btn {
    position: relative;
    z-index: 7;
    background: var(--gradient-primary);
    border: 2px solid var(--primary-light);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 0 20px var(--shadow-glow), 0 8px 25px var(--shadow-strong);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.play-game-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px var(--shadow-glow), 0 12px 40px var(--shadow-strong);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    color: var(--text-white);
    border-color: var(--secondary-light);
}

.play-game-btn i {
    font-size: 1rem;
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Game iframe container - 突出显示 */
.game-iframe-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px var(--shadow-glow), 0 10px 40px var(--shadow-strong);
    background: var(--darker-bg);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.game-iframe-container:hover {
    box-shadow: 0 0 60px var(--shadow-glow), 0 15px 60px var(--shadow-strong);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.game-iframe-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    border-radius: 18px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

.game-iframe-container:hover .iframe-overlay {
    opacity: 0;
    pointer-events: none;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: var(--darker-bg);
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* iframe overlay with play indicator */
.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.play-indicator {
    text-align: center;
    color: var(--light-text);
}

.game-icon {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--shadow-glow);
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.play-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    color: var(--text-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Iframe controls */
.iframe-controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-iframe-container:hover .iframe-controls {
    opacity: 1;
}

.back-to-preview-btn,
.refresh-btn,
.fullscreen-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.back-to-preview-btn:hover,
.refresh-btn:hover,
.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 215, 0, 0.6);
    color: white;
}

.right-controls {
    display: flex;
    gap: 0.5rem;
}

/* Loading indicator */
.iframe-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--darker-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Download game button */
.download-game-btn {
    position: relative;
    z-index: 7;
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
}

.download-game-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary-color));
}

.download-game-btn i {
    margin-right: 0.5rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 1200px) {
    .hero-main-content {
        gap: 1.5rem;
    }

    .hero-games-sidebar {
        min-width: 280px;
        max-width: 320px;
    }
}

@media (max-width: 1024px) {
    .hero-games-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .hero-games-sidebar {
        min-width: 240px;
        max-width: 280px;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-main-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 0.75rem;
    }

    .hero-games-sidebar {
        min-width: auto;
        max-width: none;
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .game-iframe-container,
    .game-preview-card {
        border-radius: 10px;
        aspect-ratio: 16/10; /* 在中等屏幕上使用稍微更高的比例 */
        min-height: 300px; /* 确保中等屏幕有足够高度 */
    }

    .game-title {
        font-size: 1.8rem;
    }

    .game-subtitle {
        font-size: 0.9rem;
    }

    .game-preview-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .game-preview-image {
        width: 250px;
        height: 141px;
        margin-bottom: 1rem;
    }

    .play-game-btn,
    .download-game-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .hero-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        max-height: 400px;
    }

    .hero-games-sidebar .sidebar-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    /* 确保iframe在中等屏幕上有足够的高度 */
    .game-iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.5rem;
    }

    .game-preview-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .game-preview-image {
        width: 200px;
        height: 113px;
        margin-bottom: 0.75rem;
    }

    .play-game-btn,
    .download-game-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-height: 350px;
    }

    .hero-game-card .game-title {
        font-size: 0.7rem;
    }

    .hero-games-sidebar {
        padding: 1rem;
    }

    .game-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .play-text {
        font-size: 1rem;
    }

    /* 移动端iframe容器高度优化 */
    .game-iframe-container,
    .game-preview-card {
        aspect-ratio: 4/3; /* 在小屏幕上使用更方形的比例，提供更多高度 */
        min-height: 250px; /* 确保最小高度 */
    }

    /* 确保iframe在小屏幕上有足够的高度 */
    .game-iframe {
        min-height: 250px;
    }
}

/* 超小屏幕优化 (320px - 400px) */
@media (max-width: 400px) {
    .game-iframe-container,
    .game-preview-card {
        aspect-ratio: 1/1; /* 在超小屏幕上使用正方形比例 */
        min-height: 280px; /* 增加最小高度 */
        margin-bottom: 1rem;
    }

    .game-iframe {
        min-height: 280px;
    }

    .hero-section {
        padding: 80px 0 30px; /* 减少上下padding */
    }

    .game-title {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .game-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

/* ===== HOROSCOPE WEBSITE REDESIGNED STYLES ===== */

/* Breadcrumb Navigation */
.horoscope-breadcrumb {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 70px; /* 为固定导航栏留出空间 */
}

@media (max-width: 768px) {
    .horoscope-breadcrumb {
        margin-top: 60px; /* 移动端稍微减少间距 */
        padding: 0.5rem 0;
    }
}

.horoscope-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.horoscope-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--primary-color);
    font-weight: bold;
    margin: 0 0.5rem;
}

.horoscope-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.horoscope-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.horoscope-breadcrumb .breadcrumb-item.active {
    color: #64748b;
    font-weight: 600;
}

/* Horoscope Header */
.horoscope-header {
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%);
    color: white;
    padding: 2.5rem 0 2rem 0; /* 增加顶部padding */
    position: relative;
    overflow: hidden;
}

.horoscope-header::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"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="0.8" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.horoscope-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.horoscope-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.meta-item i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.lunar-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.header-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.horoscope-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.horoscope-badge.primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.horoscope-badge.secondary {
    background: #fbbf24;
    color: #1f2937;
    border-color: #f59e0b;
}

/* Main Content Area */
.horoscope-main {
    padding: 3rem 0;
    background: #f8fafc;
    min-height: 70vh;
}

.horoscope-article {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-section {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.article-section:last-child {
    border-bottom: none;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.section-content {
    line-height: 1.7;
    color: #374151;
}

.section-content .lead {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* Sidebar Styling */
.horoscope-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.widget-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.quick-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-nav li {
    margin-bottom: 0.5rem;
}

.quick-nav a {
    color: #4b5563;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.quick-nav a::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.quick-nav a:hover {
    color: var(--primary-color);
    background: #f3f4f6;
    padding-left: 2rem;
}

.quick-nav a:hover::before {
    transform: translateX(0.25rem);
}

.daily-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.info-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Redesigned Horoscope Sign Cards */
.horoscope-sign {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.horoscope-sign::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.horoscope-sign:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.15), 0 15px 35px rgba(0, 0, 0, 0.1);
}

.sign-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    padding: 1.5rem 1.5rem 0 1.5rem;
    position: relative;
}

.sign-title::after {
    content: "✦";
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.sign-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.sign-ascendant {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid #c7d2fe;
}

.sign-prediction {
    color: #374151 !important;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.sign-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.detail-label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-text {
    color: #4b5563;
    margin-top: 0.25rem;
    line-height: 1.5;
}

.sign-link {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.sign-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sign-link a:hover {
    color: var(--accent-color);
}

/* Content Section Styling */
.content-section {
    margin-bottom: 2.5rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.fancy-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.fancy-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Advice Content Styling */
.advice-content {
    background: linear-gradient(135deg, #fef7cd 0%, #fef3c7 100%);
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.advice-content h4 {
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

.advice-content ul {
    margin-bottom: 0;
}

.advice-content li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}



/* FAQ 全新设计 */
.faq-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question:focus {
    outline: none;
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before {
    content: '+';
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background: var(--primary-color);
    transform: rotate(45deg);
}

.faq-item.active .faq-icon::before {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    border-top: 1px solid #e5e7eb;
}

.faq-answer-content {
    padding: 1.5rem;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer-content p {
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .faq-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
}

/* Responsive Design for New Layout */
@media (max-width: 1024px) {
    .horoscope-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .header-badges {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .horoscope-header {
        padding: 2rem 0 1.5rem 0; /* 保持足够的顶部间距 */
    }

    .horoscope-title {
        font-size: 1.75rem;
    }

    .horoscope-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .horoscope-main {
        padding: 2rem 0;
    }

    .article-section {
        padding: 1.5rem;
    }

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

    .sign-title {
        font-size: 1.25rem;
    }

    .sign-details {
        grid-template-columns: 1fr;
    }

    .sidebar-widget {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .horoscope-title {
        font-size: 1.5rem;
    }

    .horoscope-meta {
        font-size: 0.85rem;
    }

    .meta-item {
        gap: 0.25rem;
    }

    .horoscope-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }

    .sign-content {
        padding: 0 1rem 1rem 1rem;
    }

    .sign-title {
        padding: 1rem 1rem 0 1rem;
        font-size: 1.125rem;
    }
}

/* ===== HOROSCOPES LIST PAGE STYLES ===== */

/* Page Header */
.horoscopes-page-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #c4b5fd 100%);
    color: white;
    padding: 2rem 0 1.5rem 0; /* 增加顶部padding */
    position: relative;
    overflow: hidden;
}

.horoscopes-page-header::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"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.header-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Main Content */
.horoscopes-main {
    padding: 3rem 0;
    background: #f8fafc;
    min-height: 70vh;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-description {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

/* Horoscopes Grid */
.horoscopes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.horoscope-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.horoscope-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.horoscope-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.15), 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 运势卡片图片样式 */
.card-image {
    width: 100%;
    height: 180px; /* 固定合理的高度 */
    overflow: hidden;
    position: relative;
}

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

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

/* 卡片链接样式 */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: all 0.3s ease;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}

.card-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: rgba(248, 250, 252, 0.8); /* 更浅的背景色 */
}

.card-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-date,
.meta-lunar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.meta-date i {
    color: var(--primary-color);
}

.meta-lunar i {
    color: var(--accent-color);
}

.card-content {
    padding: 0 1.5rem 1rem 1.5rem;
}

.card-description {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-link:hover .read-more-btn {
    color: var(--primary-dark);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.card-link:hover .read-more-btn i {
    transform: translateX(0.25rem);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.empty-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.empty-state p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Sidebar Styles */
.horoscopes-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.widget-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

/* Zodiac Signs Widget */
.zodiac-signs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sign-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sign-item:hover {
    background: #e0e7ff;
    transform: translateX(0.25rem);
}

.sign-symbol {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    width: 30px;
    text-align: center;
}

.sign-name {
    font-weight: 600;
    color: #374151;
    flex: 1;
}

.sign-dates {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Astro Info Widget */
.astro-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design for Horoscopes Page */
@media (max-width: 1024px) {
    .horoscopes-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .header-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .horoscopes-page-header {
        padding: 1.5rem 0 1rem 0; /* 保持足够的顶部间距 */
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .header-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 0.75rem 1rem;
    }

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

    .horoscopes-main {
        padding: 2rem 0;
    }

    .horoscopes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .card-title {
        font-size: 1.125rem;
    }

    .card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .card-header,
    .card-content,
    .card-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* 移动端图片高度调整 */
    .card-image {
        height: 160px;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    .sign-item {
        padding: 0.5rem;
    }

    .info-item {
        padding: 0.75rem;
    }
}

/* ===== RELATED ARTICLES SECTION ===== */

.related-articles {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 2px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
}

.related-header {
    text-align: center;
    margin-bottom: 2rem;
}

.related-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.related-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

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

.related-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.1);
}

.related-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.related-link:hover {
    text-decoration: none;
    color: inherit;
}

.related-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f1f5f9;
}

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

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

.related-content {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
}

.related-card-title {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.related-date,
.related-lunar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.related-date i {
    color: var(--primary-color);
}

.related-lunar i {
    color: var(--accent-color);
}

.related-description {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .related-articles {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
    }

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

    .related-content {
        padding: 0.75rem 1rem 1rem 1rem;
    }

    .related-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .related-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .related-card-title {
        font-size: 0.95rem;
    }

    .related-description {
        font-size: 0.85rem;
    }
}

/* ===== ENHANCED HOROSCOPE CONTENT STYLES ===== */

.content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.content-section {
    background: linear-gradient(135deg, #ffffff, #fefeff);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(107, 70, 193, 0.05), 0 10px 25px rgba(107, 70, 193, 0.08);
    border: 1px solid #e0e7ff;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
}

.fancy-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.fancy-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.horoscope-sign {
    background: linear-gradient(135deg, #ffffff, #fafbff);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e7ff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.05);
}

.horoscope-sign:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.12);
    border-color: #c4b5fd;
}

.sign-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sign-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 1px;
}

.sign-prediction {
    color: #374151 !important;
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
}

.sign-prediction strong {
    color: var(--primary-dark) !important;
    font-weight: 700;
}

.sign-prediction p {
    color: #374151 !important;
}

.horoscope-sign p {
    color: #374151 !important;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #374151 !important;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.08);
}

.lead-text strong {
    color: var(--primary-dark) !important;
    font-weight: 700;
}

.highlight-box {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border: 1px solid #c084fc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
    color: #374151;
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 400px;
}

.highlight-box p {
    color: #374151 !important;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.highlight-box strong {
    color: var(--primary-dark) !important;
    font-weight: 700;
}

.highlight-box::before {
    content: '✨';
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.4rem 0.6rem;
    border-radius: 50%;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(107, 70, 193, 0.3);
}

.astro-tip {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border: 1px solid #a78bfa;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    position: relative;
    padding-left: 3rem;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.1);
    color: #374151;
}

.astro-tip p {
    color: #374151 !important;
    font-weight: 500;
}

.astro-tip strong {
    color: var(--primary-dark) !important;
    font-weight: 700;
}

.astro-tip::before {
    content: '🔮';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Static FAQ Styles for Horoscope Pages */
.faq-item {
    background: white;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.08);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0e7ff;
}

.faq-answer {
    padding: 1.25rem 1.5rem;
    color: #374151;
    line-height: 1.7;
    background: #fafbff;
    font-size: 1rem;
}

.faq-answer p {
    margin: 0;
    color: #4b5563;
}
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .fancy-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    .horoscope-sign {
        padding: 1rem;
    }

    .sign-title {
        font-size: 1.2rem;
    }

    .lead-text {
        font-size: 1.1rem;
        padding: 0.75rem;
    }
}

/* ===== ENHANCED VISUAL ELEMENTS ===== */

/* 为强调文本添加特殊样式 */
.highlight-box strong,
.astro-tip strong,
.sign-prediction strong {
    color: var(--primary-dark) !important;
    font-weight: 700;
}

/* 确保所有文本都有足够的对比度 */
.highlight-box ul li,
.astro-tip ul li,
.content-section ul li {
    color: #374151 !important;
}

.highlight-box ul li strong,
.astro-tip ul li strong,
.content-section ul li strong {
    color: var(--primary-dark) !important;
}

/* 为emoji添加轻微的阴影效果 */
.content-section h1,
.content-section h2,
.content-section h3 {
    filter: drop-shadow(0 1px 2px rgba(107, 70, 193, 0.1));
}

/* 为列表项添加更好的间距和样式 */
.highlight-box ul,
.content-section ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.highlight-box li,
.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 为段落添加更好的间距 */
.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* 增强链接样式 */
.content-section a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.content-section a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-light);
}

/* 为代码或特殊文本添加样式 */
.content-section code {
    background: #f3e8ff;
    color: var(--primary-dark);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

/* ===== FEATURED IMAGE STYLES ===== */
.article-featured-image {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.15);
    transition: all 0.3s ease;
}

.article-featured-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(107, 70, 193, 0.2);
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.article-featured-image:hover .featured-image {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem 1.5rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-featured-image:hover .image-overlay {
    opacity: 1;
}

.image-caption {
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.image-caption i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-featured-image {
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .featured-image {
        max-height: 250px;
    }

    .image-overlay {
        padding: 1.5rem 1rem 0.75rem;
    }

    .image-caption {
        font-size: 0.8rem;
    }
}