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

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    background-color: #1a5c3a;
    background-image: url('../images/bj.webp');
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: repeat-y;
    min-height: 100vh;
    padding-bottom: 100px;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: -1;
    pointer-events: none;
}

/* 顶部用户信息栏 */
.top-bar {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 15px;
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    justify-content: center;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-balance {
    flex: 1;
}

.balance-label {
    font-size: 12px;
    color: #999;
}

.balance-amount {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.balance-amount.profit {
    color: #ff6b6b;
}

.login-btn, .register-btn {
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 80px;
}

.login-btn {
    background: linear-gradient(135deg, #1a5c3a 0%, #2d7a4f 100%);
    border: 2px solid #1a5c3a;
    color: white;
    box-shadow: 0 4px 15px rgba(26, 92, 58, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #155030 0%, #256a43 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 92, 58, 0.4);
}

.register-btn {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    border: 2px solid #d4af37;
    color: #1a5c3a;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.register-btn:hover {
    background: linear-gradient(135deg, #c9a532 0%, #f0c800 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Banner区域 */
.banner {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    font-size: 150px;
    opacity: 0.1;
    right: -30px;
    top: -30px;
}

.banner-content h1 {
    color: #1a5c3a;
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
    font-weight: bold;
}

.banner-content h1 i {
    margin-right: 10px;
    color: #ffd700;
}

.banner-content p {
    color: #2d4a2b;
    font-size: 14px;
}

/* 中奖滚动栏 */
.winner-scroll {
    background: linear-gradient(90deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    margin: 0 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
}

.winner-scroll::before {
    content: '🏆';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 2;
}

.scroll-content {
    display: inline-flex;
    animation: scroll 80s linear infinite;
    white-space: nowrap;
    padding-left: 45px;
    align-items: center;
    height: 100%;
}

.scroll-content span {
    display: inline-block;
    padding: 0 30px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 44px;
}

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

/* 快捷菜单 */
.quick-menu {
    display: flex;
    justify-content: center;
    padding: 15px;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.menu-item {
    flex: 1;
    max-width: 180px;
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: #8B4513;
    box-shadow: 0 6px 0 #CC8400, 0 8px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    font-weight: bold;
    border: 3px solid #FFA500;
    font-size: 16px;
}

.menu-item:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #CC8400, 0 4px 10px rgba(0,0,0,0.3);
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.menu-icon i {
    font-size: 28px;
}

.menu-text {
    font-size: 14px;
    font-weight: bold;
}

/* 主容器 */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    padding: 15px 0 10px;
}

.section-header h2 {
    color: #fff;
    font-size: 18px;
    text-align: center;
    background: linear-gradient(180deg, #DC143C 0%, #8B0000 100%);
    padding: 12px 40px;
    border-radius: 25px;
    margin: 0 auto;
    max-width: 180px;
    box-shadow: 0 4px 0 #660000;
    position: relative;
    z-index: 1;
    transform: translateY(10px);
    border: 2px solid #ffd700;
    border-bottom: none;
}

.section-header h2 i {
    display: none;
}

/* 竞猜列表 */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 20px 20px;
    background: #FFF8DC;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid #ffd700;
}

.match-item {
    background: #FFF8DC;
    border-radius: 0;
    padding: 20px 15px;
    box-shadow: none;
    border-bottom: 2px solid #DEB887;
    position: relative;
    width: 100%;
    transition: background-color 0.3s;
    text-align: center;
}

.match-item:hover {
    background: #FFF0C2;
}

.match-item:last-child {
    border-bottom: none;
    border-radius: 0 0 20px 20px;
}

.match-item:first-child {
    border-radius: 20px 20px 0 0;
}

.match-item::before {
    content: '⚜️';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0.3;
}

.match-item::after {
    content: '⚜️';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0.3;
}

.match-header {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.match-status {
    background: linear-gradient(180deg, #DC143C 0%, #8B0000 100%);
    color: #fff;
    padding: 8px 30px;
    border-radius: 20px 20px 0 0;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 3px 0 #660000;
    border: 2px solid #ffd700;
    border-bottom: none;
}

.match-time {
    color: #8B4513;
    font-size: 15px;
    text-align: center;
    margin: 12px auto 0;
    font-weight: bold;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.2));
    padding: 10px 25px;
    border-radius: 20px;
    display: inline-block;
    border: 2px solid #ffd700;
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.2);
    transition: all 0.3s ease;
}

.match-time:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 165, 0, 0.3));
}

.match-time i {
    color: #DC143C;
    margin: 0 5px;
    font-size: 14px;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 10px;
}

.team-info-with-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-name {
    color: #8B4513;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-text {
    color: #DC143C;
    font-weight: bold;
    font-size: 18px;
    padding: 0 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.match-stats {
    display: none;
}

.match-actions {
    display: none;
}

.match-footer {
    display: none;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 12px 0 8px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #ddd;
    border-radius: 20px 20px 0 0;
    z-index: 1000;
}

.nav-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #999;
    transition: color 0.3s;
}

.nav-item.active {
    color: #DC143C;
}

.nav-item.active .nav-text {
    color: #DC143C;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.nav-icon i {
    font-size: 24px;
}

.nav-text {
    font-size: 12px;
}

/* 登录注册页面 */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 92, 58, 0.9) 0%, rgba(45, 122, 79, 0.9) 100%);
    z-index: -1;
}

