/* Styles pour le système d'expéditions et reliques */

/* Carte de lieu d'expédition */
.expedition-location-card {
    background: linear-gradient(to bottom, rgba(10, 10, 20, 0.7), rgba(10, 10, 20, 0.9));
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 250px;
    cursor: pointer;
}

.expedition-location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.expedition-location-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.expedition-location-card:hover .expedition-location-image {
    opacity: 0.6;
}

.expedition-location-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.expedition-location-difficulty {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 2px;
}

.difficulty-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.difficulty-dot.active {
    background: #FFC107;
    box-shadow: 0 0 5px #FFC107;
}

.expedition-location-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.expedition-location-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expedition-location-details {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.expedition-duration {
    display: flex;
    align-items: center;
    gap: 5px;
}

.expedition-cost {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64B5F6;
}

/* Style des expéditions actives */
.active-expedition-card {
    background: rgba(10, 10, 20, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    border-left: 4px solid #2196F3;
}

.expedition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.expedition-title {
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.expedition-progress-container {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.expedition-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2196F3, #03A9F4);
    border-radius: 5px;
    transition: width 0.3s;
}

.expedition-details {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.expedition-time-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.expedition-generators {
    display: flex;
    align-items: center;
    gap: 5px;
}

.generator-chip {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
}

/* Style des expéditions terminées */
.completed-expedition-card {
    background: rgba(20, 20, 30, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    border-left: 4px solid #4CAF50;
}

.expedition-rewards {
    margin-top: 10px;
    padding: 10px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.token-reward {
    color: #FFC107;
    font-weight: bold;
}

.relic-reward {
    color: #E040FB;
    font-weight: bold;
}

.reward-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.claim-rewards-btn {
    margin-top: 10px;
    padding: 8px 15px;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.claim-rewards-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

/* Style des reliques */
.relics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.relic-card {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8), rgba(30, 30, 45, 0.8));
    border-radius: 12px;
    padding: 15px;
    position: relative;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 200px;
}

.relic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.relic-card.equipped {
    border: 1px solid rgba(76, 175, 80, 0.5);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
}

.relic-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.relic-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.relic-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.relic-level {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: bold;
}

.relic-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    flex-grow: 1;
}

.relic-effect {
    font-size: 16px;
    color: white;
    font-weight: bold;
    padding: 8px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 10px;
}

.relic-action {
    margin-top: auto;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.equip-btn {
    background: linear-gradient(45deg, #2196F3, #03A9F4);
    color: white;
}

.unequip-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.equip-btn:hover {
    background: linear-gradient(45deg, #1E88E5, #039BE5);
    transform: scale(1.02);
}

.unequip-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

/* Notification d'expédition terminée */
.expedition-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 20, 0.95);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 350px;
    z-index: 500;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    backdrop-filter: blur(10px);
    border-left: 4px solid #4CAF50;
}

.expedition-notification.active {
    transform: translateX(0);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4CAF50;
}

.notification-content {
    flex-grow: 1;
}

.notification-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.notification-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.notification-close {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: white;
}