:root {
    /* Dark blue sampled from videobackground2 frame center */
    --bg-main: #0e182e;
    --bg-section: #080D18;
    --bg-card: #0C1322;
    --bg-table: #0F172A;
    --primary-neon: #1A8CFF;
    --primary-hover: #3AA0FF;
    --primary-strong: #0066FF;
    --accent-cyan: #00D4FF;
    --accent-soft: #6AE3FF;
    --text-main: #E5ECF4;
    --text-normal: #C7D2E1;
    --text-muted: #8A9AB8;
    --border-soft: rgba(26,140,255,0.25);
    --border-strong: rgba(0,212,255,0.45);
    --glow-soft: 0 0 6px rgba(26,140,255,0.4), 0 0 14px rgba(0,212,255,0.25);
    --glow-strong: 0 0 10px rgba(26,140,255,0.8), 0 0 30px rgba(0,212,255,0.6);
    --gradient-dark: linear-gradient(135deg, #0B5ED7 0%, #1A8CFF 60%, #00D4FF 100%);
}

html {
    scroll-behavior: smooth;
    /* Prevent horizontal scroll on mobile */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #E5ECF4;
    background-color: var(--bg-main);
    /* Mobile optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
}


.section-glow-a,
.section-glow-b {
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
    isolation: isolate;
}

/* Glow gradient bên trái - loại trừ hero section, dùng chung */
.section-glow-a:not(#hero)::before,
.section-glow-b::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 350px;
    height: 100%;
    background: 
        radial-gradient(ellipse 300px 400px at left 30%, 
            rgba(138, 43, 226, 0.18) 0%,
            rgba(75, 0, 130, 0.12) 30%,
            transparent 60%),
        radial-gradient(ellipse 250px 350px at left 70%, 
            rgba(0, 212, 255, 0.16) 0%,
            rgba(26, 140, 255, 0.10) 35%,
            transparent 65%),
        radial-gradient(ellipse 200px 300px at left 50%, 
            rgba(255, 0, 128, 0.10) 0%,
            rgba(255, 105, 180, 0.06) 40%,
            transparent 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(30px);
}

/* Glow gradient bên phải - dùng chung */
.section-glow-a::after,
.section-glow-b::after {
    content: "";
    position: absolute;
    right: -50px;
    top: 0;
    width: 350px;
    height: 100%;
    background: 
        radial-gradient(ellipse 300px 400px at right 25%, 
            rgba(0, 212, 255, 0.18) 0%,
            rgba(0, 150, 255, 0.12) 30%,
            transparent 60%),
        radial-gradient(ellipse 250px 350px at right 65%, 
            rgba(138, 43, 226, 0.16) 0%,
            rgba(186, 85, 211, 0.10) 35%,
            transparent 65%),
        radial-gradient(ellipse 200px 300px at right 45%, 
            rgba(255, 20, 147, 0.10) 0%,
            rgba(255, 0, 128, 0.06) 40%,
            transparent 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(30px);
}

/* Glow ở góc trái trên cho hero section - kích thước lớn */
#hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle 350px at top left, 
        rgba(26, 140, 255, 0.25) 0%,
        rgba(0, 212, 255, 0.15) 25%,
        rgba(0, 212, 255, 0.08) 40%,
        transparent 65%);
    pointer-events: none;
    z-index: 2;
}


.neon-glow {
    text-shadow: var(--glow-soft);
}


.navbar-blur {
    background: rgba(5, 8, 15, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}

.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-strong));
    color: var(--text-main);
    border-radius: 12px;
    box-shadow:
        0 0 0 2px rgba(46,200,255,0.25),
        0 0 25px rgba(46,200,255,0.4),
        0 0 55px rgba(11,111,175,0.35);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(46,200,255,0.3) 0%, transparent 60%);
    opacity: 0.8;
    filter: blur(12px);
    z-index: 0;
}

.btn-primary:hover {
    box-shadow:
        0 0 0 3px rgba(46,200,255,0.45),
        0 0 35px rgba(46,200,255,0.55),
        0 0 80px rgba(11,111,175,0.5);
    transform: scale(1.04);
}

.btn-primary > span {
    position: relative;
    z-index: 1;
    display: block;
    padding: 12px 18px;
    background: var(--bg-card);
    border-radius: 10px;
    transition: all 0.2s ease;
    color: var(--text-main);
}

