/* 前端页面样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    padding-top: 56px;
}

.jumbotron {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.app-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    margin-bottom: 20px;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.app-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.ad-placeholer {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #6c757d;
    margin: 20px 0;
}

.get-code-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.get-code-steps li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
}

.get-code-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #007bff;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.activation-code-display {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    font-family: monospace;
    font-size: 1.2em;
    letter-spacing: 2px;
    text-align: center;
    margin: 20px 0;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tutorial-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tutorial-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.video-tutorial {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 20px 0;
}

.video-tutorial iframe,
.video-tutorial video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding-top: 50px;
    }
    
    .jumbotron {
        padding: 1.5rem;
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-element {
    animation: fadeIn 0.5s ease-out;
}