.retro-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.retro-modal-content {
    background-color: #222;
    border: 4px solid #55ff55;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 0 20px rgba(85, 255, 85, 0.5);
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    color: #fff;
    image-rendering: pixelated;
}

.retro-modal-title {
    color: #55ff55;
    margin-bottom: 20px;
    font-size: 18px;
    text-shadow: 2px 2px 0 #000;
}

/* 按钮样式 */
.modal-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.confirm-btn, .cancel-btn {
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.confirm-btn {
    background-color: #55ff55;
    color: white;
}

.confirm-btn:hover {
    background-color: #77ff77;
    box-shadow: 0 0 10px rgba(85, 255, 85, 0.7);
}

.cancel-btn {
    background-color: #ff5555;
    color: white;
}

.cancel-btn:hover {
    background-color: #ff7777;
    box-shadow: 0 0 10px rgba(255, 85, 85, 0.7);
}

/* 食物选择样式 */
.food-options, .travel-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.food-option, .travel-option {
    cursor: pointer;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s;
}

.food-option:hover, .travel-option:hover {
    border-color: #55ff55;
    background-color: rgba(85, 255, 85, 0.2);
}

.food-option img, .travel-option img {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.food-option p, .travel-option p {
    margin-top: 10px;
    color: #fff;
    font-size: 14px;
}

.retro-modal-close {
    background-color: #ff5555;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    transition: all 0.3s;
}

.retro-modal-close:hover {
    background-color: #ff7777;
    box-shadow: 0 0 10px rgba(255, 85, 85, 0.7);
}

.travel-modal .retro-modal-content {
    width: 400px;
}

.travel-scene {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    image-rendering: pixelated;
    border-radius: 8px;
}

.travel-pet {
    position: absolute;
    top: 58%;
    bottom: 20px;
    image-rendering: pixelated;
    z-index: 10;
    object-fit: contain;
}