/* Styles for the Expedition Modal - Based on Profile Modal */
:root {
    --profile-primary-font: 'Roboto Mono', monospace;
    --profile-accent-font: 'Press Start 2P', cursive;
    --profile-glow-color: #00FFDC;
    --profile-text-primary: #E0F0FF;
    --profile-text-secondary: #A0C0E0;
}

.expedition-modal {
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85); /* Match datamining: Darker overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    backdrop-filter: blur(6px); /* Match datamining: Stronger blur */
}

.expedition-modal.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}

.expedition-modal .profile-modal-content {
    background: linear-gradient(145deg, rgba(10, 25, 40, 0.97), rgba(20, 35, 55, 0.97)); /* Match datamining: Darker, techy gradient */
    margin: auto;
    padding: 0; 
    border: 1px solid rgba(0, 255, 220, 0.6); /* Match datamining: Cyan/Turquoise border */
    border-radius: 15px; 
    width: 90%;
    max-width: 400px; 
    box-shadow: 0 10px 50px rgba(0, 255, 220, 0.7), 0 0 20px rgba(0,0,0,0.4); /* Match datamining: Stronger glow */
    color: var(--profile-text-primary); /* Updated to use CSS variable */
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    font-family: var(--profile-primary-font); /* Added primary font */
}

.expedition-modal .profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px; /* Match datamining */
    background-color: rgba(0,0,0,0.3); /* Match datamining */
    border-bottom: 1px solid rgba(0, 255, 220, 0.4); /* Match datamining */
}

.expedition-modal .profile-modal-header h3 {
    font-family: var(--profile-accent-font); /* Added accent font */
    color: var(--profile-glow-color);  /* Updated to use CSS variable */
    margin: 0;
    font-size: 1.4em; /* Adjusted for new font */
    font-weight: normal; /* Press Start 2P is already bold */
    text-shadow: 0 0 6px rgba(0, 255, 220, 0.8);
}

.expedition-modal .profile-modal-close-button {
    background: none;
    border: none;
    color: var(--profile-text-secondary); /* Updated to use CSS variable */
    font-size: 2.2em; /* Adjusted from datamining */
    font-weight: bold;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.expedition-modal .profile-modal-close-button:hover {
    color: var(--profile-glow-color); /* Updated to use CSS variable */
    transform: scale(1.1);
}

.expedition-modal .profile-modal-body {
    padding: 20px 25px 25px; 
    display: flex;
    flex-direction: column;
    gap: 20px; 
    max-height: 70vh; 
    overflow-y: auto; 
    font-size: 0.9rem; 
    text-align: center;
}

.expedition-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px; /* Vertical space between title, text, and buttons */
    opacity: 0; /* Initially hidden for fade-in */
}

.expedition-content-wrapper h4 {
    font-family: var(--profile-accent-font);
    font-size: 1.2em;
    font-weight: normal;
    text-shadow: 0 0 5px currentColor;
    margin: 0;
}

.expedition-content-wrapper .access-granted {
    color: #00f2ea;
}

.expedition-content-wrapper .access-denied {
    color: #b60c0c;
}

.expedition-content-wrapper p {
    margin: 0;
    line-height: 1.5;
    max-width: 320px; /* Constrain text width */
    color: var(--profile-text-secondary);
}

.expedition-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between buttons */
    width: 100%;
    margin-top: 10px; /* Extra space above buttons */
}

/* Custom scrollbar for modal body (Webkit browsers) - from datamining */
.expedition-modal .profile-modal-body::-webkit-scrollbar {
    width: 8px;
}
.expedition-modal .profile-modal-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}
.expedition-modal .profile-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 220, 0.5); /* Accent color */
    border-radius: 4px;
}
.expedition-modal .profile-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 220, 0.8); /* Accent color hover */
}


@media (max-width: 480px) {
    .expedition-modal .profile-modal-content {
        max-width: 95%;
        margin: 20px auto; 
    }
    .expedition-modal .profile-modal-header h3 {
        font-size: 1.2em; /* Adjusted for smaller screens */
    }
    .expedition-modal .profile-modal-close-button {
        font-size: 2em;
    }
    .expedition-modal .profile-modal-body {
        padding: 15px 20px 20px;
        font-size: 0.85rem;
    }
}
.action-button {
    background-color: transparent;
    border: 2px solid var(--profile-glow-color);
    color: var(--profile-glow-color);
    font-family: var(--profile-accent-font);
    font-size: 0.9em;
    padding: 15px 20px;
    border-radius: 99px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    text-align: center;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.action-button:hover:not(:disabled) {
    background-color: var(--profile-glow-color);
    color: #0A1E32; /* Dark background color for text on hover */
    box-shadow: 0 0 10px rgba(0, 255, 220, 0.6);
}

.action-button:disabled {
    border-color: rgba(160, 192, 224, 0.3);
    background-color: rgba(160, 192, 224, 0.1);
    color: rgba(160, 192, 224, 0.4);
    cursor: not-allowed;
}

/* Keyframes for the glowing animation */
@keyframes glow-pulse-animation {
    0% {
        box-shadow: 0 0 5px var(--profile-glow-color), 0 0 5px var(--profile-glow-color) inset;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px var(--profile-glow-color), 0 0 10px var(--profile-glow-color) inset;
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 5px var(--profile-glow-color), 0 0 5px var(--profile-glow-color) inset;
        transform: scale(1);
    }
}

/* Style for the highlighted mint button */
.action-button.mint-highlight {
    background-color: var(--profile-glow-color);
    color: #0A1E32;
    animation: glow-pulse-animation 2.5s infinite ease-in-out;
}

/* Style for the secondary highlighted button (no pulse) */
.action-button.view-galaxy-highlight {
    background-color: rgba(0, 255, 220, 0.8);
    color: #0A1E32;
    box-shadow: 0 0 10px rgba(0, 255, 220, 0.6);
}

.action-button.view-galaxy-highlight:hover:not(:disabled) {
    background-color: var(--profile-glow-color);
    box-shadow: 0 0 15px rgba(0, 255, 220, 0.8);
} 