/* 米兰体育官网样式表 */

html { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100%;
}

body {
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', arial,'PingFang SC',"Microsoft YaHei","微软雅黑",STXihei,"华文细黑", sans-serif;
}

.bg-texture {
    background: #f5f5f5;
}

.light-text { 
    color: white; 
}

.dark-text { 
    color: #636972; 
}

.wide {
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
    letter-spacing: .5px;
    width: 100%;
    max-width: 1200px;
}

.col2 {
    margin: 0 auto;
    text-align: center;
    line-height: 150%;
    padding: 0 20px;
}

.col2 h1 {
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', arial,'PingFang SC',"Microsoft YaHei","微软雅黑",STXihei,"华文细黑", sans-serif;
    font-weight: 600;
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.col2 h2 {
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', arial,'PingFang SC',"Microsoft YaHei","微软雅黑",STXihei,"华文细黑", sans-serif;
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    margin: 30px 0 20px 0;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.col2 p {
    font-family: 'Open Sans', 'Segoe UI', 'Helvetica Neue', arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin: 20px auto;
    max-width: 800px;
    line-height: 1.6;
}

.col2 p2 {
    font-family: 'Open Sans', 'Segoe UI', 'Helvetica Neue', arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    margin: 10px auto;
}

.col2 a {
    color: #1bb0e6;
    text-decoration: none;
}

.col2 a:hover {
    text-decoration: underline;
}

/* 通知横幅样式 */
.notification-banner {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 15px 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    max-width: 800px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.notification-banner h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
}

/* 欢迎文字样式 */
.welcome-text {
    color: white;
    font-size: 20px;
}

.subtitle-text {
    color: #E6E6FA;
}

/* 米兰体育介绍区域 */
.milan-intro {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin: 30px auto;
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.milan-intro p {
    color: white;
    text-align: left;
}

.intro-content {
    margin-top: 20px;
}

/* 功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card h4 {
    color: #FFD700;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.feature-card p {
    color: white;
    font-size: 14px;
}

/* 按钮样式 */
a.button {
    position: relative;
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', arial,'PingFang SC',"Microsoft YaHei","微软雅黑",STXihei,"华文细黑", sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 25px;
    width: auto;
    height: auto;
    line-height: 40px;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

a.button:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

a.button:link, 
a.button:hover, 
a.button:visited {
    color: white;
}

/* 温馨提示框 */
.tips-box {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.tips-title {
    color: #FFD700;
    font-size: 16px;
    margin: 10px 0;
}

.tips-content {
    color: white;
    font-size: 14px;
}

/* 底部链接区域 */
.footer-links {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-links .footer-subtitle {
    color: #E6E6FA;
    margin-bottom: 15px;
}

.footer-links a {
    color: #87CEEB;
    text-decoration: none;
    display: inline-block;
    margin: 5px 15px;
    padding: 8px 16px;
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(135, 206, 235, 0.2);
    border-color: #87CEEB;
}

/* 图片样式 */
.logo-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.content-images {
    margin: 30px 0;
}

.content-images img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 15px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-images img:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 版权信息 */
.copyright-text {
    color: #E6E6FA;
}

.brand-text {
    color: #B0C4DE;
    font-size: 12px;
}

/* 统计数据区域 */
.stats-section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

/* 用户评价区域 */
.testimonials-section {
    margin: 40px auto;
    padding: 30px;
    max-width: 1000px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: #FFD700;
    opacity: 0.3;
}

.testimonial-content {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    color: #FFD700;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

/* 安全保障区域 */
.security-section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.security-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.security-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.security-item h4 {
    color: #FFD700;
    margin: 15px 0 10px 0;
    font-size: 18px;
}

.security-item p {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 常见问题区域 */
.faq-section {
    margin: 40px auto;
    padding: 30px;
    max-width: 900px;
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.faq-question {
    color: #FFD700;
    font-weight: 600;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    color: white;
    padding: 20px 25px;
    font-size: 15px;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.1);
}

/* 渐变背景增强 */
html {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #667eea 50%, #764ba2 75%, #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 客服联系区域 */
.contact-section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-item h4 {
    color: #FFD700;
    margin: 15px 0 10px 0;
    font-size: 18px;
}

.contact-item p {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
}

.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    color: white !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
    background: linear-gradient(45deg, #FF8E8E, #FF6B6B);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* 滚动回顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-icon {
    color: white;
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* 页面加载动画 */
.col2 {
    animation: fadeInUp 1s ease-out;
}

.col2 h1 {
    animation: fadeInUp 1.2s ease-out;
}

.notification-banner {
    animation: fadeInLeft 1.4s ease-out;
}

.milan-intro {
    animation: fadeInUp 1.6s ease-out;
}

.features-grid .feature-card {
    animation: fadeInUp 1.8s ease-out;
}

.features-grid .feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.features-grid .feature-card:nth-child(4) {
    animation-delay: 0.6s;
}

.logo-image {
    animation: float 3s ease-in-out infinite;
}

/* 按钮悬停脉冲效果 */
a.button:hover {
    animation: pulse 0.6s ease-in-out;
}

/* 滚动显示动画类 */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .col2 h1 {
        font-size: 28px;
    }
    
    .col2 h2 {
        font-size: 20px;
    }
    
    .col2 p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .milan-intro {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    a.button {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }
    
    .welcome-text {
        font-size: 18px;
    }
}