/* 老飞飞-玄域飞飞 CSS样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff4655;
    --secondary-color: #0f1923;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.05);
    --hover-bg: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--secondary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部栏 */
.top-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    font-size: 12px;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: var(--text-secondary);
}

.top-links a:hover {
    color: var(--text-primary);
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 16px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* 按钮 */
.btn {
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff6b7a);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 70, 85, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 70, 85, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 70, 85, 0.2);
    border-color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero 区域 */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, var(--secondary-color) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.imgs.ovh/2026/01/05/y70IsL.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroGlow 5s ease-in-out infinite;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.7) 0%, rgba(26, 26, 46, 0.5) 50%, rgba(15, 25, 35, 0.8) 100%);
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
    letter-spacing: 8px;
}

.hero-description {
    font-size: 18px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    max-width: 700px;
    margin: 0 auto 50px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 通用Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 16px;
}

.section-more {
    text-align: center;
    margin-top: 40px;
}

/* 新闻资讯 */
.section-news {
    background: rgba(0, 0, 0, 0.2);
}

.news-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 70, 85, 0.2);
    border-color: var(--primary-color);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.news-category {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--primary-color);
    border-radius: 3px;
}

.tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
}

.tag-hot {
    background: #ff6b6b;
    color: white;
}

.tag-top {
    background: #ffa502;
    color: white;
}

.news-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-primary);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-summary {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* 职业介绍 */
.section-classes {
    background: linear-gradient(180deg, rgba(255, 70, 85, 0.05) 0%, transparent 100%);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.class-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 70, 85, 0.3);
    border-color: var(--primary-color);
}

.class-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.class-info {
    padding: 20px;
    text-align: center;
}

.class-type {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 70, 85, 0.2);
    color: var(--primary-color);
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
}

.class-name {
    font-size: 20px;
    margin-bottom: 10px;
}

.class-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 48px;
}

.class-difficulty {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 15px;
}

.difficulty-简单 {
    background: #51cf66;
    color: white;
}

.difficulty-普通 {
    background: #339af0;
    color: white;
}

.difficulty-困难 {
    background: #ff922b;
    color: white;
}

.difficulty-专家 {
    background: #fa5252;
    color: white;
}

/* 时装展示 */
.costumes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.costume-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.costume-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 70, 85, 0.3);
}

.costume-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.costume-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.costume-card:hover .costume-image img {
    transform: scale(1.1);
}

.tag-limited,
.tag-new {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.tag-limited {
    background: linear-gradient(135deg, #ffd43b, #ff922b);
    color: #000;
}

.tag-new {
    background: linear-gradient(135deg, #51cf66, #37b24d);
    color: white;
}

.costume-info {
    padding: 20px;
    text-align: center;
}

.costume-category {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 8px;
}

.costume-name {
    font-size: 18px;
    margin-bottom: 10px;
}

.costume-price {
    margin-bottom: 15px;
}

.price-current {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 14px;
    margin-right: 10px;
}

/* 下载区域 */
.section-download {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.1) 0%, rgba(15, 25, 35, 0.3) 100%);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 70, 85, 0.3);
    border-color: var(--primary-color);
}

.download-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.download-size {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.download-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: #0a0a0f;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(255, 70, 85, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 70, 85, 0.6);
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-bg {
        background-position: center top;
        background-size: auto 100%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .nav-menu {
        display: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .classes-grid,
    .costumes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
