/* 定义CSS变量 - 对应原Tailwind配置 */
:root {
    --color-primary: #3A86FF;
    --color-secondary: #FF6B35;
    --color-darkBlue: #1A365D;
    --color-lightGray: #F7FAFC;
    --color-success: #38A169;
    --color-warning: #D69E2E;
    --color-danger: #E53E3E;
    --spacing-18: 4.5rem;
    --spacing-22: 5.5rem;
    --spacing-64: 16rem;
    --bg-grid: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    --bg-grid-size: 20px 20px;
}

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

/* 全局链接样式 - 移除下划线 */
a {
    text-decoration: none;
}

body {
    font-family: 'Inter', 'system-ui', 'sans-serif';
    background-color: var(--color-lightGray);
    background-image: var(--bg-grid);
    background-size: var(--bg-grid-size);
    color: var(--color-darkBlue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 容器 */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* 工具类 */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-hidden { overflow: hidden; }

.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-64 { width: var(--spacing-64); }
.w-96 { width: 24rem; }

.h-full { height: 100%; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-48 { height: 12rem; }
.h-64 { height: var(--spacing-64); }
.h-96 { height: 24rem; }
.h-auto { height: auto; }

.min-h-screen { min-height: 100vh; }
.min-w-280 { min-width: 280px; }
.min-w-350 { min-width: 350px; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-12 { margin-top: 3rem; }
.mr-4 { margin-right: 1rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.rounded-l-lg { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }

.bg-white { background-color: white; }
.bg-lightGray { background-color: var(--color-lightGray); }
.bg-darkBlue { background-color: var(--color-darkBlue); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }

.text-white { color: white; }
.text-darkBlue { color: var(--color-darkBlue); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-gray-400 { color: #9CA3AF; }
.text-gray-500 { color: #6B7280; }
.text-gray-600 { color: #4B5563; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

.object-cover { object-fit: cover; }

.filter { filter: var(--tw-filter); }
.blur-3xl { filter: blur(64px); }

.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-y-1 { --tw-translate-y: -0.25rem; }
.-translate-y-1\/2 { --tw-translate-y: -50%; }
.translate-y-20 { --tw-translate-y: 5rem; }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: background-color, border-color, color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.pointer-events-none { pointer-events: none; }

.whitespace-nowrap { white-space: nowrap; }

.snap-x { scroll-snap-type: x var(--tw-scroll-snap-strictness); }
.snap-mandatory { --tw-scroll-snap-strictness: mandatory; }
.snap-start { scroll-snap-align: start; }

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* 动画关键帧 */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.animate-fade-in { animation: fadeIn 0.5s ease-in-out; }
.animate-slide-up { animation: slideUp 0.6s ease-out; }
.animate-slide-up-delay-02 { animation: slideUp 0.6s ease-out 0.2s; max-width: 1000px; }

/* 自定义样式 */
.bg-gradient-primary {
    background: linear-gradient(135deg, #3A86FF 0%, #1A365D 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9F1C 100%);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #3A86FF 0%, #5E60CE 100%);
}

.bg-gradient-gold {
    background: linear-gradient(135deg, #FFD166 0%, #FF9F1C 100%);
}

.bg-gradient-red {
    background: linear-gradient(135deg, #EF476F 0%, #E53E3E 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-auto {
    content-visibility: auto;
}

.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

.flex-1 { flex: 1 1 0%; }

/* 网格布局 */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

/* 响应式文本大小 */
.responsive-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.responsive-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.responsive-subheading {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* 主内容区域 */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 筛选系统样式 */
.filter-section {
    padding: 2rem 0;
    border-radius: 1rem;
}

.filter-header {
    text-align: center;
    margin-bottom: 1rem;
}

.filter-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 0.5rem;
}

.filter-description {
    font-size: 1rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.filter-controls {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-container {
    position: relative;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #E5E7EB;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #3A86FF;
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
    font-size: 1rem;
    line-height: 1;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3A86FF;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background-color: #2563EB;
    transform: translateY(-50%) scale(1.05);
}

.search-button:active {
    transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .search-input {
        padding: 0.875rem 4rem 0.875rem 2.5rem;
        font-size: 0.875rem;
    }
    
    .search-icon {
        left: 2rem;
        font-size: 0.875rem;
    }
    
    .search-button {
        right: 2rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.filter-group {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A365D;
    margin-bottom: 0.5rem;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    background: #F3F4F6;
    color: #4B5563;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background: #E5E7EB;
    transform: translateY(-2px);
}

.filter-tag.active {
    background: #3A86FF;
    color: white;
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.3);
}

/* 隐藏标签样式 */
.hidden-tag {
    display: none;
}

/* 标签展开/折叠按钮样式 */
.toggle-tag-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
    color: #3A86FF;
    border: 1px solid #3A86FF;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.toggle-tag-btn:hover {
    background: #3A86FF;
    color: white;
    transform: translateY(-2px);
}

/* 标签筛选分类样式 */
.tag-category {
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.category-label {
    font-weight: 500;
    color: #4A5568;
    width: 45px;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

.tag-buttons-container {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0;
}

.filter-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}

#resultCount {
    font-size: 1.5rem;
    color: #6B7280;
}

.reset-button {
    padding: 0.5rem 1rem;
    background: #EF4444;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-button:hover {
    background: #DC2626;
    transform: translateY(-2px);
}

.toggle-tags-button {
    padding: 0.5rem 1rem;
    background: #3A86FF;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.toggle-tags-button:hover {
    background: #2563EB;
    transform: translateY(-2px);
}

/* 标签按钮容器 */
.tag-buttons-container {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0;
}

.filtered-results-section {
    margin-bottom: 3rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .filter-section {
        padding: 1.5rem 0;
    }
    
    .filter-title {
        font-size: 1.5rem;
    }
    
    .filter-group {
        padding: 0.6rem;
    }
    
    .filter-label {
        font-size: 1rem;
        padding-left: 0.5rem;
    }
    
    .filter-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin: 0.25rem 0.1rem;
    }
    
    .filter-results {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* 顶部header样式 */
.top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem;
    height: 60px;
}

.top-header .company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-header .company-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.top-header .company-name {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航栏右侧区域 */
.top-header .navbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 联系客服按钮样式 */
.customer-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.customer-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .customer-service-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    .customer-service-btn i {
        font-size: 0.9rem;
    }
}

/* 合并后的热门赛事推荐模块 */
.merged-hot-competition-section {
    position: relative;
    padding: 3rem 0 4rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    margin-top: 0;
}

/* 合并后模块的标题区域优化 */
.merged-hot-competition-section .premium-header {
    margin-bottom: 2rem;
}

.merged-hot-competition-section .premium-title-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.merged-hot-competition-section .premium-badge {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
}

.merged-hot-competition-section .title-main {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.merged-hot-competition-section .title-sub {
    font-size: 1.1rem;
    color: #6B7280;
}

.merged-hot-competition-section .premium-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1rem;
}

/* 移动端响应式优化 */
@media (max-width: 768px) {
    .top-header {
        padding: 0.3rem 0;
    }
    
    .top-header .company-logo {
        width: 42px;
        height: 42px;
    }
    
    .top-header .company-name {
        font-size: 1.1rem;
    }
    
    .top-header .navbar-right {
        gap: 0.5rem;
    }
    
    .customer-service-btn .btn-text {
        font-size: 0.75rem;
    }
    
    .merged-hot-competition-section {
        padding: 2rem 0 3rem 0;
    }
    
    .merged-hot-competition-section .title-main {
        font-size: 2rem;
    }
    
    .merged-hot-competition-section .title-sub {
        font-size: 1rem;
    }
    
    .merged-hot-competition-section .premium-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .top-header .company-info {
        gap: 1rem;
    }
    
    .top-header .company-name {
        font-size: 1.1rem;
        background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .merged-hot-competition-section .title-main {
        font-size: 1.75rem;
    }
}

/* 企业信息样式 - 仅用于页面中间的企业信息展示 */
.page-company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.page-company-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
}

.page-company-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1A365D;
    margin: 0;
}



.cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.primary-button {
    background-color: var(--color-secondary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.primary-button:hover {
    background-color: rgba(255, 107, 53, 0.9);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.secondary-button {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}



/* 热门赛事模块 */
.hot-competition-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hot-competition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.hot-competition-cards {
    display: flex;
    gap: 1.5rem;
}

.hot-card {
    flex: 1 1 calc(33.333% - 1rem);
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .hot-card {
        flex: 1 1 100%;
    }
}

.card-image-container {
    position: relative;
    height: 12rem;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-content {
    padding: 1rem 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--color-darkBlue);
    /* 2行文字高度限制和截断处理 */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 2rem; /* 2行 * 1.5行高 = 3rem */
    /* 确保文本在截断时的一致性 */
    white-space: normal;
}

.card-description {
    color: #7b828b;
    font-size: 0.875rem;
    margin-bottom: 0.2rem;
    /* 确保2行文本的固定高度 */
    line-height: 1.5;
    height: 5rem; /* 2行 * 1.5行高 * 0.875rem字体大小 = 2.625rem */
    /* 确保与line-clamp-2类的样式一致 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    min-height: 3.5rem;
}

.card-tag {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    height: 2rem;
    display: inline-flex;
    align-items: center;
}

/* 不同颜色的标签 */
.tag-blue {
    background-color: #3B82F6;
}

.tag-green {
    background-color: #10B981;
}

.tag-purple {
    background-color: #8B5CF6;
}

.tag-pink {
    background-color: #EC4899;
}

.tag-orange {
    background-color: #F59E0B;
}

.tag-red {
    background-color: #EF4444;
}

.tag-cyan {
    background-color: #06B6D4;
}

.tag-yellow {
    background-color: #EAB308;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.detail-button {
    flex: 1;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.detail-button:hover {
    background-color: rgba(58, 134, 255, 0.9);
}

.icon-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    cursor: pointer;
}

.icon-button:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.nav-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    cursor: pointer;
}

.nav-button:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* 分类导航 */
.category-section {
    margin-bottom: 2.5rem;
}

.category-container {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: rgba(247, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.category-buttons {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.category-buttons::-webkit-scrollbar {
    display: none;
}

.category-button {
    white-space: nowrap;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.category-button.active {
    background-color: var(--color-primary);
    color: white;
}

.category-button:not(.active) {
    background-color: white;
    color: var(--color-darkBlue);
}

.category-button:not(.active):hover {
    background-color: #F3F4F6;
}

/* 移除了筛选与排序栏样式 */

/* 比赛列表区域 */
.competition-list-section {
    margin-bottom: 5rem;
}

/* 模块分隔区域样式 */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    padding: 0 1rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.2), transparent);
    max-width: 200px;
}

.divider-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 2rem;
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.divider-text {
    white-space: nowrap;
}

.divider-content i {
    font-size: 0.75rem;
    color: #9CA3AF;
}

@media (max-width: 640px) {
    .section-divider {
        margin: 2rem 0;
    }
    
    .divider-content {
        padding: 0 1rem;
        font-size: 0.75rem;
    }
    
    .divider-line {
        max-width: 100px;
    }
}

/* 分类标题样式 */
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-darkBlue);
    margin-bottom: 1rem;
    text-align: center;
    padding-top: 2rem;
    line-height: 1.5;
}

/* 分类描述样式 */
.section-description {
    font-size: 1rem;
    font-weight: 400;
    color: #6B7280;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.competition-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .competition-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .competition-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .competition-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.competition-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.small-detail-button {
    flex: 1;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
}

.small-detail-button:hover {
    background-color: rgba(58, 134, 255, 0.9);
}

/* 引导报名区域 */
.cta-section {
    background-image: url('img/baoming.webp');
    background-size: cover;
    background-position: center;
    padding: 4rem 1rem;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(58, 134, 255, 0.9); /* 半透明蓝色遮罩 */
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-description {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background-color: white;
    color: var(--color-primary);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #F3F4F6;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.875rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* 页脚区域 */
.footer {
    color: #1A365D;
    background-color: white;
    background-image: none;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-heading-large {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(26, 54, 93, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1A365D;
}

.social-icon:hover {
    background-color: var(--color-primary);
    color: white;
}

.footer-list {
    list-style-type: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: #6B7280;
    text-decoration: none;
}

.footer-list a:hover {
    color: var(--color-primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.contact-icon {
    margin-top: 0.25rem;
    color: var(--color-primary);
}

.subscribe-form {
    display: flex;
}

.subscribe-input {
    flex: 1;
    padding: 0.5rem 1rem;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    background-color: rgba(26, 54, 93, 0.05);
    border: 1px solid rgba(26, 54, 93, 0.2);
    color: #1A365D;
}

.subscribe-input::placeholder {
    color: rgba(26, 54, 93, 0.6);
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.subscribe-button {
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border: none;
    cursor: pointer;
}

.subscribe-button:hover {
    background-color: rgba(58, 134, 255, 0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #6B7280;
    font-size: 0.875rem;
}

/* 美化后的版权信息区域 */
.copyright-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 3rem;
    padding-bottom: 2rem;
    text-align: center;
    color: #6b7280;
}

.copyright-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.copyright-slogan {
    font-size: 0.75rem;
    margin-top: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    color: #9ca3af;
}

/* 添加图标装饰 */
.copyright-section::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

/* 合作单位模块 */
.partners-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    background-color: white;
    background-image: none;
}

.partners-title {
    font-size: 2rem;
    font-weight: 100;
    margin-bottom: 3rem;
    color: #1A365D;
    text-align: center;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

@media (min-width: 768px) {
    .partners-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .partners-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.partner-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-name {
    color: #9CA3AF;
    font-size: 0.875rem;
    text-align: center;
    transition: color 0.3s ease;
}

.partner-item:hover .partner-name {
    color: #4B5563;
}

/* 新增文本合作单位单独样式 - 一行5个布局 */
.text-partners-section {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.text-partners-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    justify-items: center;
}

/* 移动端只显示5行合作伙伴 */
@media (max-width: 768px) {
    .text-partners-list.mobile-limit {
        max-height: 240px; /* 大约5行的高度 */
        overflow: hidden;
        position: relative;
    }
    
    .text-partners-list.mobile-limit::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
        pointer-events: none;
    }
}

.toggle-more-btn {
    display: none;
    margin: 1rem auto 0;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
}

.toggle-more-btn:hover {
    background-color: #2a75f0;
}

@media (max-width: 768px) {
    .toggle-more-btn {
        display: block;
    }
}

.text-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    height: 60px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.8);
}

.text-partner-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.text-partner-name {
    color: #4B5563;
    font-size: 0.75rem;
    text-align: center;
    font-weight: 500;
    
    /* 强制文字一行显示，超出部分省略号 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.text-partner-item:hover .text-partner-name {
    color: #4B5563;
}

/* 响应式布局 */
@media (max-width: 1280px) {
    .text-partners-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .text-partners-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .text-partners-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }
    
    .text-partner-item {
        padding: 0.4rem 0.5rem;
    }
    
    .text-partner-name {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .text-partners-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem;
    }
    
    .text-partner-item {
        padding: 0.3rem 0.4rem;
    }
    
    .text-partner-name {
        font-size: 0.65rem;
        line-height: 1.1;
    }
}

@media (max-width: 360px) {
    .text-partners-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.partner-item.text-partner .partner-name {
    font-size: 0.875rem;
    color: #4B5563;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hot-competition-header h2 {
        font-size: 1.5rem;
    }
    

}

/* ===========================================
   英雄区域样式
   =========================================== */

#hero {
    position: relative;
    overflow: hidden;
}

#hero .container {
    max-width: 1300px;
    margin: 0 auto;
}

#hero .hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    min-height: 700px;
    align-items: center;
}

#hero .hero-text {
    position: relative;
    z-index: 2;
}

#hero .badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(226, 232, 240, 0.8);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 24px 0;
    backdrop-filter: blur(10px);
}

/* Mobile Responsive for Hero Badge */
@media (max-width: 768px) {
    #hero .badge {
        font-size: 10px;
        padding: 6px 12px;
    }
}

#hero .hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 24px;
}

#hero .hero-title span {
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hero .hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 32px;
    max-width: 450px;
    text-indent: 2em; /* 首行缩进2个字符 */
}

#hero .hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-primary {
    padding: 14px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    padding: 14px 32px;
    background: white;
    color: #475569;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.btn-secondary i {
    color: #3b82f6;
}

#hero .hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

#hero .expert-avatars {
    display: flex;
    gap: -8px;
}

#hero .expert-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0f2fe;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
}

#hero .expert-avatars .expert-avatar:first-child {
    margin-left: 0;
}

#hero .stats-text {
    font-size: 14px;
    color: #64748b;
}

#hero .stats-text span {
    font-weight: 900;
    color: #1e293b;
}

#hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 550px;
    margin-left: auto;
}

#hero .glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 2;
}

#hero .glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 24px;
    opacity: 0.1;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

#hero .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#hero .stat-item:last-child {
    margin-bottom: 0;
}

#hero .stat-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
    text-align: left;
}

#hero .stat-number {
    font-size: 24px;
    font-weight: 900;
    color: #3b82f6;
}

#hero .stat-item:nth-child(2) .stat-number {
    color: #6366f1;
}

