/* ===== 响应式设计 - 暗色主题 ===== */

/* 大屏幕 */
@media screen and (max-width: 1200px) {
    .navbar-top-content {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-bottom .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* 平板设备 */
@media screen and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-content {
        gap: 40px;
    }

    .slide-content h1 {
        font-size: 42px;
    }

    .slide-content p {
        font-size: 20px;
    }

    .live-prices-content {
        grid-template-columns: 1fr;
    }

    .price-cards {
        height: auto;
        max-height: 400px;
    }

    .chart-container {
        height: 450px;
    }

    .hero-content-wrapper {
        gap: 40px;
    }

    .live-terminal {
        min-width: 350px;
        width: 350px;
    }
}

/* 移动设备 */
@media screen and (max-width: 768px) {
    .navbar-top {
        padding: 12px 0;
    }

    .navbar-actions {
        gap: 8px;
    }

    .btn-nav {
        padding: 6px 12px;
        font-size: 12px;
        min-width: auto;
        height: 36px;
    }

    .language-selector {
        display: none;
    }

    .navbar-bottom {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-banner {
        min-height: 360px;
        margin-top: 72px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-value {
        font-size: 20px;
    }

    .live-terminal {
        min-width: auto;
        width: 100%;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    .live-prices {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .live-prices-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-cards {
        height: auto;
        max-height: 350px;
        padding-right: 0;
    }

    .price-card {
        height: auto;
        min-height: 140px;
    }

    .price-card:hover,
    .price-card.active {
        height: auto;
    }

    .chart-container {
        height: 400px;
    }

    .price-row {
        padding: 12px 16px;
        font-size: 14px;
    }

    .price-cell {
        font-size: 13px;
    }

    .cta-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .cta-wrapper .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-image {
        order: -1;
    }

    .section-text h2 {
        font-size: 28px;
    }

    .section-text p {
        font-size: 14px;
    }

    .liquidity-providers {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .lp-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lp-item {
        padding: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 30px 20px;
    }

    .product-icon {
        width: 60px;
        height: 60px;
    }

    .product-card h3 {
        font-size: 20px;
    }

    .product-card p {
        font-size: 13px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-feature {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    /* 下拉菜单移动端适配 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 180, 216, 0.03);
        padding: 8px 0 8px 12px;
        display: none;
        min-width: auto;
        border-radius: 8px;
    }

    .dropdown.mobile-open > .dropdown-menu {
        display: block;
    }
}

/* 小型移动设备 */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-banner {
        height: auto;
        min-height: 300px;
    }

    .hero-text h1 {
        font-size: 22px;
    }

    .slide-content h1 {
        font-size: 26px;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn-slide-download,
    .btn-slide-view {
        padding: 12px 30px;
        font-size: 14px;
    }

    .stats-bar {
        padding: 30px 0;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .chart-container {
        height: 350px;
        padding: 16px;
    }

    .chart-header h3 {
        font-size: 18px;
    }

    .price-value {
        font-size: 22px;
    }

    .timeframe-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .price-row {
        flex-wrap: wrap;
        padding: 10px 12px;
    }

    .price-cell {
        flex: 0 0 50%;
        text-align: left !important;
        padding: 4px 0;
    }

    .price-cell:last-child {
        flex: 0 0 100%;
        text-align: center;
        margin-top: 8px;
    }

    .section-text h2 {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }
}

/* 横屏模式 */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero-banner {
        min-height: 280px;
    }

    .hero-text h1 {
        font-size: 22px;
    }

    .hero-text p {
        font-size: 14px;
    }
}

/* 高分辨率设备 */
@media screen and (min-resolution: 2dppx) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 横竖屏切换处理 */
@media screen and (orientation: landscape) {
    .mobile-menu {
        max-width: 100%;
    }
}
