/* General Styling */
:root {
    --primary-color: #FF7F00; /* Nasi Goreng Orange */
    --secondary-color: #FFD700; /* Warna Kuning Telur/Emas */
    --text-color: #333;
    --light-bg: #f8f8f8;
    --dark-bg: #2c3e50;
    --header-height: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Jost', sans-serif;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--light-bg);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    color: #666;
}

/* Navbar */
.navbar {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    margin: 0;
    font-size: 1.8em;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar nav ul li {
    margin-left: 30px;
}

.navbar nav ul li a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: #e67300;
    border-color: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,127,0,0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 20px;
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,127,0,0.3);
}

.cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FFEFBA 0%, #FFFFFF 100%); /* Soft gradient */
    padding: 150px 0 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    overflow: hidden; /* For floating coin effect */
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-content h2 {
    font-size: 3.5em;
    color: var(--dark-bg);
    margin-bottom: 20px;
    text-align: left;
}

.hero-content h2::after {
    left: 0;
    transform: translateX(0);
}

.hero-content p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align cat to bottom of its container */
    position: relative;
    height: 400px; /* Give it a fixed height to position coin */
}

.cat-character {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.cat-img {
    width: 300px; /* Adjust size as needed */
    height: auto;
    animation: bounce 2s infinite ease-in-out; /* Simple bounce animation */
}

.nasg-coin {
    width: 100px; /* Adjust size of coin */
    height: auto;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

@keyframes floatCoin {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-20px); }
}


/* About & Tokenomics Sections */
#about ul, #tokenomics ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 30px auto;
}

#about ul li, #tokenomics ul li {
    background-color: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 5px;
}

#about h3, #tokenomics h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 30px;
    text-align: center;
}

/* Roadmap Section */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.roadmap-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

.roadmap-item:hover {
    transform: translateY(-10px);
}

.roadmap-item h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: left;
}

.roadmap-item p {
    color: #555;
    font-size: 0.95em;
}

/* Community Section */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.twitter-btn { background-color: #1DA1F2; }
.telegram-btn { background-color: #0088CC; }
.discord-btn { background-color: #7289DA; }
.instagram-btn { background-color: #f45461; }

.social-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }
    .navbar nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar nav ul li {
        margin: 0 15px 10px 15px;
    }

    .hero .container {
        flex-direction: column-reverse; /* Pindahkan gambar ke atas di mobile */
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        margin-top: 40px;
    }
    .hero-content h2 {
        font-size: 2.5em;
        text-align: center;
    }
    .hero-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-content .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .hero-content .secondary-btn {
        margin-left: 0;
    }

    .hero-image {
        height: 350px;
    }
    .cat-img {
        width: 250px;
    }
    .nasg-coin {
        width: 80px;
    }

    h2 {
        font-size: 2em;
    }
    .section {
        padding: 60px 0;
    }
    .roadmap-item {
        padding: 25px;
    }
    .roadmap-item h3 {
        font-size: 1.5em;
    }
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    .social-btn {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2em;
    }
    .cat-img {
        width: 200px;
    }
    .nasg-coin {
        width: 70px;
    }
}