/* --- TERMS OF SERVICE: NEO-BRUTALISM GREEN THEME --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;800&display=swap');

:root {
    --bg-color: #DCFCE7;      /* Hijau Pastel */
    --accent-green: #16A34A;  /* Emerald Green */
    --border-black: #000000;
    --text-dark: #064E3B;
    --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Space Grotesk', sans-serif; }

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(var(--accent-green) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.legal-wrapper { width: 100%; max-width: 750px; }

/* Butang Kembali */
.btn-back {
    display: inline-block;
    margin-bottom: 25px;
    text-decoration: none;
    color: white;
    font-weight: 800;
    background: var(--border-black);
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 4px 4px 0px var(--accent-green);
    transition: 0.2s;
}

.btn-back:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--accent-green);
}

/* Kad Terma */
.legal-card {
    background: white;
    border: 4px solid var(--border-black);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: 15px 15px 0px var(--border-black);
}

.legal-header {
    border-bottom: 4px solid var(--border-black);
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.legal-header h1 { font-size: 3rem; font-weight: 900; color: var(--border-black); }

.badge-green {
    background: var(--accent-green);
    color: white;
    padding: 2px 15px;
    border: 3px solid var(--border-black);
    display: inline-block;
    transform: rotate(2deg);
}

.sub-text { margin-top: 15px; font-weight: 700; color: #374151; }

/* Kandungan Teks */
.content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 30px 0 15px;
    color: var(--accent-green);
    display: flex;
    align-items: center;
}

.content h2::before {
    content: "!";
    background: var(--accent-green);
    color: white;
    width: 24px; height: 24px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.8rem;
    border: 2px solid var(--border-black);
}

.content p {
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Styling List */
.content ul {
    margin: 15px 0 25px 20px;
}

.content li {
    margin-bottom: 10px;
    font-weight: 700;
    list-style: circle;
}

.content strong { color: var(--accent-green); }

/* Kotak Highlight */
.highlight-box {
    background: #f0fdf4;
    border: 4px solid var(--accent-green);
    padding: 25px;
    margin-top: 40px;
    border-radius: 12px;
    font-weight: 700;
}

/* Footer */
.legal-footer {
    margin-top: 40px;
    text-align: center;
}

.legal-footer a {
    color: var(--accent-green);
    font-weight: 800;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .legal-card { padding: 30px 20px; }
    .legal-header h1 { font-size: 2rem; }
}