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

/* 基础样式 */
body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    width: 100%;
}

/* Logo样式 */
.logo-container {
    margin-bottom: -50px;
    display: flex;
    justify-content: center;
}

.logo {
    width: 240px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}



.main-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 300;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

/* 按钮基础样式 */
.btn {
    width: 200px;
    height: 120px;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
    text-decoration: none;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.btn-text {
    font-size: 1rem;
    text-align: center;
    line-height: 1.3;
}

/* 全屏按钮特殊样式 */
.fullscreen-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

/* 收藏按钮样式 */
.favorites-btn {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
}

/* 启动按钮样式 */
.launch-btn {
    background: linear-gradient(135deg, #48cae4 0%, #023e8a 100%);
}

/* 新按钮样式 */
.new-btn {
    background: linear-gradient(135deg, #9c88ff 0%, #6c5ce7 100%);
}

/* 警告信息样式 */
.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.warning-icon {
    font-size: 1.5rem;
}

.warning-text {
    color: #ffc107;
    font-weight: 500;
}

/* 描述文字样式 */
.favorites-desc, .launch-desc {
    text-align: center;
    margin-top: 15px;
    color: #b8c5d6;
    font-size: 0.9rem;
}

/* 视频区域样式 */
.video-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    color: #00d4ff;
}

.video-content {
    text-align: center;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
}

.video-desc {
    font-size: 1.1rem;
    color: #b8c5d6;
    margin-bottom: 10px;
    line-height: 1.6;
}

.video-alert {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.alert-text {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* YouTube区域样式 */
.youtube-section {
    background: rgba(255, 0, 0, 0.1);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 0, 0.2);
    text-align: center;
}

.youtube-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ff0000;
}

.youtube-desc {
    font-size: 1.1rem;
    color: #b8c5d6;
    line-height: 1.8;
    max-width: 800px;
    margin: 0;
    flex-shrink: 0;
}

/* 返回顶部按钮 */
.go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.go-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .main-content {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .main-content {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .main-content {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo {
        width: 200px;
        height: 200px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .main-content {
        gap: 30px;
        justify-content: center;
        width: 100%;
    }
    
    .btn {
        width: 200px;
        height: 120px;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .main-content {
        gap: 20px;
    }
    
    .btn {
        width: 180px;
        height: 100px;
        padding: 12px 15px;
    }
    
    .btn-text {
        font-size: 0.9rem;
    }
    
    .btn-icon {
        font-size: 1.5rem;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .btn {
        width: 200px;
        height: 120px;
        padding: 15px 20px;
    }
    
    .btn-text {
        font-size: 1.1rem;
    }
    
    .btn-icon {
        font-size: 2.2rem;
    }
}

/* 特斯拉车机系统特殊优化 */
@media screen and (max-height: 800px) {
    .header {
        margin-bottom: 10px;
        padding: 15px 0;
    }
    
    .logo {
        width: 250px;
        height: 250px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .main-content {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .btn {
        width: 200px;
        height: 120px;
        padding: 15px 20px;
    }
}

@media screen and (max-height: 700px) {
    .header {
        margin-bottom: 8px;
        padding: 12px 0;
    }
    
    .logo {
        width: 220px;
        height: 220px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .main-content {
        gap: 18px;
        margin-bottom: 20px;
    }
}

@media screen and (max-height: 600px) {
    .header {
        margin-bottom: 5px;
        padding: 10px 0;
    }
    
    .logo {
        width: 180px;
        height: 180px;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .main-content {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .btn {
        width: 180px;
        height: 100px;
        padding: 10px 15px;
    }
    
    .footer {
        margin-top: 20px;
        padding: 15px 0;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .footer-subtitle {
        font-size: 0.7rem;
    }
}

@media screen and (max-height: 500px) {
    .header {
        margin-bottom: 3px;
        padding: 8px 0;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .main-title {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.75rem;
    }
    
    .main-content {
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .btn {
        width: 160px;
        height: 90px;
        padding: 8px 12px;
    }
    
    .footer {
        margin-top: 15px;
        padding: 10px 0;
    }
}

@media screen and (max-height: 400px) {
    .header {
        margin-bottom: 2px;
        padding: 6px 0;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .main-title {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .main-content {
        gap: 10px;
        margin-bottom: 8px;
    }
    
    .btn {
        width: 140px;
        height: 80px;
        padding: 6px 10px;
    }
    
    .footer {
        margin-top: 10px;
        padding: 8px 0;
    }
}

/* 页脚样式 */
.footer {
    margin-top: auto;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.copyright {
    color: #b8c5d6;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
}

.footer-subtitle {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 300;
    margin: 0;
}