.auth-box {
    background: rgba(255, 255, 255, 0.98);
    padding: 45px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 215, 0, 0.3);
    animation: slideUp 0.5s ease-out;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

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

.auth-icon i {
    font-size: 40px;
    color: #1a5c3a;
}

.auth-box h2 {
    text-align: center;
    color: #1a5c3a;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: bold;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.auth-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #1a5c3a;
    font-weight: bold;
    font-size: 15px;
}

.form-group label i {
    margin-right: 8px;
    color: #d4af37;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #d4af37;
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #1a5c3a, #2d7a4f);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 15px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(26, 92, 58, 0.3);
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 92, 58, 0.4);
    background: linear-gradient(135deg, #155030, #256a43);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary i {
    margin-right: 8px;
}

.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.auth-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 15px;
}

.auth-link a {
    color: #1a5c3a;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.auth-link a:hover {
    color: #d4af37;
}

.auth-link a i {
    margin-left: 5px;
    font-size: 12px;
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-home:hover {
    color: #1a5c3a;
}

.back-home i {
    margin-right: 5px;
}

.alert {
    padding: 15px 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert i {
    font-size: 18px;
}

.alert-error {
    background: #ffe0e0;
    color: #c92a2a;
    border-left: 4px solid #c92a2a;
}

.alert-success {
    background: #d3f9d8;
    color: #2b8a3e;
    border-left: 4px solid #2b8a3e;
}

/* 响应式优化 */
@media (max-width: 480px) {
    .auth-box {
        padding: 35px 25px;
    }
    
    .auth-icon {
        width: 70px;
        height: 70px;
    }
    
    .auth-icon i {
        font-size: 35px;
    }
    
    .auth-box h2 {
        font-size: 24px;
    }
}

/* 个人中心 */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.profile-card,
.participation-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.profile-card h2,
.participation-card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.info-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-item label {
    font-weight: bold;
    color: #28a745;
    width: 100px;
}

.info-item span {
    color: #333;
}

.participation-table {
    width: 100%;
    border-collapse: collapse;
}

.participation-table th,
.participation-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.participation-table th {
    background: #f8f9fa;
    color: #333;
    font-weight: bold;
}

.participation-table tr:hover {
    background: #f8f9fa;
}

/* 公告弹窗 */
.announcement-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.announcement-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease-out;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.announcement-header {
    background: linear-gradient(135deg, #1a5c3a, #2d7a4f);
    color: white;
    padding: 20px 25px;
    text-align: center;
    position: relative;
}

.announcement-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.announcement-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) rotate(90deg);
}

.announcement-body {
    padding: 25px;
    text-align: center;
}

.announcement-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.announcement-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

.announcement-footer {
    padding: 0 25px 25px;
    text-align: center;
}

.announcement-btn {
    background: linear-gradient(135deg, #1a5c3a, #2d7a4f);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(26, 92, 58, 0.3);
}

.announcement-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 92, 58, 0.4);
}

/* 响应式 */
@media (max-width: 768px) {
    .announcement-content {
        margin: 45% auto;
        width: 95%;
    }
    
    .announcement-header h3 {
        font-size: 18px;
    }
    
    .announcement-text {
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 24px;
    }
    
    .menu-icon {
        font-size: 28px;
    }
    
    .team-flag {
        font-size: 32px;
    }
    
    .login-btn, .register-btn {
        padding: 8px 20px;
        font-size: 14px;
        min-width: 70px;
    }
    
    .user-info {
        gap: 15px;
    }
    
    .match-time {
        font-size: 14px;
        padding: 8px 20px;
    }
}

/* 用户信息文本 */
.user-info-text {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.user-id {
    font-size: 12px;
    color: #666;
}

/* 个人中心页面样式 */
.profile-header {
    background: linear-gradient(135deg, rgba(26, 92, 58, 0.85) 0%, rgba(45, 122, 79, 0.85) 100%), url('../images/userbj.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px 40px;
    text-align: center;
    color: white;
    border-radius: 0 0 40px 40px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 92, 58, 0.4);
}

.profile-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    animation: avatarFloat 3s ease-in-out infinite;
}