#hero .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 20px;
}

#hero .stat-item:nth-child(2) .stat-icon {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

#hero .progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(226, 232, 240, 0.8);
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

#hero .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 5px;
    width: 78%;
}

#hero .deadline {
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* Floating Badges */
#hero .floating-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
    z-index: 9999;
    flex: 1;
    min-width: 200px;
}

#hero .floating-badge:first-of-type {
    animation-delay: 0s;
}

#hero .floating-badge:nth-of-type(2) {
    animation-delay: 0.5s;
}

#hero .floating-badge:last-of-type {
    animation-delay: 1s;
    z-index: 9999; /* 层级置顶 */
}

#hero .floating-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 20px;
}

#hero .floating-badge:nth-of-type(2) .floating-badge-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

#hero .floating-badge:last-of-type .floating-badge-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

#hero .floating-badge-text {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 2px;
}

#hero .floating-badge-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

/* 浮动卡片容器 */
#hero .floating-badges-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
}

/* 动画定义 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.15;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    #hero .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 8%;
    }
    
    #hero .hero-title {
        font-size: 48px;
    }
    
    #hero .hero-description {
        font-size: 16px;
        max-width: 100%;
    }
    
    #hero .hero-visual {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 24px 16px;
    }
    
    #hero .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 6%;
        min-height: auto;
    }
    
    #hero .hero-title {
        font-size: 36px;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    #hero .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    #hero .hero-buttons {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    #hero .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }
    
    #hero .expert-avatars {
        align-self: center;
    }
    
    #hero .glass-card {
        padding: 20px;
    }
    
    #hero .stat-item {
        margin-bottom: 16px;
    }
    
    #hero .stat-text {
        font-size: 12px;
    }
    
    #hero .stat-number {
        font-size: 20px;
    }
    
    #hero .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    #hero .floating-badges-container {
        flex-direction: column;
        gap: 12px;
    }
    
    #hero .floating-badge {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    #hero .hero-title {
        font-size: 35px;
    }
    
    #hero .badge {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    #hero .hero-description {
        font-size: 13px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    #hero .expert-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    #hero .stats-text {
        font-size: 12px;
    }
    
    #hero .stats-text span {
        font-size: 13px;
    }
}

/* ===========================================
   全新热门赛事推荐模块样式 - 高级设计
   =========================================== */

