/* Uwin Static Version - Custom Styles */
/* 补充原有 CSS，添加纯静态版本特有的样式 */

:root {
    --primary-blue: #13346C;
    --primary-gold: #FFE500;
    --bg-dark: #0a1929;
    --text-white: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(to bottom, #0a1929, #13346C);
    min-height: 100vh;
    color: #ffffff;
}

/* 主内容区域居中 */
main, .main-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Navigation Enhancements */
.nav-item {
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 0.8rem 1.6rem;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-item.selected {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Bookmark Button Hover */
.bookmark {
    background: url('../img/backgrounds/bookmark-bg.png') center/cover;
    transition: transform 0.3s ease;
}

.bookmark:hover {
    transform: scale(1.05);
}

/* Hero Banner Background */
.banner {
    background: url('../img/backgrounds/banner-bg.png') center/cover;
    width: 100%;
    overflow: hidden;
}

.bannerContent {
    background: linear-gradient(to bottom, rgba(19, 52, 108, 0.9), rgba(19, 52, 108, 0.95));
    backdrop-filter: blur(10px);
}

/* Box Backgrounds */
.box-bg {
    background: linear-gradient(135deg, rgba(19, 52, 108, 0.6), rgba(10, 25, 41, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.box-bg2 {
    background: linear-gradient(135deg, rgba(19, 52, 108, 0.4), rgba(10, 25, 41, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.box-bg2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* FAQ Accordion */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(19, 52, 108, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.4rem;
    cursor: pointer;
    color: var(--text-white);
    font-size: 1.6rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    fill: var(--text-white);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 2rem 2.4rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1.6rem;
    line-height: 2.8rem;
    margin: 0;
}

/* Footer Background */
.footerBg {
    background: url('../img/backgrounds/footer-bg.png') center/cover;
    background-color: var(--primary-blue);
}

/* Floating Panel */
.floating-panel {
    animation: floatAnimation 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-panel:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    background: linear-gradient(135deg, rgba(19, 52, 108, 0.9), rgba(10, 25, 41, 0.9));
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.btn {
    background: url('../img/backgrounds/float-btn-bg.png') center/cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.1);
    background-color: rgba(255, 229, 0, 0.2);
}

.btn svg {
    fill: var(--text-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .w-9/10 {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        font-size: 1.2rem;
    }
    
    .w-560 {
        width: 100%;
        height: auto;
    }
    
    .bannerContent {
        flex-direction: column;
        text-align: center;
        height: auto !important;
    }
    
    .floating-panel {
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .flex.gap-6 {
        flex-direction: column;
    }
}

/* Image Hover Effects */
img[alt*="btn"], img[alt*="button"] {
    transition: transform 0.3s ease, filter 0.3s ease;
}

img[alt*="btn"]:hover, img[alt*="button"]:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Link Hover Effects */
a {
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-gold) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
img {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Selection Color */
::selection {
    background: var(--primary-gold);
    color: var(--primary-blue);
}