@keyframes avatarFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.avatar-badge i {
    color: #1a5c3a;
    font-size: 20px;
}

.profile-info {
    position: relative;
    z-index: 1;
}

.profile-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.user-id-display {
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.user-id-display i {
    color: #ffd700;
    font-size: 18px;
}

.user-ip {
    font-size: 15px;
    color: rgba(255,255,255,0.90);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.user-ip i {
    color: #ffd700;
    font-size: 16px;
}

.user-register-time {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.user-register-time i {
    color: #ffd700;
    font-size: 15px;
}

/* 统计数据 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 30px 20px;
    background: transparent;
    max-width: 600px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
    pointer-events: none;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    border-color: #ffd700;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.stat-icon i {
    font-size: 28px;
    color: white;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #1a5c3a;
    margin-bottom: 10px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* 参与记录列表 */
.participation-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 100px;
    padding: 0 15px;
}

.participation-item {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 215, 0, 0.2);
    animation: slideIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.participation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.participation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    border-color: #ffd700;
}

.participation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.participation-header h3 {
    font-size: 18px;
    color: #1a5c3a;
    margin: 0;
    flex: 1;
    font-weight: bold;
}

.badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge i {
    font-size: 13px;
}

.badge-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 2px solid #28a745;
}

.badge-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 2px solid #dc3545;
}

.badge-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 2px solid #ffc107;
}

.participation-body {
    padding-top: 0;
}

.teams-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.team-selected {
    color: #1a5c3a;
    font-weight: bold;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    padding: 10px 22px;
    border-radius: 25px;
    border: 2px solid #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.vs-small {
    color: #dc3545;
    font-size: 15px;
    font-weight: bold;
}

.participation-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #999;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}

.participation-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.participation-meta i {
    color: #ffd700;
    font-size: 14px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    margin: 20px 15px 100px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: 3px solid rgba(255, 215, 0, 0.2);
}

.empty-icon {
    font-size: 100px;
    margin-bottom: 25px;
    color: #ddd;
    animation: emptyBounce 2s ease-in-out infinite;
}

@keyframes emptyBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.empty-icon i {
    font-size: 100px;
}

.empty-state p {
    color: #999;
    margin-bottom: 30px;
    font-size: 17px;
}

.empty-state .btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #1a5c3a, #2d7a4f);
    color: white;
    text-decoration: none;
    border-radius: 28px;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(26, 92, 58, 0.35);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.empty-state .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(26, 92, 58, 0.45);
}

/* 响应式 */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 25px 15px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
    }
    
    .stat-icon i {
        font-size: 24px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-info h2 {
        font-size: 26px;
    }
    
    .participation-list {
        margin-bottom: 120px;
    }
    
    .empty-state {
        margin-bottom: 120px;
    }
}

/* 轮播图样式 */
.banner-slider {
    position: relative;
    width: calc(100% - 30px);
    max-width: 600px;
    overflow: hidden;
    background: #000;
    margin: 15px auto;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    text-align: center;
    padding: 15px 0;
    background: rgba(0,0,0,0.3);
    border-radius: 0 0 20px 20px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

.dot:hover {
    background-color: #ffd700;
}

/* 队伍头像样式 */
.team-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
}

.team-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffd700;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.avatar-initial {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.team-info-with-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 恢复足球动画 */
.banner-slider::after {
    content: '\26BD';
    position: absolute;
    font-size: 100px;
    opacity: 0.1;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* 竞猜详情页 */
.match-detail-card {
    background: #FFF8DC;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    margin: 20px 15px;
}

.match-detail-card h2 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 20px;
}

.team-logo-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.team-percent {
    font-size: 24px;
    font-weight: bold;
    color: #DC143C;
    margin-top: 10px;
}

.match-info-detail {
    background: rgba(255,255,255,0.5);
    padding: 15px;
    border-radius: 15px;
    margin: 20px 0;
}

.match-info-detail p {
    margin: 10px 0;
    color: #8B4513;
}

.bet-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.bet-btn-large {
    padding: 18px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 0 rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.bet-btn-large:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}

.btn-team-a {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    color: #8B4513;
}

.btn-team-b {
    background: linear-gradient(180deg, #FF6347 0%, #DC143C 100%);
    color: #fff;
}

/* 点击效果 */
.match-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.match-item:active {
    transform: scale(0.98);
}

/* 参与确认弹窗 */
.participate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.participate-content {
    position: relative;
    background-color: white;
    margin: 15% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease-out;
    overflow: hidden;
}

.participate-header {
    background: linear-gradient(135deg, #1a5c3a, #2d7a4f);
    color: white;
    padding: 20px 25px;
    text-align: center;
    position: relative;
}

.participate-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.participate-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.participate-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.participate-body {
    padding: 25px;
    text-align: center;
}

.participate-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
}

.participate-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.participate-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.participate-btn-cancel {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #ddd;
}

.participate-btn-cancel:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.participate-btn-confirm {
    background: linear-gradient(135deg, #1a5c3a, #2d7a4f);
    color: white;
    box-shadow: 0 6px 20px rgba(26, 92, 58, 0.3);
}

.participate-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 92, 58, 0.4);
}

/* 参与成功弹窗 */
.success-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.success-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: successPop 0.5s ease-out;
    overflow: hidden;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    text-align: center;
    position: relative;
}

