.steps-label {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 26px;
    color: #3a4d39;
    text-align: center;
    margin-bottom: 8px;
}

.steps-subtitle {
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    color: #6b4c2a;
    text-align: center;
    max-width: 500px;
    margin: 0 auto 28px auto;
    line-height: 1.5;
}

/* container semua step, cuma flex column biasa */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

/* satu kotak step */
.step-box {
    background: #fff;
    border: 3px solid #734f30;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 4px 5px 0 #734f30; /* efek kartun, biar kayak punya bayangan tebal */
}

.step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

/* bulatan nomor step */
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3a4d39;
    border: 3px solid #daa520;
    color: white;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* biar ga kegencet pas judulnya kepanjangan */
}

.step-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 21px;
    color: #331a00;
}

.step-desc {
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    color: #6b4c2a;
    line-height: 1.6;
    margin-bottom: 0; /* dulu ada jarak buat gambar, sekarang gak perlu lagi */
}

.step-desc strong {
    color: #8B4513;
}

/* section pilih akun uji coba, muncul di dalam step login */
.account-select {
    background: #f3e8d6;
    border: 2px dashed #734f30;
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 14px;
}

.account-select-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 20px;
    color: #331a00;
    text-align: center;
    margin-bottom: 8px;
}

/* keterangan password ditulis sekali aja, gak perlu diulang di tiap baris */
.account-password-note {
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    color: #6b4c2a;
    text-align: center;
    margin-bottom: 14px;
}

.account-password-note strong {
    color: #8B4513;
}

/* wrapper biar tabel bisa di-scroll ke samping di layar sempit, gak pecah layoutnya */
.account-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* tabel nama akun, disusun 4 kolom per baris biar tetap ringkas walau datanya banyak (24 akun) */
.account-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
}

.account-table td {
    border: 2px solid #734f30;
    background: #fff;
    color: #331a00;
    font-weight: 600;
    text-align: center;
    padding: 9px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-table tbody tr:nth-child(even) td {
    background: #f9f2e4;
}

/* kotak aturan main */
.rules-box {
    background: #f3e8d6;
    border: 3px solid #734f30;
    border-radius: 18px;
    padding: 26px 30px;
    margin-bottom: 32px;
    box-shadow: 4px 5px 0 #734f30;
}

.rules-box h2 {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 22px;
    color: #331a00;
    margin-bottom: 18px;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3a2a14;
}

.rules-list .icon {
    font-size: 19px;
    flex-shrink: 0;
}

.rules-list strong {
    color: #8B4513;
}

/* bagian tingkat kesulitan, awalnya pakai table tapi ganti jadi card
   soalnya tablenya susah dirapihin di hp */
.score-section {
    margin-bottom: 40px;
}

.score-section h2 {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 22px;
    color: #331a00;
    text-align: center;
    margin-bottom: 18px;
}

.difficulty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.difficulty-card {
    background: #fff;
    border: 3px solid #734f30;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 4px 5px 0 #734f30;
}

.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.badge-easy {
    background: #dcead4;
    color: #3a4d39;
}
.badge-medium {
    background: #f6e3b4;
    color: #8B4513;
}
.badge-hard {
    background: #ecd2c4;
    color: #8B4513;
}

/* baris info di tiap card difficulty, label kiri - value kanan */
.diff-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Cabin', sans-serif;
    font-size: 15px;
    color: #6b4c2a;
    border-top: 2px solid #f3e8d6;
    padding-top: 10px;
    margin-top: 10px;
}

.diff-row:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.diff-row span:last-child {
    font-weight: 700;
    color: #331a00;
}

/* tombol mulai main di bawah */
.cta-section {
    text-align: center;
    padding: 20px 0 28px;
}

.cta-section p {
    font-family: 'Cabin', sans-serif;
    font-size: 17px;
    color: #6b4c2a;
    margin-bottom: 20px;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 240px;
    background: linear-gradient(180deg, #4A6349, #3a4d39);
    color: #f5ecd9;
    border: 3px solid #daa520;
    border-radius: 999px;
    padding: 16px 36px;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 20px;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 5px 0 #26321f, 0 8px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #26321f, 0 10px 18px rgba(0, 0, 0, 0.3);
}

.play-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #26321f, 0 4px 8px rgba(0, 0, 0, 0.25);
}

footer {
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: #3a4d39;
    border-top: 3px solid #734f30;
    margin-top: auto;
}

footer p {
    margin: 0;
    font-weight: 500;
}

/* responsive, biar gak ancur di hp */
@media (max-width: 800px) {
    .difficulty-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .rules-box {
        padding: 18px 18px;
    }
    .difficulty-grid {
        grid-template-columns: 1fr;
    }
    .account-table {
        font-size: 13px;
        min-width: 420px;
    }
    .account-table td {
        padding: 8px 6px;
    }
}