:root {
    --accent-color: #F7931A; 
    --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: linear-gradient(180deg, #0a0400 0%, #290e00 35%, #8f3500 65%, #fc8814 100%);
    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: 52px; width: auto; object-fit: contain; }

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 (Disembunyikan di Layar Besar) */
.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: 4rem; 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(247, 147, 26, 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; }
.price-box {
    background: rgba(247, 147, 26, 0.2); color: #ffffff; padding: 7px 15px; border-radius: 30px; 
    font-size: 1.2rem; font-weight: 700; border: 1px solid rgba(247, 147, 26, 0.4); white-space: nowrap;
}
.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; }
.banner-title { font-family: 'ImbueLarge', serif; font-size: 6rem; color: #F7931A; text-shadow: 6px 6px 0px rgba(0, 0, 255, 0.15); margin-bottom: 20px; line-height: 1; letter-spacing: 2px; }
.banner-subtitle { font-family: 'ImbueSmall', serif; font-size: 1.1rem; color: #F7931A; text-shadow: 3px 3px 0px rgba(0, 0, 255, 0.15); line-height: 1.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: #F7931A; 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(247, 147, 26, 0.25); margin-top: 10px;
}
.mint-grab-btn:hover { background: #fc8814; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(247, 147, 26, 0.45); }

/* ============================================== */
/* SECTION SATOSHI (TEKS LOOPING TANPA JEDA)      */
/* ============================================== */
.satoshi-section {
    width: 100vw; aspect-ratio: 1 / 1; 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: #F7931A; 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: 9.45rem; color: #F7931A; 
    text-shadow: 4px 4px 0px rgba(0, 0, 255, 0.15); line-height: 1; 
    letter-spacing: 1px; margin: 0; text-align: center; max-width: 850px; padding: 0 20px; 
}

/* ============================================== */
/* JIMMY 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: #F7931A; 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: #F7931A;
    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: #F7931A;
    position: absolute; bottom: 0; transform: translateY(45%); z-index: 3; text-shadow: none; line-height: 1;
}

/* ============================================== */
/* CTA SECTION                                    */
/* ============================================== */
.cta-section {
    margin: 0 8% 80px 8%; padding: 60px 40px; background: linear-gradient(135deg, rgba(247, 147, 26, 0.15), rgba(10, 4, 0, 0.8));
    border: 1px solid var(--accent-color); border-radius: 30px; text-align: center;
}
.cta-section h2 { font-size: 2.2rem; margin-bottom: 15px; }
.cta-section p { margin-bottom: 35px; opacity: 0.85; max-width: 650px; margin-left: auto; margin-right: auto; line-height: 1.6;}
.telegram-btn {
    background: linear-gradient(135deg, #F7931A, #d67d14); color: white; border: none; padding: 16px 36px;
    border-radius: 30px; font-weight: 700; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
}

/* ============================================== */
/* 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; }

/* ============================================== */
/* NFT BUILDER SECTION                            */
/* ============================================== */
.builder-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.builder-layout {
    display: flex; gap: 40px; background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 30px; padding: 40px; backdrop-filter: var(--glass-blur); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.builder-sidebar { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.trait-control {
    background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px; padding: 15px 20px; display: flex; flex-direction: column; gap: 10px;
}
.trait-name { font-size: 1.1rem; font-weight: 700; color: var(--accent-color); }
.trait-selector {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 5px;
}
.trait-selector button {
    background: var(--accent-color); color: #000; border: none; width: 35px; height: 35px;
    border-radius: 8px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: transform 0.2s;
}
.trait-selector button:hover { transform: scale(1.1); background: #fc8814; }
.trait-selector span { font-family: monospace; font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; }

.builder-main { flex: 1.5; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.preview-canvas-container {
    width: 100%; max-width: 500px; aspect-ratio: 1 / 1; position: relative; background: #111;
    border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.6); border: 2px solid var(--accent-color);
}
.nft-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

.builder-actions-wrapper { display: flex; flex-direction: column; gap: 15px; width: 100%; max-width: 500px; }
.builder-actions { display: flex; gap: 20px; width: 100%; }

.action-btn { flex: 1; padding: 15px; font-size: 1.1rem; font-weight: 700; border: none; border-radius: 15px; cursor: pointer; transition: all 0.3s ease; }
.btn-random { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid var(--glass-border); }
.btn-random:hover { background: rgba(255, 255, 255, 0.2); }
.btn-download { background: var(--accent-color); color: #000; }
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(247, 147, 26, 0.4); }

.btn-share { background: #000000; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.2); width: 100%; }
.btn-share:hover { background: #111111; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); border-color: var(--accent-color); }


/* ============================================== */
/* RESPONSIVE UNTUK HP DAN TABLET                 */
/* ============================================== */
@media (max-width: 960px) {

    /* MUNCULKAN TOMBOL HAMBURGER */
    .hamburger { 
    display: flex; 
    position: absolute; 
    right: 4%; /* 👈 Ubah angka ini untuk menggeser ke Kiri/Kanan */
    top: 40px; /* 👈 Ubah angka ini untuk menggeser ke Atas/Bawah */
}   

    /* MENU SLIDE-IN UNTUK HP */
    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyi ke kanan */
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 4, 0, 0.95);
        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; }

    /* ANIMASI HAMBURGER MENJADI TANDA (X) */
    .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-content h1 { font-size: 3rem; text-align: 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; }
    
    /* PENGATURAN BANNER VIDEO DI HP */
    .banner-section { 
        height: auto; 
        aspect-ratio: 16 / 9; 
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .banner-video { object-fit: contain; }
    .banner-title { font-size: 3rem; text-shadow: 4px 4px 0px rgba(0, 0, 255, 0.15); }
    .banner-subtitle { font-size: 0.85rem; text-shadow: 2px 2px 0px rgba(0, 0, 255, 0.15); max-width: 90%; margin: 0 auto; }
    
    /* UKURAN TEKS SATOSHI */
    .satoshi-text { font-size: 2.3rem; text-shadow: 3px 3px 0px rgba(0, 0, 255, 0.15); }
    .satoshi-top-left { top: 20px; left: 20px; font-size: 1rem; }

    /* MINTING & GRAILS */
    .mint-grid, .grails-grid { gap: 2%; }

    /* CTA */
    .cta-section { margin: 0 5% 60px 5%; padding: 40px 20px; border-radius: 20px; }
    .cta-section h2 { font-size: 1.8rem; }
    .cta-section p { font-size: 0.95rem; }

    /* FOOTER */
    /* FOOTER */
    footer { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 50px; 
        padding: 60px 8%; 
    }
    
    /* Tambahkan baris ini untuk menengahkan logo */
    .footer-left { 
        width: 100%; 
        display: flex; 
        justify-content: center; 
    }
    
    .footer-right { 
        flex-direction: column; 
        gap: 40px; 
    }

    /* BUILDER */
    .builder-layout { flex-direction: column; padding: 20px; }
    .builder-main { order: -1; }
    .preview-canvas-container { max-width: 100%; }
}