/* css/index-c5Plnep0.css (bagian relevan) */
@charset "UTF-8";

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #0a0a23 0%, #1b1b4d 100%);
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Planet dan Satelit */
.planet-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 2rem auto;
    perspective: 1000px;
}

.planet {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 10%, #4b0082 50%, transparent 70%);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.5), 0 0 100px rgba(75, 0, 130, 0.7);
    position: relative;
    animation: rotate 20s linear infinite, pulse 4s ease-in-out infinite;

    /* Tambah pulse */
}

.satellite {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: orbit 10s linear infinite;
}

.satellite:nth-child(2) {
    animation-duration: 12s;
    transform-origin: 125px;
}

.satellite:nth-child(3) {
    animation-duration: 15s;
    transform-origin: 150px;
}

@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    /* Membesar 10% */
    100% {
        transform: scale(1);
    }
}

/* Form Styling */
article {
    position: relative;
    padding: 2rem 0;
    max-width: 600px;
    margin: auto;
    z-index: 1;
}

h1 {
    color: #00ff00;
    font-family: 'Orbitron', monospace;

    /* Robotic font */
    font-size: 1.8rem;

    /* Glowing effect */
    margin: 2rem 0 1.4rem;
}

textarea {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #00ff00;
    color: #00ff00;
    font-family: 'Fira Code', monospace;
    font-size: 1.3rem;
    padding: 0.8rem;
    height: 10rem;
    resize: none;
    box-shadow: 0 0 10px #00ff00;
    width: 100%;
    margin-bottom: 1.4rem;
}

textarea:focus {
    outline: none;
    box-shadow: 0 0 20px #00ff00;
}

input[type=submit],
.link-button,
.chain-selector-button {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 0.5rem 1rem;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: 0 0 8px #00ff00;
    transition: all 0.3s ease;
    cursor: pointer;
}

input[type=submit]:hover,
.link-button:hover,
.chain-selector-button:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px #00ff00;
}

input[type=submit]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive */
@media (max-width: 760px) {
    body {
        width: 90%;
        padding: 0 5%;
    }

    .planet-container {
        width: 200px;
        height: 200px;
    }

    .satellite {
        width: 12px;
        height: 12px;
    }

    textarea {
        font-size: 1.2rem;
        height: 8rem;
    }

    input[type=submit] {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 760px) {
    body {
        width: 90%;
        padding: 0 5%;
    }

    .planet-container {
        width: 100px;
        height: 200px;
    }

    .satellite {
        width: 12px;
        height: 12px;
    }

    textarea {
        font-size: 1.2rem;
        height: 8rem;
    }

    input[type=submit] {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}