/* /skin/css/css.css */
/* 基础样式与重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Microsoft YaHei', sans-serif;
    background-color: #0f0b06;
    color: #f0e6d2;
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: rgba(15, 11, 6, 0.95);
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #c8a355;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #f0e6d2;
    font-size: 1.9rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.logo i {
    color: #c8a355;
    margin-right: 10px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 35px;
}

.nav-list a {
    color: #f0e6d2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.nav-list a:hover {
    color: #c8a355;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #c8a355, #ffd700);
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
    color: #c8a355;
    cursor: pointer;
    padding: 5px;
}

/* 横幅轮播 */
.banner-section {
    margin-top: 80px;
    height: 650px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 11, 6, 0.7), rgba(15, 11, 6, 0.5));
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 20px;
}

.banner-content h2 {
    font-size: 3.5rem;
    color: #f0e6d2;
    margin-bottom: 25px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
}

.banner-content p {
    font-size: 1.4rem;
    color: #f0e6d2;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.banner-btn {
    display: inline-block;
    background: linear-gradient(90deg, #c8a355, #ffd700);
    color: #0f0b06;
    padding: 18px 45px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 20px rgba(200, 163, 85, 0.3);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.banner-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(200, 163, 85, 0.5);
}

.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 25px;
}

.banner-controls button {
    background-color: rgba(200, 163, 85, 0.7);
    color: #0f0b06;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.banner-controls button:hover {
    background-color: rgba(200, 163, 85, 0.9);
    transform: scale(1.1);
}

.banner-dots {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(240, 230, 210, 0.5);
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: #c8a355;
    transform: scale(1.2);
}

/* 板块通用样式 */
section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: #f0e6d2;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #c8a355, #ffd700);
    border-radius: 2px;
}

.section-title p {
    color: #c8a355;
    font-size: 1.2rem;
    max-width: 650px;
    margin: 30px auto 0;
    font-weight: 500;
}

/* 下载注册板块 */
.download-section {
    background-color: #1a140d;
}

.download-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.download-item {
    background-color: #241c12;
    border-radius: 12px;
    padding: 45px 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 270px;
    transition: transform 0.4s, box-shadow 0.4s;
    border-top: 4px solid #c8a355;
    position: relative;
    overflow: hidden;
}

.download-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 163, 85, 0.1), transparent);
    transition: left 0.6s;
}

.download-item:hover::before {
    left: 100%;
}

.download-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.download-icon {
    font-size: 3.2rem;
    color: #c8a355;
    margin-bottom: 25px;
}

.download-item h3 {
    font-size: 1.6rem;
    color: #f0e6d2;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.download-item p {
    color: #b8a58c;
    margin-bottom: 30px;
    font-size: 1rem;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(90deg, #c8a355, #ffd700);
    color: #0f0b06;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.download-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(200, 163, 85, 0.4);
}

/* 系统介绍板块 */
.intro-section {
    background-color: #0f0b06;
}

.intro-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.intro-text {
    flex: 1.2;
}

.intro-text h3 {
    font-size: 2.2rem;
    color: #f0e6d2;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.intro-text p {
    margin-bottom: 22px;
    color: #d4c4a8;
    font-size: 1.05rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #241c12;
}

.stat-item {
    background-color: #1a140d;
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 140px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: #c8a355;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.stat-item p {
    color: #b8a58c;
    font-size: 1rem;
    margin-bottom: 0;
}

.intro-image {
    flex: 0.8;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border: 3px solid #c8a355;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* 联系公司板块 */
.contact-section {
    background-color: #1a140d;
}

.contact-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border: 3px solid #c8a355;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 2.2rem;
    color: #f0e6d2;
    margin-bottom: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #2a2218;
}

.contact-item i {
    font-size: 1.6rem;
    color: #c8a355;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.3rem;
    color: #f0e6d2;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.contact-item p {
    color: #b8a58c;
    font-size: 1.05rem;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 1.3rem;
    color: #f0e6d2;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #241c12;
    border-radius: 50%;
    color: #c8a355;
    font-size: 1.4rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #c8a355;
    color: #0f0b06;
    transform: translateY(-5px);
}

/* 热门游戏推荐板块 */
.games-section {
    background-color: #0f0b06;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.game-item {
    background-color: #1a140d;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    border: 2px solid #241c12;
}

.game-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: #c8a355;
}

