/* =============================================
   弹弹play 官网 - Modern Redesign
   Color: #24C0D9 (Teal/Cyan)
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    font-weight: 400;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    font-weight: 600;
    color: #1a1a2e;
}

a {
    color: #24C0D9;
    text-decoration: none;
    transition: color 0.25s ease;
}
a:hover {
    color: #1a9ab5;
    text-decoration: none;
}

/* ---------- Navigation ---------- */
.navbar-modern {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 8px 0;
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-modern .navbar-brand {
    padding: 8px 15px;
}
.navbar-modern .navbar-brand img {
    max-height: 36px;
    transition: transform 0.3s ease;
}
.navbar-modern .navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-modern .navbar-nav > li > a {
    color: #555;
    font-size: 15px;
    font-weight: 500;
    padding: 15px 18px;
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.25s ease;
}
.navbar-modern .navbar-nav > li > a:hover,
.navbar-modern .navbar-nav > li > a:focus {
    color: #24C0D9;
    background: rgba(36, 192, 217, 0.08);
}

.navbar-modern .navbar-toggle {
    border: none;
    margin-top: 12px;
}
.navbar-modern .navbar-toggle .icon-bar {
    background: #555;
    width: 22px;
    height: 2px;
    border-radius: 2px;
}
.navbar-modern .navbar-toggle:hover .icon-bar,
.navbar-modern .navbar-toggle:focus .icon-bar {
    background: #24C0D9;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1cb5ce 0%, #24C0D9 30%, #2dd4bf 70%, #38e8c6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
    pointer-events: none;
}

.hero-container {
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #fff;
}
.hero-content h1 {
    font-size: 2.8em;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero-content .hero-subtitle {
    font-size: 1.25em;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Main download button */
.btn-download-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #fff;
    color: #1cb5ce;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-download-main:hover {
    background: #fff;
    color: #1a9ab5;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    text-decoration: none;
}
.btn-download-main i {
    font-size: 18px;
}

/* More downloads toggle */
.btn-more-downloads {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-more-downloads:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}
.btn-more-downloads .toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 12px;
}
.btn-more-downloads.active .toggle-icon {
    transform: rotate(180deg);
}

/* Download panel */
.download-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin-top: 0;
}
.download-panel.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 25px;
    overflow: visible;
}

.download-panel-inner {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,0.2);
}

.download-panel-inner .dl-group {
    margin-bottom: 10px;
    line-height: 2;
}
.download-panel-inner .dl-group:last-child {
    margin-bottom: 0;
}
.download-panel-inner .dl-label {
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    margin-right: 4px;
}
.download-panel-inner a {
    color: #fff;
    font-size: 14px;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.download-panel-inner a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-bottom-color: #fff;
}
.download-panel-inner .dl-sep {
    color: rgba(255,255,255,0.35);
    margin: 0 2px;
}

/* Hidden images (qrcode popups) */
.hover-qrcode {
    display: none;
    position: absolute;
    left: 0;
    bottom: 100%;
    margin-bottom: 10px;
    max-width: 220px;
    max-height: 220px;
    z-index: 2000;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border-radius: 16px;
    background: #fff;
    padding: 8px;
}

/* Hero image */
.hero-image-wrap {
    text-align: center;
    position: relative;
}
.hero-image-wrap img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ---------- Features Section ---------- */
.features-section {
    padding: 100px 0 80px;
    background: #fff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #24C0D9, #2dd4bf);
    border-radius: 2px;
}
.section-header p {
    color: #666;
    font-size: 1.1em;
    margin-top: 20px;
}

/* Feature cards */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #24C0D9, #2dd4bf);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.feature-card:hover {
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(36, 192, 217, 0.12);
    transform: translateY(-5px);
}
.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(36,192,217,0.1), rgba(45,212,191,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.35s ease;
}
.feature-icon i {
    font-size: 24px;
    color: #24C0D9;
    transition: all 0.35s ease;
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #24C0D9, #2dd4bf);
    transform: scale(1.05);
}
.feature-card:hover .feature-icon i {
    color: #fff;
}

.feature-card h3 {
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a2e;
    text-transform: none;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Footer ---------- */
.footer-modern {
    background: #fafbfc;
    border-top: 1px solid #eee;
    padding: 60px 0 30px;
}

.footer-modern h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-left: 0;
}

.footer-modern ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-modern ul li {
    margin-bottom: 10px;
}
.footer-modern ul li a {
    color: #666;
    font-size: 14px;
    transition: all 0.25s ease;
}
.footer-modern ul li a:hover {
    color: #24C0D9;
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: center;
}
.footer-bottom p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-image-wrap {
        margin-top: 50px;
    }
    .btn-more-downloads {
        margin-left: 0;
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
    }
    .hero-container {
        padding-top: 90px;
        padding-bottom: 60px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h1 {
        font-size: 1.8em;
    }
    .hero-content .hero-subtitle {
        font-size: 1.05em;
    }
    .hero-image-wrap img {
        max-width: 80%;
    }
    .btn-download-main {
        padding: 12px 28px;
        font-size: 15px;
    }
    .btn-more-downloads {
        margin-left: 0;
        margin-top: 12px;
        display: flex;
        justify-content: center;
    }
    .download-panel-inner {
        padding: 18px 20px;
    }
    .features-section {
        padding: 60px 0 40px;
    }
    .section-header h2 {
        font-size: 1.7em;
    }
    .feature-card {
        padding: 24px 20px;
    }
    .footer-modern .col-md-4 {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5em;
    }
    .btn-download-main {
        width: 100%;
        justify-content: center;
    }
    .btn-more-downloads {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Contact Page ---------- */
.contact-hero {
    background: linear-gradient(135deg, #1cb5ce 0%, #24C0D9 50%, #2dd4bf 100%);
    padding: 140px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
}
.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #f7f8fa 0%, transparent 100%);
    pointer-events: none;
}
.contact-hero h1 {
    font-size: 2.4em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.contact-hero p {
    font-size: 1.15em;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
}

.contact-section {
    background: #f7f8fa;
    padding: 60px 0 80px;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    border: 1px solid #eee;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
}
.contact-card:hover {
    box-shadow: 0 8px 30px rgba(36,192,217,0.10);
    transform: translateY(-3px);
}
.contact-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(36,192,217,0.10), rgba(45,212,191,0.10));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.contact-card .card-icon i {
    font-size: 22px;
    color: #24C0D9;
}
.contact-card h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    text-transform: none;
}
.contact-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}
.contact-card a {
    color: #24C0D9;
    font-size: 14px;
}
.contact-card a:hover {
    color: #1a9ab5;
}
.contact-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #24C0D9, #2dd4bf);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.contact-card .card-link:hover {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(36,192,217,0.3);
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 120px 0 60px;
    }
    .contact-hero h1 {
        font-size: 1.8em;
    }
    .contact-section .col-md-4,
    .contact-section .col-md-6 {
        margin-bottom: 24px;
    }
    .contact-card {
        padding: 28px 24px;
    }
}