/* 模块整体样式 */
.premium-hot-competition-section {
    position: relative;
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* 动态背景装饰 */
.premium-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float-orb 6s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.15) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
}

.premium-container {
    position: relative;
    z-index: 2;
}

/* 标题区域样式 */
.premium-header {
    text-align: center;
    margin-bottom: 4rem;
}

.premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.premium-title {
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1A365D, #2D3748);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.title-sub {
    display: block;
    font-size: 1.25rem;
    color: #6B7280;
    font-weight: 400;
}

.premium-description {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 卡片网格布局 */
.premium-cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .premium-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .premium-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 高级卡片样式 */
.premium-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.premium-card:hover::before {
    left: 100%;
}



.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.featured-card .card-glow {
    opacity: 1;
}

/* 卡片图片区域 */
.premium-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.featured-card .premium-image {
    height: 250px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.premium-card:hover .card-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 特色徽章 */
.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #7c5800;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: pulse-gold 2s infinite;
    transform-origin: center;
}

.featured-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background: #FFD700;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: sparkle 1.5s infinite;
}

@keyframes pulse-gold {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

.hot-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: pulse-hot 1.5s infinite;
}

.hot-indicator::after {
    content: '🔥';
    margin-left: 0.3rem;
    animation: fire-flicker 0.8s infinite;
}

