:root {
    --text: #ffc04a;
}

html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1f1f1f;
    /* Background hitam */
    color: #fff;
    /* Teks putih untuk kontras */
    line-height: 1.6;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.logo {
    width: 250px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.area-button button {
    width: 135px;
    height: 50px;
    /* background-color: #ffc04a; */
    border: none;
    margin: 15px;
}

#login {
    background-color: #ffc04a;
}

#login:hover {
    color: #fff;
    background-color: #dda336;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 199, 46, 0.534);
}

#daftar {
    background-color: #1f1f1f;
    color: #ffc04a;
    border: 1px solid #fdbc43;
}

#daftar:hover {
    background-color: #dda336;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 199, 46, 0.534);
}

.main-content {
    margin: 10px auto;
    display: flex;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 310px;
    background-color: #333;
    padding: 25px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 199, 46, 0.534);
}

.card h2 {
    color: #fdbc43;
}

.link {
    color: #fdbc43;
    text-decoration: none;
}

/* start about */
.section {
    text-align: left;
}

/* end about */

/* Start term */
.content {
    text-align: left;
}

/* End term */

/* Start Contact */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #727272;
    padding: 20px;
}

input {
    height: 30px;
    border: 1px solid #8d8d8d;
}

textarea {
    border: 1px solid #8d8d8d;
}

input::placeholder,
textarea::placeholder {
    padding-left: 10px;
}

form button {
    background-color: #fdbc43;
    color: #fff;
    border: none;
    height: 35px;
}

.email-contact {
    color: #fdbc43;
    text-decoration: none;
}
/* End Contact */

/* Start FAQ */
.faq-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-item {
    background: var(--card);
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.2s;
}

.faq-item:hover {
    box-shadow: 0 8px 16px rgba(255, 199, 46, 0.534);
}

.faq-question {
    font-weight: 700;
    color: var(--primary);
}

.faq-answer {
    display: none;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Start Privacy */
.text-telegram {
    text-decoration: none;
    color: #fdbc43;
}
/* End Privacy */

/* End FAQ */
.footer-nav {
    margin-top: 25px;
    padding: 20px 0;
    text-align: center;
}

.footer-nav nav a {
    text-decoration: none;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 0.2rem;
    margin-top: 1rem;
}

@media (max-width : 410px) {
    .card {
        width: 280px;
    }
}

@media (max-width : 380px) {
    .card {
        width: 260px;
    }
}

@media (max-width : 360px) {
    .card {
        width: 240px;
    }
}