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

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

:root {
    --primary: #ff1493;
    --secondary: #ff69b4;
    --bg-light: #fff0f5;
    --bg-gradient: linear-gradient(135deg, #fff0f5 0%, #ffe4e9 50%, #ffd6e7 100%);
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(255, 20, 147, 0.15);
    --shadow-hover: 0 8px 30px rgba(255, 20, 147, 0.25);
    --glow: 0 0 20px rgba(255, 105, 180, 0.5);
    --radius: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--glow);
}

.main-nav {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.9) 0%, rgba(255, 105, 180, 0.9) 100%), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=beautiful%20live%20streaming%20stage%20pink%20lighting%20concert&image_size=landscape_16_9') center/cover;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 36px;
    font-weight: 900;
    display: block;
}

.hero-stat .label {
    font-size: 14px;
    opacity: 0.9;
}

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

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

.section-title h2 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

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

/* Live Room Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 20, 147, 0.1);
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: var(--shadow);
}

.card-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.card-viewers {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

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

.card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.card-host {
    color: var(--text-light);
    font-size: 14px;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, var(--bg-light), #ffe4e9);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

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

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

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

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

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--bg-light), #ffe4e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.category-card:hover .category-icon svg {
    color: var(--white);
}

.category-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
}

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

/* Rank List */
.rank-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rank-tab {
    padding: 10px 30px;
    border: 2px solid var(--secondary);
    background: var(--white);
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.rank-tab.active,
.rank-tab:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.rank-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.rank-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    background: var(--bg-light);
    color: var(--primary);
    flex-shrink: 0;
}

.rank-item.top1 .rank-num {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: var(--white);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.rank-item.top2 .rank-num {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: var(--white);
}

.rank-item.top3 .rank-num {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: var(--white);
}

.rank-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    flex-shrink: 0;
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}

.rank-category {
    font-size: 13px;
    color: var(--text-light);
}

.rank-stats {
    text-align: right;
}

.rank-viewers {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

.rank-trend {
    font-size: 12px;
    color: var(--text-light);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.about-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 30px auto;
    display: block;
}

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

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.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 16px;
    border: 2px solid #ffe4e9;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
    box-shadow: var(--shadow);
}

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

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Info Cards */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.info-content p {
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #2a0a1a 0%, #1a0510 100%);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 60px;
}

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

.footer-col h4 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

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

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 20, 147, 0.1);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-list .separator {
    color: var(--secondary);
}

.breadcrumb-list .current {
    color: var(--primary);
    font-weight: 500;
}

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

.page-banner h1 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-banner p {
    font-size: 18px;
    opacity: 0.95;
}

/* Music Categories */
.music-cats {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.music-cat {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 25px;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.music-cat.active,
.music-cat:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 3/4;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

.gallery-overlay h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.gallery-overlay span {
    font-size: 13px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        justify-content: center;
    }

    .main-nav {
        justify-content: center;
    }

    .hero {
        padding: 50px 0;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .section {
        padding: 40px 0;
    }

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

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

    .card-img {
        height: 180px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .rank-item {
        padding: 12px 15px;
        gap: 12px;
    }

    .rank-avatar {
        width: 40px;
        height: 40px;
    }

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

    .music-cats,
    .rank-tabs {
        gap: 8px;
    }

    .music-cat,
    .rank-tab {
        padding: 8px 18px;
        font-size: 14px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 24px;
    }

    .main-nav a {
        padding: 6px 12px;
        font-size: 14px;
    }
}