.home-wrapper { padding: 30px 20px 0 20px; position: relative; flex: 1; display: flex; flex-direction: column; }

/* Header Atas */
.header-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 10; }
.menu-dot { width: 40px; height: 40px; background: #000; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 14px; cursor: pointer; }
.rank-badge { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; color: var(--text-black); }
.rank-badge i { font-size: 18px; }

/* Watermark Belakang */
.bg-text-start {
    position: absolute;
    top: 60px;
    left: 15px;
    font-size: 90px;
    font-weight: 800;
    color: rgba(60, 118, 73, 0.2);
    z-index: 1;
    letter-spacing: -2px;
}

/* Bento Grid Kartu */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 35px; position: relative; z-index: 10; }

/* Kartu Hitam (Computer vs Player) */
.card-computer {
    background-color: var(--bg-dark-card);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    height: 190px;
    color: #fff;
    cursor: pointer;
}
.card-computer img { position: absolute; top: -35px; left: 50%; transform: translateX(-50%); width: 110px; drop-shadow: 0 10px 10px rgba(0,0,0,0.5); }
.card-computer h3 { font-size: 20px; line-height: 1.2; margin-bottom: 20px; }
.card-stats { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 20px; }
.card-stats span { color: var(--bg-green-main); }
.arrow-icon { color: var(--bg-green-main); font-size: 18px; }

/* Kartu Kompetitif (Gambar) */
.card-competitive {
    border-radius: 20px;
    height: 190px;
    position: relative;
    overflow: hidden;
    background-color: #2a2a2a;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    padding: 15px;
}
/* Pakai gradien hitam agar teks putih tetap terbaca jika pakai gambar */
.card-competitive::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); z-index: 1; }
.card-competitive h3 { color: #fff; font-size: 15px; line-height: 1.2; position: relative; z-index: 2; width: 80%; }
.card-competitive .arrow-icon { position: absolute; bottom: 15px; right: 15px; z-index: 2; }

/* Tombol Challenge */
.challenge-btn {
    background-color: var(--bg-dark-green);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    position: relative;
    z-index: 10;
    cursor: pointer;
}
.challenge-btn h3 { color: #fff; font-size: 17px; }
.avatar-group { display: flex; }
.avatar-group img { width: 35px; height: 35px; border-radius: 50%; border: 2px solid var(--bg-dark-green); margin-left: -10px; object-fit: cover; }

/* Bottom Sheet (Recent Matches) */
.bottom-sheet {
    background-color: var(--bg-green-sheet);
    margin-top: 30px;
    flex: 1;
    border-radius: 35px 35px 0 0;
    padding: 25px;
    position: relative;
    padding-bottom: 120px;
}
.drag-handle { width: 50px; height: 4px; background-color: #333; border-radius: 4px; margin: 0 auto 20px auto; }
.sheet-header { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; margin-bottom: 25px; color: var(--text-black); }
.match-item { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-weight: 700; font-size: 15px; color: var(--text-black); }
.match-left { display: flex; align-items: center; gap: 15px; width: 80px; }
.match-player { display: flex; align-items: center; gap: 10px; flex: 1; }
.match-player img { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; }
.match-result.win { color: var(--win-green); text-transform: uppercase; font-size: 14px; }
.match-result.loss { color: var(--loss-red); text-transform: uppercase; font-size: 14px; }