/* 极简杂志风格 - 爱游戏(ayx)体育官方网站 - 全新设计理念 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #ff0000;
    --text-color: #2c2c2c;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-bg: #fafafa;
    --border-color: #e5e5e5;
    --spacing-xl: 120px;
    --spacing-lg: 80px;
    --spacing-md: 60px;
    --spacing-sm: 40px;
}

body {
    font-family: "Inter", "Helvetica Neue", "PingFang SC", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* 侧边栏导航 - 杂志风格 */
header {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-color);
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 80px;
    text-decoration: none;
}

.logo img {
    width: 80px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.logo:hover img {
    filter: grayscale(0%);
}

.logo span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

nav li {
    position: relative;
}

nav a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--accent-color);
    padding-left: 15px;
}

nav a:hover::before {
    width: 10px;
}

/* 主要内容区域 - 非对称布局 */
main {
    margin-left: 280px;
    min-height: 100vh;
    padding: 0;
}

/* 全屏横幅 - 极简风格 */
.banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-color);
    padding: 0;
    margin: 0;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banner/banner1.jpg') center/cover;
    opacity: 0.03;
    z-index: 0;
}

.banner .container {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 900px;
}

.banner h1 {
    font-size: 72px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: -3px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.banner p {
    font-size: 18px;
    color: var(--light-text);
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    letter-spacing: 0.5px;
}

/* 内容区域 - 杂志排版 */
.content-section {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-child {
    border-bottom: none;
}

.content-card {
    background: transparent;
    padding: 0;
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
}

.content-card h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -2px;
    position: relative;
    padding-bottom: 20px;
}

.content-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.content-card h3 {
    color: var(--secondary-color);
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -1px;
}

.content-card p {
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 0.2px;
}

.content-card ul, .content-card ol {
    margin-left: 0;
    margin-bottom: 30px;
    list-style: none;
}

.content-card li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 17px;
    line-height: 1.9;
    font-weight: 300;
}

.content-card li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 400;
}

/* 按钮样式 - 极简线条 */
.btn {
    display: inline-block;
    padding: 0;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
    transition: all 0.3s;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transition: all 0.3s;
}

.btn:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.btn:hover::after {
    background: var(--accent-color);
    width: calc(100% + 10px);
}

.btn-secondary {
    color: var(--accent-color);
}

.btn-secondary::after {
    background: var(--accent-color);
}

/* 表单样式 - 极简设计 */
.form-group {
    margin-bottom: 40px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background: transparent;
    color: var(--text-color);
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
    border-bottom-width: 2px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* 网格布局 - 非对称 */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: var(--spacing-lg) 0;
}

.grid.single-col {
    grid-template-columns: 1fr;
}

.card {
    background: transparent;
    padding: 0;
    border: none;
    transition: transform 0.3s;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.card:hover {
    transform: translateX(10px);
}

.card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 30px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.card:hover img {
    filter: grayscale(0%);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -1px;
}

.card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--light-text);
    font-weight: 300;
}

/* 页脚样式 - 极简 */
footer {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 80px 0 60px;
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

footer .container {
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
}

footer h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

footer p {
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}

footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 300;
}

footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: left;
    font-size: 12px;
    color: var(--light-text);
    letter-spacing: 1px;
}

/* 新闻列表样式 - 杂志排版 */
.news-list {
    list-style: none;
}

.news-item {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    transition: all 0.3s;
}

.news-item:hover {
    padding-left: 20px;
}

.news-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.news-item h3 {
    margin-bottom: 12px;
}

.news-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -1px;
    transition: color 0.3s;
}

.news-item a:hover {
    color: var(--accent-color);
}

.news-item p {
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.8;
}

.news-meta {
    color: var(--light-text);
    font-size: 12px;
    margin-top: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 404页面样式 */
.error-page {
    text-align: left;
    padding: var(--spacing-xl) 0;
    max-width: 900px;
}

.error-page h1 {
    font-size: 180px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -8px;
}

.error-page h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: -1px;
}

.error-page p {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.8;
}

/* 产品展示 - 杂志风格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: var(--spacing-lg) 0;
}

.product-card {
    background: transparent;
    border: none;
    overflow: visible;
}

.product-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 30px;
    filter: grayscale(100%);
    transition: all 0.5s;
}

.product-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.product-info {
    padding: 0;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -1px;
}

.product-info p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--light-text);
    font-weight: 300;
}

/* 企业特色样式 - 极简数字 */
.company-intro {
    background: var(--light-bg);
    padding: var(--spacing-xl) 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-top: 0;
}

.stat-item {
    text-align: left;
    padding: 0;
}

.stat-number {
    font-size: 64px;
    font-weight: 300;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 12px;
    color: var(--light-text);
    margin-top: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 章节标题 */
.section-number {
    font-size: 12px;
    color: var(--light-text);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 500;
}

/* 分隔线 */
.divider {
    height: 1px;
    background: var(--border-color);
    margin: var(--spacing-xl) 0;
}
