body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: #f5f5f5;
    overflow-x: hidden;
}

/* Background atas */
.bg {
    position: fixed;
    width: 100%;
    height: 320px;
    top: 0;
    background: linear-gradient(135deg, #5e9cff, #a57bff);
    clip-path: ellipse(80% 55% at 50% 20%);
    z-index: -1;
}

.judul {
    text-align: center;
    margin-top: 50px;
    font-size: 2.4rem;
    color: white;
    letter-spacing: 4px;
    text-shadow: 0 2px 4px #0003;
}

.container-tts {
    position: relative;
    width: 100%;
    margin-top: 60px;
}

/* GRID UTAMA */
.grid {
    width: 350px;
    display: grid;
    grid-template-columns: repeat(7, 45px);
    grid-auto-rows: 45px;
    gap: 4px;
    margin: 0 auto;
}

.col-merahputih {
    grid-column: 5;  /* misalnya kolom 4 dari grid utama */
    display: grid;
    grid-auto-rows: 35px;  /* tinggi kotak */
    gap: 4px;
}


/* Kotak */
.cell {
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

.cell:focus {
    outline: none;
    border-color: #6a9aff;
    box-shadow: 0 0 6px #7aa7ff;
}

/* Kotak read-only */
.readonly {
    background: #cdd7ff;
    color: #333;
}

/* Kotak transparan / kosong grid */
.grid div {
    background: none;
}

/* Gambar */
.img {
    position: absolute;
    width: 120px;
}

/* Posisi gambar sesuai contoh */
.pesawat { top: -20px; left: 55%; }
.kapal    { top: 40px; left: 72%; }
.kereta   { top: 80px; left: 5%; }
.becak    { top: 300px; left: 2%; }

/* Clues */
.clue {
    position: absolute;
    font-size: 0.9rem;
    background: #ffffffee;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px #0002;
}

.clue-pesawat { top: 95px; left: 53%; }
.clue-kapal   { top: 145px; left: 69%; }
.clue-kereta  { top: 145px; left: 8%; }
.clue-becak   { top: 380px; left: 10%; }
