@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: solid #0066ff 2px;
    border-radius: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.logo {
    max-width: 300px;
    height: auto;
    width: 100%;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.center-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
}

.center-image img {
    max-width: 100%;
    height: auto;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

/* Container untuk semua feature box */
.features-container {
    display: flex;
    justify-content: center;
    gap: 5%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Box individu */
.feature-box {
    text-align: center;
    color: white;
    flex: 1;
    min-width: 100px;
    max-width: 150px;
    margin: 5px;
    position: relative;
    cursor: pointer;

    /* Transisi halus untuk glow */
    transition: box-shadow 0.3s ease, filter 0.3s ease;
    border-radius: 12px; /* rounded sedikit */
}

/* Gambar di dalam box */
.feature-box img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Glow halus pada gambar saat hover */
.feature-box:hover img {
    filter: drop-shadow(0 0 12px #00ffff);
}

/* Judul/teks di bawah gambar */
.feature-box h3 {
    margin: 5px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Ubah warna teks saat hover */
.feature-box:hover h3 {
    color: #00ffff;
}

/* Pseudo-element tambahan untuk glow halus di belakang */
.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

/* Responsif untuk layar kecil */
@media screen and (max-width: 600px) {
    .features-container {
        gap: 10px;
        padding: 10px;
    }

    .feature-box {
        min-width: 80px;
        max-width: 120px;
    }

    .feature-box img {
        max-height: 80px;
    }

    .feature-box h3 {
        font-size: 14px;
    }
}


/* Import font Neutrons Demo */
@font-face {
    font-family: 'Neutrons Demo';
    src: url('fonts/NeutronsDemo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Container tombol */
.button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
    gap: 0;
}

/* Style umum tombol */
.button {
    padding: 12px 25px;
    width: 100%;
    border: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, #0a2e63, #0056d6);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.4), inset 0 0 8px rgba(0, 191, 255, 0.3);
    font-family: 'Neutrons Demo', sans-serif; /* Gunakan font futuristik */
}

/* Efek neon */
.button::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #00eaff, #0066ff, #00eaff);
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
    transition: opacity 0.3s;
    border-radius: inherit;
}

/* Hover */
.button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.8), inset 0 0 12px rgba(0, 191, 255, 0.6);
}

.button:hover::before {
    opacity: 1;
    filter: blur(12px);
}

/* Tombol daftar & login */
.daftar {
    border-bottom-left-radius: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #0056d6, #009dff);
}

.login {
    border-bottom-right-radius: 12px;
    background: linear-gradient(135deg, #009dff, #00eaff);
}

.iframe-container {
    max-width: 1200px;
    width: 100%;
    height: 1000px;
    min-height: 900px;
    max-height: 900px;
    margin-top: 20px;
    margin-bottom: 100px;
    display: none;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

#hitungIframe {
    display: block; 
}

@media (max-width: 480px) {

    .logo {
        max-width: 200px;
        height: auto;
        width: 100%;
    }

    .main-container {
        padding: 5px;
    }

    .feature-box {
        min-width: 80px;
    }

    .feature-box h3 {
        font-size: 11px;
        font-weight: 600;
    }

    .button {
        font-size: 16px;
        font-weight: 700;
        padding: 8px 15px;
    }
}