@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;400;500;600;700;900&family=Ma+Shan+Zheng&display=swap');

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

:root {
    --primary: #e91e63;
    --primary-dark: #880e4f;
    --primary-light: #f8bbd0;
    --bg: #fce4ec;
    --bg-white: #fff5f8;
    --text: #880e4f;
    --text-light: #ad1457;
    --text-muted: #c2185b;
    --shadow: 0 8px 32px rgba(233, 30, 99, 0.15);
    --shadow-hover: 0 12px 40px rgba(233, 30, 99, 0.25);
    --radius: 16px;
    --font-serif: 'Noto Serif SC', serif;
    --font-script: 'Ma Shan Zheng', cursive;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(248, 187, 208, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(233, 30, 99, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(252, 228, 236, 0.5) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header */
.header {
    background: rgba(255, 245, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(233, 30, 99, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-script);
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.logo-text {
    font-family: var(--font-script);
    font-size: 32px;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    padding: 10px 18px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 28px;
    cursor: pointer;
}

/* Hero / Banner */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

.petal {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-light);
    border-radius: 50% 0 50% 0;
    opacity: 0.6;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

.hero h1 {
    font-family: var(--font-script);
    font-size: 64px;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.hero .subtitle {
    font-size: 20px;
    margin-bottom: 12px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.hero .tagline {
    font-size: 16px;
    opacity: 0.85;
    letter-spacing: 2px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 50px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner h1 {
    font-family: var(--font-script);
    font-size: 48px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.page-banner p {
    font-size: 17px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

/* Section */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-script);
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::before,
.section-title h2::after {
    content: '❀';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-light);
    font-size: 24px;
}

.section-title h2::before {
    left: -36px;
}

.section-title h2::after {
    right: -36px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(248, 187, 208, 0.5);
    position: relative;
}

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

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

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

.card-img {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(136, 14, 79, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.category-card:hover::after {
    opacity: 0.5;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.category-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.category-card p {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--bg-white);
    border: 2px solid var(--primary-light);
    color: var(--text);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-serif);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

/* Variety / Stars Cards */
.variety-card,
.star-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(248, 187, 208, 0.5);
}

.variety-card:hover,
.star-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.variety-card h3,
.star-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.variety-info,
.star-info {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.variety-info span,
.star-info span {
    background: var(--primary-light);
    color: var(--text);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.update-frequency {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.about-hero h1 {
    font-family: var(--font-script);
    font-size: 56px;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.story-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 50px;
    margin: -40px auto 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-hover);
    max-width: 900px;
}

.story-section h2 {
    font-family: var(--font-script);
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
}

.story-section p {
    font-size: 17px;
    line-height: 2;
    color: var(--text);
    margin-bottom: 16px;
}

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

.value-card {
    text-align: center;
    padding: 30px 24px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.25);
}

.value-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-light), var(--bg));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-script);
    font-size: 36px;
    color: var(--primary);
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
}

.team-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 6px;
}

.team-role {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.team-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-hover);
}

.contact-card h3 {
    font-family: var(--font-script);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    padding: 14px 0;
    border-bottom: 1px dashed var(--primary-light);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
}

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

.contact-list strong {
    color: var(--primary);
    min-width: 80px;
}

.contact-list span {
    color: var(--text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    background: var(--bg);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--font-serif);
    color: var(--text);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-serif);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.declaration {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}

.declaration h3 {
    font-family: var(--font-script);
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 20px;
}

.declaration p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 14px;
}

.declaration h4 {
    color: var(--primary);
    font-size: 17px;
    margin: 20px 0 10px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--primary-light) 100%);
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-script);
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(136, 14, 79, 0.2);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-script);
    font-size: 48px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Star Couple Cards */
.couple-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.couple-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.couple-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 24px;
    text-align: center;
}

.couple-header h3 {
    font-family: var(--font-script);
    font-size: 24px;
    margin-bottom: 4px;
}

.couple-works {
    padding: 20px 24px;
}

.couple-works h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 12px;
}

.couple-works ul {
    list-style: none;
}

.couple-works li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--primary-light);
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.couple-works li::before {
    content: '♥';
    color: var(--primary);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: 0 8px 20px rgba(233, 30, 99, 0.15);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 50px 0 70px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .subtitle {
        font-size: 17px;
    }

    .page-banner h1 {
        font-size: 32px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title h2::before,
    .section-title h2::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .story-section {
        padding: 30px 24px;
        margin: -20px 16px 0;
    }

    .contact-card {
        padding: 28px 24px;
    }

    .declaration {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 24px;
    }
}