.success-icon {
    font-size: 30px;
    margin-bottom: 8px;
    animation: bounce 1s ease-in-out infinite;
}

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

.success-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.success-body {
    padding: 20px 25px 25px 25px;
    text-align: center;
}

.success-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* 世界杯标语样式 */
.world-cup-banner {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ffd700);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    animation: worldCupGlow 2s ease-in-out infinite alternate;
    border: 2px solid #ffd700;
}

.world-cup-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    animation: titleShine 3s ease-in-out infinite;
}

.official-recommendation {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes worldCupGlow {
    0% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
        transform: scale(1.02);
    }
}

@keyframes titleShine {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

/* 平台按钮行布局 */
.platform-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

/* 简化的平台按钮样式 */
.platform-simple {
    width: 120px;
    padding: 15px 10px;
    font-size: 14px;
}

.platform-simple .platform-name {
    font-size: 14px;
}

/* 金沙平台样式 */
.platform-sands {
    background: linear-gradient(135deg, #DAA520, #B8860B);
}

/* 新葡京平台样式 */
.platform-lisboa {
    background: linear-gradient(135deg, #B8860B, #8B7355);
}

.platform-text {
    font-size: 18px;
    font-weight: bold;
    color: #1a5c3a;
    margin-bottom: 20px;
    text-align: center;
}

.platform-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    width: 200px;
}

.platform-btn::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;
}

.platform-btn:hover::before {
    left: 100%;
}

.platform-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.platform-icon {
    font-size: 35px;
    margin-bottom: 10px;
    animation: iconFloat 2s ease-in-out infinite;
}

.platform-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
/* 亿万平台 - 最突出 */
.platform-featured {
    width: 250px;
    padding: 25px 20px;
    order: -1;
    animation: featuredPulse 2s ease-in-out infinite;
    border: 3px solid #ffd700;
}

.platform-featured .platform-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border: 2px solid #ffd700;
}

.platform-featured .platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.platform-featured .platform-name {
    font-size: 18px;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.platform-name {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* 亿万平台 - 最突出 */
.platform-featured {
    width: 250px;
    padding: 25px 20px;
    order: -1;
    animation: featuredPulse 2s ease-in-out infinite;
    border: 3px solid #ffd700;
}

@keyframes featuredPulse {
    0%, 100% { 
        transform: scale(1);
@keyframes crownSpin {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(-5deg) translateY(-3px); }
    75% { transform: rotate(5deg) translateY(-3px); }
}

/* 平台特定样式 */
.platform-sands {
    background: linear-gradient(135deg, #DAA520, #B8860B);
}

.platform-yiwan {
    background: linear-gradient(135deg, #DC143C, #B22222);
}

.platform-lisboa {
    background: linear-gradient(135deg, #B8860B, #8B7355);
}       box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    }
}

.featured-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: bold;
    animation: badgeBounce 1s ease-in-out infinite;
}

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

.platform-featured .platform-icon {
    font-size: 45px;
    animation: crownSpin 3s ease-in-out infinite;
}

@keyframes crownSpin {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(-5deg) translateY(-3px); }
    75% { transform: rotate(5deg) translateY(-3px); }
}

.platform-featured .platform-name {
    font-size: 20px;
}

/* 平台颜色 */
.platform-sands {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #8B4513;
}

.platform-yiwan {
    background: linear-gradient(135deg, #8B0000, #DC143C);
}

.platform-lisboa {
    background: linear-gradient(135deg, #4B0082, #8A2BE2);
}

.close-area {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.close-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #ddd;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* 参与弹窗响应式 */
@media (max-width: 768px) {
    .participate-content,
    .success-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .platform-buttons {
        gap: 12px;
    }
    
    .platform-btn {
        padding: 18px 15px;
        width: 180px;
    }
    
    .platform-featured {
        width: 220px;
        padding: 22px 18px;
    }
    
    .platform-icon {
        font-size: 30px;
    }
    
    .platform-featured .platform-icon {
        font-size: 40px;
    }
}