/* Контейнер світу */
#game-world {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background-image: url("grass.png");
    background-size: 96px 96px;
    background-repeat: repeat;
    pointer-events: auto;
}

/* Вміст світу */
#world-content {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    transform-style: preserve-3d;
    z-index: 10; /* ПІДНЯТО */
}

/* Тайли */
.tile {
    position: absolute;
    transform-origin: 0 0;
    width: 96px;
    height: 96px;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: auto;
    z-index: 20; /* ТАЙЛИ НАД ФОНОМ, АЛЕ ПІД БДЖОЛАМИ */
}

.tile.locked {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
}

/* Підсвітка */
.tile.highlight {
    outline: 3px solid yellow;
    outline-offset: -3px;
    background-color: rgba(255, 255, 0, 0.25);
}

/* Вулик */
.hive {
    position: absolute;
    width: 160px;
    height: 160px;
    pointer-events: none;
    z-index: 50; /* ВИЩЕ ТАЙЛІВ */
}

/* Індикатор монет */
.hive-coins {
    position: absolute;
    padding: 6px 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    z-index: 60; /* НАД ВУЛИКОМ */
}

/* Бджоли */
.bee {
    position: absolute;
    width: 36px;
    height: 36px;
    pointer-events: none;
    z-index: 100; /* НАЙВИЩЕ */
}

/* UI */
#collectBtn,
#expandBtn,
#playerCoinsDisplay {
    position: fixed;
    z-index: 1000; /* UI завжди зверху */
}

#collectBtn {
    bottom: 20px;
    left: 20px;
    padding: 12px 20px;
    font-size: 18px;
}

#playerCoinsDisplay {
    bottom: 70px;
    left: 20px;
    font-size: 22px;
    color: white;
}

#expandBtn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 18px;
}