@keyframes pulse-hot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fire-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 卡片内容区域 */
.premium-card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.card-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.art-tag { background: linear-gradient(135deg, #667eea, #764ba2); }
.literature-tag { background: linear-gradient(135deg, #f093fb, #f5576c); }
.tech-tag { background: linear-gradient(135deg, #4facfe, #00f2fe); }

.popularity-score {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #FFD700;
    font-weight: 600;
    font-size: 1.5rem;
}

.premium-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.featured-card .premium-card-title {
    font-size: 1.5rem;
}

.premium-card-description {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* 统计信息栏 */
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(247, 250, 252, 0.8);
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stats-bar .premium-button {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    min-height: auto;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A365D;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    margin-top: 0.3rem;
}

/* 卡片底部 */
.premium-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deadline-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280;
    font-size: 0.875rem;
}

.premium-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3A86FF, #667eea);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
    position: relative;
    overflow: hidden;
}

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

.premium-button:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
    background: linear-gradient(135deg, #2B6CB0, #5a67d8);
}

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



.premium-button:hover::after {
    transform: translateX(4px);
}



/* 响应式调整 */
@media (max-width: 768px) {
    .premium-hot-competition-section {
        padding: 3rem 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .premium-description {
        font-size: 1rem;
    }
    
    .stats-bar {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.8rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 0;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stats-bar .premium-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-height: auto;
    }
    
    .premium-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .premium-button {
        justify-content: center;
    }
}

/* ===========================================
   悬浮按钮样式 - 直接显示模式
   =========================================== */

.floating-buttons {
    position: fixed;
    bottom: 100px; /* 调整位置，避免与返回顶部按钮重叠 */
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* 单个悬浮按钮 */
.floating-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    width: 130px; /* 统一宽度 */
    justify-content: flex-start;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* 按钮图标 */
.floating-btn i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* 按钮文字 */
.btn-text {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.solution-section {
    text-align: center;
}

.solution-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.solution-section p {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 20px 0;
}

.modal-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.modal-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .problem-item {
        gap: 12px;
    }
    
    .problem-icon {
        align-self: flex-start;
    }
    
    .modal-cta-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 20px 20px 12px;
    }
    
    .modal-body {
        padding: 0 20px;
    }
    
    .modal-footer {
        padding: 20px;
        margin: 0 -20px;
    }
}
#back-to-top {
    background: linear-gradient(135deg, #3A86FF, #667eea);
    color: white;
    border-left: 4px solid #2A76EF;
}

#back-to-top:hover {
    background: linear-gradient(135deg, #2A76EF, #5578da);
    transform: translateY(-2px) scale(1.02);
}

/* 热门推荐按钮特殊样式 */
#hot-recommend {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    border-left: 4px solid #EF5B5B;
}

#hot-recommend:hover {
    background: linear-gradient(135deg, #EF5B5B, #FF7E7E);
    transform: translateY(-2px) scale(1.02);
}

/* 白名单比赛按钮特殊样式 */
#whitelist-competition {
    background: linear-gradient(135deg, #4ECDC4, #88D3CE);
    color: white;
    border-left: 4px solid #3EBCB4;
}

#whitelist-competition:hover {
    background: linear-gradient(135deg, #3EBCB4, #78C3BE);
    transform: translateY(-2px) scale(1.02);
}

/* 知名比赛按钮特殊样式 */
#famous-competition {
    background: linear-gradient(135deg, #FFD166, #FFDC8A);
    color: #333;
    border-left: 4px solid #EFC156;
}

#famous-competition:hover {
    background: linear-gradient(135deg, #EFC156, #FFD27A);
    transform: translateY(-2px) scale(1.02);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 90px; /* 调整位置，避免与返回顶部按钮重叠 */
        right: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        padding: 10px 16px;
        width: 140px; /* 增大宽度 */
        font-size: 0.9rem;
        border-radius: 25px;
        gap: 8px;
    }
    
    .floating-btn i {
        font-size: 1rem;
        width: 18px;
    }
    
    .btn-text {
        font-size: 0.8rem;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .floating-buttons {
        bottom: 100px; /* 调整位置，避免与返回顶部按钮重叠 */
        right: 10px;
        gap: 8px;
    }
    
    .floating-btn {
        padding: 8px 14px;
        width: 100px; /* 增大宽度 */
        font-size: 0.8rem;
        border-radius: 22px;
        gap: 6px;
    }
    
    .floating-btn i {
        font-size: 0.9rem;
        width: 16px;
    }
    
    .btn-text {
        font-size: 0.7rem;
    }
}

/* ===========================================
   悬浮菜单展开/折叠功能样式
   =========================================== */

/* 展开/折叠按钮特殊样式 */
.floating-btn.toggle-btn {
    background: #2988e0;
    color: white;
    z-index: 1001;
}

.floating-btn.toggle-btn:hover {
    background: #2988e0;
    transform: translateY(-2px);
}

/* 折叠状态下的悬浮菜单 */
.floating-buttons.collapsed .floating-btn:not(.toggle-btn) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.8) !important;
}

/* 展开状态下的悬浮菜单 */
.floating-buttons.expanded .floating-btn:not(.toggle-btn) {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

/* 展开/折叠按钮的图标变化 */
.floating-buttons.collapsed .toggle-btn i {
    transform: none;
    transition: none;
}

.floating-buttons.expanded .toggle-btn i {
    transform: none;
    transition: none;
}

/* 悬浮按钮滚动显示控制 */
.floating-buttons.hidden {
    opacity: 0 !important;
    transform: translateX(100px) !important;
    pointer-events: none !important;
}

.floating-buttons.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 折叠状态 */
    .floating-buttons.collapsed .floating-btn:not(.toggle-btn) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: scale(0.5) !important;
        transition: all 0.3s ease !important;
    }
    
    /* 展开状态 */
    .floating-buttons.expanded .floating-btn:not(.toggle-btn) {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: scale(1) !important;
        transition: all 0.3s ease !important;
    }
    
    /* 移动端悬浮按钮位置调整 */
    .floating-buttons {
        bottom: 80px !important;
        right: 10px !important;
        gap: 10px !important;
        flex-direction: column !important;
        align-items: flex-end !important;

    }
    
    .floating-btn {
        padding: 10px 16px !important;
        width: 140px !important;
        font-size: 0.9rem !important;
        border-radius: 25px !important;
        gap: 8px !important;
    }
    
    /* 展开/折叠按钮样式 */
    .floating-btn.toggle-btn {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        justify-content: center !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 1002 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
        border: 2px solid rgba(255,255,255,0.8) !important;
    }
    
    .floating-btn.toggle-btn .btn-text {
        display: none !important;
    }
    
    .floating-btn.toggle-btn i {
        font-size: 20px !important;
        margin: 0 !important;
    }
    
    /* 确保移动端按钮可点击 */
    .floating-btn.toggle-btn {
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        touch-action: manipulation !important;
    }
    
    /* 按钮文字在移动端折叠时隐藏，展开时显示 */
    .floating-buttons.collapsed .floating-btn .btn-text {
        display: none !important;
    }
    
    .floating-buttons.expanded .floating-btn:not(.toggle-btn) .btn-text {
        display: inline !important;
        font-size: 0.7rem !important;
        margin-left: 4px !important;
        white-space: nowrap !important;
    }
    
    /* 移动端展开关闭按钮不显示文字 */
    .floating-btn.toggle-btn .btn-text {
        display: none !important;
    }
    
    /* 其他按钮在移动端的样式 */
    .floating-btn:not(.toggle-btn) {
        width: auto !important;
        height: 50px !important;
        border-radius: 25px !important;
        padding: 0 12px !important;
        justify-content: center !important;
        min-width: 50px !important;
    }
    
    /* 展开/折叠按钮在移动端展开时的样式 */
    .floating-buttons.expanded .floating-btn.toggle-btn {
        width: auto !important;
        padding: 0 15px !important;
        border-radius: 50px !important;
        justify-content: center !important;
    }
    
    .floating-btn:not(.toggle-btn) i {
        font-size: 18px !important;
    }
}

/* 按钮动画延迟 */
.floating-buttons-group.active .floating-btn:nth-child(1) {
    transition-delay: 0.1s;
}

.floating-buttons-group.active .floating-btn:nth-child(2) {
    transition-delay: 0.2s;
}

.floating-buttons-group.active .floating-btn:nth-child(3) {
    transition-delay: 0.3s;
}

.floating-buttons-group.active .floating-btn:nth-child(4) {
    transition-delay: 0.4s;
}

/* 在移动设备上隐藏浮动徽章 */
@media (max-width: 768px) {
    #hero .floating-badges-container {
        display: none;
    }
}

/* 滚动到顶部按钮特殊样式 */
#backToTopBtn {
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
}

#backToTopBtn:hover {
    background: linear-gradient(135deg, #E55A2B, #FF7B40);
}

/* 热门推荐按钮特殊样式 */
#hotRecommendBtn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

#hotRecommendBtn:hover {
    background: linear-gradient(135deg, #E6C200, #FF8C00);
}

/* 白名单比赛按钮特殊样式 */
#whiteListBtn {
    background: linear-gradient(135deg, #28A745, #20C997);
    color: white;
}

#whiteListBtn:hover {
    background: linear-gradient(135deg, #218838, #1BA87E);
}

/* 知名比赛按钮特殊样式 */
#famousCompetitionBtn {
    background: linear-gradient(135deg, #6F42C1, #E83E8C);
    color: white;
}

#famousCompetitionBtn:hover {
    background: linear-gradient(135deg, #5A369A, #D32A7A);
}

/* 返回顶部按钮样式 - 始终显示在右下角 */
.back-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 1002; /* 确保在其他按钮之上 */
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #E55A2B, #FF7B40);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.back-to-top-btn.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top-btn.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    
    .back-to-top-btn .btn-text {
        display: none;
    }
    
    .back-to-top-btn i {
        font-size: 20px;
        margin: 0;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 10px;
    }
}