/* 移动端基础样式 */
:root {
    --primary: #1a73e8;
    --secondary: #34a853;
    --dark: #202124;
    --light: #f8f9fa;
    --accent: #6c63ff;
    --success: #34a853;
    --info: #4285f4;
    --warning: #fbbc05;
    --danger: #ea4335;
    --gray-dark: #303134;
    --gray: #5f6368;
    --gray-light: #dadce0;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #202124;
    background-color: #eef5fd;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(90deg, var(--dark), var(--gray-dark)) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
}

.navbar-brand span {
    font-size: 14px;
    margin-left: 10px;
    letter-spacing: 0.5px;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
    background: linear-gradient(45deg, #4facfe, #00f2fe, #4facfe);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(79, 172, 254, 0.4);
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.navbar-brand span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5), transparent);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
}

.navbar-toggler {
    border: none;
    padding: 5px;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

.navbar-collapse {
    background: linear-gradient(90deg, var(--dark), var(--gray-dark));
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    margin: 5px 0;
    font-size: 15px;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: white;
    background-color: rgba(255,255,255,0.1);
}

/* 滚动字幕通知栏样式 */
.marquee-container {
    background: linear-gradient(90deg, #3a0ca3, #4361ee, #4cc9f0);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-container::before, .marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, #3a0ca3, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(90deg, transparent, #3a0ca3);
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.marquee-item i {
    margin-right: 8px;
    font-size: 16px;
    color: #f72585;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

/* 体育元素装饰 */
.marquee-item::before, .marquee-item::after {
    content: '⚽';
    margin: 0 10px;
    font-size: 14px;
    animation: bounce-ball 2s infinite;
    display: inline-block;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

.marquee-item:nth-child(2n)::before, .marquee-item:nth-child(2n)::after {
    content: '🏆';
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes bounce-ball {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Banner轮播 */
.banner-container {
    position: relative;
    height: auto;
    overflow: hidden;
    width: 100%;
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(1);
}

.banner-button-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.banner-button {
    background: linear-gradient(45deg, var(--primary), var(--info));
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.banner-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.banner-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.6);
}

.banner-button:hover::before {
    left: 100%;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

/* 常规内容容器 */
.section-container {
    padding: 30px 15px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
    color: #1a237e;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, #1e88e5, #4facfe);
    border-radius: 3px;
}

/* 卡片样式 */
.card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    background: white;
    border: none;
}

.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 10px;
}

.card-text {
    color: #37474f;
    font-size: 14px;
    line-height: 1.5;
}

/* 页脚样式 */
footer {
    background: #f5f9ff;
    border-top: 1px solid #e8f0ff;
    padding: 25px 15px;
    margin-top: 40px;
}

footer img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

footer p {
    font-size: 14px;
    color: #1e53a0;
    line-height: 1.6;
    margin-bottom: 15px;
}

footer .copyright {
    color: #6c8bb4;
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
}

footer a {
    color: #6c8bb4;
    font-size: 13px;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    color: #1a73e8;
}

/* 垂直漂浮按钮 */
.vertical-floating-button {
    position: fixed;
    right: 15px;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 99;
}

.vertical-floating-button .vertical-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 160px;
    background: linear-gradient(to bottom, #ff5e3a, #ff2a68);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(255, 94, 58, 0.5), 0 0 10px rgba(255, 42, 104, 0.5);
    transition: all 0.3s ease;
    animation: v-bounce 2s infinite, v-pulse 2s infinite, v-glow 3s infinite;
    position: relative;
    overflow: hidden;
}

.vertical-floating-button .vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 1px;
    margin-top: 8px;
    font-size: 14px;
}

.vertical-floating-button .vertical-btn::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: v-shine 3s infinite;
}

.vertical-floating-button .vertical-btn:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 94, 58, 0.7), 0 0 15px rgba(255, 42, 104, 0.6);
}

.vertical-floating-button .vertical-btn i {
    font-size: 20px;
    animation: v-rocket 2s infinite;
}

@keyframes v-bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-5px);
    }
}

@keyframes v-pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(255, 94, 58, 0.5), 0 0 10px rgba(255, 42, 104, 0.5);
    }
    50% {
        box-shadow: 0 5px 20px rgba(255, 94, 58, 0.7), 0 0 15px rgba(255, 42, 104, 0.7);
    }
}

@keyframes v-glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

@keyframes v-shine {
    0% {
        top: -100%;
    }
    20%, 100% {
        top: 100%;
    }
}

@keyframes v-rocket {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

/* 响应式调整 */
@media (max-width: 767px) {
    .section-title {
        font-size: 20px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .banner-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .vertical-floating-button .vertical-btn {
        width: 50px;
        height: 140px;
    }
    
    .vertical-floating-button .vertical-text {
        font-size: 12px;
    }
}

/* 特殊页面样式 */
/* 关于我们 */
.about-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.about-card-img {
    text-align: center;
    padding: 20px;
}

.about-card-img img {
    max-width: 70%;
    margin: 0 auto;
}

.about-card-body {
    padding: 15px;
}

.about-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a237e;
    position: relative;
    display: inline-block;
}

.about-card-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #1e88e5, #4facfe);
    transition: width 0.3s ease;
}

.about-card-text {
    color: #37474f;
    line-height: 1.6;
    font-size: 14px;
}

/* 联系我们 */
.contact-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(78, 172, 255, 0.1);
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #4facfe);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark);
    background: #f8fbff;
    border-left: 3px solid transparent;
}

.contact-item:hover {
    background-color: #f0f7ff;
    transform: translateX(5px);
    border-left: 3px solid #4facfe;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--info));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 16px;
}

.contact-info h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a237e;
}

.contact-info span {
    font-size: 13px;
    color: var(--gray);
    display: block;
    margin-top: 2px;
}

/* 隐私政策 */
.privacy-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.privacy-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a237e;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.privacy-card p, .privacy-card ul {
    color: #37474f;
    line-height: 1.6;
    font-size: 14px;
}

.privacy-card ul li {
    margin-bottom: 8px;
}

.privacy-card .date {
    font-size: 13px;
    color: #5f6368;
    font-style: italic;
    margin-top: 15px;
    display: block;
}

/* 游戏展示区域 */
.game-item {
    margin-bottom: 15px;
}

.game-item .card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.game-item:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.tech-overlay {
    position: relative;
}

.tech-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
    z-index: 1;
}

.card-img-overlay {
    z-index: 2;
    padding: 10px;
}

.game-item .badge {
    font-size: 11px;
    padding: 5px 8px;
}

.game-item .bg-light {
    background-color: rgba(255,255,255,0.9) !important;
    border-left: 2px solid #1e88e5;
    padding: 8px !important;
    border-radius: 6px;
}

.game-item .card-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.game-item .card-text {
    font-size: 12px;
} 