/* 企业网站样式 - 爱游戏ayx体育 - 暖色系现代风格 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f97316;
    --secondary-color: #ea580c;
    --accent-color: #fb923c;
    --text-color: #1e293b;
    --light-bg: #fff7ed;
    --white: #ffffff;
    --dark: #1c1917;
    --border-color: #fed7aa;
    --shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}

body {
    font-family: "Helvetica Neue", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 35px;
}

/* 头部导航 - 暖色风格 */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.logo img {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(249, 115, 22, 0.2));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.4s ease;
    border-radius: 2px;
}

nav a:hover::after {
    width: 100%;
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 350px);
    padding: 5rem 0;
}

/* 横幅区域 - 大屏设计 */
.banner {
    position: relative;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
    color: var(--white);
    padding: 10rem 0;
    text-align: center;
    margin-bottom: 6rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banner/banner1.jpg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.banner::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 50px) rotate(180deg); }
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 0 6px 30px rgba(0,0,0,0.3);
    line-height: 1.1;
    text-transform: uppercase;
}

.banner p {
    font-size: 1.5rem;
    opacity: 0.95;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 500;
    text-shadow: 0 3px 15px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

/* 内容卡片 - 大卡片设计 */
.content-card {
    background: var(--white);
    padding: 5rem;
    border-radius: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
    border: 2px solid var(--light-bg);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.2);
    transition: all 0.4s ease;
}

.content-card h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    font-weight: 900;
    position: relative;
    padding-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.content-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.content-card h3 {
    color: var(--secondary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
}

.content-card p {
    margin-bottom: 2rem;
    text-align: justify;
    line-height: 2;
    color: var(--text-color);
    font-size: 1.08rem;
}

.content-card ul, .content-card ol {
    margin-left: 3rem;
    margin-bottom: 2rem;
}

.content-card li {
    margin-bottom: 1.2rem;
    line-height: 2;
    font-size: 1.08rem;
    position: relative;
}

.content-card li::marker {
    color: var(--primary-color);
}

/* 按钮样式 - 大按钮设计 */
.btn {
    display: inline-block;
    padding: 1.4rem 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #fb923c, #f97316);
}

/* 表单样式 */
.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.3rem 1.8rem;
    border: 3px solid var(--border-color);
    border-radius: 15px;
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

/* 网格布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3.5rem;
    margin: 3.5rem 0;
}

.card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.12);
    transition: all 0.5s;
    border: 2px solid var(--light-bg);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.5s;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 18px 50px rgba(249, 115, 22, 0.25);
    border-color: var(--primary-color);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: transform 0.5s;
}

.card:hover img {
    transform: scale(1.15);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 800;
}

/* 页脚样式 */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 3rem;
    margin-top: 6rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

footer h4 {
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

footer p {
    margin-bottom: 1rem;
    opacity: 0.85;
    line-height: 2;
}

footer a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s;
    display: inline-block;
}

footer a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(8px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 1.05rem;
}

/* 新闻列表样式 */
.news-list {
    list-style: none;
}

.news-item {
    border-bottom: 3px solid var(--light-bg);
    padding: 3rem 0;
    transition: all 0.4s;
    border-radius: 15px;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.4s;
    border-radius: 2px;
}

.news-item:hover::before {
    height: 60%;
}

.news-item:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    transform: translateX(15px);
    padding-left: 2.5rem;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h3 {
    margin-bottom: 1.2rem;
}

.news-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    transition: all 0.3s;
}

.news-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.news-meta {
    color: #64748b;
    font-size: 1rem;
    margin-top: 1.2rem;
    font-weight: 600;
}

/* 404页面样式 */
.error-page {
    text-align: center;
    padding: 10rem 0;
}

.error-page h1 {
    font-size: 12rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 10px 40px rgba(249, 115, 22, 0.3);
}

.error-page h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 800;
}

.error-page p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #64748b;
}

/* 产品展示 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(249, 115, 22, 0.15);
    transition: all 0.5s;
    border: 2px solid var(--light-bg);
}

.product-card:hover {
    transform: scale(1.1) translateY(-15px);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.3);
    border-color: var(--primary-color);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover img {
    transform: scale(1.2);
}

.product-info {
    padding: 2.5rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 800;
}

/* 企业特色样式 */
.company-intro {
    background: var(--light-bg);
    padding: 6rem 0;
    margin: 5rem 0;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.company-intro::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.12);
    transition: transform 0.4s;
    border: 2px solid var(--light-bg);
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-top: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