.btn-primary:hover > span {
    background: transparent;
    color: #fff;
}

.card-neon {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--glow-soft);
}

.card-neon:hover {
    border-color: var(--border-strong);
    box-shadow: var(--glow-strong);
}


.float-soft {
    animation: floatSoft 4.5s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.float-soft.delay {
    animation-delay: 1.8s;
}

@keyframes floatSoft {
    0% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0); }
}


.divider-notch-top {
    width: 100%;
    line-height: 0;
    background: var(--bg-main);
}

.divider-notch-top svg {
    width: 100%;
    height: 120px;
    display: block;
}

.divider-line-bottom {
    /* Để line-bottom bám theo cuối hero thay vì đáy viewport,
       ta để nó chảy theo flow bình thường và kéo lên bằng margin âm */
    position: relative;
    margin-top: -18px; /* ăn nhẹ vào hero */
    height: 40px;
    pointer-events: none;
    z-index: 20;
}

.divider-line-bottom svg {
    width: 100%;
    height: 40px;
    display: block;
}

/* Backcom System Styles */
.backcom-content-container {
    perspective: 1200px;
    -webkit-perspective: 1200px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.backcom-page {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: rotateY(90deg) scale(0.8) translateZ(0);
    -webkit-transform: rotateY(90deg) scale(0.8) translateZ(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: center center;
    will-change: transform, opacity;
}

.backcom-page.active {
    position: relative;
    opacity: 1;
    transform: rotateY(0deg) scale(1) translateZ(0);
    -webkit-transform: rotateY(0deg) scale(1) translateZ(0);
    pointer-events: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

/* Backcom cards styling - chiếm hết section */
#backcom-cards .space-y-6 > .backcom-card {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Backcom card - border mỏng, không có neon */
.backcom-card {
    background: var(--bg-card);
    border: 0.5px solid var(--border-soft);
    box-shadow: none;
}

.arrow-nav-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-soft);
}

.arrow-nav-btn:hover {
    border-color: var(--border-strong);
    box-shadow: var(--glow-strong);
    transform: scale(1.1);
}

.arrow-nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Ecosystem (Hệ sinh thái miễn phí) cards */
.ecosystem-card {
    position: relative;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        180deg,
        rgba(26, 140, 255, 0.9) 0%,
        rgba(0, 212, 255, 0.45) 40%,
        rgba(0, 212, 255, 0.15) 70%,
        rgba(0, 212, 255, 0) 100%
    );
    box-shadow: 0 0 22px rgba(26, 140, 255, 0.35);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.ecosystem-card-inner {
    height: 100%;
    border-radius: 18px;
    padding: 24px;
    background: radial-gradient(
            circle at top center,
            rgba(0, 212, 255, 0.18),
            transparent 60%
        ),
        var(--bg-card);
}

.ecosystem-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 26px rgba(26, 140, 255, 0.55),
        0 0 55px rgba(0, 212, 255, 0.4);
}

/* Achievement & Service Cards */
.achievement-card,
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(26, 140, 255, 0.08);
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.achievement-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(26, 140, 255, 0.15),
        0 0 100px rgba(0, 212, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.achievement-card:hover h4,
.service-card:hover h4 {
    color: var(--accent-cyan);
    transition: color 0.3s ease;
}

/* Achievement Item Animation */
.achievement-card .flex.gap-4,
.service-card .flex.gap-4 {
    transition: transform 0.3s ease;
}

.achievement-card .flex.gap-4:hover,
.service-card .flex.gap-4:hover {
    transform: translateX(6px);
}

/* Checkmark Icon Pulse */
.achievement-card .w-6.h-6,
.service-card .w-6.h-6 {
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(26, 140, 255, 0.4);
}

.achievement-card .flex.gap-4:hover .w-6.h-6,
.service-card .flex.gap-4:hover .w-6.h-6 {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    transform: scale(1.1);
}

/* Avatar with Gradient Border */
.avatar-gradient-frame {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #1A8CFF 0%, #00D4FF 50%, #FF6B9D 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    box-shadow:
        0 0 30px rgba(26, 140, 255, 0.5),
        0 0 60px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(255, 107, 157, 0.2);
    will-change: background-position;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

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

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-card);
}

