 /* 之前的CSS样式保持不变，只添加瀑布流加载相关样式 */

        /* 瀑布流布局 */
        .tournament-masonry {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .tournament-card {
            background: var(--card-light);
            border-radius: 12px;
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .tournament-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        .tournament-cover {
            width: 100%;
            height: 180px;
            background: linear-gradient(45deg, var(--red-dark), var(--red-light));
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .tournament-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .tournament-cover i {
            font-size: 60px;
            color: rgba(255, 255, 255, 0.7);
        }

        .tournament-info {
            padding: 20px;
        }

        .tournament-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-light);
        }

        .tournament-meta {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 15px;
        }

        .tournament-meta-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-gray);
            font-size: 14px;
        }

        .tournament-meta-item i {
            width: 16px;
            text-align: center;
        }

        .tournament-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin: 15px 0;
        }

        .tournament-stat {
            text-align: center;
            padding: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
        }

        .stat-value {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 3px;
        }

        .stat-label {
            font-size: 12px;
            color: var(--text-gray);
        }

        .tournament-status {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .status-upcoming {
            background: rgba(76, 175, 80, 0.2);
            color: var(--win-green);
        }

        .status-ongoing {
            background: rgba(223, 32, 39, 0.2);
            color: var(--red-light);
        }

        .status-finished {
            background: rgba(179, 179, 179, 0.2);
            color: var(--text-gray);
        }

        .tournament-requirements {
            background: rgba(255, 255, 255, 0.05);
            padding: 12px;
            border-radius: 8px;
            margin-top: 15px;
            font-size: 14px;
            color: var(--text-gray);
            max-height: 80px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }

        .tournament-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }

        .btn {
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary {
            background: var(--red-light);
            color: white;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-light);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px;
            color: var(--text-gray);
            grid-column: 1 / -1;
        }

        .loading i {
            font-size: 24px;
            margin-right: 10px;
        }

        .load-more-container {
            grid-column: 1 / -1;
            text-align: center;
            padding: 20px;
        }

        .load-more-btn {
            background: var(--red-light);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .load-more-btn:hover {
            background: var(--red-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(223, 32, 39, 0.3);
        }

        .load-more-btn:disabled {
            background: var(--text-gray);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .error-message {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px;
            color: var(--lose-red);
        }

        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: var(--text-gray);
        }

        .empty-state i {
            font-size: 60px;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        /* 模态框样式 */
		.modal {
			display: none;
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background-color: rgba(0, 0, 0, 0.7);
			z-index: 1000;
			align-items: center;
			justify-content: center;
		}

		.modal.active {
			display: flex;
		}

		.modal-content {
			background-color: var(--card-light);
			width: 90%;
			max-width: 500px;
			border-radius: 12px;
			overflow: hidden;
			box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
		}

		.modal-header {
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 20px;
			background: var(--red-dark);
			color: white;
		}

		.modal-header span {
			font-size: 18px;
			font-weight: bold;
		}

		.modal-close {
			background: none;
			border: none;
			color: white;
			font-size: 24px;
			cursor: pointer;
			padding: 0;
			width: 30px;
			height: 30px;
			display: flex;
			align-items: center;
			justify-content: center;
		}

		.modal-body {
			padding: 20px;
			max-height: 70vh;
			overflow-y: auto;
		}

		.qr-code-container {
			display: flex;
			justify-content: center;
			margin: 20px 0;
		}

		.qr-code {
			width: 200px;
			height: 200px;
			background: #f5f5f5;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 8px;
			color: #333;
			font-weight: bold;
			overflow: hidden;
		}

		.qr-code img {
			width: 100%;
			height: 100%;
			object-fit: contain;
		}

		.footer {
			background: var(--card-bg);
			border-top: 1px solid rgba(255, 255, 255, 0.1);
			padding: 40px 0 20px;
			margin-top: 60px;
		}

		.footer-content {
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 20px;
			display: flex;
			justify-content: space-between;
			align-items: flex-start;
			flex-wrap: wrap;
			gap: 40px;
		}

		.footer-section {
			flex: 1;
			min-width: 300px;
		}

		.footer-logo {
			display: flex;
			align-items: center;
			gap: 15px;
			margin-bottom: 20px;
		}

		.footer-logo img {
			border-radius: 8px;
		}

		.footer-logo span {
			font-size: 20px;
			font-weight: 700;
			color: var(--text-light);
		}

		.copyright p {
			margin-bottom: 8px;
			color: var(--text-gray);
			font-size: 14px;
			line-height: 1.6;
		}

		.footer-section h3 {
			font-size: 18px;
			font-weight: 600;
			margin-bottom: 20px;
			color: var(--text-light);
			position: relative;
			padding-bottom: 10px;
		}

		.footer-section h3::after {
			content: '';
			position: absolute;
			bottom: 0;
			left: 0;
			width: 40px;
			height: 2px;
			background: var(--red-light);
		}

		.social-links {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
			gap: 15px;
		}

		.social-link {
			display: flex;
			align-items: center;
			gap: 10px;
			padding: 10px 15px;
			background: rgba(255, 255, 255, 0.05);
			border-radius: 8px;
			color: var(--text-gray);
			text-decoration: none;
			transition: var(--transition);
			border: 1px solid transparent;
		}

		.social-link:hover {
			background: rgba(223, 32, 39, 0.1);
			color: var(--text-light);
			border-color: var(--red-light);
			transform: translateY(-2px);
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		}

		.social-link i {
			font-size: 18px;
			width: 20px;
			text-align: center;
		}

		.social-link span {
			font-size: 14px;
			font-weight: 500;
		}

		/* 响应式设计 */
		@media (max-width: 768px) {
			.footer-content {
				flex-direction: column;
				gap: 30px;
			}

			.footer-section {
				min-width: 100%;
			}

			.social-links {
				grid-template-columns: repeat(2, 1fr);
			}
		}

		@media (max-width: 480px) {
			.social-links {
				grid-template-columns: 1fr;
			}
		}

		/* 响应式设计 */
		@media (max-width: 768px) {
			.tournament-masonry {
				grid-template-columns: 1fr;
			}

			.tournament-stats {
				grid-template-columns: repeat(2, 1fr);
			}

			.tournament-actions {
				flex-direction: column;
				gap: 10px;
			}

			.btn {
				width: 100%;
				justify-content: center;
			}

			.modal-content {
				width: 95%;
				margin: 10px;
			}

			.header {
				flex-direction: column;
				gap: 15px;
			}

			.nav-links {
				flex-wrap: wrap;
				justify-content: center;
			}
		}