
/* ================= GLOBAL (SAFE) ================= */

/* LOAD FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

html,
body{
margin:0;
line-height:1.5;
font-family:'Poppins',sans-serif;
background:#f3f4f6;
color:#111827;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
}

/* ================= HEADER ================= */

.header{
width:100%;
background:#1f1f1f;
position:fixed;
top:0;
left:0;
z-index:9999;
}

.header-spacer{
height:64px;
}

.header .nav{
max-width:1100px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
padding:14px 20px;
}

/* LOGO */

.header .logo img{
height:38px;
}

/* ================= DESKTOP MENU ================= */

.header .menu-desktop{
display:flex;
gap:22px;
align-items:center;
}

.header .menu-desktop a{
color:#d1d5db;
font-size:13px;
text-decoration:none;
position:relative;
transition:.25s;
}

.header .menu-desktop a:hover{
color:#ffffff;
}

/* underline */

.header .menu-desktop a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:#ef4444;
transition:.25s;
}

.header .menu-desktop a:hover::after{
width:100%;
}

/* ================= DROPDOWN ================= */

.header .dropdown{
position:relative;
}

.header .dropdown::after{
content:"";
position:absolute;
top:100%;
left:0;
width:100%;
height:14px;
}

.header .dropdown-menu{
position:absolute;
top:calc(100% + 8px);
left:0;
background:#2b2b2b;
border:1px solid #4b5563;
border-radius:10px;
padding:8px 0;
min-width:220px;
max-height:70vh;
overflow-y:auto;
overscroll-behavior:contain;
z-index:9999;

opacity:0;
visibility:hidden;
pointer-events:none;
transform:translateY(8px);
transition:all .2s ease;
}

.header .dropdown:hover .dropdown-menu,
.header .dropdown:focus-within .dropdown-menu{
opacity:1;
visibility:visible;
pointer-events:auto;
transform:translateY(0);
}

.header .dropdown-menu a{
display:block;
padding:10px 16px;
color:#d1d5db;
font-size:13px;
text-decoration:none;
}

.header .dropdown-menu a:hover{
background:#3b3b3b;
color:#fff;
}

/* scrollbar */

.header .dropdown-menu::-webkit-scrollbar{
width:6px;
}

.header .dropdown-menu::-webkit-scrollbar-track{
background:#2b2b2b;
}

.header .dropdown-menu::-webkit-scrollbar-thumb{
background:#5b5b5b;
border-radius:999px;
}

.header .dropdown-menu::-webkit-scrollbar-thumb:hover{
background:#ef4444;
}

/* ================= HAMBURGER ================= */

.header .hamburger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.header .hamburger span{
width:26px;
height:3px;
background:#fff;
border-radius:2px;
transition:.3s;
}

.header .hamburger.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.header .hamburger.active span:nth-child(2){
opacity:0;
}

.header .hamburger.active span:nth-child(3){
transform:rotate(-45deg) translate(6px,-6px);
}

/* ================= MOBILE MENU ================= */

.header .menu-mobile{
display:none;
position:absolute;
top:64px;
right:15px;
background:#2b2b2b;
border:1px solid #4b5563;
border-radius:10px;
width:230px;
max-height:80vh;
overflow-y:auto;
z-index:9999;
}

.header .menu-mobile a{
display:block;
padding:12px;
color:#d1d5db;
font-size:14px;
text-align:center;
text-decoration:none;
transition:.25s;
}

.header .menu-mobile a:hover{
background:#3b3b3b;
color:#fff;
}

.header .menu-mobile.show{
display:block;
}

/* ================= MOBILE DROPDOWN ================= */

.mobile-dropdown{
width:100%;
}

.mobile-dropdown-toggle{
width:100%;
background:none;
border:none;
padding:12px;
color:#d1d5db;
font-size:14px;
text-align:center;
cursor:pointer;
border-top:1px solid #4b5563;
}

.mobile-dropdown-menu{
display:none;
background:#242424;
max-height:50vh;
overflow-y:auto;
-webkit-overflow-scrolling:touch;
}

.mobile-dropdown-menu.open{
display:block;
}

.mobile-dropdown-menu a{
display:block;
padding:10px;
font-size:13px;
color:#d1d5db;
text-decoration:none;
}

.mobile-dropdown-menu a:hover{
background:#3b3b3b;
color:#fff;
}

.mobile-dropdown-menu::-webkit-scrollbar{
width:4px;
}

.mobile-dropdown-menu::-webkit-scrollbar-thumb{
background:#5b5b5b;
border-radius:999px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

.header .menu-desktop{
display:none;
}

.header .hamburger{
display:flex;
}

.header .menu-mobile{
width:250px;
right:12px;
}

}

/* ================= FOOTER ================= */

.footer{
width:100%;
margin-top:70px;
}

.footer-main{
background:#1f1f1f;
text-align:center;
padding:40px 20px 30px;
}

.footer-menu{
margin-bottom:24px;
font-size:13px;
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:8px;
}

.footer-menu a{
color:#d1d5db;
text-decoration:none;
transition:.25s;
}

.footer-menu a:hover{
color:#fff;
}

.footer-logo{
width:34px;
margin:0 auto 12px;
display:block;
}

.footer-title{
font-size:14px;
margin-bottom:4px;
}

.footer-title a{
color:#fff;
text-decoration:none;
}

.footer-tagline{
color:#cbd5e1;
font-size:11px;
margin-bottom:8px;
}

.footer-supported{
color:#94a3b8;
font-size:10px;
font-style:italic;
}

.footer-bottom{
background:#2b2b2b;
text-align:center;
padding:18px 10px;
}

.copyright{
color:#d1d5db;
font-size:13px;
}

.precision{
color:#94a3b8;
font-size:11px;
}

.precision,
.precision a,
.footer-supported,
.footer-supported a{
color:#94a3b8;
text-decoration:none;
}

.precision a:hover,
.footer-supported a:hover{
opacity:.8;
}

/* ================= POPUP (FAUCETWEBID) ================= */

#gate{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
display:none;
align-items:center;
justify-content:center;
z-index:2147483647;
pointer-events:auto;
background:rgba(0,0,0,.70);
}

/* BOX */

#gate .verify-root{
background:#2b2b2b;
padding:28px 24px;
border-radius:14px;
border:1px solid #ef4444;
max-width:340px;
width:92%;
text-align:center;
box-shadow:
0 10px 35px rgba(0,0,0,.45);
}

/* CLOCK */

#gate .clock{
width:80px;
height:80px;
border:1px solid #6b7280;
border-radius:50%;
position:relative;
margin:0 auto 20px;
background:#242424;
}

#gate .hand{
position:absolute;
bottom:50%;
left:50%;
transform-origin:bottom;
}

/* CLOCK HAND */

#gate .hour{
width:2px;
height:20px;
background:#ef4444;
}

#gate .minute{
width:2px;
height:28px;
background:#ffffff;
}

#gate .second{
width:1px;
height:34px;
background:#ef4444;
}

#gate .clock::after{
content:"";
position:absolute;
width:4px;
height:4px;
background:#ffffff;
border-radius:50%;
top:50%;
left:50%;
transform:translate(-50%,-50%);
}

/* TEXT */

#gate .title{
font-size:15px;
margin-bottom:10px;
color:#ffffff;
font-weight:600;
}

#gate .subtitle{
font-size:12px;
color:#d1d5db;
margin-bottom:18px;
}

#gate .turnstile-wrap{
margin:18px 0;
display:flex;
justify-content:center;
}

/* FOOT NOTE */

#gate .desc{
font-size:11px;
color:#ef4444;
margin-top:10px;
font-weight:500;
}
