/* =========================================================
   terms.css - Gaya untuk Halaman Syarat & Ketentuan
   ========================================================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 25px;
    background-color: #f0f4f7; /* Latar Belakang Lebih Dingin */
    color: #2c3e50;
    max-width: 900px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
}

/* --- Tipografi Dasar --- */
h1 {
    font-size: 2.4em;
    color: #FF9800; /* Warna Oranye Khas CittaFun */
    border-bottom: 4px solid #ffcc80;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
    opacity: 0;
    animation: scaleIn 0.8s forwards;
}

h2 {
    font-size: 1.7em;
    color: #3f51b5; /* Warna Ungu/Indigo untuk Judul Utama */
    margin-top: 45px;
    padding: 8px 15px;
    background-color: #f0f4f7;
    border-left: 5px solid #3f51b5;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

h2:hover {
    box-shadow: 0 4px 8px rgba(63, 81, 181, 0.2); /* Shadow on hover */
}

h3 {
    font-size: 1.3em;
    color: #4a4a4a;
    margin-top: 25px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

p, ul, ol {
    margin-bottom: 15px;
    text-align: justify;
}

/* --- Efek Interaktif Tautan --- */
a {
    color: #3f51b5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a237e;
    text-decoration: underline;
}

/* --- Animasi Entrance --- */
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Memberikan jeda dan fade-in pada konten utama */
body > * {
    opacity: 0;
    animation: fadeInContent 0.8s forwards;
}

@keyframes fadeInContent {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Menerapkan delay pada elemen untuk urutan masuk yang lebih baik */
body > p:first-of-type { animation-delay: 0.1s; }
body > hr:nth-of-type(1) { animation-delay: 0.2s; }
body > h2:nth-of-type(1) { animation-delay: 0.3s; }
body > h2:nth-of-type(2) { animation-delay: 0.5s; }
/* ... tambahkan delay untuk elemen H2 berikutnya jika perlu */
