:root {
    --bg: #f5f9ff;
    --glass: rgba(255, 255, 255, 0.6);
    --text: #2e3a59;
    --accent: #6ea8ff;
}

body.dark {
    --bg: #0f172a;
    --glass: rgba(30, 41, 59, 0.6);
    --text: #e2e8f0;
    --accent: #7dd3fc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: 0.4s ease;
    overflow-x: hidden;
}

/* Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

/* Gradient Orbs */
.orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.6;
}

.orb1 {
    background: #6ea8ff;
    top: -100px;
    left: -100px;
}

.orb2 {
    background: #93c5fd;
    bottom: -150px;
    right: -100px;
}

/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    backdrop-filter: blur(20px);
    background: var(--glass);
    position: sticky;
    top: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.glow {
    font-size: 3rem;
    text-shadow: 0 0 15px var(--accent);
}

.btn {
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* Pulse animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 168, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(110, 168, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(110, 168, 255, 0);
    }
}

/* Characters */
.characters {
    padding: 80px 8%;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    backdrop-filter: blur(20px);
    background: var(--glass);
    padding: 20px;
    border-radius: 20px;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    border-radius: 15px;
}

/* Status */
.status-box {
    padding: 60px;
    text-align: center;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media(max-width:768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 8%;
        background: var(--glass);
        padding: 20px;
        border-radius: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Description */
.description {
    padding: 80px 8%;
    text-align: left;
    /* Dasar teks adalah rata kiri */
}

.description h2,
.description h3 {
    text-align: center;
    /* Khusus judul saja yang di tengah */
    margin-bottom: 20px;
}

/* Agar konten tidak terlalu mepet ke pinggir layar pada monitor besar */
.description p,
.description ul {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.intro-box {
    margin: 40px auto;
    max-width: 500px;
    padding: 20px;
    background: var(--glass);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    /* Judul kotak di tengah */
}

.copy-container {
    background: rgba(0, 0, 0, 0.05);
    /* Sedikit lebih gelap agar kontras */
    padding: 15px;
    border-radius: 10px;
    position: relative;
    margin-top: 15px;
}

#introText {
    text-align: left;
    font-family: 'Poppins', sans-serif;
    /* Gunakan Poppins agar simbol terbaca jelas */
    color: var(--text);
    white-space: pre;
    /* Menjaga spasi dan enter sesuai aslinya */
    overflow-x: auto;
    /* Biar kalau di HP teksnya nggak kepotong tapi bisa digeser */
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.btn-copy {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-copy:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}