/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #e8e8e8;
    background: #0a0a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #f5af19, #f12711);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #f5af19;
    background: rgba(245, 175, 25, 0.08);
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(245, 175, 25, 0.25), rgba(241, 39, 17, 0.2));
}

/* ===== Banner ===== */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 30%, #0d1b3e 60%, #0a0a1a 100%);
    overflow: hidden;
    padding-bottom: 8vh;
}

.banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
}

@media (max-width: 768px) {
    .banner-bg {
        object-position: center 30%;
    }
}

@media (max-width: 480px) {
    .banner-bg {
        object-fit: cover;
        object-position: center 25%;
    }
}

.banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 175, 25, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(10,10,26,0.1) 0%, rgba(10,10,26,0.3) 70%, rgba(10,10,26,0.7) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.banner-title {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, #f5af19, #f12711, #f5af19);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    margin-bottom: 12px;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.banner-subtitle {
    font-size: 18px;
    color: #c8a86e;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.banner-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 32px;
}

.banner-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f5af19, #f12711);
    color: #fff;
    box-shadow: 0 4px 20px rgba(241, 39, 17, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(241, 39, 17, 0.45);
}

.btn-outline {
    background: transparent;
    color: #f5af19;
    border: 1px solid rgba(245, 175, 25, 0.5);
}

.btn-outline:hover {
    background: rgba(245, 175, 25, 0.1);
    border-color: #f5af19;
}

.btn-block {
    width: 100%;
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f5af19, #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 40px;
}

/* ===== About ===== */
.about-section {
    position: relative;
    background: linear-gradient(180deg, #0a0a1a 0%, #111133 50%, #0d0d28 100%);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(245, 175, 25, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(241, 39, 17, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(100, 100, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-card {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    gap: 0;
}

.about-main {
    flex-shrink: 0;
}

.about-info-row {
    display: flex;
    gap: 12px;
    padding: 8px 0;
}

.about-label {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}

.about-value {
    font-size: 14px;
    color: #e8e8e8;
    font-weight: 600;
}

.about-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(245, 175, 25, 0.2), transparent);
    margin: 0 28px;
    flex-shrink: 0;
}

.about-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.about-qrcode-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode-tip {
    font-size: 11px;
    color: #f5af19;
    font-weight: 500;
}

.about-divider-vertical {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(245, 175, 25, 0.2), transparent);
    margin: 0 28px;
    flex-shrink: 0;
}

.about-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-contact-title {
    font-size: 16px;
    font-weight: 600;
    color: #f5af19;
}

.about-contact-desc {
    font-size: 12px;
    color: #999;
}

.about-contact-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-tag {
    font-size: 11px;
    color: #bbb;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* 移动端：纵向排列 */
@media (max-width: 768px) {
    .about-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
        text-align: center;
    }

    .about-divider,
    .about-divider-vertical {
        width: 60px;
        height: 1px;
        margin: 0 auto;
        background: linear-gradient(to right, transparent, rgba(245, 175, 25, 0.2), transparent);
    }

    .about-main {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .about-contact-tags {
        justify-content: center;
    }

    .about-contact {
        align-items: center;
    }
}

/* ===== Footer ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f5af19;
}

.footer-divider {
    color: #333;
    font-size: 12px;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copyright a:hover {
    color: #f5af19;
    text-decoration: underline;
}

.footer-copyright p {
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 24px;
    width: 100%;
    max-width: 380px;
    position: relative;
    animation: modalIn 0.3s ease;
}

.modal-lg {
    max-width: 520px;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content h3 {
    font-size: 20px;
    color: #f5af19;
    margin-bottom: 20px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #fff;
}

/* ===== Download Modal ===== */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e8e8e8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.download-btn:hover {
    background: rgba(245, 175, 25, 0.1);
    border-color: rgba(245, 175, 25, 0.3);
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.download-icon svg {
    width: 22px;
    height: 22px;
    color: #a4c639;
}

.download-btn:nth-child(2) .download-icon svg {
    color: #999;
}


/* ===== Responsive ===== */
@media (max-width: 480px) {
    .banner-title {
        font-size: 40px;
    }

    .banner-subtitle {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .nav {
        gap: 14px;
    }

    .nav-link {
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }
}
