:root {
    --primary-color: #1a73e8;
    --secondary-color: #0d47a1;
    --text-color: #333;
    --light-text: #666;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 顶部Banner样式 */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: var(--gradient);
    color: #ffffff;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-content {
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 30px auto 0;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-img:hover {
    transform: scale(1.02);
}

/* 亮点介绍样式 */
.highlights {
    margin: 40px 0;
    text-align: center;
}

.highlight-box {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.highlight-box h2 {
    color: #ffffff;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.highlight-card {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.highlight-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.highlight-card p {
    color: var(--light-text);
    font-size: 1rem;
}

.rewards-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: bold;
}

.rewards-link:hover {
    text-decoration: underline;
}

/* 奖励机制样式 */
.rewards {
    margin: 40px 0;
}

.rewards h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.rewards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.reward-item {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.reward-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* 赛事规则样式 */
.rules {
    margin-bottom: 40px;
}

.rules h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.rules-list {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rule-item {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.rule-item:last-child {
    border-bottom: none;
}

.label {
    font-weight: 500;
    color: var(--primary-color);
}

/* 参与方式样式 */
.how-to-join {
    margin-bottom: 40px;
}

.how-to-join h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.steps {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.step .icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 20px auto 0;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: white;
    background: linear-gradient(45deg, #00ff11, #00cc0e);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: scaleButton 2s ease-in-out infinite;
}

.cta-button:hover {
    animation-play-state: paused;
}

@keyframes scaleButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 255, 17, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 255, 17, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 255, 17, 0.3);
    }
}

/* 侧边固定按钮 */
.side-cta-button {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    color: rgb(0, 0, 0);
    background: linear-gradient(45deg, #00ff11, #00cc0e);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    width: 80px;
    height: 80px;
}

.side-cta-button .service-icon {
    width: 32px;
    height: 32px;
}

.side-cta-button span {
    font-size: 15px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    margin-top: 5px;
}

.side-cta-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.4);
}

/* 脉冲动画效果 */
.pulse {
    animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
    0% {
        box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(26, 115, 232, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    }
}

/* 高亮文字样式 */
.highlight-text {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.highlight-bg {
    position: relative;
    display: inline-block;
    color: #ff00fc;
    animation: glow 2s infinite;
    background-image: url('n6ad8.png?v=1');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 2.5rem;
    padding: 25px 40px;
    min-width: 390px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-text-stroke: 1.5px white;
    text-stroke: 1.5px white;
    font-weight: 900;
    text-shadow: 
        0 0 10px rgba(123, 237, 255, 0.8),
        0 0 20px rgba(0, 225, 255, 0.4);
}

@keyframes glow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 255, 17, 0.8),
            0 0 20px rgba(0, 255, 17, 0.4);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(0, 255, 17, 1),
            0 0 25px rgba(0, 255, 17, 0.6);
    }
}

/* 响应式设计 - 移动到文件最后 */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .hero-image {
        height: 180px;
        max-width: 100%;
    }
    
    .container {
        padding: 10px;
    }
    
    .side-cta-button {
        right: 10px;
        width: 60px;
        height: 60px;
        padding: 10px;
    }
    
    .side-cta-button .service-icon {
        width: 24px;
        height: 24px;
    }
    
    .side-cta-button span {
        font-size: 10px;
    }
    
    .highlight-box h2 {
        font-size: 1.2rem;
        padding: 0 10px;
    }
    
    .highlight-bg {
        font-size: 1.6rem;
        padding: 15px 25px;
        min-width: 234px;
        min-height: 130px;
        background-size: 100% 100%;
        -webkit-text-stroke: 1px white;
        text-stroke: 1px white;
        font-weight: 900;
        text-shadow: 
            0 0 8px rgba(0, 255, 17, 0.8),
            0 0 15px rgba(0, 255, 17, 0.4);
        color: #ff00fc;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .highlight-card {
        padding: 20px;
    }

    .cta-button {
        max-width: 350px;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    width: 400px;
    text-align: center;
}
.close-btn {
    cursor: pointer;
    float: right;
    font-size: 20px;
}
#question-text{
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}
.question {
    margin: 20px 0;
}
.btn {
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: linear-gradient(45deg, #00ff11, #00cc0e);
    color: white;
    border-radius: 5px;
}
@media (max-width: 500px) {
    .modal-content {
        width: 90%;
    }
}