/* 窗口系统扩展样式 */

/* 应用程序特定窗口样式 */

/* 关于本机窗口 */
.about-window .window-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.system-logo {
    font-size: 64px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.system-info h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.system-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.about-details {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: #555;
    min-width: 120px;
}

.detail-row .value {
    color: #333;
    font-weight: 500;
}

.about-footer {
    text-align: center;
    padding: 20px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.about-footer p {
    color: #4a90e2;
    font-weight: 500;
    font-size: 16px;
}

/* 战队成就窗口 */
.achievements-window .window-content {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e6 100%);
}

.achievements-header {
    text-align: center;
    margin-bottom: 30px;
}

.achievements-header h1 {
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

.placeholder-message {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    margin: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.placeholder-message p {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 1px;
    line-height: 1.6;
}

.achievements-timeline {
    position: relative;
    padding-left: 40px;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ffd700, #ff6b6b);
}

.achievement-item {
    position: relative;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #ffd700;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.achievement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.achievement-date {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.achievement-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.achievement-content p {
    color: #666;
    line-height: 1.5;
}

/* 联系方式窗口 */
.contact-window .window-content {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

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

.contact-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #4a90e2, #357abd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.contact-info p {
    color: #666;
    font-weight: 500;
}

/* 成员档案窗口 */
.member-window .window-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 0; /* iframe 需要满屏显示 */
}


/* 成员 iframe 容器 */
.member-iframe-container {
    width: 100%;
    height: 100%;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.member-iframe-container iframe {
    border: none;
    border-radius: 0 0 12px 12px;
}


/* 成员占位符样式 */
.member-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
}

.member-placeholder .member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-placeholder .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-placeholder .placeholder-content {
    color: #666;
    font-size: 18px;
    font-style: italic;
    opacity: 0.8;
}

.member-header {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(145deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.member-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.member-header p {
    color: #666;
    font-size: 16px;
}

.member-details {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.member-section {
    margin-bottom: 25px;
}

.member-section:last-child {
    margin-bottom: 0;
}

.member-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-section ul {
    list-style: none;
    padding: 0;
}

.member-section li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.member-section li:last-child {
    border-bottom: none;
}

/* 窗口动画 */
.window.opening {
    animation: windowOpen 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes windowOpen {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.window.closing {
    animation: windowClose 0.3s ease-in;
}

@keyframes windowClose {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* 响应式窗口内容 */
@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .system-logo {
        font-size: 48px;
    }

    .system-info h1 {
        font-size: 24px;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .detail-row .label {
        min-width: auto;
        font-size: 14px;
    }

    .achievements-timeline {
        padding-left: 30px;
    }

    .achievements-timeline::before {
        left: 15px;
    }

    .achievement-item::before {
        left: -24px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .member-avatar {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .window {
        margin: 10px;
        width: calc(100% - 20px) !important;
        height: calc(100% - 60px) !important;
    }

    .window-content {
        padding: 15px;
    }

    .about-header,
    .about-details,
    .achievement-item,
    .contact-item,
    .member-header,
    .member-details {
        padding: 15px;
    }

    .system-logo {
        font-size: 40px;
    }

    .system-info h1 {
        font-size: 20px;
    }

    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}