/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

/* CSS变量定义 - 主题色彩系统 */
:root {
    --themeColor: #ff0000;
    --bgColor: #000000;
    --borderColor: #333333;
    --txtColor: #ffffff;
    --txtColor2: #cccccc;
    --h5HomeBgColor: #000000;
    --h5DownBgColor: #333333;
    --copyRightBg: #000000;
    --copyRightTxt: #999999;
    --copyRightBg2: #000000;
    --copyRightTxt2: #999999;
    --goldColor: #ffd700;
    --redColor: #ff0000;
    --purpleGlow: #8b5cf6;
    --orangeGlow: #f97316;
}

body {
    background: #ffffff;
    color: #555555;
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    overflow: hidden;
}

a {
    color: #555555;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    border: none;
    vertical-align: top;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

ol, ul, li {
    list-style: none;
}

/* 清除浮动 */
.clearfix::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    zoom: 1;
}

/* 图标样式 */
.icon {
    height: 24px;
    color: var(--themeColor);
    transition: fill 0.3s ease;
}

.pc-icon {
    height: 48px;
    color: var(--themeColor);
    transition: fill 0.3s ease;
    position: absolute;
    left: 5px;
    top: 5px;
}

/* ===== PC端布局样式 ===== */
@media (min-width: 769px) {
    .h5-wrap {
        display: none !important;
    }
    
    body {
        min-width: 1200px;
        height: 100vh;
        font: 14px/1.6 "Microsoft Yahei";
        color: var(--txtColor);
    }
    
    a {
        color: var(--txtColor);
    }
    
    .web-wrap .container {
        height: 100vh;
        background: var(--bgColor);
        position: relative;
        overflow: hidden;
    }
    
    /* 添加紫色到橙色的光晕效果 */
    .web-wrap .container::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 800px;
        height: 800px;
        /* background: radial-gradient(circle, var(--purpleGlow) 0%, var(--orangeGlow) 50%, transparent 70%); */
        transform: translate(-50%, -50%);
        opacity: 0.3;
        z-index: 1;
    }
    
    /* 顶部区域 */
    .web-wrap .top-section {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 40px 60px;
    }
    
    /* Logo区域 */
    .web-wrap .logo-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .web-wrap .logo img {
        width: 120px;
        height: auto;
        margin-bottom: 10px;
    }
    
    .web-wrap .website-url {
        color: var(--txtColor);
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 1px;
    }
    
    /* 右上角推广区域 */
    .web-wrap .promo-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 35%;
        height: 100%;
        justify-content: center;
    }
    
    .web-wrap .slogan-box {
        border: 1px solid #fff;
        border-radius: 10px;
        padding: 15px 20px;
        text-align: center;
        margin: 10px;
    }
    
    .web-wrap .slogan-main {
        color: #d40035;
        font-size: 40px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    
    .web-wrap .slogan-sub {
        color: #fff;
        font-size: 40px;
        font-weight: bold;
    }
    
    .web-wrap .download-buttons {
        display: flex;
        gap: 15px;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .web-wrap .download-btn {
        background: #db2f2f;
        color: var(--txtColor);
        padding: 12px 36px;
        border-radius: 8px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 38px;
        font-weight: bold;
        transition: all 0.3s ease;
        justify-content: space-between;
    }
    
    .web-wrap .download-btn:hover {
        background: #cc0000;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    }
    
    .web-wrap .download-btn img {
        width: 50px;
        height: 50px;
    }
    
    /* 中央足球运动员区域 */
    .web-wrap .players-section {
        position: absolute;
        bottom: 80px;
        left: 0;
        z-index: 5;
        width: 65%;
        text-align: center;
        padding: 0 40px;
    }
    
    .web-wrap .players-image {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
    }
    
    /* Logo区域 */
    .web-wrap .logo {
        position: absolute;
        left: 40px;
        top: 40px;
        z-index: 10;
        box-sizing: border-box;
        text-align: center;
    }
    
    .web-wrap .logo img {
        width: 368px;
        height: auto;
    }
    
    /* 右侧装饰图 */
    .web-wrap .img {
        padding-bottom: 8.5%;
        width: 25.78%;
        height: 100%;
        position: absolute;
        right: 6.25%;
        top: 0;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .web-wrap .img img {
        position: relative;
        top: 25.3%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
    
    
    /* 导航栏 */
    .web-wrap .navi {
        width: 100%;
        height: 80px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        background: var(--bgColor);
        display: flex;
    }
    
    .web-wrap .navi > li {
        flex: 1;
        height: 100%;
        position: relative;
        border-right: 1px solid var(--borderColor);
        box-sizing: border-box;
    }
    
    .web-wrap .navi > li:last-child {
        border: none;
    }
    
    .web-wrap .navi > li > a {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        position: relative;
        background-color: var(--bgColor);
        padding: 10px;
        transition: background-color 0.3s ease;
    }
    
    .web-wrap .navi > li > a:hover {
        background-color: #1a1a1a;
    }
    
    .web-wrap .navi > li > a > span {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .web-wrap .navi > li > a .pc-icon {
        position: static;
        width: 36px;
        height: 36px;
        color: #d40035;
        margin-bottom: 5px;
    }
    
    .web-wrap .navi > li > a .txt {
        color: var(--txtColor2);
        font-size: 10px;
        text-align: center;
        line-height: 1.2;
    }
    
    .web-wrap .navi > li > a .txt span {
        color: var(--txtColor);
        display: block;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 2px;
    }
    
    /* 悬停效果 */
    .web-wrap .navi > li:hover > a .txt,
    .web-wrap .navi > li:hover > a .txt span {
        color: #d40035;
    }
    
    .web-wrap .navi > li:hover .pc-icon {
        color: #d40035;
    }
    
    /* 下拉菜单框 */
    .web-wrap .navi .jsBox {
        margin-left: -230px;
        padding-top: 25px;
        width: 578px;
        position: absolute;
        left: 50%;
        bottom: 100%;
        box-sizing: border-box;
        display: none;
        z-index: 100;
    }
    
    .web-wrap .navi > li:hover .jsBox {
        display: block;
        animation: fadeInUp 0.3s ease;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .web-wrap .navi .jsBox .arrow {
        margin-left: -9px;
        position: absolute;
        left: 50%;
        bottom: -8px;
        width: 18px;
        height: 18px;
    }
    
    .web-wrap .navi .jsBox ul {
        padding: 25px 25px 16px;
        border-radius: 5px;
        border: 2px solid var(--themeColor);
        background: #ffffff;
    }
    
    .web-wrap .navi .jsBox li {
        margin-bottom: 10px;
        overflow: hidden;
        color: #414755;
        font-size: 16px;
        line-height: 40px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .web-wrap .navi .jsBox li:last-child {
        margin-bottom: 0;
    }
    
    .web-wrap .navi .jsBox li .ms {
        margin-right: 11px;
        width: 72px;
        display: block;
        float: left;
        border: 1px solid #ccd2dd;
        background: #f0f7fe;
        border-radius: 3px;
        text-align: center;
        font-weight: bold;
        color: #666;
    }
    
    .web-wrap .navi .jsBox li .ms span {
        color: var(--themeColor);
        font-weight: bold;
    }
    
    .web-wrap .navi .jsBox li img {
        margin-right: 8px;
        width: 14px;
        height: 14px;
        float: left;
    }
    
    .web-wrap .navi .jsBox li .url {
        flex: 1;
        text-align: left;
        color: #414755;
        font-size: 16px;
    }
    
    .web-wrap .navi .jsBox li a {
        padding: 8px 20px;
        background: var(--themeColor);
        color: #ffffff;
        border-radius: 3px;
        font-size: 14px;
        transition: all 0.3s ease;
        border: 1px solid var(--themeColor);
    }
    
    .web-wrap .navi .jsBox li a:hover {
        background: #966015;
        border-color: #966015;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(181, 91, 31, 0.3);
    }
}

/* ===== 移动端布局样式 ===== */
@media (min-width: 0px) and (max-width: 768px) {
    .web-wrap {
        display: none !important;
    }
    
    body {
        font-family: 'STHeiti', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
        margin: 0 auto;
        background: var(--h5HomeBgColor);
        min-height: 100vh;
        max-width: 750px;
        overflow: auto;
    }
    
    /* 移动端顶部区域 */
    .h5-wrap .mobile-header {
        position: relative;
        z-index: 10;
        padding: 20px;
        text-align: center;
    }
    
    .h5-wrap .mobile-logo-section {
        margin-bottom: 20px;
    }
    
    .h5-wrap .mobile-logo img {
        width: 120px;
        height: auto;
        margin-bottom: 8px;
    }
    
    .h5-wrap .mobile-website-url {
        color: var(--txtColor);
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 1px;
    }
    
    .h5-wrap .mobile-slogan-box {
        border: 1px solid #fff;
        border-radius: 10px;
        padding: 15px 20px;
        text-align: center;
        margin: 10px;
    }
    
    .h5-wrap .mobile-slogan-main {
        color: #d40035;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    
    .h5-wrap .mobile-slogan-sub {
        color: #fff;
        font-size: 20px;
        font-weight: bold;
    }
    
    .h5-wrap .mobile-download-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin: 20px 0;
    }
    
    .h5-wrap .mobile-download-btn {
        background: #d92d2d;
        color: var(--txtColor);
        padding: 10px 16px;
        border-radius: 6px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 500;
        transition: all 0.3s ease;
        min-width: 120px;
        justify-content: center;
    }
    
    .h5-wrap .mobile-download-btn:active {
        background: #cc0000;
        transform: scale(0.95);
    }
    
    .h5-wrap .mobile-download-btn img {
        width: 16px;
        height: 16px;
    }
    
    /* 移动端足球运动员区域 */
    .h5-wrap .mobile-players-section {
        position: relative;
        z-index: 5;
        text-align: center;
        padding: 20px;
        margin-top: -60px;
    }
    
    .h5-wrap .mobile-players-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .h5-wrap #main {
        width: 100%;
        max-width: 750px;
        position: fixed;
        bottom: 0;
        margin: 0 auto;
        text-align: center;
        z-index: 999;
        left: 0;
        right: 0;
    }
    
    /* 移动端导航栏 - 2x2网格布局 */
    #main .navi {
        background: var(--bgColor);
        border-top: 1px solid var(--borderColor);
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        height: 160px;
    }
    
    #main .navi > li {
        border-right: 1px solid var(--borderColor);
        border-bottom: 1px solid var(--borderColor);
        position: relative;
    }
    
    #main .navi > li:nth-child(2n) {
        border-right: none;
    }
    
    #main .navi > li:nth-child(n+3) {
        border-bottom: none;
    }
    
    #main .navi > li > a {
        background-color: var(--bgColor);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 10px;
        height: 100%;
        transition: background-color 0.3s ease;
    }
    
    #main .navi > li > a:active {
        background-color: #333333;
    }
    
    /* #main .navi > li > a .img {
        margin-bottom: 8px;
    } */
    
    #main .navi > li > a .img .icon {
        width: 28px;
        height: 28px;
        color: #d40035;
    }
    
    #main .navi > li > a .txt {
        color: var(--txtColor2);
        font-size: 10px;
        text-align: center;
        line-height: 1.3;
        padding-left: 10px;
    }
    
    #main .navi > li > a .txt span {
        color: var(--txtColor);
        display: block;
        font-size: 12px;
        margin-bottom: 2px;
        font-weight: 500;
    }
    
    /* 移动端弹出内容 */
    .content-item {
        display: none;
        position: fixed;
        bottom: 150px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 2px solid var(--themeColor);
        max-height: calc(100vh - 220px);
        overflow-y: auto;
        z-index: 1000;
        animation: slideUp 0.3s ease;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .content-item.show {
        display: block;
    }
    
    .content-item .item {
        padding: 20px 20px;
        border-bottom: 1px solid #e5e5e5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #ffffff;
        min-height: 70px;
    }
    
    .content-item .item:last-child {
        border-bottom: none;
    }
    
    .content-item .item .text-one {
        width: 60px;
        text-align: center;
        color: var(--themeColor);
        font-weight: bold;
        font-size: 14px;
        background: #f0f7fe;
        border: 1px solid #ccd2dd;
        border-radius: 3px;
        padding: 5px;
    }
    
    .content-item .item .text-two {
        flex: 1;
        margin: 0 15px;
        color: #333;
        font-size: 15px;
        font-weight: 500;
    }
    
    .content-item .item .link {
        padding: 8px 20px;
        background: var(--themeColor);
        color: #ffffff;
        border-radius: 3px;
        font-size: 14px;
        white-space: nowrap;
        transition: all 0.3s ease;
    }
    
    .content-item .item .link:active {
        background: #966015;
        transform: scale(0.95);
    }
    
    /* 移动端底部版权 */
    .footer {
        background: var(--copyRightBg2);
        padding: 18px 20px;
        text-align: center;
    }
    
    .footer p {
        color: var(--copyRightTxt2);
        font-size: 11px;
        line-height: 1.5;
    }
}

/* 平板和中等屏幕 */
@media (min-width: 577px) and (max-width: 768px) {
    .web-wrap {
        display: none !important;
    }
    
    body {
        font-family: 'STHeiti', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
        margin: 0 auto;
        background: var(--h5HomeBgColor) url(https://rcf-img-hk.gasdg646fs224cn.com/202502/e3203b50-1af2-45fa-96de-c0738ff2cd12.png) no-repeat center top;
        background-size: 100% auto;
        min-height: 100vh;
        overflow: auto;
    }
}

/* 小屏幕PC */
@media (min-width: 769px) and (max-width: 992px) {
    .web-wrap .navi > li > a .txt {
        font-size: 13px;
    }
    
    .web-wrap .navi > li > a > span {
        padding-left: 65px;
    }
}

/* 中等屏幕PC */
@media (min-width: 993px) and (max-width: 1200px) {
    .web-wrap .navi > li > a .txt {
        font-size: 13px;
    }
    
    .web-wrap .navi > li > a > span {
        padding-left: 65px;
    }
}

/* 辅助类 */
.fL {
    float: left !important;
}

.fR {
    float: right !important;
}

