/* ===== 字体导入 ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap');

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'SF Pro Display', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 15%, #8b2635 35%, #40407a 60%, #2c2c54 85%, #1a1a2e 100%);
    background-attachment: fixed;
    color: #333;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-top: 80px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* 魔法星空背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(3px 3px at 25px 40px, rgba(255, 192, 203, 0.8), transparent),
                radial-gradient(2px 2px at 60px 80px, rgba(255, 182, 193, 0.9), transparent),
                radial-gradient(1px 1px at 120px 30px, rgba(255, 20, 147, 0.7), transparent),
                radial-gradient(2px 2px at 180px 90px, rgba(255, 105, 180, 0.6), transparent),
                radial-gradient(1px 1px at 220px 50px, rgba(219, 112, 147, 0.8), transparent),
                radial-gradient(3px 3px at 300px 120px, rgba(255, 192, 203, 0.5), transparent);
    background-repeat: repeat;
    background-size: 350px 150px;
    animation: loveMagic 25s linear infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
}

@keyframes loveMagic {
    0% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(100px) translateY(-20px); }
    50% { transform: translateX(200px) translateY(10px); }
    75% { transform: translateX(150px) translateY(-30px); }
    100% { transform: translateX(350px) translateY(0px); }
}

.container {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 182, 193, 0.3);
    text-align: center;
    max-width: 1300px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 20, 147, 0.08), transparent, rgba(255, 105, 180, 0.06), transparent);
    animation: heartRotate 30s linear infinite;
    z-index: -1;
}

@keyframes heartRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== 标题字体样式 ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Inter', serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

h1 {
    color: #c44569;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.2em;
    letter-spacing: 0.02em;
    text-shadow: 0 3px 6px rgba(255, 20, 147, 0.3);
    background: linear-gradient(135deg, #ff6b9d, #c44569, #8b2635);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.2em;
    letter-spacing: 0.02em;
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 105, 180, 0.2);
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.nav-logo h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2em;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nav-logo .tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.4em;
    font-weight: 400;
    color: #888;
    display: block;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.nav-link:hover {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.2);
    border: 1px solid rgba(255, 105, 180, 0.2);
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 25px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(196, 69, 105, 0.1));
    color: #c44569;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 0.95em;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 157, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.25), rgba(196, 69, 105, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
}

.love-energy-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
    padding: 30px;
    background: rgba(255, 107, 157, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.15);
}

.energy-item {
    text-align: center;
}

.energy-label {
    display: block;
    font-size: 0.9em;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.energy-value {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: #c44569;
}

/* Reading Options Section */
.quick-reading-section {
    padding: 80px 0;
}

.quick-reading-section h2 {
    font-size: 2.5em;
    color: #c44569;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.section-description {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reading-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.reading-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 40px 30px;
    border: 2px solid rgba(255, 107, 157, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.reading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.03), rgba(196, 69, 105, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reading-card:hover::before {
    opacity: 1;
}

.reading-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
    border-color: rgba(255, 107, 157, 0.3);
}

.reading-card.featured {
    border: 3px solid #ff6b9d;
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.25);
    position: relative;
}

.reading-card.featured::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.reading-card h3 {
    font-size: 1.6em;
    color: #c44569;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.reading-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.keyword {
    background: rgba(255, 107, 157, 0.1);
    color: #c44569;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

.reading-btn {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.reading-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 107, 157, 0.4);
}

.featured-btn {
    background: linear-gradient(135deg, #c44569, #8b2635);
    box-shadow: 0 8px 20px rgba(196, 69, 105, 0.4);
}

.featured-btn:hover {
    box-shadow: 0 12px 25px rgba(196, 69, 105, 0.5);
}

/* Tarot Spreads Section */
.spreads-section {
    padding: 80px 0;
    background: rgba(255, 107, 157, 0.03);
    border-radius: 30px;
    margin: 60px 0;
}

.spreads-section h2 {
    font-size: 2.5em;
    color: #c44569;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.spreads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.spread-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 107, 157, 0.15);
    transition: all 0.3s ease;
}

.spread-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.2);
}

.spread-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    height: 80px;
}

.spread-preview.celtic {
    /* display: grid; */
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 10px;
    /* height: 100px; */
}

.spread-preview.soulmate {
    /* display: grid; */
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 10px;
    /* height: 90px; */
}

.card-position {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    width: 40px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 4px 10px rgba(255, 107, 157, 0.3);
}

.card-position.heart {
    background: linear-gradient(135deg, #ff1744, #c2185b);
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.spread-card h4 {
    font-size: 1.4em;
    color: #c44569;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.spread-card p {
    color: #666;
    margin-bottom: 20px;
}

.spread-features {
    list-style: none;
    margin-bottom: 25px;
}

.spread-features li {
    color: #666;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.spread-features li::before {
    content: '💕';
    position: absolute;
    left: 0;
    font-size: 0.8em;
}

.spread-btn {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.8), rgba(196, 69, 105, 0.8));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.spread-btn:hover {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

/* Card of the Day Section */
.card-day-section {
    padding: 80px 0;
    text-align: center;
}

.card-day-section h2 {
    font-size: 2.5em;
    color: #c44569;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
}

.card-day-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.daily-card {
    position: relative;
    width: 250px;
    height: 350px;
    margin: 0 auto;
    perspective: 1000px;
}

.card-back, .card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    cursor: pointer;
}

.card-back {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.3);
}

.card-pattern {
    font-size: 4em;
    margin-bottom: 20px;
}

.card-back p {
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
}

.card-front {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(255, 107, 157, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.2);
}

.card-front.hidden {
    display: none;
}

.card-front h3 {
    color: #c44569;
    font-size: 1.6em;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.card-image {
    font-size: 3em;
    margin-bottom: 20px;
}

.card-front p {
    color: #666;
    text-align: center;
    line-height: 1.5;
}

.card-interpretation {
    text-align: left;
}

.card-interpretation h4 {
    color: #c44569;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.card-interpretation p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.love-advice h5 {
    color: #c44569;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.love-advice ul {
    list-style: none;
    padding: 0;
}

.love-advice li {
    color: #666;
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
    line-height: 1.5;
}

.love-advice li::before {
    content: '💖';
    position: absolute;
    left: 0;
    font-size: 1em;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: rgba(255, 107, 157, 0.03);
    border-radius: 30px;
    margin: 60px 0;
}

.testimonials-section h2 {
    font-size: 2.5em;
    color: #c44569;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 157, 0.15);
    transition: all 0.3s ease;
    text-align: left;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.2);
}

.stars {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ffd700;
}

.testimonial p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 1.05em;
}

.testimonial-author {
    color: #c44569;
    font-weight: 600;
    text-align: right;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #c44569, #8b2635);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-radius: 30px 30px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffb3d1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    font-size: 1.5em;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffb3d1;
}

.disclaimer {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-logo h1 {
        font-size: 1.8em;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .love-energy-display {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reading-options {
        grid-template-columns: 1fr;
    }

    .spreads-grid {
        grid-template-columns: 1fr;
    }

    .card-day-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .daily-card {
        width: 200px;
        height: 280px;
    }

    .container {
        padding: 20px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8em;
    }

    .hero-features {
        gap: 10px;
    }

    .feature-tag {
        padding: 8px 15px;
        font-size: 0.85em;
    }

    .reading-card,
    .spread-card,
    .testimonial {
        padding: 25px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}