/* 明星坊平台 - 首页样式 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* 顶部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #b1ce48;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #b1ce48 0%, #9ab73a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.main-nav {
    display: flex;
    gap: 40px;
    margin-left: 60px;
}

.main-nav a {
    color: #666;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
    color: #b1ce48;
    border-bottom-color: #b1ce48;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 8px 20px;
    width: 280px;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #b1ce48 0%, #9ab73a 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(177, 206, 72, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
}

.btn-outline:hover {
    border-color: #b1ce48;
    color: #b1ce48;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-buttons .btn-outline {
    border-color: white;
    color: white;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: #667eea;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

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

/* 区块标题 */
.section-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all {
    color: #b1ce48;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.view-all:hover {
    gap: 10px;
}

/* 艺人分类 */
.categories {
    padding: 80px 0;
    background: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.category-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.category-card:hover {
    background: white;
    border-color: #b1ce48;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(177, 206, 72, 0.15);
}

.category-card i {
    font-size: 36px;
    color: #b1ce48;
    margin-bottom: 12px;
    display: block;
}

.category-card span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 推荐艺人 */
.artists-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.artist-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.artist-image {
    position: relative;
    height: 200px;
    background: #f0f0f0;
}

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

.identity-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(177, 206, 72, 0.95);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.artist-info {
    padding: 15px;
}

.artist-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.artist-location {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.artist-location i {
    font-size: 14px;
}

.artist-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(177, 206, 72, 0.1);
    color: #b1ce48;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* 最新通告 */
.announcements-section {
    padding: 80px 0;
    background: white;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.announcement-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    border: 1px solid #f0f0f0;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #b1ce48;
}

.ann-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ann-type {
    background: rgba(177, 206, 72, 0.1);
    color: #b1ce48;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.ann-budget {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 16px;
}

.announcement-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.ann-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.ann-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

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

.ann-meta i {
    font-size: 14px;
}

.ann-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

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

.publisher img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.publisher span {
    font-size: 13px;
    color: #666;
}

.apply-count {
    font-size: 12px;
    color: #999;
}

/* 页脚 - 简约清新版 */
.footer {
    background: #fafafa;
    color: #333;
    padding: 50px 0 0;
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 22px;
}

.footer-brand .logo-text {
    font-size: 26px;
    font-weight: 600;
    color: #333;
}

.footer-brand p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.link-group h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #333;
}

.link-group a {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.link-group a:hover {
    color: #b1ce48;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 13px;
}

/* 顶部装饰条 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b1ce48 0%, #9ab73a 50%, #b1ce48 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.footer-brand .logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #b1ce48;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.link-group h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #b1ce48 0%, #9ab73a 100%);
    border-radius: 2px;
}

.link-group a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.link-group a::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #b1ce48;
    opacity: 0;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: #b1ce48;
    padding-left: 4px;
}

.link-group a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .artists-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .search-box {
        display: none;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 瀑布流布局 */
    .artists-grid,
    .announcements-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .artists-grid .artist-card,
    .announcements-grid .announcement-card {
        width: calc(50% - 6px);
        break-inside: avoid;
    }

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

    /* 隐藏分页 */
    .pagination {
        display: none;
    }

    /* 加载更多按钮 */
    .load-more {
        display: block;
        width: 100%;
        padding: 14px;
        margin: 20px 0 40px;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        color: #666;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .load-more:hover {
        background: #f5f5f5;
        color: #b1ce48;
        border-color: #b1ce48;
    }
}

@media (max-width: 480px) {
    .artists-grid,
    .announcements-grid {
        gap: 10px;
    }

    .artists-grid .artist-card,
    .announcements-grid .announcement-card {
        width: calc(50% - 5px);
    }
}
