/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background-image: url('bg.png'); 
    background-size: cover;
    background-attachment: fixed;
    color: #000;
    overflow-x: hidden;
}

h1, h2, h3, .title, .btn-buy, .nav-links a {
    font-family: 'Permanent Marker', cursive;
    text-transform: uppercase;
}

/* UTILITY COLORS */
.bg-yellow { background-color: rgba(253, 230, 138, 0.95); }
.bg-green { background-color: rgba(217, 249, 157, 0.95); }
.bg-orange { background-color: rgba(253, 186, 116, 0.95); }

/* COMIC BOX STYLE */
.comic-box {
    border: 4px solid #000;
    border-radius: 12px;
    box-shadow: 6px 6px 0px #000;
    background-color: #fff;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #FDE68A;
    border-bottom: 4px solid #000;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Gaya Dasar Hamburger (Disembunyikan di Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 101; 
}
.hamburger span {
    width: 35px;
    height: 5px;
    background-color: #000;
    border-radius: 3px;
    border: 1px solid #000;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-right: 20px;
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
    transition: 0.2s;
}
.nav-links a:hover {
    color: #EF4444;
}

.nav-logo img {
    height: 60px;
}

.btn-buy {
    padding: 10px 25px;
    background-color: #EF4444;
    color: white;
    border: 3px solid #000;
    box-shadow: 3px 3px 0px #000;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.1s;
}
.btn-buy:active {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px 0px #000;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 80px 20px;
    border-bottom: 4px solid #000;
}
.mascot-hero {
    max-width: 300px;
    margin-bottom: 20px;
    filter: drop-shadow(5px 5px 0px #000);
}
.hero .title { font-size: 4rem; margin-bottom: 10px; }
.hero .subtitle { font-size: 1.5rem; font-weight: bold; margin-bottom: 30px; }

.ca-box {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 4px solid #000;
    box-shadow: 5px 5px 0px #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    max-width: 90%;
}
.btn-copy {
    background: #EF4444;
    border: 2px solid #000;
    padding: 5px 10px;
    margin-left: 15px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* MARQUEE (Pembaruan untuk Seamless Loop) */
.marquee-container {
    background: #fff;
    border-bottom: 4px solid #000;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex; /* Flexbox agar 2 blok menyamping */
}
.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Mencegah teks menyusut */
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    animation: scroll 15s linear infinite;
    padding-right: 15px;
}
.marquee-icon { height: 30px; margin: 0 20px; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ABOUT SECTION */
.about {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    border-bottom: 4px solid #000;
}
.about-content {
    display: flex;
    align-items: center;
    max-width: 900px;
    gap: 40px;
}
.mascot-about { max-width: 250px; filter: drop-shadow(5px 5px 0px #000); }
.paper-box {
    background: #fff;
    border: 4px solid #000;
    box-shadow: 8px 8px 0px #000;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}
.paper-box h2 { font-size: 2.5rem; margin-bottom: 15px; }
.paper-box p { font-size: 1.2rem; margin-bottom: 15px; font-weight: bold; line-height: 1.5; }

/* HOW TO BUY */
.how-to-buy {
    text-align: center;
    padding: 80px 20px;
    border-bottom: 4px solid #000;
}
.mascot-small { max-width: 150px; margin-bottom: -20px; position: relative; z-index: 10; }
.how-to-box {
    background: #fff;
    border: 4px solid #000;
    box-shadow: 8px 8px 0px #000;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
}
.accordion-item { margin-bottom: 15px; border: 3px solid #000; border-radius: 5px; text-align: left; }
.accordion-header {
    width: 100%; padding: 15px; background: #f4f4f4; border: none;
    font-family: 'Permanent Marker', cursive; font-size: 1.2rem;
    cursor: pointer; display: flex; justify-content: space-between;
}
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fff; padding: 0 15px; }
.accordion-content p { padding: 15px 0; font-weight: bold; }

/* TOKENOMICS */
.tokenomics {
    text-align: center;
    padding: 80px 20px;
    border-bottom: 4px solid #000;
}
.token-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
    max-width: 600px; margin: 40px auto 0;
}
.token-card {
    background: #FBBF24; border: 4px solid #000; box-shadow: 5px 5px 0px #000;
    padding: 20px; border-radius: 10px;
}

/* FOOTER */
.footer { padding: 60px 20px; display: flex; justify-content: center; }
.footer-card {
    background: #fff; border: 4px solid #000; box-shadow: 8px 8px 0px #000;
    padding: 40px; border-radius: 10px; text-align: center; max-width: 700px;
}
.social-links { margin-top: 20px; display: flex; justify-content: center; gap: 15px; }

/* Gaya Baru untuk Tombol Logo X */
.social-btn-x {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 10px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    border-radius: 12px;
    transition: transform 0.1s;
    cursor: pointer;
}

.social-btn-x img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block;
}

.social-btn-x:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #000;
}

/* RESPONSIVE (Pembaruan Hamburger Menu & Layout) */
@media (max-width: 768px) {
    /* Munculkan Hamburger */
    .hamburger { display: flex; }
    
    /* Navbar Adjustment */
    .navbar { padding: 15px 20px; }
    .nav-logo img { height: 45px; }
    .btn-buy { padding: 8px 15px; font-size: 1rem; }

    /* Nav Links jadi Sidebar/Drop-down */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%; /* Sembunyikan di kiri */
        width: 250px;
        height: 100vh;
        background-color: #FDE68A;
        border-right: 4px solid #000;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 80px; /* Space untuk tombol hamburger */
        transition: 0.3s ease-in-out;
        box-shadow: 5px 0 0px #000;
    }
    
    /* Class .active ditambahkan lewat JS saat hamburger diklik */
    .nav-links.active { left: 0; }
    .nav-links a { margin: 15px 30px; font-size: 1.5rem; }

    /* Layout Konten Lainnya */
    .about-content { flex-direction: column; }
    .token-grid { grid-template-columns: 1fr; }
    .hero .title { font-size: 2.5rem; }
    .ca-box { font-size: 0.8rem; flex-direction: column; gap: 10px; text-align: center; }
    .btn-copy { margin-left: 0; width: 100%; }
}