/* ============================================
   剧宝宝·《遂宁，大小姐回来啦》招商官网 响应式样式
   ============================================ */

@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
    .hero-carousel .slide-content h2 {
        font-size: 2.6rem;
    }
    .hero-carousel .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0 20px;
        height: 64px;
    }
    body {
        padding-top: 64px;
    }
    .hero-carousel .slide-content h2 {
        font-size: 2.2rem;
    }

    .honor-grid {
        grid-template-columns: 1fr 1fr;
    }
    .actor-layout {
        grid-template-columns: 1fr;
    }
    .story-layout {
        grid-template-columns: 1fr;
    }
    .scene-layout {
        grid-template-columns: 1fr;
    }
    .verify-grid {
        grid-template-columns: 1fr 1fr;
    }
    .file-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer .container {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 60px;
        padding: 0 16px;
    }
    body {
        padding-top: 60px;
    }
    .navbar .logo {
        font-size: 1rem;
    }
    .navbar .logo img {
        height: 32px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(245, 240, 232, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 2px solid var(--wood-light);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        font-size: 1rem;
        padding: 8px 0;
        width: 100%;
        text-align: center;
    }
    .nav-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    .hamburger {
        display: flex;
    }

    /* 轮播移动端优化 */
    .hero-carousel {
        aspect-ratio: 16 / 9;
        /* 不设 max-height，由宽度自动决定高度 */
    }
    .hero-carousel .slide-content {
        bottom: 12%;
        left: 5%;
        max-width: 80%;
    }
    .hero-carousel .slide-content h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .hero-carousel .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    .hero-carousel .slide-content .btns .btn-primary,
    .hero-carousel .slide-content .btns .btn-secondary {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }

    .section-title {
        font-size: 1.6rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .honor-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .honor-card {
        padding: 28px 20px;
    }

    .actor-cards {
        grid-template-columns: 1fr 1fr;
    }
    .actor-right .qr-wrapper {
        width: 160px;
        height: 160px;
    }
    .actor-right {
        padding: 28px 20px;
    }

    .story-text p {
        font-size: 0.95rem;
    }

    .sponsor-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sponsor-card .price {
        font-size: 1.8rem;
    }
    .sponsor-card {
        padding: 24px 16px;
    }

    .scene-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .verify-grid {
        grid-template-columns: 1fr;
    }

    .file-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-left h2 {
        font-size: 1.8rem;
    }
    .contact-left p {
        font-size: 0.95rem;
    }

    .footer .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer .qr-grid {
        justify-content: flex-start;
    }
    .footer .bottom {
        flex-direction: column;
        gap: 8px;
    }

    .float-actions {
        right: 12px;
        bottom: 80px;
    }
    .float-actions .btn-float {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .modal-content {
        padding: 32px 20px;
    }
    .modal-content .qr-large {
        width: 180px;
        height: 180px;
    }

    .video-wrapper .video-caption {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    .video-wrapper .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .compliance-banner {
        font-size: 0.8rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 56px;
        padding: 0 12px;
    }
    body {
        padding-top: 56px;
    }
    .navbar .logo {
        font-size: 0.85rem;
    }
    .navbar .logo img {
        height: 28px;
    }
    .nav-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    /* 小屏手机轮播 */
    .hero-carousel {
        aspect-ratio: 16 / 9;
        /* 不设 max-height */
    }
    .hero-carousel .slide-content {
        bottom: 10%;
        left: 4%;
        max-width: 90%;
    }
    .hero-carousel .slide-content h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .hero-carousel .slide-content p {
        font-size: 0.8rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .hero-carousel .slide-content .btns .btn-primary,
    .hero-carousel .slide-content .btns .btn-secondary {
        padding: 6px 12px;
        font-size: 0.7rem;
        border-radius: 30px;
    }
    .hero-carousel .slide-content .badge {
        font-size: 0.6rem;
        padding: 2px 12px;
        margin-bottom: 8px;
    }
    .carousel-dots .dot {
        width: 8px;
        height: 8px;
    }

    .container {
        padding: 0 14px;
    }

    .section-title {
        font-size: 1.3rem;
    }
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }

    .honor-card {
        padding: 20px 16px;
    }
    .honor-card .icon {
        font-size: 2rem;
    }
    .honor-card h3 {
        font-size: 1rem;
    }
    .honor-card p {
        font-size: 0.85rem;
    }

    .actor-cards {
        grid-template-columns: 1fr;
    }
    .actor-right .qr-wrapper {
        width: 140px;
        height: 140px;
    }

    .sponsor-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sponsor-card .price {
        font-size: 1.6rem;
    }
    .sponsor-card {
        padding: 20px 16px;
    }

    .scene-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-wrapper .video-caption {
        font-size: 0.8rem;
        padding: 10px 14px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-wood {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .contact-left .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .contact-right .qr-wrapper {
        width: 140px;
        height: 140px;
    }

    .float-actions {
        right: 8px;
        bottom: 70px;
        gap: 8px;
    }
    .float-actions .btn-float {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .modal-content {
        padding: 24px 16px;
    }
    .modal-content .qr-large {
        width: 150px;
        height: 150px;
    }
    .modal-content h3 {
        font-size: 1.1rem;
    }

    .footer {
        padding: 32px 16px 20px;
    }
    .footer .qr-grid .qr-item img {
        width: 60px;
        height: 60px;
    }
}