/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* 当有背景图片时的覆盖层 */
body[style*="background-image"] {
    position: relative;
}

body[style*="background-image"]::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    margin-bottom: 20px;
}

.logo-icon {
    display: inline-flex;
    gap: 5px;
    font-size: 2.5rem;
    color: #ffd700;
    position: relative;
}

.logo-icon .fas:first-child {
    color: #ffd700;
    transform: rotate(15deg);
}

.logo-icon .fas:last-child {
    color: #ffffff;
    transform: rotate(-15deg) translateX(-10px);
}

.logo-icon .site-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.logo-icon .site-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.status-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #888;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.status-icon:before {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.status-icon:hover:before {
    opacity: 1;
}

.status-icon.active {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
}

.status-icon:hover {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    transform: scale(1.1);
    border-color: rgba(255, 215, 0, 0.5);
}

/* QQ图标特殊样式 */
.status-icon .fa-qq {
    color: #1296db;
}

.status-icon.active .fa-qq {
    color: #ffd700;
}

/* 微信图标特殊样式 */
.status-icon .fa-weixin {
    color: #07c160;
}

.status-icon.active .fa-weixin {
    color: #ffd700;
}

/* Main Content */
.main-content {
    flex: 1;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffd700;
    flex-shrink: 0;
}

.card-icon img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 10px;
    max-width: 46px;
    max-height: 46px;
}

.card-icon.close-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
}

.card-icon.special-icon {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.card-content p {
    font-size: 0.9rem;
    color: #aaa;
}

.card-action {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s ease;
}

.service-card:hover .card-action {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 15px;
        gap: 15px;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .card-icon img {
        width: 41px;
        height: 41px;
        object-fit: cover;
        border-radius: 8px;
        max-width: 41px;
        max-height: 41px;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
    
    .status-icons {
        gap: 15px;
    }
    
    .status-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 12px;
        gap: 12px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .card-icon img {
        width: 36px;
        height: 36px;
        object-fit: cover;
        border-radius: 6px;
        max-width: 36px;
        max-height: 36px;
    }
    
    .card-content h3 {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .card-action {
        width: 35px;
        height: 35px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

/* Loading Animation for Logo */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-icon:hover .fas {
    animation: rotate 2s linear infinite;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #666;
}

.empty-state p {
    font-size: 0.9rem;
    color: #888;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}
