/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4a843;
    --gold-light: #f0d68a;
    --gold-dark: #8b6914;
    --dark: #0a0a0f;
    --dark-2: #12121a;
    --dark-3: #1a1a28;
    --white: #e8e6e0;
    --white-dim: #9a9890;
    --red: #c0392b;
    --overlay: rgba(0, 0, 0, 0.65);
    --font-title: 'STKaiti', 'KaiTi', '楷体', 'Noto Serif SC', serif;
    --font-body: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========== Navigation ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.nav-logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 2px;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--white-dim);
    transition: color 0.3s;
    position: relative;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #1a1a1a !important;
    padding: 0.5rem 1.4rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem !important;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
    color: #1a1a1a !important;
}
.nav-cta::after { display: none !important; }

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,10,15,0.5) 0%,
        rgba(10,10,15,0.65) 40%,
        rgba(10,10,15,0.85) 80%,
        var(--dark) 100%);
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    animation: floatUp 4s infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.4);
    color: var(--gold);
    padding: 0.4rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 6px;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 0 40px rgba(212,168,67,0.3);
}

.hero-subtitle {
    font-family: var(--font-title);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--white-dim);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Hero QR Wrapper */
.hero-btn-qr-wrapper {
    position: relative;
    display: inline-block;
}

.hero-qr-popup {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #1a1a2e, #16162a);
    border: 1px solid rgba(212, 168, 67, 0.35);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.hero-btn-qr-wrapper:hover .hero-qr-popup {
    opacity: 1;
    visibility: visible;
}

.hero-qr-arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #1a1a2e, #1a1a2e);
    border-left: 1px solid rgba(212, 168, 67, 0.35);
    border-top: 1px solid rgba(212, 168, 67, 0.35);
}

#heroQrCode {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#heroQrCode img,
#heroQrCode canvas {
    width: 130px !important;
    height: 130px !important;
    border-radius: 8px;
}

.hero-qr-text {
    color: var(--white-dim);
    font-size: 0.75rem;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* Mobile: hide QR popup on hero */
@media (max-width: 768px) {
    .hero-btn-qr-wrapper:hover .hero-qr-popup {
        opacity: 0;
        visibility: hidden;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #8b6914, var(--gold), #c9a84c);
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: rgba(212, 168, 67, 0.1);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-scroll svg {
    width: 28px;
    height: 28px;
    stroke: var(--gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ========== Section Common ========== */
.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    position: relative;
    padding: 0 1.5rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.section-tag::before { left: -10px; }
.section-tag::after { right: -10px; }

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--white-dim);
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== About Section ========== */
#about {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(212, 168, 67, 0.2);
    border-radius: 16px;
    z-index: 1;
    pointer-events: none;
}

.about-text h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.about-text p {
    color: var(--white-dim);
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 1rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.about-tag {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gold-light);
    letter-spacing: 1px;
    transition: all 0.3s;
}

.about-tag:hover {
    background: rgba(212, 168, 67, 0.1);
    border-color: var(--gold);
}

/* ========== Info Cards ========== */
#info {
    background: var(--dark-2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background: var(--dark-3);
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.info-card h4 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.info-card p {
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== Features Section ========== */
#features {
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: var(--dark-3);
    border: 1px solid rgba(212, 168, 67, 0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212,168,67,0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.2), rgba(212, 168, 67, 0.08));
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 18px;
    color: var(--gold);
    transition: all 0.4s;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-item:hover .feature-icon {
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(212, 168, 67, 0.2);
    transform: scale(1.05);
}

.feature-item h4 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.feature-item p {
    color: var(--white-dim);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========== Benefits Section ========== */
#benefits {
    background: var(--dark-2);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    background: linear-gradient(135deg, var(--dark-3), rgba(212, 168, 67, 0.03));
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: all 0.3s;
    position: relative;
}

.benefit-item:hover {
    border-color: rgba(212, 168, 67, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-num {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
    line-height: 1;
}

.benefit-content h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}

.benefit-content p {
    font-size: 0.9rem;
    color: var(--white-dim);
    line-height: 1.6;
}

.benefit-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.3), rgba(212, 168, 67, 0.1));
    border-color: rgba(212, 168, 67, 0.4);
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
}

.benefit-highlight h4 {
    font-size: 1.4rem !important;
    color: var(--gold) !important;
}

.benefit-highlight .benefit-num {
    color: var(--gold);
    opacity: 1;
    font-size: 2.5rem;
}

/* ========== Videos Section ========== */
#videos {
    background: var(--dark);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.video-card {
    background: var(--dark-3);
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
}

.video-card:hover {
    border-color: rgba(212, 168, 67, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-6px);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s, background 0.3s;
    pointer-events: none;
}

.video-play-overlay svg {
    width: 72px;
    height: 72px;
    transition: transform 0.3s;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.video-player-wrapper:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.15);
}

.video-player-wrapper:hover .video-play-overlay svg {
    transform: scale(1.1);
}

.video-player-wrapper.playing .video-play-overlay {
    opacity: 0;
}

.video-info {
    padding: 1.5rem 1.8rem;
}

.video-info h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.3rem;
    letter-spacing: 2px;
}

.video-info p {
    color: var(--white-dim);
    font-size: 0.9rem;
}

/* ========== Screenshots Carousel ========== */
#screenshots {
    background: var(--dark-2);
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 0.75rem;
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s, box-shadow 0.4s;
}

.carousel-slide:hover img {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 168, 67, 0.4);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn:hover {
    background: rgba(212, 168, 67, 0.15);
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 168, 67, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 168, 67, 0.4);
}

.carousel-dot:hover {
    border-color: var(--gold);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* ========== CTA Section ========== */
#download {
    background: linear-gradient(180deg, var(--dark-2), var(--dark));
    text-align: center;
}

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.08), rgba(212, 168, 67, 0.04));
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212,168,67,0.05) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--white-dim);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-qrcode {
    display: flex;
    justify-content: center;
    margin: 2rem auto 0;
}

.cta-qrcode img,
.cta-qrcode canvas {
    border: 3px solid rgba(212, 168, 67, 0.3) !important;
    border-radius: 12px !important;
    width: 150px !important;
    height: 150px !important;
}

.cta-qr-text {
    text-align: center;
    color: var(--white-dim);
    font-size: 0.85rem;
    margin: 0.8rem 0 0;
    letter-spacing: 2px;
}

.platform-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--dark-3);
    border-radius: 25px;
    color: var(--white-dim);
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.08);
}

/* ========== Links Section ========== */
#links {
    background: var(--dark);
}

.links-bar {
    text-align: center;
    color: var(--white-dim);
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.links-bar span {
    color: var(--gold);
    letter-spacing: 1px;
}

.links-bar a {
    color: var(--white-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.links-bar a:hover {
    color: var(--gold);
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-3);
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(212, 168, 67, 0.08);
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--white-dim);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ========== Scroll Reveal ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .carousel-wrapper {
        padding: 0 2.5rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(212, 168, 67, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        flex: 0 0 50%;
    }

    .carousel-wrapper {
        padding: 0 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        padding: 0 1rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-qr-wrapper {
        width: 100%;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        letter-spacing: 3px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1.2rem;
        right: 1.2rem;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 168, 67, 0.4);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top:hover {
    background: rgba(212, 168, 67, 0.15);
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
    transform: translateY(-3px);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}
