/* roulang page: index */
/* 设计变量与基础重置 */
        :root {
            --primary: #e11d48;
            --primary-hover: #be123c;
            --bg-dark: #0f172a;
            --bg-card: #1e293b;
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --border-color: #334155;
            --border-radius: 12px;
            --shadow-glow: 0 0 20px rgba(225, 29, 72, 0.4);
            --transition-base: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: 'Noto Sans SC', PingFang SC, Microsoft YaHei, Helvetica Neue, sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* 自定义滚动条 */
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #0f172a;
        }
        ::-webkit-scrollbar-thumb {
            background: #334155;
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #e11d48;
        }

        /* 导航栏底部发光条 */
        .header-glow {
            box-shadow: 0 1px 0 0 rgba(225, 29, 72, 0.3), 0 8px 20px -10px rgba(225, 29, 72, 0.2);
        }

        /* 按钮发光效果 */
        .btn-glow {
            transition: var(--transition-base);
            box-shadow: 0 0 15px rgba(225, 29, 72, 0.3);
            font-weight: 700;
        }
        .btn-glow:hover {
            box-shadow: 0 0 25px rgba(225, 29, 72, 0.6);
            transform: translateY(-2px);
        }

        /* 玻璃态卡片 */
        .glass-card {
            background: rgba(30, 41, 59, 0.6);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(51, 65, 85, 0.5);
            border-radius: var(--border-radius);
            transition: var(--transition-base);
        }
        .glass-card:hover {
            border-color: rgba(225, 29, 72, 0.5);
            background: rgba(30, 41, 59, 0.8);
            transform: translateY(-5px);
            box-shadow: 0 15px 30px -10px rgba(0,0,0,0.5);
        }

        /* 渐变文本 */
        .text-gradient {
            background: linear-gradient(135deg, #fff 0%, #e11d48 80%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* 比赛卡片背景遮罩 */
        .img-overlay {
            position: relative;
            overflow: hidden;
        }
        .img-overlay::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 100%);
            z-index: 1;
        }
        .img-overlay img {
            transition: transform 0.5s ease;
        }
        .img-overlay:hover img {
            transform: scale(1.05);
        }

        /* FAQ 手风琴效果 */
        details summary::-webkit-details-marker {
            display: none;
        }
        details summary::marker {
            display: none;
            content: "";
        }
        details summary {
            list-style: none;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 700;
            color: #f8fafc;
        }
        details[open] summary i {
            transform: rotate(45deg);
            color: #e11d48;
        }
        details summary i {
            transition: transform 0.3s ease, color 0.3s ease;
        }

        /* 移动端菜单切换 */
        .mobile-menu {
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
        }
        .mobile-menu.active {
            transform: translateX(0);
        }
