/* 明星网站专用样式 */

/* 顶部大图区域 */
.header-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
    margin-top: -1px;
}
.banner-title {
    font-size: 36px;
    margin-bottom: 15px;
}
.banner-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 分类菜单导航 */
.menu-wrapper {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 71px;
    z-index: 99;
}
.menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.menu-list li {
    position: relative;
}
.menu-list li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}
.menu-list li:hover > a,
.menu-list li.active > a {
    color: #667eea;
    background: #f5f5f5;
}
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
    z-index: 100;
}
.menu-list li:hover .sub-menu {
    display: block;
}
.sub-menu a {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}
.sub-menu a:hover {
    background: #f5f5f5;
    color: #667eea;
}

/* 搜索栏 */
.search-bar {
    margin: 30px 0;
    text-align: center;
}
.search-bar form {
    display: inline-flex;
    max-width: 500px;
    width: 100%;
}
.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
    outline: none;
}
.search-bar input:focus {
    border-color: #667eea;
}
.search-bar button {
    padding: 12px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}
.search-bar button:hover {
    background: #5a67d8;
}

/* 明星卡片网格 */
.star-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.star-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.star-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.card-img {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
    background: #f0f0f0;
}
.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.star-card:hover .card-img img {
    transform: scale(1.05);
}
.recommend-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}
.card-info {
    padding: 16px;
}
.star-name {
    font-size: 16px;
    margin: 0 0 8px 0;
    font-weight: 600;
}
.star-name a {
    color: #333;
    text-decoration: none;
}
.star-name a:hover {
    color: #667eea;
}
.star-price {
    font-size: 15px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 10px;
}
.star-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #f0f0f0;
    color: #666;
}
.tag-type {
    background: #e8f4fd;
    color: #3498db;
}
.tag-color {
    background: #fce4ec;
    color: #e91e63;
}

/* 栏目标题区域 */
.section-title {
    text-align: center;
    margin: 40px 0 25px;
}
.section-title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}
.section-title p {
    font-size: 14px;
    color: #999;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .header-banner { padding: 40px 0; }
    .banner-title { font-size: 24px; }
    .banner-subtitle { font-size: 14px; }
    .menu-wrapper { top: 56px; }
    .menu-list li a { padding: 12px 15px; font-size: 14px; }
    .star-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .card-info { padding: 12px; }
    .star-name { font-size: 14px; }
    .star-price { font-size: 13px; }
}

@media (max-width: 480px) {
    .star-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-info { padding: 10px; }
}