/* Definisi variabel warna dan font untuk konsistensi desain */
:root {
    --color-bg: #FFDE59;
    --color-primary: #FF5757;
    --color-secondary: #5271FF;
    --color-card: #FFFFFF;
    --color-text: #2C3E50;
    --font-main: 'Helvetica Neue', Arial, sans-serif;
}

/* Reset margin/padding default browser */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Layout utama agar konten selalu di tengah layar (viewport) */
body {
    background-color: var(--color-bg);
    font-family: var(--font-main);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Pengaturan umum untuk elemen dekorasi latar belakang */
.blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
}

/* Posisi dan warna spesifik untuk blob atas */
.blob-1 {
    width: 300px;
    height: 300px;
    background: #FFBD59;
    top: -50px;
    right: -50px;
}

/* Posisi dan warna spesifik untuk blob bawah */
.blob-2 {
    width: 400px;
    height: 400px;
    background: #FF914D;
    bottom: -100px;
    left: -100px;
}

/* Container utama aplikasi dengan gaya kartu (shadow & rounded corners) */
.app-container {
    width: 90%;
    max-width: 600px;
    background: var(--color-card);
    padding: 60px 40px;
    border-radius: 48px;
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 10;
}

.bot-status {
    font-size: 80px;
    margin-bottom: -10px;
}

/* Tipografi untuk judul besar */
.header-group h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--color-text);
    margin-bottom: 8px;
}

/* Tipografi untuk teks status/subtitle */
.header-group p {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Area kartu aktivitas dengan border putus-putus (dashed) */
.activity-card {
    background: #F7F9FC;
    border: 3px dashed #CBD5E0;
    border-radius: 24px;
    padding: 40px 30px;
    width: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styling teks aktivitas yang dihasilkan */
#activity {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-secondary);
}

/* Styling tombol utama dengan efek bayangan tebal (3D effect) */
.btn-trigger {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 24px 48px;
    border-radius: 100px;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 0 #D14343;
    transition: transform 0.1s, box-shadow 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Efek saat tombol diklik (seolah-olah tertekan ke bawah) */
.btn-trigger:active {
    transform: translateY(4px);
    box-shadow: 0 6px 0 #D14343;
}

/* Styling saat tombol dinonaktifkan (saat loading/fetching) */
.btn-trigger:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: translateY(4px);
    box-shadow: 0 6px 0 #D14343;
}

.footer-text {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.5;
    margin-top: -10px;
}

/* Sembunyikan modal secara default */
.modal{
    display: none;
}

/* Tampilkan modal saat class 'active' ditambahkan via JS */
.modal.active{
    display: flex;
}
