/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Fredoka One', sans-serif;
    min-height: 100dvh; /* ✅ dynamic viewport height fix mobile */
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #003300, #000000);
    overflow-x: hidden;
    position: relative;
    text-align: center;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 500px; /* ✅ batasi agar proporsional */
    padding: 20px;
    box-sizing: border-box;
}

.logo {
    width: 200px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
}

/* Judul Neon */
h1 {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    font-weight: 700;
    font-size: clamp(26px, 7vw, 55px);
    color: #00ff99;
    text-shadow:
      0 0 5px #00ff99,
      0 0 10px #00ff99,
      0 0 20px #00ff99,
      0 0 30px #009944;
    letter-spacing: 2px;
    margin: 10px 0;
    word-wrap: break-word;
}

/* Tagline */
.tagline {
    font-family: Arial, sans-serif;
    font-size: clamp(12px, 3vw, 18px);
    font-weight: normal;
    color: #ffffff;
    margin: 10px 0 25px 0;
    text-shadow: 0 0 2px #000;
}

/* Tombol BUY */
.buy-btn {
    background: red;
    color: white;
    font-size: clamp(14px, 3vw, 18px);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s ease-in-out;
    margin-bottom: 20px;
}
.buy-btn:hover {
    background: darkred;
}

/* Menu Airdrop */
.airdrop-menu {
    margin-top: 20px;
}
.airdrop-menu button {
    background: orange;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.airdrop-menu button:hover {
    background: darkorange;
}

/* Social Icons */
.socials {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.socials a img {
    width: 32px;
    height: 32px;
    max-width: 100%;
}

/* Helmet Button */
.helmet-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: green;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(12px, 2.5vw, 16px);
}
.helmet-btn img {
    width: 20px;
    height: auto;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: left;
}
.modal-content h2 {
    margin-top: 0;
}
.modal-content input {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.modal-content button {
    background: blue;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.modal-content button:hover {
    background: darkblue;
}
.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

/* Contract Box */
.contract {
    font-size: 14px;
    color: #00ffcc;
    margin-bottom: 20px;
    font-family: monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}
.copy-btn {
    padding: 4px 10px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    background: #00ff99;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.copy-btn:hover {
    background: #00cc77;
    transform: scale(1.05);
}

/* Menu */
.menu-top {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.menu-btn {
    display: inline-block;
    background: #111;
    color: #00ff99;
    font-size: clamp(14px, 3vw, 18px);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #00ff99;
    transition: all 0.2s ease-in-out;
}
.menu-btn.buy:hover {
    background: darkred;
    border: 1px solid darkred;
}
.menu-btn:hover {
    background: #00ff99;
    color: #000;
    transform: scale(1.05);
}

/* 📱 Mobile Fix */
@media (max-width: 480px) {
    body {
        flex-direction: column;
        padding: 15px;
    }
    .container {
        max-width: 95%;
        padding: 10px;
    }
    .logo {
        width: 160px;
        margin-bottom: 10px;
    }
    h1 {
        font-size: 30px;
    }
    .tagline {
        font-size: 13px;
    }
    .buy-btn {
        font-size: 14px;
        padding: 8px 20px;
    }
    .menu-top {
        flex-direction: column;
        gap: 8px;
    }
    .contract {
        font-size: 11px;
        flex-wrap: wrap;
        text-align: center;
    }
    .socials {
        position: static;
        justify-content: center;
        margin-top: 15px;
    }
    .helmet-btn {
        position: static;
        margin-top: 15px;
        font-size: 14px;
        padding: 8px 15px;
    }
}
