/* ===================================
   球速体育页面移动端特殊样式
   qiususports.html 专用移动端优化
   =================================== */

@media screen and (max-width: 768px) {
    
    /* === 球速体育页面Hero区域优化 === */
    
    .hero {
        background: linear-gradient(135deg, rgba(176, 164, 151, 0.1) 0%, rgba(0,0,0,0.8) 100%);
        position: relative;
    }
    
    .hero-title {
        background: linear-gradient(135deg, #b0a497, #9a8a7a);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 1.5rem !important; /* 严格遵循Hero标题规范 */
        text-shadow: none;
    }
    
    /* === 球速特色区域 === */
    
    .speed-features-section {
        background: #050505;
        padding: 3rem 0;
        position: relative;
    }
    
    .speed-features-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 50% 50%, rgba(176, 164, 151, 0.04) 0%, transparent 60%);
        pointer-events: none;
    }
    
    .speed-showcase {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .speed-feature {
        background: linear-gradient(145deg, #1c1c1c, #111);
        border: 1px solid rgba(176, 164, 151, 0.2);
        border-radius: 20px;
        padding: 2.5rem;
        text-align: center;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .speed-feature::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(176, 164, 151, 0.03) 0%, transparent 60%);
        pointer-events: none;
    }
    
    .speed-feature:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border-color: rgba(176, 164, 151, 0.4);
    }
    
    .speed-icon {
        width: 100px;
        height: 100px;
        background: rgba(176, 164, 151, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 2rem;
        font-size: 2.5rem;
        color: var(--secondary-color, #b0a497);
        position: relative;
        z-index: 2;
        animation: speedPulse 3s infinite;
    }
    
    @keyframes speedPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }
    
    .speed-title {
        font-size: 1.3rem !important; /* 遵循Section标题规范 */
        font-weight: 600;
        color: #fff;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 2;
    }
    
    .speed-description {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 2rem;
        position: relative;
        z-index: 2;
    }
    
    .speed-metrics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        position: relative;
        z-index: 2;
    }
    
    .metric-item {
        text-align: center;
        padding: 1rem;
        background: rgba(176, 164, 151, 0.05);
        border-radius: 10px;
        border: 1px solid rgba(176, 164, 151, 0.1);
    }
    
    .metric-value {
        font-size: 1.4rem !important;
        font-weight: bold;
        color: var(--secondary-color, #b0a497);
        display: block;
        margin-bottom: 0.3rem;
    }
    
    .metric-label {
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.7);
    }
    
    /* === 实时功能区域 === */
    
    .realtime-section {
        background: #000;
        padding: 3rem 0;
        position: relative;
    }
    
    .realtime-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 70% 30%, rgba(176, 164, 151, 0.04) 0%, transparent 60%);
        pointer-events: none;
    }
    
    .realtime-features {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .realtime-card {
        background: linear-gradient(145deg, #1c1c1c, #111);
        border: 1px solid rgba(176, 164, 151, 0.15);
        border-radius: 15px;
        padding: 2rem;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .realtime-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(176, 164, 151, 0.02) 0%, transparent 60%);
        pointer-events: none;
    }
    
    .realtime-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
        border-color: rgba(176, 164, 151, 0.3);
    }
    
    .realtime-icon {
        width: 70px;
        height: 70px;
        background: rgba(176, 164, 151, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
        color: var(--secondary-color, #b0a497);
        position: relative;
        z-index: 2;
    }
    
    .realtime-title {
        font-size: 1rem !important;
        font-weight: 600;
        color: #fff;
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
    }
    
    .realtime-description {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        position: relative;
        z-index: 2;
    }
    
    .realtime-badge {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: linear-gradient(135deg, #FF4444, #FF6666);
        color: #fff;
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.7rem !important;
        font-weight: bold;
        z-index: 3;
        animation: pulse 2s infinite;
    }
    
    /* === 社交投注区域 === */
    
    .social-betting-section {
        background: #050505;
        padding: 3rem 0;
    }
    
    .social-features {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .social-feature-card {
        background: linear-gradient(145deg, #1c1c1c, #111);
        border: 1px solid rgba(176, 164, 151, 0.2);
        border-radius: 20px;
        padding: 2.5rem;
        text-align: center;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .social-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(176, 164, 151, 0.03) 0%, transparent 60%);
        pointer-events: none;
    }
    
    .social-feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(176, 164, 151, 0.5);
    }
    
    .social-icon {
        width: 90px;
        height: 90px;
        background: rgba(176, 164, 151, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 2rem;
        font-size: 2.2rem;
        color: var(--secondary-color, #b0a497);
        position: relative;
        z-index: 2;
    }
    
    .social-title {
        font-size: 1.3rem !important; /* 遵循Section标题规范 */
        font-weight: 600;
        color: #fff;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 2;
    }
    
    .social-description {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 2rem;
        position: relative;
        z-index: 2;
    }
    
    .social-benefits {
        list-style: none;
        padding: 0;
        margin: 0;
        position: relative;
        z-index: 2;
    }
    
    .social-benefits li {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
        position: relative;
        text-align: left;
    }
    
    .social-benefits li::before {
        content: '👥';
        position: absolute;
        left: 0;
        font-size: 0.8rem;
    }
    
    /* === 创新技术区域 === */
    
    .innovation-section {
        background: #000;
        padding: 3rem 0;
    }
    
    .innovation-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
    
    .innovation-card {
        background: linear-gradient(145deg, #1c1c1c, #111);
        border: 1px solid rgba(176, 164, 151, 0.15);
        border-radius: 15px;
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .innovation-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(176, 164, 151, 0.02) 0%, transparent 60%);
        pointer-events: none;
    }
    
    .innovation-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
        border-color: rgba(176, 164, 151, 0.3);
    }
    
    .innovation-icon {
        width: 60px;
        height: 60px;
        background: rgba(176, 164, 151, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 1.5rem;
        color: var(--secondary-color, #b0a497);
        position: relative;
        z-index: 2;
    }
    
    .innovation-name {
        font-size: 0.95rem !important;
        font-weight: 600;
        color: #fff;
        margin-bottom: 0.8rem;
        position: relative;
        z-index: 2;
    }
    
    .innovation-description {
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.5;
        position: relative;
        z-index: 2;
    }
    
    /* === 用户体验区域 === */
    
    .user-experience-section {
        background: #050505;
        padding: 3rem 0;
        position: relative;
    }
    
    .user-experience-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 30% 70%, rgba(176, 164, 151, 0.04) 0%, transparent 60%);
        pointer-events: none;
    }
    
    .experience-timeline {
        position: relative;
        padding-left: 2rem;
    }
    
    .experience-timeline::before {
        content: '';
        position: absolute;
        left: 1rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--secondary-color, #b0a497), rgba(176, 164, 151, 0.2));
    }
    
    .timeline-item {
        position: relative;
        margin-bottom: 2rem;
        background: linear-gradient(145deg, #1c1c1c, #111);
        border: 1px solid rgba(176, 164, 151, 0.15);
        border-radius: 15px;
        padding: 1.5rem;
        margin-left: 1rem;
    }
    
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -2rem;
        top: 1.5rem;
        width: 12px;
        height: 12px;
        background: var(--secondary-color, #b0a497);
        border-radius: 50%;
        border: 3px solid #000;
    }
    
    .timeline-step {
        font-size: 0.7rem !important;
        color: var(--secondary-color, #b0a497);
        font-weight: bold;
        margin-bottom: 0.5rem;
    }
    
    .timeline-title {
        font-size: 1rem !important;
        font-weight: 600;
        color: #fff;
        margin-bottom: 0.8rem;
    }
    
    .timeline-description {
        font-size: 0.8rem !important;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
    }
    
    /* === 成功案例区域 === */
    
    .success-stories-section {
        background: #000;
        padding: 3rem 0;
    }
    
    .success-stories-carousel {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        padding: 1rem 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .success-story-card {
        flex: 0 0 320px;
        background: linear-gradient(145deg, #1c1c1c, #111);
        border: 1px solid rgba(176, 164, 151, 0.15);
        border-radius: 15px;
        padding: 2rem;
        scroll-snap-align: start;
        position: relative;
        overflow: hidden;
    }
    
    .success-story-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(176, 164, 151, 0.02) 0%, transparent 60%);
        pointer-events: none;
    }
    
    .story-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 2;
    }
    
    .story-avatar {
        width: 60px;
        height: 60px;
        background: rgba(176, 164, 151, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--secondary-color, #b0a497);
    }
    
    .story-info h4 {
        font-size: 0.9rem !important;
        font-weight: 600;
        color: #fff;
        margin-bottom: 0.3rem;
    }
    
    .story-info p {
        font-size: 0.7rem !important;
        color: rgba(255, 255, 255, 0.6);
    }
    
    .story-content {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        font-size: 0.8rem !important;
        position: relative;
        z-index: 2;
    }
    
    .story-achievement {
        margin-top: 1rem;
        padding: 0.8rem;
        background: rgba(176, 164, 151, 0.1);
        border-radius: 8px;
        text-align: center;
        position: relative;
        z-index: 2;
    }
    
    .achievement-value {
        font-size: 1.2rem !important;
        font-weight: bold;
        color: var(--secondary-color, #b0a497);
        display: block;
    }
    
    .achievement-label {
        font-size: 0.7rem !important;
        color: rgba(255, 255, 255, 0.7);
    }
}

/* === 小屏手机特殊优化 (480px以下) === */
@media screen and (max-width: 480px) {
    
    .speed-feature {
        padding: 2rem;
    }
    
    .speed-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .speed-metrics {
        grid-template-columns: 1fr;
    }
    
    .realtime-card,
    .social-feature-card {
        padding: 1.5rem;
    }
    
    .realtime-icon,
    .innovation-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .social-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .innovation-grid {
        grid-template-columns: 1fr !important;
    }
    
    .timeline-item {
        padding: 1rem;
        margin-left: 0.5rem;
    }
    
    .experience-timeline {
        padding-left: 1.5rem;
    }
    
    .experience-timeline::before {
        left: 0.75rem;
    }
    
    .timeline-item::before {
        left: -1.5rem;
    }
    
    .success-story-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }
}

/* === 横屏模式特殊优化 === */
@media screen and (max-width: 768px) and (orientation: landscape) {
    
    .speed-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .realtime-features {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .social-features {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .innovation-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
