@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=ZCOOL+XiaoWei&display=swap');

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

:root {
    --pink-light: #ffb7c5;
    --pink-dark: #e91e63;
    --pink-bg: #fff0f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --shadow: 0 4px 20px rgba(233, 30, 99, 0.15);
    --shadow-hover: 0 8px 30px rgba(233, 30, 99, 0.25);
    --radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--pink-bg);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'ZCOOL XiaoWei', serif;
    color: var(--pink-dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

header {
    background: linear-gradient(135deg, var(--pink-light), var(--pink-dark));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.8rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

nav ul li a {
    color: var(--white);
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--white);
    color: var(--pink-dark);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    padding: 8px 18px;
    border: 2px solid var(--white);
    border-radius: 25px;
    background: rgba(255,255,255,0.9);
    outline: none;
    font-family: inherit;
    width: 200px;
    transition: var(--transition);
}

.search-input:focus {
    width: 260px;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.search-btn {
    background: var(--white);
    color: var(--pink-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--pink-bg);
}

.banner {
    background: linear-gradient(135deg, #ffe4ec 0%, var(--pink-bg) 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '🌸';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    top: -30px;
    right: -30px;
}

.banner-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.banner p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.banner-btn {
    display: inline-block;
    background: var(--pink-dark);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.banner-btn:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

main {
    padding: 40px 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--pink-light);
}

.section-title h2 {
    font-size: 1.8rem;
}

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

.section-more {
    margin-left: auto;
    color: var(--pink-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.section-more:hover {
    text-decoration: underline;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

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

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

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

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

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--pink-dark);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-rank {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.card-score {
    color: var(--pink-dark);
    font-weight: bold;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pink-light);
}

.rank-list {
    list-style: none;
    counter-reset: rank-counter;
}

.rank-list li {
    counter-increment: rank-counter;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pink-bg);
    position: relative;
}

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

.rank-list li::before {
    content: counter(rank-counter);
    width: 28px;
    height: 28px;
    background: var(--pink-bg);
    color: var(--pink-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rank-list li:nth-child(1)::before { background: #ff4757; color: white; }
.rank-list li:nth-child(2)::before { background: #ffa502; color: white; }
.rank-list li:nth-child(3)::before { background: #ffd32a; color: white; }

.rank-list li img {
    width: 50px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.rank-list-info {
    flex: 1;
    min-width: 0;
}

.rank-list-info a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-list-info a:hover {
    color: var(--pink-dark);
}

.rank-list-info span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--pink-bg);
    color: var(--pink-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag-list a:hover {
    background: var(--pink-dark);
    color: var(--white);
}

.tag-list a.active {
    background: var(--pink-dark);
    color: var(--white);
}

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

.news-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--pink-bg);
    display: flex;
    gap: 12px;
}

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

.news-list img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.news-list-info {
    flex: 1;
    min-width: 0;
}

.news-list-info a {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-info a:hover {
    color: var(--pink-dark);
}

.news-list-info span {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 4px;
    display: block;
}

.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--pink-bg);
    padding-bottom: 0;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-gray);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab:hover {
    color: var(--pink-dark);
}

.tab.active {
    color: var(--pink-dark);
    border-bottom-color: var(--pink-dark);
    font-weight: 500;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--pink-bg);
}

th {
    background: var(--pink-light);
    color: var(--white);
    font-weight: 500;
}

tr:hover {
    background: var(--pink-bg);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--pink-light);
    color: var(--pink-dark);
    border-radius: 6px;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .active {
    background: var(--pink-dark);
    color: var(--white);
    border-color: var(--pink-dark);
}

footer {
    background: linear-gradient(135deg, #333, #444);
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: 'Noto Sans SC', sans-serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--pink-light);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 0.85rem;
    color: #888;
}

.page-header {
    background: linear-gradient(135deg, var(--pink-light), var(--pink-dark));
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2rem;
}

.page-header p {
    margin-top: 8px;
    opacity: 0.9;
}

.breadcrumb {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--pink-bg);
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--pink-dark);
}

.breadcrumb span {
    margin: 0 8px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--pink-bg);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--pink-dark);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-submit:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.about-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.about-section h2 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pink-light);
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 12px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: var(--pink-bg);
    border-radius: var(--radius);
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 3px solid var(--pink-light);
}

.team-member h4 {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-member span {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.hero-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.slider-item {
    position: relative;
    height: 380px;
}

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

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: var(--white);
}

.slider-overlay h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.slider-overlay p {
    opacity: 0.9;
    margin-bottom: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots span.active {
    background: var(--pink-light);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-input {
        width: 160px;
    }

    .search-input:focus {
        width: 200px;
    }

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

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

    .banner h1 {
        font-size: 1.8rem;
    }

    .banner p {
        font-size: 1rem;
    }

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

    .slider-item {
        height: 250px;
    }

    .slider-overlay {
        padding: 20px;
    }

    .slider-overlay h2 {
        font-size: 1.4rem;
    }

    .tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.4rem;
    }

    nav ul li a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}