/* ================= 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:#fff;
color:#111;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
}

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

.header{
width:100%;
background:#000;
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:#9ca3af;
font-size:13px;
text-decoration:none;
position:relative;
transition:0.25s;
}

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

/* underline */
.header .menu-desktop a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0%;
height:2px;
background:#facc15;
transition:0.25s;
}

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

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

.header .dropdown{
position:relative;
}

.header .dropdown-menu{
display:none;
position:absolute;
top:32px;
left:0;
background:#111;
border:1px solid #222;
border-radius:10px;
padding:8px 0;
min-width:180px;
z-index:9999;
}

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

.header .dropdown-menu a:hover{
background:#1a1a1a;
color:#fff;
}

.header .dropdown:hover .dropdown-menu{
display:block;
}

/* ================= 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:0.3s ease;
}

.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:#111;
border:1px solid #222;
border-radius:10px;
width:230px;
max-height:80vh;
overflow-y:auto;
z-index:9999;
}

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

.header .menu-mobile a:hover{
background:#1a1a1a;
color:#fff;
}

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

/* ================= MOBILE DROPDOWN (FIX) ================= */

.mobile-dropdown{
width:100%;
}

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

.mobile-dropdown-menu{
display:none;
background:#0d0d0d;
}

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

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

.mobile-dropdown-menu a:hover{
background:#1a1a1a;
color:#fff;
}

/* arrow */
#faucetArrow{
display:inline-block;
margin-left:5px;
transition:0.3s;
}

#faucetArrow.rotate{
transform:rotate(180deg);
}

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

@media(max-width:768px){
.header .menu-desktop{display:none;}
.header .hamburger{display:flex;}
}

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

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

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

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

.footer-menu a{
color:#9ca3af;
text-decoration:none;
transition:0.25s;
}

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

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

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

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

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

/* SUPPORTED */
.footer-supported{
color:#6b7280;
font-size:10px;
font-style:italic;
}

/* BOTTOM */
.footer-bottom{
background:#0b0b0b;
text-align:center;
padding:18px 10px;
}

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

.precision{
color:#6b7280;
font-size:11px;
}

/* ================= FIX COLOR ================= */

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

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

/* ================= POPUP (UPGRADED) ================= */

#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,0.65);
}

/* BOX */
#gate .verify-root{
background:#000;
padding:28px 24px;
border-radius:14px;
border:2px solid rgba(255,255,255,0.6);
max-width:340px;
width:92%;
text-align:center;
box-shadow:
0 0 25px rgba(0,0,0,0.6),
0 0 8px rgba(255,255,255,0.08);
}

/* CLOCK */
#gate .clock{
width:80px;
height:80px;
border:1px solid rgba(255,255,255,0.6);
border-radius:50%;
position:relative;
margin:0 auto 20px;
}

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

/* JARUM */
#gate .hour{width:2px;height:20px;background:#facc15;}
#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:#fff;
}

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

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

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