/* ClutchDEX 公共样式 - 用于 index, about, faq 页面 */

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 16px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: auto;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-links a:hover {
    background: rgba(103, 232, 249, 0.3);
}

.connect-wallet {
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    padding: 8px 20px !important;
    border-radius: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.connect-wallet:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.wallet-logo {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-logo img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.wallet-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* 白皮书下拉菜单样式 */
.whitepaper-dropdown {
    position: relative;
    display: inline-block;
}

.whitepaper-btn {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.whitepaper-btn:hover {
    background: rgba(103, 232, 249, 0.3);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 8px;
    min-width: 120px;
    z-index: 1001;
    margin-top: 5px;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(103, 232, 249, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(103, 232, 249, 0.2);
}

/* 浮动气泡容器样式 */
.floating-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(0, 247, 255, 0.3), rgba(0, 247, 255, 0.1));
    border-radius: 50%;
    border: 1px solid rgba(0, 247, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.2);
    animation: bubble-float linear infinite;
    opacity: 0;
}

@keyframes bubble-float {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateY(90vh) scale(0.7);
    }
    50% {
        opacity: 0.8;
        transform: translateY(50vh) scale(1);
    }
    90% {
        opacity: 0.6;
        transform: translateY(10vh) scale(0.8);
    }
    100% {
        transform: translateY(-10vh) scale(0.3);
        opacity: 0;
    }
}

.floating-bubble.small {
    width: 40px;
    height: 40px;
}

.floating-bubble.medium {
    width: 70px;
    height: 70px;
}

.floating-bubble.large {
    width: 100px;
    height: 100px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 底部信息区域样式 - 公共组件 */
.footer-info-section {
    padding: 60px 20px 40px;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-top: 1px solid rgba(103, 232, 249, 0.2);
}

.footer-content {
    max-width: 1500px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin: 0 0 5px 0;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 5px 0;
    font-weight: 400;
}

.brand-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
}

.brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.company-info-row {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.company-info-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-row {
    text-align: left;
    margin-bottom: 15px;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.contact-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.contact-value {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
}

.contact-value a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-value a:hover {
    opacity: 0.8;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.social-icon {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* 底部信息区域响应式设计 */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .company-info-row {
        flex-direction: column;
        gap: 10px;
    }

    .contact-content {
        flex-direction: column;
        gap: 20px;
    }

    .social-links {
        justify-content: center;
    }
}