/* 钱包验证联盟 响应式样式文件 */

/* 平板设备样式 (768px以下) */
@media (max-width: 768px) {
    
    /* 导航栏响应式 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--background-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
        padding-top: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-right: 1rem;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero区域响应式 */
    .minimal-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.28rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.44rem;
    }
    
    /* Section通用响应式 */
    .minimal-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* 关于联盟区域响应式 */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card .feature-icon {
        font-size: 2.5rem;
    }
    
    /* 工作流程响应式 */
    .workflow-steps {
        gap: 1.5rem;
    }
    
    .workflow-step {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Footer响应式 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

/* 手机设备样式 (480px以下) */
@media (max-width: 480px) {
    
    .container {
        padding: 0 15px;
    }
    
    /* 导航栏手机适配 */
    .minimal-nav .container {
        padding: 0.8rem 15px;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    /* Hero区域手机适配 */
    .minimal-hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 2.35rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.82rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Section手机适配 */
    .minimal-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    /* 关于联盟区域手机适配 */
    .about-grid {
        gap: 1rem;
    }
    
    .about-card {
        padding: 1rem;
    }
    
    .about-card h3 {
        font-size: 1.1rem;
    }
    
    .about-card p {
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }

    /* 工作流程手机适配 */
    .workflow-step {
        padding: 1rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* Footer手机适配 */
    .minimal-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-links h4,
    .footer-social h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .social-link {
        font-size: 0.7rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }

    .contact-note {
        font-size: 0.75rem;
    }
}

/* 超小屏幕设备样式 (320px以下) */
@media (max-width: 320px) {
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.08rem;
    }
}

/* 大屏幕设备样式 (1200px以上) */
@media (min-width: 1200px) {
    
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-description {
        font-size: 1.2rem;
    }
}

/* 横屏设备样式 */
@media (orientation: landscape) and (max-height: 500px) {
    
    .minimal-hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 2rem;
    }
    
    .minimal-section {
        padding: 40px 0;
    }
}

/* 高分辨率屏幕适配 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 打印样式 */
@media print {
    
    .minimal-header,
    .nav-toggle,
    .minimal-footer {
        display: none;
    }
    
    .minimal-hero {
        background: none;
        color: var(--text-primary);
    }
    
    .minimal-section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .section-title {
        color: var(--text-primary);
    }
    
    .feature-icon {
        background-color: var(--text-secondary) !important;
    }
}

/* 无障碍功能支持 */
@media (prefers-reduced-motion: reduce) {
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

