:root {
    --bg-color: #0f0d0c;
    --accent-red: #a10000;
    --paper-color: #e2d1b3;
    --text-dark: #1e1814;
    --gold: #bfa57d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--paper-color);
    font-family: 'Noto Serif SC', serif;
    font-size: 20px; /* 整体字号进一步调大 */
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.9) 100%),
        url('https://www.transparenttextures.com/patterns/black-paper.png');
    line-height: 1.8;
}

/* 统一导航栏 */
nav {
    height: 100px; /* 增加高度以容纳更大的字 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background: rgba(0,0,0,0.95);
    border-bottom: 2px solid var(--accent-red);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-logo-group { display: flex; align-items: center; gap: 20px; }
.logo { 
    height: 40px; /* 调小 MIVO Logo */
    /* 采用极细硬描边，不使用反色，确保彩色 100% 还原 */
    filter: 
        drop-shadow(0.5px 0.5px 0 rgba(255,255,255,0.8)) 
        drop-shadow(-0.5px -0.5px 0 rgba(255,255,255,0.8))
        drop-shadow(0.5px -0.5px 0 rgba(255,255,255,0.8))
        drop-shadow(-0.5px 0.5px 0 rgba(255,255,255,0.8));
    transition: 0.2s;
}
.logo-official {
    height: 50px;
}
.logo:hover {
    filter: 
        drop-shadow(0.8px 0.8px 0 #fff) 
        drop-shadow(-0.8px -0.8px 0 #fff)
        drop-shadow(0.8px -0.8px 0 #fff)
        drop-shadow(-0.8px 0.8px 0 #fff);
    transform: scale(1.05);
}
.nav-title { font-family: 'Cinzel', serif; font-size: 32px; color: var(--paper-color); letter-spacing: 2px; }

nav ul { display: flex; list-style: none; gap: 35px; }
nav ul li a {
    color: var(--paper-color);
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    transition: 0.3s;
}
nav ul li a:hover, nav ul li a.active { color: var(--accent-red); text-shadow: 0 0 8px var(--accent-red); }

/* 羊皮纸容器 - 去AI化：不规则边缘与阴影 */
.parchment {
    background-color: var(--paper-color);
    background-image: url('https://www.transparenttextures.com/patterns/p6.png');
    color: var(--text-dark);
    /* 模拟撕裂的边缘 */
    border: 2px solid #3d2b1f;
    border-radius: 2px 15px 5px 20px / 15px 5px 20px 2px;
    position: relative;
    box-shadow: 
        2px 2px 5px rgba(0,0,0,0.3),
        10px 10px 0 rgba(61, 43, 31, 0.8);
    padding: 45px;
    margin-bottom: 60px;
    /* 增加手绘边框感 */
    outline: 1px solid rgba(0,0,0,0.1);
    outline-offset: -10px;
}

/* 缝合线装饰 - 更像手工缝制 */
.stitches {
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border: 1px dashed rgba(61, 43, 31, 0.4);
    pointer-events: none;
    opacity: 0.6;
}

/* 为某些容器增加微小旋转，模拟随手摆放感 */
.tilt-left { transform: rotate(-0.5deg); }
.tilt-right { transform: rotate(0.8deg); }

/* 按钮样式 - 更有实物感 */
.cta-btn {
    background: var(--accent-red);
    color: white;
    padding: 14px 40px;
    border: 1px solid #000;
    font-family: 'Zhi Mang Xing', cursive;
    cursor: pointer;
    transition: 0.2s;
    /* 更加尖锐且不对称的切割 */
    clip-path: polygon(5% 0%, 100% 3%, 95% 100%, 0% 90%);
    text-decoration: none;
    display: inline-block;
    box-shadow: 3px 3px 0 #000;
}

.cta-btn:hover { 
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000;
    background: #c00000;
}

/* 透明背景按钮样式优化 */
.cta-btn[style*="background: transparent"] {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3) !important;
}

.cta-btn[style*="background: transparent"]:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--paper-color) !important;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.4) !important;
}

/* 添加全站噪点滤镜，增加胶片感 */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

footer {
    background: #000;
    padding: 60px 20px;
    text-align: center;
    border-top: 5px solid #3d2b1f;
    margin-top: 100px;
}

.copyright { font-size: 12px; color: #444; margin-top: 20px; }

/* 页面标题 */
.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Zhi Mang Xing', cursive;
    font-size: 80px;
    color: var(--accent-red);
    letter-spacing: 5px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    main {
        max-width: 95% !important;
    }
    
    .parchment {
        padding: 35px !important;
    }
}

