:root{
    --glass-bg: rgba(255,255,255,0.08); /* base translucent fill */
    --glass-border: rgba(255,255,255,0.18); /* subtle border highlight */
    --glass-highlight: rgba(255,255,255,0.06); /* inner sheen */
    --glass-blur: 0px; /* blur strength */
    --glass-radius: 16px;
    --glass-padding: 18px;
    --glass-shadow: 0 8px 30px rgba(2,6,23,0.45);
    --accent: #7be3ff; /* button/cta accent */
    --text-color: #eaf6ff; /* text color (ensure sufficient contrast) */
}
/* /// */
  
.header-index .menu-toggle {
    height: 2px;
    width: 20px;
    background: white;
}
.bg_001 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 0;
    opacity: .1;
}
._i_sec_1 {
    min-height: 70vh;
    background: linear-gradient(to bottom, #000, #121518, #101010);
}

.hero-txt {font-size: 45px}
._i_sec_1 .hero-txt {
    font-size: 65px;
}
.sec-1-ct-wrp {
    width: 60%;
    margin: auto;
    text-align: center;
}

/* Glass card */
.glass-card{
    width: min(420px, 100%);
    padding: var(--glass-padding);
    border-radius: var(--glass-radius);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    /* fallback background (for browsers that don't support backdrop-filter) */
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    color: var(--text-color);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .glass-card{
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        /* -webkit-backdrop-filter: blur(var(--glass-blur)); */
        /* backdrop-filter: blur(var(--glass-blur)); */
    }
  
    /* .glass-card::before{
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(180deg, var(--glass-highlight), transparent 40%);
        mix-blend-mode: overlay;
        border-radius: inherit;
    }   */
}
.glass-card:hover, .glass-card:focus-within{
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(2,6,23,0.6);
}
/* / */

 /* Particles js */
 #particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* stays behind your content */
}
/* /// */

.gradient-gr-1 {
    background: linear-gradient(to right, #3f1ae5 0%, #121212 40%, #121212 90%, #0066ec 100% );
}

/* Mesh lines */
.mesh-wrp {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    pointer-events: none;
}
  
  .mesh-wrp .ln-1 {
    position: relative;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, #101010, #0066ec, #5954fc, transparent);
    opacity: 0.2;
    overflow: hidden;
  }
  
  /* --- Every line gets a glowing segment --- */
  .mesh-wrp .ln-1::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 40px;
    border-radius: 4px;
    background: linear-gradient(to bottom, transparent, #00d0ff, #0066ec, transparent);
    filter: blur(1px);
    opacity: 0.9;
    animation: linePulse 3s ease-in-out infinite;
  }
  
  /* --- Base animation --- */
  @keyframes linePulse {
    0% {
      top: 0%;
    }
    50% {
      top: calc(100% - 40px);
    }
    100% {
      top: 0%;
    }
  }
  
  /* --- Randomized delays and durations --- */
  .mesh-wrp .ln-1:nth-child(1)::before { animation-delay: 0s; animation-duration: 3.2s; }
  .mesh-wrp .ln-1:nth-child(2)::before { animation-delay: 1.1s; animation-duration: 3.8s; }
  .mesh-wrp .ln-1:nth-child(3)::before { animation-delay: 0.6s; animation-duration: 4.2s; }
  .mesh-wrp .ln-1:nth-child(4)::before { animation-delay: 1.8s; animation-duration: 3.6s; }
  .mesh-wrp .ln-1:nth-child(5)::before { animation-delay: 0.3s; animation-duration: 4.4s; }
  .mesh-wrp .ln-1:nth-child(6)::before { animation-delay: 1.5s; animation-duration: 3.9s; }
  .mesh-wrp .ln-1:nth-child(7)::before { animation-delay: 0.8s; animation-duration: 4.1s; }
  .mesh-wrp .ln-1:nth-child(8)::before { animation-delay: 2.2s; animation-duration: 3.5s; }
  .mesh-wrp .ln-1:nth-child(9)::before { animation-delay: 0.4s; animation-duration: 4.3s; }
  .mesh-wrp .ln-1:nth-child(10)::before { animation-delay: 1.9s; animation-duration: 3.7s; }

/*  */

/* mockups */
.mock-1 {
    width: 400px;
    height: 500px;
}
._moc1-card {
    background: linear-gradient(to right, transparent, #212121);
}
.moc-2 {
    height: 290px;
    width: 220px;
}
.moc-3 {
    height: 430px;
    width: 400px;
}
/* // */

.px_defi {width: 100%; height: 170px}
.hwt-img {
    width: 100%;
    height: 200px;
}
._hiw-i-c {
    height: 230px;
    overflow: hidden;
    padding: 15px 0px 0px 15px;
}
._hiw-i-c-shd {
    position: absolute;
    left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #191919);
    bottom: 0px;
}
.bg-6712NT{
    width: 50%;
    height: 80%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}   

.menu-content-mboX {
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    padding: 31px 7% 0 7%;
    display: none;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.menu-content-mboX .link {
    color: rgb(239, 237, 237) !important;
    font-size: 18px;
    font-weight: 300;
    font-family: 'anuphan';
    display: block;
    padding: 8px 0px;
}
.menu-content-mboX_bg_overlay {
    background: linear-gradient(to bottom, black, black, transparent);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 60%;
    display: none;
}


/* @Media */
@media only screen and (max-width: 576px) {
    ._i_sec_1 .hero-txt {
        font-size: 40px;
    }
    .bg_001 {
        width: 150%;
        margin: auto;
    }
    .sec-1-ct-wrp { width: 90%; }
    .s2-h-txt { font-size: 25px; }
    .gradient-gr-1 {
        background: linear-gradient(to bottom, #3f1ae5 0%, #121212 15%, #121212 90%, #0066ec 100% );
    }
    .hero-txt {font-size: 35px}
    .px_defi {width: 100%; height: 125px}
    ._moc1-card {
        background: linear-gradient(to bottom, transparent, #212121);
    }
    .moc-3 {
        height: 300px;
        width: 280px;
    }
    .bg-6712NT{
        width: 150%;
        height: 100%;
    } 
}