      * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'DM Sans', sans-serif;
            background: #FFFFFF;
            color: #111111;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .top-bar {
            background-color: #333;
            color: white;
            width: 100%;
            padding: 10px 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 13px;
            gap: 60px;
            font-family: 'Montserrat', sans-serif;
        }
        .top-bar img {
            width: 20px; height: 20px;
            border-radius: 50%; object-fit: cover;
        }

        .mobile-wrapper {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            background: #fff;
        }

        .section-divider {
            width: 100%;
            height: 1px;
            background: #EBEBEB;
            margin: 10px 0;
        }

        .s1-container {
            width: 100%;
            padding: 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            font-family: 'Montserrat', sans-serif;
        }

        .logo-container { width: 100%; margin-bottom: 10px; }
        .logo-img { max-width: 180px; height: auto; }

        .hero-image { width: 100%; margin-bottom: 5px; }
        .hero-img { width: 100%; max-height: 400px; object-fit: contain; }

        .subtitle { font-size: 14px; margin-bottom: 15px; font-weight: 500; }

        .badge {
            border: 2px solid #c5a059;
            color: #c5a059;
            display: inline-block;
            padding: 6px 20px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 20px;
            margin-bottom: 15px;
            text-transform: uppercase;
            animation: badgeGlow 10s ease-in-out infinite;
        }
        @keyframes badgeGlow {
            0%, 80%, 100% {
                box-shadow: none;
                border-color: #c5a059;
                color: #c5a059;
            }
            85% {
                box-shadow: 0 0 20px 1px #C19615, 0 0 20px 1px #C19615;
                border-color: #C19615;
                color: #C19615;
            }
            92% {
                box-shadow: none;
                border-color: #c5a059;
                color: #c5a059;
            }
            95% {
                box-shadow: 0 0 20px 1px #C19615, 0 0 20px 1px #C19615;
                border-color: #C19615;
                color: #C19615;
            }
        }

        .s1-h1 { font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
        .s1-description { color: #666; font-size: 14px; margin-bottom: 25px; padding: 0 10px; }

        .stats-card {
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 20px;
            padding: 15px 22px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        .stats-left { text-align: left; }
        .stats-label { display: block; font-weight: 700; font-size: 22px; }
        .stats-sub { color: #999; font-size: 14px; }
        .stats-value { font-size: 24px; font-weight: 700; color: #c5a059; }
        .prize-container { display: flex; align-items: center; gap: 10px; }
        .price-icon { width: 24px; height: 24px; object-fit: contain; }

        .marquee-wrapper {
            width: 100%;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            padding: 15px 0;
            margin: 15px 0;
            overflow: hidden;
            white-space: nowrap;
        }
        .marquee-content {
            display: inline-block;
            animation: marquee 25s linear infinite;
            font-size: 16px;
            font-weight: 600;
        }
        .marquee-item { display: inline-block; margin-right: 50px; }
        .blue-text { color: #007bff; }
        .gold-text { color: #c5a059; }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .s1-buttons-group { width: 100%; display: flex; flex-direction: column; gap: 12px; }
        .btn-s1 {
            width: 100%; padding: 16px;
            border-radius: 40px;
            text-decoration: none;
            font-size: 24px;
            font-weight: 600;
            text-align: center;
            display: block;
        }
        .btn-s1-black { background-color: #000; color: #fff; }
        .btn-s1-outline { border: 2.5px solid #000; color: #000; }

        .s2-container { padding-bottom: 10px; }

        .carousel {
            display: flex;
            gap: 15px;
            padding: 20px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
        }
        .carousel::-webkit-scrollbar { display: none; }

        .slide {
            min-width: 280px; height: 150px;
            background: #2F302F;
            border-radius: 20px;
            border: 2px solid #C5A059;
            padding: 20px;
            color: white;
            scroll-snap-align: center;
            position: relative;
        }
        .slide .live-badge {
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.3);
            padding: 4px 15px; border-radius: 10px;
            font-size: 12px; text-transform: uppercase;
            display: inline-block; margin-bottom: 10px;
        }
        .slide h3 { font-family: 'Syne', sans-serif; font-size: 20px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
        .slide .pts { position: absolute; bottom: 15px; left: 20px; color: #C5A059; font-weight: 700; font-size: 18px; }

        .dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
        .dot { width: 8px; height: 8px; background: #D9D9D9; border-radius: 50%; }
        .dot.active { background: #333; width: 10px; height: 10px; }

        .product-card {
            margin: 0 20px 20px;
            border-radius: 20px;
            padding: 15px;
            position: relative;
            border: 1px solid #E0E0E0;
        }
        .card-gold { background: linear-gradient(180deg, #F9F3E5 0%, #FFFFFF 100%); border: 1px solid #C5A059; }

        .product-layout { display: flex; gap: 15px; margin-bottom: 15px; }
        .product-img { width: 140px; height: 140px; border-radius: 12px; object-fit: cover; background: #eee; flex-shrink: 0; display: block; }

        .product-info h4 { font-family: 'Syne', sans-serif; font-size: 18px; margin-bottom: 5px; }
        .product-info p { font-size: 11px; color: #666; margin-bottom: 10px; line-height: 1.3; }
        .product-info ul { list-style: none; font-size: 12px; font-weight: 700; }
        .product-info ul li::before { content: "• "; }

        .price-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
        .old-price { text-decoration: line-through; color: #000; font-weight: 700; font-size: 20px; }
        .new-price { color: #FF4D00; font-weight: 800; font-size: 24px; }

        .bonus-tag {
            background: #FF4D00; color: white;
            padding: 4px 10px; border-radius: 8px;
            font-size: 10px; font-weight: 700;
            display: inline-flex; align-items: center; gap: 4px;
        }

        .btn-group { display: flex; gap: 8px; margin-bottom: 8px; }
        .btn-sm {
            flex: 1; padding: 10px; border-radius: 10px;
            font-size: 12px; font-weight: 700;
            border: 1px solid #000; background: #fff;
            cursor: pointer; text-align: center;
            text-decoration: none; color: #000;
            display: block;
        }
        .btn-sm.black { background: #000; color: #fff; }
        .btn-buy { width: 100%; padding: 12px; border-radius: 12px; background: #FFF; border: 1px solid #000; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 14px; }
        .card-gold .btn-buy { background: #C5A059; color: white; border: none; }

        .how-to { padding: 20px; }
        .how-to-title { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
        .how-to-text { font-size: 13px; color: #666; margin-bottom: 25px; line-height: 1.4; }

        .how-to-body {
            display: flex;
            align-items: flex-start;
            gap: 0;
        }

        .steps-col {
            flex: 1;
            min-width: 0;
        }

        .step { display: flex; gap: 15px; margin-bottom: 30px; position: relative; }
        .step-icon { width: 60px; height: 60px; object-fit: contain; }
        .step-icon-link {
            width: 60px; height: 60px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            font-size: 11px; color: #999; text-decoration: none;
            border-radius: 8px; text-align: center;
        }
        .step-content h5 { font-family: 'Syne', sans-serif; font-size: 18px; margin-bottom: 5px; }
        .step-content p { font-size: 12px; color: #666; }

        .badges-cascade {
            position: relative;
            width: 115px;
            flex-shrink: 0;
            height: 230px;
        }

        .floating-badge {
            position: absolute;
            padding: 7px 14px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            color: white;
            white-space: nowrap;
        }

        .badge-orange { background: #FF4D00; top:   0px; right:  0px; transform: rotate(-23.15deg); }
        .badge-blue   { background: #42AAFF; top:  42px; right: 10px; transform: rotate(6.76deg); }
        .badge-green  { background: #00A300; top:  84px; left:  0px;  transform: rotate(-23.63deg); }
        .badge-purple { background: #3300CC; top: 126px; right:  6px; transform: rotate(2.61deg); }
        .badge-gold-f { background: #C5A059; top: 168px; left:  4px;  transform: rotate(27.51deg); }

        .footer-btns { padding: 0 20px; }
        .btn-main {
            width: 100%; height: 65px; border-radius: 20px; font-size: 24px; font-weight: 700;
            display: flex; align-items: center; justify-content: center;
            text-decoration: none; margin-bottom: 15px;
        }
        .btn-outline-main { border: 2px solid #000; color: #000; }
        .btn-filled-main { background: #000; color: #fff; }

        .s3-container { padding: 20px; }

        .section-header { display: flex; align-items: center; gap: 10px; margin: 25px 0 15px; }
        .section-header h2 { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 700; }
        .icon-main { font-size: 28px; }

        .rewards-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px; margin-bottom: 12px;
        }
        .reward-card {
            border: 1px solid #000; border-radius: 12px;
            padding: 15px; height: 120px;
            display: flex; flex-direction: column; justify-content: flex-start;
        }
        .reward-card .icon-sm { font-size: 24px; margin-bottom: 10px; display: block; }
        .reward-card p { font-size: 14px; font-weight: 500; line-height: 1.2; }

        .testimonial-card {
            border: 1px solid #000; border-radius: 12px;
            padding: 15px; display: flex; gap: 15px;
            margin-bottom: 25px; align-items: center;
        }
        .testimonial-text { flex: 1; font-size: 14px; font-weight: 500; line-height: 1.3; }
        .testimonial-photo {
            width: 120px; height: 85px;
            background: #E0E0E0; border-radius: 8px;
            flex-shrink: 0; overflow: hidden;
        }
        .testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }

        .cta-banner {
            background: #000; border: 2px solid #C5A059;
            border-radius: 35px; padding: 18px;
            text-align: center; color: #FFF;
            text-decoration: none; display: block;
            margin-bottom: 20px; font-size: 14px;
            font-weight: 600; line-height: 1.4;
        }

        .btn-toggle-group {
            display: flex; border-radius: 35px;
            overflow: hidden; border: 2px solid #000; margin-bottom: 30px;
        }
        .btn-tab {
            flex: 1; padding: 15px; text-align: center;
            text-decoration: none; font-weight: 700;
            font-size: 22px;
        }
        .btn-tab.black { background: #000; color: #FFF; }
        .btn-tab.white { background: #FFF; color: #000; }

        .lb-meta { margin-bottom: 20px; }
        .lb-meta p { font-size: 14px; font-weight: 500; }
        .lb-meta span { color: #666; font-size: 12px; display: block; margin-top: 4px; }

        .lb-header, .lb-row {
            display: grid;
            grid-template-columns: 45px 1fr 95px 70px;
            align-items: center; gap: 8px;
        }
        .lb-header {
            font-size: 11px; font-weight: 700; color: #111;
            padding-bottom: 8px; margin-bottom: 12px;
        }
        .text-right { text-align: right; }
        .lb-row { margin-bottom: 18px; }

        .lb-rank {
            font-size: 24px; font-weight: 700;
            font-family: 'Inter', sans-serif;
            display: flex; justify-content: center;
        }
        .medal-img { width: 34px; height: auto; }

        .lb-clan { display: flex; align-items: center; gap: 10px; overflow: hidden; }
        .clan-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #eee; }

        .clan-details h4 {
            font-size: 15px; font-weight: 700;
            font-family: 'Syne', sans-serif; white-space: nowrap;
        }
        .clan-details p { font-size: 11px; font-style: italic; color: #FF0000; white-space: nowrap; }

        .lb-points { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; text-align: right; }
        .lb-boost-box { display: flex; justify-content: flex-end; }
        .boost-badge {
            background: #F9F3E5; border: 1px solid #C5A059;
            border-radius: 6px; padding: 3px 0;
            font-size: 12px; font-weight: 700;
            width: 60px; text-align: center;
        }

        .s4-container {
            max-width: 400px; margin: 0 auto;
            padding: 40px 20px 60px; text-align: center;
        }

        .mr-host-img { width: 100%; max-height: 400px; object-fit: contain; height: auto; margin-bottom: 20px; }
        .footer-title { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; margin-bottom: 8px; }
        .footer-subtitle { font-size: 15px; color: #333; margin-bottom: 30px; }

        .btn-large {
            display: block; width: 100%;
            padding: 20px; font-size: 32px; font-weight: 500;
            text-decoration: none; border-radius: 40px; margin-bottom: 15px;
        }
        .btn-zalo { background: #0F1111; color: #FFF; }
        .btn-telegram-f { background: #FFF; color: #000; border: 2px solid #000; }

        .promo-text { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; line-height: 1.2; margin: 30px 0; }

        .branding { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; font-weight: 500; }
        .logo-text { font-size: 24px; }
        .copyright { font-size: 14px; color: #000; }

        .links { font-size: 14px; margin-bottom: 30px; }
        .links a { color: #000; text-decoration: none; border-bottom: 1px solid #ccc; }

        .mission-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 800; margin-bottom: 10px; }
        .mission-desc { font-size: 13px; line-height: 1.4; color: #333; margin-bottom: 30px; padding: 0 10px; }

        .market-icons { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
        .social-icons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
        .footer-icon-link { display: inline-block; border-radius: 10px; overflow: hidden; line-height: 0; transition: opacity .2s; }
        .footer-icon-link:hover { opacity: .8; }

        .section-icon-link {
            display: inline-flex; align-items: center; justify-content: center;
            width: 34px; height: 34px; font-size: 10px; color: #999;
            text-decoration: none; border-radius: 8px;
            flex-shrink: 0;
        }
        .icon-sm-link {
            display: inline-flex; align-items: center; justify-content: center;
            width: 36px; height: 36px; font-size: 10px; color: #999;
            text-decoration: none; border-radius: 6px;
            margin-bottom: 8px;
        }

        .category-scroll {
            padding: 0 20px 18px;
        }
        .category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .cat-pill {
            display: inline-block;
            background: #111;
            color: #fff;
            font-family: 'Montserrat', sans-serif;
            font-size: 12px;
            font-weight: 600;
            padding: 7px 13px;
            border-radius: 40px;
            white-space: nowrap;
            cursor: pointer;
            border: 2px solid #111;
            transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.12s;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }
        .cat-pill:hover { background: #333; border-color: #333; }
        .cat-pill:active { transform: scale(0.95); }
        .cat-pill.active {
            background: #fff;
            color: #111;
            border-color: #111;
        }
        @media (min-width: 600px) {
            .cat-pill { font-size: 13px; padding: 8px 16px; }
        }

        .category-panels { position: relative; min-height: 100px; }

        .cat-panel {
            display: none;
        }
        .cat-panel.visible {
            display: block;
        }
        .cat-panel.entering {
            animation: panelIn 0.32s cubic-bezier(0.22,1,0.36,1) forwards;
        }
        .cat-panel.leaving {
            display: block;
            animation: panelOut 0.22s ease forwards;
        }
        .cat-panel.visible { display: block; }

        @keyframes panelIn {
            from { opacity: 0; transform: translateY(14px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes panelOut {
            from { opacity: 1; transform: translateY(0); }
            to   { opacity: 0; transform: translateY(-8px); }
        }

        @media (min-width: 600px) {
            .category-scroll { padding: 0 30px 20px; }
            .cat-pill { font-size: 14px; padding: 9px 18px; }
        }

        .carousel-wrapper { position: relative; }

        .carousel {
            cursor: grab;
            user-select: none;
        }
        .carousel.is-dragging { cursor: grabbing; }

        .dot { cursor: pointer; transition: all 0.2s; }
        .dot:hover { background: #999; }


        @media (min-width: 600px) {
            .mobile-wrapper {
                max-width: 680px;
            }

            /* S1 */
            .s1-container { padding: 30px 40px; }
            .hero-img { max-height: 320px; }
            .s1-h1 { font-size: 28px; }
            .stats-card { padding: 18px 28px; }
            .stats-label { font-size: 26px; }
            .stats-value { font-size: 28px; }
            .btn-s1 { font-size: 28px; padding: 18px; }

            .carousel { padding: 20px 30px; gap: 20px; }
            .slide { min-width: calc(50% - 10px); height: 170px; }

            .s2-container { padding: 0 20px 20px; }
            .product-cards-row {
                display: flex;
                gap: 16px;
            }
            .product-cards-row .product-card {
                flex: 1;
                margin: 0 0 20px 0;
            }
            .product-img { width: 120px; height: 120px; }

            .how-to { padding: 20px 30px; }

            .s3-container { padding: 20px 40px; }
            .rewards-grid { grid-template-columns: repeat(4, 1fr); }
            .reward-card { height: 140px; }
            .lb-header, .lb-row { grid-template-columns: 50px 1fr 110px 80px; }

            .s4-container { max-width: 680px; padding: 50px 60px 80px; }
            .btn-large { font-size: 36px; padding: 22px; }
            .footer-title { font-size: 32px; }
        }

        @media (min-width: 1024px) {
            .mobile-wrapper { max-width: 900px; }

            .s1-container { padding: 40px 80px; }
            .hero-img { max-height: 380px; }
            .s1-h1 { font-size: 32px; }

            .slide { min-width: calc(33.333% - 14px); height: 180px; }

            .s3-container { padding: 20px 60px; }
            .s4-container { max-width: 900px; padding: 60px 120px 100px; }

            .btn-large { font-size: 40px; }
        }

/* ===== NARROW MOBILE STABILITY FIX / KEEP ORIGINAL 390PX ===== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0;
}

img,
video {
  max-width: 100%;
}

.mobile-wrapper {
  width: 100%;
  max-width: 390px !important;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

.mobile-wrapper * {
  box-sizing: border-box;
}

.product-card,
.stats-card,
.testimonial-card,
.cta-banner,
.btn-toggle-group,
.category-scroll,
.carousel-wrapper,
.marquee-wrapper {
  max-width: 100%;
}

.product-info,
.step-content,
.clan-details,
.testimonial-text {
  min-width: 0;
}

.product-info h4,
.product-info p,
.step-content h5,
.step-content p,
.clan-details h4,
.clan-details p {
  overflow-wrap: anywhere;
}

.price-row,
.btn-group,
.product-layout,
.stats-card,
.top-bar {
  max-width: 100%;
}

@media (max-width: 480px) {
  .mobile-wrapper {
    max-width: 390px !important;
  }

  .top-bar {
    gap: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .product-card {
    max-width: calc(100% - 40px);
  }

  .product-layout {
    width: 100%;
  }

  .product-img {
    flex-shrink: 0;
  }

  .price-row {
    flex-wrap: wrap;
  }

  .btn-group {
    width: 100%;
  }

  .btn-sm,
  .btn-buy {
    min-width: 0;
  }

  .carousel,
  .category-scroll {
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .slide {
    max-width: 100%;
  }

  .lb-header,
  .lb-row {
    max-width: 100%;
  }
}

/* ===== WEB WIDTH RESTORE / KEEP MOBILE FIXED ===== */

/* Mobile stays narrow and stable */
@media (max-width: 599px) {
  .mobile-wrapper {
    width: 100%;
    max-width: 390px !important;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
  }
}

/* Tablet/web restore */
@media (min-width: 600px) {
  .mobile-wrapper {
    width: 100%;
    max-width: 680px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .s4-container {
    max-width: 680px !important;
  }
}

/* Desktop restore */
@media (min-width: 1024px) {
  .mobile-wrapper {
    width: 100%;
    max-width: 900px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .s4-container {
    max-width: 900px !important;
  }
}
