.explore-container {
    display: flex;
    justify-content: center;  /* Center both left and right content together */
    align-items: center;  /* Vertically center the items */
    gap: 30px;  /* Reduce gap between left and right content to bring them closer */
    margin-top: 20px;
}

.left-content, .right-content {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Center content inside the div */
}

/* Map container holding the map image and table */
.map-container {
    width: fit-content;
    height: fit-content;
    background-size: cover; /* Make sure the background image covers the entire container */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* No repetition of the background */
    border: 3px solid #3498db;
    border-radius: 10px;
    overflow: hidden;
}


/* The map table */
.map-table {
    width: 768px; /* Fixed width for the table */
    height: 768px; /* Fixed height for the table */
    border-collapse: collapse; /* Remove spaces between cells */
    table-layout: fixed; /* Ensure all cells are of equal width */
}

/* Cells within the map table */
.map-cell {
    width: 32px;
    height: 32px;
    border: 0px solid transparent; /* Transparent border */
    box-sizing: border-box;
}

/* Player position cell styling
.player-cell {
    background-color: red;
}*/

/* Right content containing map details and other information */
.right-content {
    width: 20%;
    min-width: 250px;  /* Set a reasonable minimum width */
    padding-bottom: 20%;
}

/* Container for the movement circle */
.move-controls-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 150px;
    height: 150px;
    /* Center the compass within the right content area */
}
.control-circle {
    position: relative;
    width: 150px; /* Adjust size as necessary */
    height: 150px; /* Adjust size as necessary */
    border-radius: 50%;
    background: radial-gradient(circle at center, #ffffff, #e6e6e6);
    border: 3px solid #3498db;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.control-part {
    position: absolute;
    width: 50%;
    height: 50%;
    cursor: pointer;
    opacity: 0.7;
}

.control-part:hover {
    opacity: 1;
}

.move-up {
    top: 0;
    left: 25%;
    width: 50%;
    height: 50%;
    background: rgba(52, 152, 219, 0.3);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.move-down {
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 50%;
    background: rgba(52, 152, 219, 0.3);
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
}

.move-left {
    top: 25%;
    left: 0;
    width: 50%;
    height: 50%;
    background: rgba(52, 152, 219, 0.3);
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
}

.move-right {
    top: 25%;
    right: 0;
    width: 50%;
    height: 50%;
    background: rgba(52, 152, 219, 0.3);
    clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
}

.control-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20%;
    height: 20%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: transparent; /* Hole in the center */
    cursor: default;
}

#overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevent blocking interactions */
    z-index: 2; /* Ensure it is above the background but below the sprite */
}