@media (max-width: 768px) {
    /* 导航栏响应式 */
    nav {
        height: auto;
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
        min-height: auto;
    }
    
    .nav-logo-group {
        width: 100%;
        justify-content: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    nav ul li a {
        font-size: 18px;
    }
    
    /* Hero区域 */
    .hero {
        min-height: 50vh !important;
        padding: 150px 20px 40px !important;
    }
    
    /* Main区域增加顶部间距 */
    main {
        margin-top: -30px !important;
        padding-top: 10px !important;
    }
    
    /* 页面标题增加顶部间距 */
    .page-header {
        padding-top: 140px !important;
    }
    
    .hero h1 {
        font-size: 24px !important;
        letter-spacing: 2px !important;
    }
    
    .hero p {
        font-size: 12px !important;
        letter-spacing: 2px !important;
    }
    
    .hero .cta-btn {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }
    
    /* Hero按钮容器响应式 */
    .hero > div[style*="display: flex"][style*="gap: 15px"] {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
        justify-content: center !important;
    }
    
    .hero > div[style*="display: flex"][style*="gap: 15px"] .cta-btn {
        width: auto !important;
        min-width: 200px !important;
        max-width: 85% !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* 透明背景按钮在手机端优化 */
    .hero .cta-btn[style*="background: transparent"] {
        border-width: 2px !important;
    }
    
    /* 页面标题 */
    .page-header {
        padding-top: 120px;
        padding-bottom: 30px;
    }
    
    .page-header h1 {
        font-size: 48px;
        letter-spacing: 3px;
    }
    
    /* 羊皮纸容器 */
    .parchment {
        padding: 25px !important;
        margin-bottom: 40px;
    }
    
    .parchment h2 {
        font-size: 32px !important;
    }
    
    .parchment h3 {
        font-size: 24px !important;
    }
    
    /* 网格布局 */
    .parchment > div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* 对阵图响应式 */
    div[style*="min-width: 1400px"] {
        min-width: 100% !important;
        gap: 15px !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    div[style*="min-width: 1400px"] > div {
        gap: 15px !important;
    }
    
    /* 赛事焦点标题固定 */
    div[style*="overflow-x: auto"] {
        padding-top: 50px !important;
    }
    
    /* 赛事焦点容器响应式 */
    .parchment[style*="padding: 40px 20px"] {
        padding: 20px 10px !important;
    }
    
    /* 赛事焦点标题 */
    h2[style*="赛事焦点"] {
        font-size: 28px !important;
        margin-bottom: 30px !important;
        padding-bottom: 10px !important;
    }
    
    /* 对阵图标签 */
    div[style*="position: absolute"][style*="top: -40px"] {
        font-size: 12px !important;
        top: -30px !important;
    }
    
    /* 对阵图盒子 */
    div[style*="background: #2a1f18"] {
        width: 120px !important;
        padding: 8px 10px !important;
    }
    
    div[style*="background: #2a1f18"] div {
        font-size: 10px !important;
    }
    
    /* 总决赛盒子 */
    div[style*="width: 180px"] {
        width: 150px !important;
        padding: 12px 15px !important;
    }
    
    /* 按钮 */
    .cta-btn {
        font-size: 14px;
        padding: 10px 25px;
    }
    
    /* 字体大小调整 */
    body {
        font-size: 18px;
    }
    
    p {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 10px;
    }
    
    nav ul li a {
        font-size: 16px;
    }
    
    .logo-official {
        height: 40px;
    }
    
    .logo {
        height: 32px;
    }
    
    .hero {
        padding: 160px 20px 40px !important;
    }
    
    .hero h1 {
        font-size: 20px !important;
    }
    
    .hero p {
        font-size: 11px !important;
        letter-spacing: 2px !important;
    }
    
    .page-header {
        padding-top: 150px !important;
    }
    
    .hero > div[style*="display: flex"][style*="gap: 15px"] {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 10px !important;
    }
    
    .hero > div[style*="display: flex"][style*="gap: 15px"] .cta-btn {
        width: auto !important;
        min-width: 180px !important;
        max-width: 85% !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* 透明背景按钮在小屏手机端优化 */
    .hero .cta-btn[style*="background: transparent"] {
        border-width: 2px !important;
        background: rgba(255, 255, 255, 0.15) !important;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .parchment {
        padding: 20px !important;
    }
    
    .parchment h2 {
        font-size: 28px !important;
    }
    
    body {
        font-size: 16px;
    }
    
    /* 手机端赛事焦点优化 */
    .parchment[style*="padding: 40px 20px"] {
        padding: 15px 5px !important;
    }
    
    h2[style*="赛事焦点"] {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    div[style*="overflow-x: auto"][style*="padding: 50px 0 10px 0"] {
        padding: 40px 0 10px 0 !important;
    }
    
    div[style*="min-width: 1400px"] {
        gap: 10px !important;
    }
    
    div[style*="min-width: 1400px"] > div {
        gap: 10px !important;
    }
    
    div[style*="background: #2a1f18"] {
        width: 100px !important;
        padding: 6px 8px !important;
    }
    
    div[style*="background: #2a1f18"] div {
        font-size: 9px !important;
    }
    
    div[style*="width: 180px"] {
        width: 120px !important;
        padding: 10px 12px !important;
    }
    
    div[style*="position: absolute"][style*="top: -40px"] {
        font-size: 10px !important;
        top: -25px !important;
    }
}
