/* 繁羽智娱官网 - 样式文件 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d9d8f;
    --primary-light: #5fc4b5;
    --primary-dark: #1a7a6c;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --text-dark: #264653;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #e8f5f3 0%, #f0f9ff 50%, #fef3e2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 英雄区域 - 首页 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800'%3E%3Cdefs%3E%3ClinearGradient id='wave' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%232d9d8f;stop-opacity:0.1'/%3E%3Cstop offset='100%25' style='stop-color:%23f4a261;stop-opacity:0.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23wave)' d='M0,320L48,336C96,352,192,384,288,378.7C384,373,480,331,576,320C672,309,768,331,864,352C960,373,1056,395,1152,384C1248,373,1344,331,1392,309.3L1440,288L1440,800L1392,800C1344,800,1248,800,1152,800C1056,800,960,800,864,800C768,800,672,800,576,800C480,800,384,800,288,800C192,800,96,800,48,800L0,800Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(45, 157, 143, 0.1);
    border: 1px solid rgba(45, 157, 143, 0.2);
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-badge .icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.hero .description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* 页面头部 - 内页 */
.page-header {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    background: var(--bg-gradient);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400'%3E%3Cdefs%3E%3ClinearGradient id='wave2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%232d9d8f;stop-opacity:0.08'/%3E%3Cstop offset='100%25' style='stop-color:%23f4a261;stop-opacity:0.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23wave2)' d='M0,160L60,176C120,192,240,224,360,218.7C480,213,600,171,720,165.3C840,160,960,192,1080,202.7C1200,213,1320,203,1380,197.3L1440,192L1440,400L1380,400C1320,400,1200,400,1080,400C960,400,840,400,720,400C600,400,480,400,360,400C240,400,120,400,60,400L0,400Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(45, 157, 143, 0.1);
    border: 1px solid rgba(45, 157, 143, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-header .divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin: 30px auto 0;
}

/* 通用区块 */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(45, 157, 143, 0.1);
    border: 1px solid rgba(45, 157, 143, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 游戏展示区 - 首页 */
.game-showcase {
    background: var(--bg-light);
}

.game-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.game-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #3d7a4f 100%);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d9d8f20 0%, #f4a26120 100%);
    font-size: 48px;
    color: var(--primary-color);
}

.game-info .tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(45, 157, 143, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.game-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.game-info .game-type {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.game-info .game-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.game-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-light);
}

.game-feature .icon {
    color: var(--primary-color);
}

/* CTA 区块 */
.cta-section {
    background: var(--bg-gradient);
}

.cta-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 157, 143, 0.05) 0%, transparent 70%);
}

.cta-box .icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 24px;
    position: relative;
}

.cta-box h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.cta-box h2 span {
    color: var(--primary-color);
}

.cta-box p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
}

/* 游戏详情页 - 特色玩法 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 157, 143, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(45, 157, 143, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 更多游戏预告 */
.more-games {
    text-align: center;
    padding: 80px 0;
}

.more-games .icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 24px;
}

.more-games h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.more-games p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* 关于我们 - 公司简介 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8f5f3 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary-color);
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-content h2 .icon {
    width: 40px;
    height: 40px;
    background: rgba(45, 157, 143, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-card.location .icon {
    background: rgba(45, 157, 143, 0.1);
    color: var(--primary-color);
}

.info-card.date .icon {
    background: rgba(244, 162, 97, 0.1);
    color: var(--secondary-color);
}

.info-card .text {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.info-card .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* 企业文化 */
.culture-section {
    background: var(--bg-light);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.culture-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.culture-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.culture-card .tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.culture-card.vision .tag {
    background: rgba(45, 157, 143, 0.1);
    color: var(--primary-color);
}

.culture-card.mission .tag {
    background: rgba(244, 162, 97, 0.1);
    color: var(--secondary-color);
}

.culture-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.culture-card.vision .icon {
    background: rgba(45, 157, 143, 0.1);
    color: var(--primary-color);
}

.culture-card.mission .icon {
    background: rgba(244, 162, 97, 0.1);
    color: var(--secondary-color);
}

.culture-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.culture-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-card .icon {
    width: 56px;
    height: 56px;
    background: rgba(45, 157, 143, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    margin: 0 auto 16px;
}

.value-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card h3 .icon {
    width: 36px;
    height: 36px;
    background: rgba(45, 157, 143, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
}

.contact-info-card .subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(45, 157, 143, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item .label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-item .value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #2d9d8f30 0%, #f4a26130 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--primary-color);
}

/* 页脚 */
.footer {
    background: #264653;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: var(--primary-light);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-brand .credit-code {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 56px;
    }
    
    .game-card-large,
    .about-intro,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero .subtitle {
        font-size: 22px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        padding: 50px 30px;
    }
    
    .cta-box h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-info-cards {
        grid-template-columns: 1fr;
    }
    
    .game-card-large {
        padding: 24px;
    }
}