.game-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.game-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.game-item:hover .game-img-container img {
    transform: scale(1.1);
}

.game-info {
    padding: 25px;
}

.game-info h3 {
    font-size: 1.5rem;
    color: #f0e6d2;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.game-info p {
    color: #b8a58c;
    font-size: 1rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.game-tags {
    display: flex;
    gap: 10px;
}

.game-tag {
    background-color: #241c12;
    color: #c8a355;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

/* 公司风采板块 */
.showcase-section {
    background-color: #1a140d;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.showcase-item {
    background-color: #241c12;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    border: 2px solid #2a2218;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: #c8a355;
}

.showcase-img-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.showcase-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.showcase-item:hover .showcase-img-container img {
    transform: scale(1.1);
}

.showcase-text {
    padding: 25px;
}

.showcase-text h3 {
    font-size: 1.5rem;
    color: #f0e6d2;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.showcase-text p {
    color: #b8a58c;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* 技术优势板块 */
.tech-section {
    background-color: #0f0b06;
}

.tech-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.tech-item {
    background-color: #1a140d;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    border-top: 4px solid #c8a355;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.tech-icon {
    font-size: 3rem;
    color: #c8a355;
    margin-bottom: 25px;
}

.tech-item h3 {
    font-size: 1.5rem;
    color: #f0e6d2;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.tech-item p {
    color: #b8a58c;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* 底部样式 */
.footer {
    background-color: #0a0704;
    padding: 70px 0 25px;
    border-top: 3px solid #c8a355;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-logo h2 {
    font-size: 2rem;
    color: #f0e6d2;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.footer-logo i {
    color: #c8a355;
    margin-right: 10px;
}

.footer-logo p {
    color: #b8a58c;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #241c12;
    border-radius: 50%;
    color: #c8a355;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #c8a355;
    color: #0f0b06;
    transform: translateY(-5px);
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    font-size: 1.5rem;
    color: #f0e6d2;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #b8a58c;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: #c8a355;
}

.footer-contact p {
    color: #b8a58c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.footer-contact i {
    color: #c8a355;
    width: 20px;
}

.footer-newsletter p {
    color: #b8a58c;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    max-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background-color: #241c12;
    border: 2px solid #2a2218;
    border-radius: 50px 0 0 50px;
    color: #f0e6d2;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #c8a355;
}

.newsletter-form button {
    padding: 14px 25px;
    background: linear-gradient(90deg, #c8a355, #ffd700);
    color: #0f0b06;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button:hover {
    background: linear-gradient(90deg, #ffd700, #c8a355);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2218;
}

.footer-bottom p {
    color: #8a7a62;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 返回顶部按钮 */
#toTop {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: linear-gradient(90deg, #c8a355, #ffd700);
    color: #0f0b06;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, transform 0.4s, visibility 0.4s;
    box-shadow: 0 5px 15px rgba(200, 163, 85, 0.4);
}

#toTop.show {
    opacity: 0.9;
    visibility: visible;
}

#toTop:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .intro-content,
    .contact-content {
        flex-direction: column;
    }
    
    .intro-image,
    .contact-image {
        margin-top: 40px;
        order: -1;
    }
    
    .contact-content {
        flex-direction: column-reverse;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 900px) {
    .banner-content h2 {
        font-size: 2.8rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.4rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 11, 6, 0.98);
        flex-direction: column;
        padding: 25px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
        border-top: 2px solid #c8a355;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #2a2218;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .banner-section {
        height: 550px;
        margin-top: 75px;
    }
    
    .banner-content h2 {
        font-size: 2.3rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .banner-btn {
        padding: 16px 35px;
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.1rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .download-content {
        flex-direction: column;
        align-items: center;
    }
    
    .download-item {
        max-width: 400px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .banner-section {
        height: 480px;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid,
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    #toTop {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
    }
}