/* Broker Logo Frame - Similar to avatar but smaller */
.broker-logo-frame {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #1A8CFF 0%, #00D4FF 50%, #FF6B9D 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    box-shadow:
        0 0 20px rgba(26, 140, 255, 0.5),
        0 0 40px rgba(0, 212, 255, 0.3),
        inset 0 0 15px rgba(255, 107, 157, 0.2);
    margin: 0 auto;
    will-change: background-position;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.broker-logo-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-card);
    background: var(--bg-card);
    padding: 0;
    display: block;
}

/* Referral Code Copy Style */
.referral-code {
    position: relative;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.referral-code:hover {
    background: rgba(26, 140, 255, 0.1);
    transform: scale(1.05);
}

.referral-code i {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.referral-code:hover i {
    opacity: 1;
    transform: scale(1.2);
}

/* CTA Button Hover Enhancement */
.achievement-card a[href*="zalo.me"],
.service-card a[href*="t.me"] {
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.achievement-card a[href*="zalo.me"]:hover,
.service-card a[href*="t.me"]:hover {
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.5);
}

/* Neon Border Card for stacked cards */
.neon-border-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 140, 255, 0.3) 0%, rgba(0, 212, 255, 0.2) 100%);
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(26, 140, 255, 0.2);
}

/* Sticky Social Buttons */
.sticky-social-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(255, 107, 157, 0.4),
        0 0 40px rgba(138, 43, 226, 0.3),
        inset 0 0 20px rgba(255, 107, 157, 0.1);
}

.sticky-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6B9D, #8A2BE2);
    z-index: -1;
    opacity: 0.8;
}

.sticky-btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.sticky-btn-zalo {
    background: linear-gradient(135deg, #0068FF 0%, #1A8CFF 100%);
}

.sticky-btn-scroll {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.9) 0%, rgba(75, 0, 130, 0.9) 100%);
    border: none;
}

.sticky-btn-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
    z-index: 1;
}

.sticky-btn-scroll .sticky-btn-icon {
    width: 24px;
    height: 24px;
    color: white;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.sticky-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow:
        0 0 30px rgba(255, 107, 157, 0.6),
        0 0 60px rgba(138, 43, 226, 0.5),
        0 0 90px rgba(255, 107, 157, 0.3),
        inset 0 0 30px rgba(255, 107, 157, 0.2);
}

.sticky-btn:hover .sticky-btn-icon {
    transform: scale(1.1);
}

