/* Source: screens-menu-hiking.css — Hiking Trail interaction screen */

/* ── HIKING INTERACTION SCREEN ────────────────────────────── */
.hikingInteractionContainer {
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 2rem;
    overflow-y: auto;
}

.hikingInteractionContainer h2 {
    text-align: center;
    color: #27ae60;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 80%);
}

/* Needs panel */
.hikingNeedsPanel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgb(0 0 0 / 55%);
    border-radius: 10px;
    border: 1px solid rgb(255 255 255 / 10%);
    width: 100%;
    max-width: 650px;
    flex-wrap: wrap;
    justify-content: center;
}

.hikingNeedsChar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-right: 1px solid rgb(255 255 255 / 10%);
    flex-shrink: 0;
}

.hikingNeedsCharImg {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
    background: rgb(255 255 255 / 5%);
}

.hikingNeedsCharInfo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hikingNeedsCharName {
    font-size: 1.05rem;
    font-weight: bold;
    color: #27ae60;
}

.hikingNeedsCharLevel {
    font-size: 0.85rem;
    color: #aaa;
}

.hikingNeedsCharMood {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.hikingNeedsBars {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
    min-width: 200px;
}

.hikingNeedBarRow {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hikingNeedBarIcon {
    font-size: 0.9rem;
    width: 1.3rem;
    text-align: center;
    flex-shrink: 0;
}

.hikingNeedBarLabel {
    font-size: 0.75rem;
    color: #ccc;
    min-width: 3.2rem;
    flex-shrink: 0;
    font-weight: bold;
}

.hikingNeedBarTrack {
    flex: 1;
    height: 10px;
    background: rgb(255 255 255 / 10%);
    border-radius: 5px;
    overflow: hidden;
    min-width: 0;
}

.hikingNeedBar {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.hikingNeedBarEnergy {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.hikingNeedBarHunger {
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
}

.hikingNeedBarFun {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.hikingNeedBar.low {
    box-shadow: 0 0 8px rgb(255 0 0 / 50%);
    animation: hikingNeedBarLowPulse 1s ease-in-out infinite;
}

@keyframes hikingNeedBarLowPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.hikingNeedBarValue {
    font-size: 0.8rem;
    color: #fff;
    min-width: 1.8rem;
    text-align: right;
    font-weight: bold;
    flex-shrink: 0;
}

/* Discovery bar */
.hikingDiscoveryBar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgb(0 0 0 / 40%);
    border-radius: 8px;
    border: 1px solid rgb(39 174 96 / 25%);
    width: 100%;
    max-width: 650px;
}

.hikingDiscoveryLabel {
    font-size: 0.85rem;
    color: #27ae60;
    font-weight: bold;
}

.hikingDiscoveryIcons {
    font-size: 0.85rem;
    color: #ccc;
    letter-spacing: 2px;
}

/* Activity grid */
.hikingActivitiesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    width: 100%;
    max-width: 650px;
}

.hikingActivityCard {
    background: rgb(0 0 0 / 55%);
    border: 2px solid rgb(255 255 255 / 12%);
    border-radius: 10px;
    padding: 1.2rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}

.hikingActivityCard:hover:not(.used) {
    border-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgb(39 174 96 / 30%);
    background: rgb(0 0 0 / 75%);
}

.hikingActivityCard.used {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: rgb(255 255 255 / 6%);
}

.hikingActivityCard.first-discovery {
    border-color: #f39c12 !important;
    box-shadow: 0 0 12px rgb(243 156 18 / 30%);
}

.hikingActivityCard.first-discovery::before {
    content: '🔍 New!';
    position: absolute;
    top: -6px;
    left: 8px;
    font-size: 0.65rem;
    font-weight: bold;
    color: #f39c12;
    background: rgb(0 0 0 / 80%);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    z-index: 2;
    animation: hikingNewPulse 1.5s ease-in-out infinite;
}

@keyframes hikingNewPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.hikingActivityEmoji {
    font-size: 2rem;
    line-height: 1;
}

.hikingActivityName {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}

.hikingActivityDesc {
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.3;
}

.hikingActivityCost {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--success-color);
}

.hikingActivityUsed {
    display: none;
    font-size: 0.8rem;
    color: var(--success-color);
    font-weight: bold;
}

.hikingActivityCard.used .hikingActivityUsed {
    display: block;
}

.hikingActivityCard.used .hikingActivityCost {
    display: none;
}

/* Bottom bar */
.hikingActivitiesBottom {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.hikingActivitiesBottom .moneyDisplay {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--success-color);
}

.hikingLeaveBtn {
    background: linear-gradient(135deg, rgb(255 255 255 / 12%), rgb(255 255 255 / 6%));
    color: #ccc;
    border: 1px solid rgb(255 255 255 / 20%);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow:
        0 1px 4px rgb(0 0 0 / 15%),
        inset 0 1px 0 rgb(255 255 255 / 8%);
}

.hikingLeaveBtn:hover {
    background: linear-gradient(135deg, rgb(39 174 96 / 30%), rgb(39 174 96 / 15%));
    color: #fff;
    border-color: #27ae60;
    transform: translateY(-1px);
}
