/* General Styling */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /* Latar belakang biru tua seperti contoh gambar roda */
    background: #004d60 url('https://www.transparenttextures.com/patterns/dark-circles.png'); 
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 480px; /* Ukuran optimal untuk tampilan mobile-first */
}

.spin-wrapper {
    background-color: rgba(0, 0, 0, 0.4); /* Background lebih transparan */
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 1px 1px rgba(255,255,255,0.1);
    border: 1px solid #006075; /* Border warna biru kehijauan */
}

/* Wheel Styling */
.wheel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; 
    margin-bottom: 30px;
}

.pointer {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 50px solid #ffd700; /* Emas */
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    filter: drop-shadow(0 -4px 3px rgba(0,0,0,0.5));
}

.wheel {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 6s cubic-bezier(0.2, 0.8, 0.2, 1);
    
    /* PENTING: Menggunakan gambar baru Anda sebagai background roda */
    background-image: url('wheel-kencana88.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.prize {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    font-family: 'Teko', sans-serif;
    font-size: 20px; /* Ukuran font disesuaikan agar tidak menutupi border emas di gambar */
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
    text-transform: uppercase;
}

.prize span {
    position: relative;
    display: inline-block;
    left: 50%;
    /* Menggeser teks agar berada di tengah-tengah slice gambar roda */
    transform: translateX(-50%) translateY(30px); /* Disesuaikan untuk gambar baru */
}

/* Form Styling */
.form-wrapper {
    text-align: center;
}

.brand-logo {
    max-width: 200px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1em;
    color: #a0a0a0;
    margin: 0 0 25px 0;
}

#spinForm input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #007085; /* Border input biru kehijauan */
    background-color: #003a4c; /* Background input biru tua */
    color: #fff;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}
#spinForm input::placeholder { color: #888; }
#spinForm input:focus { outline: none; border-color: #ffd700; }

#spinBtn {
    width: 100%;
    padding: 18px;
    font-size: 1.4em;
    font-weight: 600;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    border: none;
    background: linear-gradient(180deg, #ffd700, #fca311); /* Tombol emas */
    color: #121212;
    text-transform: uppercase;
    transition: transform 0.2s;
}
#spinBtn:hover:not(:disabled) { transform: scale(1.02); }
#spinBtn:disabled { background: #555; cursor: not-allowed; }