/* Safari & Mobile Optimizations */
/* Hardware acceleration for animated elements */
.neon-glow,
.float-soft,
.hero-social-btn,
.btn-primary,
.ecosystem-card,
.achievement-card,
.service-card,
.backcom-card,
.avatar-gradient-frame,
.broker-logo-frame {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Video background optimizations */
.hero-video {
    will-change: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Prevent video from causing layout shifts */
    object-fit: cover;
    object-position: center;
    /* Optimize video rendering */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Flip card optimizations */
.backcom-content-container {
    perspective: 1200px;
    -webkit-perspective: 1200px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.backcom-page {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.backcom-page.active {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    /* Hide video on mobile, show fallback */
    .hero-video {
        display: none;
    }
    
    .hero-fallback-bg {
        display: block !important;
        background: 
            radial-gradient(circle at top left, 
                rgba(26, 140, 255, 0.25) 0%,
                rgba(0, 212, 255, 0.15) 25%,
                transparent 65%),
            linear-gradient(135deg, #05080F 0%, #080D18 50%, #05080F 100%);
        background-color: #05080F;
    }
    
    /* Reduce blur effects on mobile for performance */
    .section-glow-a::before,
    .section-glow-a::after,
    .section-glow-b::before,
    .section-glow-b::after {
        filter: blur(15px);
    }
    
    /* Reduce glow intensity on mobile */
    .neon-glow {
        text-shadow: 0 0 4px rgba(26,140,255,0.3), 0 0 8px rgba(0,212,255,0.2);
    }
    
    /* Simplify animations on mobile */
    .float-soft {
        animation: floatSoft 6s ease-in-out infinite;
    }
    
    /* Reduce box-shadow complexity on mobile */
    .btn-primary {
        box-shadow:
            0 0 0 2px rgba(46,200,255,0.2),
            0 0 15px rgba(46,200,255,0.3);
    }
    
    .btn-primary:hover {
        box-shadow:
            0 0 0 2px rgba(46,200,255,0.3),
            0 0 20px rgba(46,200,255,0.4);
    }
    
    .ecosystem-card {
        box-shadow: 0 0 15px rgba(26, 140, 255, 0.25);
    }
    
    .ecosystem-card:hover {
        box-shadow: 0 0 20px rgba(26, 140, 255, 0.4);
    }
    
    /* Optimize sticky buttons */
    .sticky-social-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .sticky-btn {
        width: 50px;
        height: 50px;
        box-shadow:
            0 0 15px rgba(255, 107, 157, 0.3),
            0 0 30px rgba(138, 43, 226, 0.2);
    }
    
    .sticky-btn:hover {
        box-shadow:
            0 0 20px rgba(255, 107, 157, 0.4),
            0 0 40px rgba(138, 43, 226, 0.3);
    }
    
    .sticky-btn-icon {
        width: 26px;
        height: 26px;
    }
    
    .sticky-btn-scroll .sticky-btn-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Reduce avatar gradient animation intensity */
    .avatar-gradient-frame,
    .broker-logo-frame {
        animation: gradientShift 4s ease infinite;
    }
    
    /* Simplify hero social buttons on mobile */
    .hero-social-btn {
        box-shadow:
            0 0 10px rgba(0, 212, 255, 0.3),
            0 0 20px rgba(26, 140, 255, 0.2);
    }
    
    .hero-social-btn:hover {
        box-shadow:
            0 0 15px rgba(0, 212, 255, 0.4),
            0 0 30px rgba(26, 140, 255, 0.3);
    }
    
    /* Disable hover effects on touch devices */
    .achievement-card:hover,
    .service-card:hover {
        transform: none;
    }
    
    .ecosystem-card:hover {
        transform: none;
    }
    
    /* Optimize navbar on mobile */
    .navbar-blur {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    /* Reduce divider complexity on mobile */
    .divider-notch-top svg {
        height: 80px;
    }
    
    /* Optimize card transitions on mobile */
    .backcom-page {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Prevent text selection issues on mobile */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Optimize images on mobile */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Hero Social Buttons - Neon Style */
.hero-social-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    background: linear-gradient(90deg, #1A8CFF 0%, #00D4FF 50%, #1A8CFF 100%);
    background-size: 200% 100%;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow:
        0 0 15px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(26, 140, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    animation: borderGlow 3s linear infinite;
    will-change: background-position, transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-social-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 52px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    opacity: 0.6;
    filter: blur(8px);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.hero-social-btn:hover::before {
    opacity: 1;
}

.hero-social-btn:hover {
    box-shadow:
        0 0 25px rgba(0, 212, 255, 0.6),
        0 0 50px rgba(26, 140, 255, 0.5),
        0 0 80px rgba(0, 212, 255, 0.3),
        inset 0 0 30px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.hero-social-btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px 12px 28px;
    background: linear-gradient(135deg, rgba(14, 24, 46, 0.95) 0%, rgba(8, 13, 24, 0.98) 100%);
    border-radius: 48px;
    min-width: 160px;
    transition: all 0.3s ease;
}

.hero-social-btn:hover .hero-social-btn-content {
    background: linear-gradient(135deg, rgba(14, 24, 46, 0.85) 0%, rgba(8, 13, 24, 0.9) 100%);
}

/* Neon glow effect on icons */
.hero-social-btn img {
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
    transition: all 0.3s ease;
}

.hero-social-btn:hover img {
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.8));
    transform: scale(1.1);
}

/* Button-64 style for hero Telegram & Zalo */
.button-64 {
  align-items: center;
  background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #FFFFFF;
  display: inline-flex;
  font-family: Phantomsans, sans-serif;
  font-size: 16px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
}

.button-64:active,
.button-64:hover {
  outline: 0;
}

.button-64 span.text {
  background-color: rgb(5, 6, 45);
  padding: 14px 20px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: 300ms;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button-64:hover span.text {
  background: none;
}

.button-64 img {
  width: 28px;
  height: 28px;
}

/* Chỉ phóng to icon Telegram trong hero */
.button-64.button-telegram img {
  width: 28px;
  height: 28px;
}
@media (min-width: 768px) {
  .button-64 {
    font-size: 18px;
    min-width: 196px;
  }
}



