:root {
    --accent-color: #199362; 
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(16px);
}

@font-face {
    font-family: 'ImbueLarge';
    src: url('fonts/Imbue_48pt-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'ImbueSmall';
    src: url('fonts/Imbue_16pt-Bold.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================== */
/* HEADER & NAVBAR                                */
/* ============================================== */
header { display: flex; justify-content: space-between; align-items: center; padding: 30px 8%; position: relative;}
.logo { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.logo-img { height: 60px; width: auto; object-fit: contain; transition: height 0.3s ease; }

nav { display: flex; gap: 40px; }
nav a { color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 16px; cursor: pointer; transition: color 0.3s ease; }
nav a:hover { color: var(--accent-color); }
.header-right { display: flex; align-items: center; gap: 25px; }

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 100; 
}
.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* ============================================== */
/* HERO SECTION                                   */
/* ============================================== */
.hero-section { display: flex; justify-content: space-between; align-items: center; padding: 40px 8%; gap: 50px; min-height: 80vh; }
.hero-content { flex: 1; max-width: 550px; }
.hero-content h1 { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 700; line-height: 1.1; letter-spacing: 1px; margin-bottom: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); margin-bottom: 40px; }

.stats-container {
    display: inline-flex; align-items: center; background: var(--glass-bg);
    border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur);
    padding: 20px 40px; border-radius: 15px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.stat-box { text-align: left; padding: 0 20px; }
.stat-box:first-child { padding-left: 0; }
.stat-box:last-child { padding-right: 0; }
.stat-box h2 { font-size: 28px; font-weight: 700; margin-bottom: 5px; }
.stat-box p { font-size: 12px; text-transform: uppercase; opacity: 0.8; color: #ffd0a3; }
.divider { width: 1px; height: 50px; background-color: var(--glass-border); margin: 0 10px; }

.whitelist-btn {
    background: var(--text-light); color: #0a0400; border: none; padding: 16px 40px;
    border-radius: 30px; font-size: 16px; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}
.whitelist-btn:hover { background: var(--accent-color); color: white; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(25, 147, 98, 0.4); }

/* HERO IMAGE GRID ANIMATION */
.hero-image-grid {
    flex: 1; display: flex; gap: 15px; max-width: 600px; height: 550px; padding: 10px 0; overflow: hidden; 
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    transform: rotate(0deg) scale(1.1); transform-origin: center;
}
.grid-col { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.image-track { display: flex; flex-direction: column; gap: 15px; width: 100%; animation: scrollDownVertical 25s linear infinite; }
.grid-col:nth-child(2) .image-track { animation-duration: 30s; }
.grid-col:nth-child(3) .image-track { animation-duration: 20s; }
.image-track img { width: 100%; border-radius: 16px; object-fit: cover; aspect-ratio: 1/1; box-shadow: 0 10px 20px rgba(0,0,0,0.5); transition: transform 0.3s ease; }
.image-track img:hover { transform: scale(1.05); border: 2px solid var(--accent-color); }
@keyframes scrollDownVertical { 0% { transform: translateY(-50%); } 100% { transform: translateY(0%); } }

/* ============================================== */
/* TOP COLLECTION CAROUSEL                        */
/* ============================================== */
.showcase-wrapper { width: 100%; overflow: hidden; padding: 60px 0 80px 0; position: relative; }
.showcase-title-container { text-align: center; margin-bottom: 40px; }
.showcase-title-container h2 { font-size: 2.2rem; text-transform: uppercase; }
.showcase-track { display: flex; width: max-content; animation: scrollSeamless 30s linear infinite; }
.showcase-track:hover { animation-play-state: paused; }
@keyframes scrollSeamless { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.nft-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 75px; 
    padding: 9px 22px 9px 9px; width: 375px; margin: 0 15px; flex-shrink: 0;
    backdrop-filter: var(--glass-blur); box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: row; align-items: center; gap: 18px; 
}
.nft-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.nft-image { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background-color: #2a2a2a; border: 1px solid rgba(255,255,255,0.1); }
.card-info { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex: 1; padding: 0; }
.creator-details { text-align: left; }
.creator-details h4 { font-size: 19px; font-weight: 700; line-height: 1.1; margin-bottom: 3px;}
.creator-details p { font-size: 16px; opacity: 0.8; color: var(--accent-color); margin: 0; }
/* --- Penyesuaian Kotak Harga (Icon ETH) --- */
.price-box {
    background: rgba(25, 147, 98, 0.2); color: #ffffff; padding: 7px 15px; border-radius: 30px; 
    font-size: 1.2rem; font-weight: 700; border: 1px solid rgba(25, 147, 98, 0.4); white-space: nowrap;
    display: flex; align-items: center; gap: 6px; /* Tambahan flex & gap agar icon dan teks sejajar rapi */
}
.eth-icon { 
    width: 14px; 
    height: 14px; 
    object-fit: contain; 
}
.price-box span { font-family: sans-serif; }

/* ============================================== */
/* BANNER VIDEO FULL WIDTH                        */
/* ============================================== */
.banner-section {
    width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
    height: 720px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px; overflow: hidden; 
}
.banner-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.banner-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.banner-content { position: relative; z-index: 2; max-width: 900px; display: flex; justify-content: center; align-items: center;}
.banner-center-logo { width: 100%; max-width: 850px; height: auto; object-fit: contain; filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.5)); }

/* ============================================== */
/* 3 GAMBAR MINTING SECTION                       */
/* ============================================== */
.mint-showcase-section { padding: 100px 5%; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.mint-grid { display: flex; justify-content: center; align-items: center; gap: 3%; width: 100%; max-width: 1100px; margin: 0 auto; }
.mint-grid img { width: 31%; border-radius: 12%; object-fit: cover; box-shadow: 0 15px 30px rgba(0,0,0,0.4); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.mint-grid img:hover { transform: translateY(-12px) scale(1.02); }
.mint-grab-btn {
    background: #199362; color: #0a0400; border: none; padding: 18px 50px;
    border-radius: 40px; font-size: 1.3rem; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(25, 147, 98, 0.25); margin-top: 10px;
}
.mint-grab-btn:hover { background: #147a50; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(25, 147, 98, 0.45); }

/* ============================================== */
/* SECTION SATOSHI (TEKS LOOPING TANPA JEDA)      */
/* ============================================== */
.satoshi-section {
    width: 100vw; 
    height: 100vh; 
    min-height: 500px;
    position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw; margin-bottom: 80px;
    background-image: url('images/who.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat;
    overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.satoshi-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); z-index: 1; }

.satoshi-top-left {
    position: absolute; top: 30px; left: 30px; font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem;
    color: #199362; text-shadow: none; font-weight: 700; text-transform: uppercase; text-align: left; line-height: 1.2; z-index: 2; letter-spacing: 1px;
}

.satoshi-content {
    position: absolute; top: 0; left: 0; width: 100%; height: max-content;
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0; 
    animation: scrollUpCredits 20s linear infinite; 
}

@keyframes scrollUpCredits {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } 
}

.satoshi-text {
    font-family: 'ImbueLarge', serif; 
    font-size: clamp(3rem, 9vw, 9.45rem); 
    color: #199362; 
    text-shadow: 4px 4px 0px rgba(0, 0, 255, 0.15); 
    line-height: 1.1; 
    letter-spacing: 1px; 
    margin: 0; 
    padding: 0 20px; 
    text-align: center; 
    max-width: 900px; 
}

/* ============================================== */
/* POPS GRAILS SECTION                            */
/* ============================================== */
.grails-section { position: relative; padding: 60px 5% 150px 5%; width: 100%; }
.grails-top-left {
    position: absolute; top: 20px; left: 5%; font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem;
    color: #199362; font-weight: 700; text-transform: uppercase; line-height: 1.2; z-index: 10;
}
.grails-grid { display: flex; justify-content: center; align-items: center; gap: 3%; width: 100%; max-width: 1100px; margin: 80px auto 0 auto; }
.grail-card { position: relative; display: flex; flex-direction: column; align-items: center; width: 31%; }
.grail-card img { position: relative; z-index: 2; width: 100%; border-radius: 12%; box-shadow: 0 15px 30px rgba(0,0,0,0.4); }

.grail-text-top {
    font-family: 'ImbueLarge', serif; font-size: clamp(2rem, 6.5vw, 7.5rem); color: #ffffff;
    position: absolute; top: 0; transform: translateY(-70%); z-index: 1; text-shadow: none; line-height: 1;
}

.grail-text-bottom {
    font-family: 'ImbueLarge', serif; font-size: clamp(2rem, 6.5vw, 7.5rem); color: #ffffff;
    position: absolute; bottom: 0; transform: translateY(45%); z-index: 3; text-shadow: none; line-height: 1;
}


/* --- Pengaturan Khusus Halaman Coming Soon (Bullshit/Gamble) --- */
.coming-soon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh; /* Sedikit diperbesar agar pas di tengah */
    padding: 20px;
    text-align: center;
}

/* Membuat Kotak Kaca */
.coming-soon-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur); /* Support untuk Safari */
    padding: 60px 100px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.coming-soon-text {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 0;
}

/* ============================================== */
/* FOOTER                                         */
/* ============================================== */
footer { padding: 80px 8%; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { width: 140px; height: auto; object-fit: contain; }
.footer-right { display: flex; gap: 120px; }
.footer-col { display: flex; flex-direction: column; text-align: left; }
.footer-col h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-light); margin-bottom: 25px; text-transform: uppercase; }
.footer-col p { font-size: 0.95rem; color: var(--text-light); opacity: 0.8; line-height: 1.8; }
.footer-col a { font-size: 0.95rem; color: var(--text-light); opacity: 0.8; text-decoration: none; transition: all 0.3s ease; }
.footer-col a:hover { color: var(--accent-color); opacity: 1; }


/* ============================================== */
/* CHECKER SECTION                                */
/* ============================================== */
.checker-section {
    display: flex; justify-content: center; align-items: center;
    min-height: 70vh; padding: 20px; text-align: center;
}

.checker-box {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    padding: 50px 60px; border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    width: 100%; max-width: 600px;
}

.checker-box h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: #ffffff; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.checker-box p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; line-height: 1.5; }

.checker-input-group { display: flex; flex-direction: column; gap: 15px; }
.checker-input-group input {
    width: 100%; padding: 16px 20px; border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.4);
    color: #fff; font-size: 1rem; font-family: 'Space Grotesk', sans-serif;
    outline: none; transition: border-color 0.3s;
}
.checker-input-group input:focus { border-color: var(--accent-color); }

.checker-input-group button {
    background: var(--accent-color); color: #000; border: none; padding: 16px;
    border-radius: 15px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
}
.checker-input-group button:hover {
    background: #147a50; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(25, 147, 98, 0.4);
}

.result-message { margin-top: 25px; font-size: 1.1rem; font-weight: 700; min-height: 25px; transition: color 0.3s; }
.result-success { color: var(--accent-color); text-shadow: 0 0 10px rgba(25, 147, 98, 0.4); }
.result-fail { color: #ff4d4d; }
.result-loading { color: #ffffff; opacity: 0.8; }

/* ============================================== */
/* RESPONSIVE UNTUK HP DAN TABLET                 */
/* ============================================== */
@media (max-width: 960px) {

    /* KECILKAN UKURAN LOGO DI HP */
    .logo-img { height: 35px; }

    /* HAMBURGER */
    .hamburger { display: flex; position: absolute; right: 6%; top: 30px; }   

    /* MENU SLIDE-IN UNTUK HP */
    nav {
        position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px; height: 100vh;
        background: rgba(10, 4, 0, 0.98); backdrop-filter: blur(15px); display: flex; flex-direction: column;
        align-items: center; justify-content: center; gap: 40px; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 99; border-left: 2px solid var(--accent-color); box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    nav a { font-size: 1.5rem; }
    nav.active { right: 0; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--accent-color); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--accent-color); }

    /* HERO */
    .hero-section { flex-direction: column; text-align: center; padding: 30px 5% 10px 5%; min-height: auto; }
    .hero-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-subtitle { text-align: center; font-size: 1rem; padding: 0 10px; }
    .stats-container { justify-content: center; width: 100%; max-width: 400px; padding: 20px; }
    .hero-image-grid { display: none; }
    
    /* BANNER VIDEO */
    .banner-section { height: auto; aspect-ratio: 16 / 9; padding: 20px; display: flex; align-items: center; justify-content: center; }
    .banner-video { object-fit: contain; }
    .banner-center-logo { max-width: 70%; }
    
    /* --- PENGATURAN WHO.JPG (SATOSHI SECTION) DI HP --- */
    .satoshi-section { 
        width: 100vw; 
        height: auto; 
        aspect-ratio: 1 / 1; 
        left: 50%; right: 50%;
        margin-left: -50vw; margin-right: -50vw;
        border-radius: 0;
    }
    .satoshi-top-left { top: 20px; left: 20px; font-size: 1rem; }

    /* MINTING SECTION DI HP */
    .mint-showcase-section { padding: 40px 2%; }
    .mint-grid { flex-direction: row; gap: 2%; justify-content: center;} 
    .mint-grid img { width: 32%; max-width: none; border-radius: 8%; } 

    /* GRAILS SECTION DI HP */
    .grails-section { padding: 30px 2% 80px 2%; }

    /* ==================================================== */
    /* PENGATURAN TEKS "POPS GRAILS" DI HP (Tengah & Padding)*/
    /* ==================================================== */
    .grails-top-left {
        position: relative; /* Mengubah posisi agar tidak kaku di kiri atas */
        top: 0;
        left: 0;
        width: 100%;
        text-align: center; /* Membuat teks ke tengah */
        padding: 10px 0 20px 0; /* Atur padding di sini (Atas, Kanan, Bawah, Kiri) */
        font-size: clamp(2.5rem, 4.5vw, 2.5rem); 
    }

    .grails-grid { flex-direction: row; gap: 2%; margin-top: 10px; justify-content: center;}
    .grail-card { width: 32%; max-width: none; }
    .grail-card img { border-radius: 8%; }

    /* Ukuran dan Posisi Teks Grails */
    .grail-text-top, .grail-text-bottom {
        font-size: clamp(2.2rem, 4.5vw, 2.5rem); 
    }
    .grail-text-top { transform: translateY(-70%); }
    .grail-text-bottom { transform: translateY(30%); }

    /* FOOTER */
    footer { flex-direction: column; align-items: flex-start; gap: 50px; padding: 60px 8%; }
    .footer-left { width: 100%; display: flex; justify-content: center; }
    .footer-right { flex-direction: column; gap: 40px; }

    .coming-soon-box {
        padding: 40px 20px;
        width: 90%; /* Agar kotak tidak terlalu mepet ke ujung layar HP */
        border-radius: 20px;
    }

    /* PENGATURAN CHECKER BOX DI HP */
    .checker-box {
        padding: 40px 20px;
        width: 90%;
        border-radius: 20px;
    }
}