
/* waifu-wars/css/travel.css - Styles for region travel animations and UI */

/* Travel options in popups */
.travel-options {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    flex-shrink: 0;
    margin-left: 10px;
}
.travel-options .travel-btn {
    padding: 4px 8px;
    font-size: 12px;
    white-space: nowrap;
}

/* Teleportation Animation */
#teleport-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    animation: fade-in-teleport 0.5s forwards;
}

@keyframes fade-in-teleport {
    to { opacity: 1; }
}

.portal-swirl {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250vmax;
    height: 250vmax;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.portal-swirl-1 {
    border: 5vmax solid transparent;
    border-top-color: #9400d3; /* Void */
    border-right-color: #5b92e5; /* Holy-ish */
    animation: swirl 2s ease-in-out infinite;
}

.portal-swirl-2 {
    width: 200vmax;
    height: 200vmax;
    border: 4vmax solid transparent;
    border-bottom-color: #a0e8ff; /* Glacial */
    border-left-color: #fffacd; /* Holy-ish */
    animation: swirl 1.5s linear infinite reverse;
}

@keyframes swirl {
    from { transform: translate(-50%, -50%) rotate(0deg) scale(0.1); }
    to { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

.portal-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    animation: flash 0.3s 2s forwards;
}

@keyframes flash {
    50% { opacity: 1; }
    100% { opacity: 0; }
}
