﻿:root {
    --adventure-forest: linear-gradient(135deg, #c1ffb4 0%, #49c6a4 100%);
    --adventure-volcano: linear-gradient(135deg, #ff8a65 0%, #ff5252 100%);
    --adventure-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --adventure-space: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    --adventure-market: linear-gradient(135deg, #ffd86f 0%, #fc6262 100%);
    --adventure-river: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    --rarity-common: #90a4ae;
    --rarity-rare: #42a5f5;
    --rarity-epic: #ab47bc;
    --rarity-legendary: #fbc02d;
}

.adventure-card {
    position: relative;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(31, 41, 55, 0.18);
    color: #1f2937;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.adventure-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(31, 41, 55, 0.22);
}

.adventure-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9999px;
    padding: 0.3rem 0.8rem;
    font-weight: 600;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.75);
}

.shop-card {
    border-radius: 1.25rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
}

.rarity-common {
    color: var(--rarity-common);
}

.rarity-rare {
    color: var(--rarity-rare);
}

.rarity-epic {
    color: var(--rarity-epic);
}

.rarity-legendary {
    color: var(--rarity-legendary);
}

.mode-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.mode-switcher button {
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mode-switcher button:hover,
.mode-switcher button:focus {
    transform: translateY(-3px);
    box-shadow: 0 16px 24px rgba(30, 64, 175, 0.18);
}

.coop-card,
.versus-card {
    border-radius: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    border: 3px dashed rgba(37, 99, 235, 0.35);
}

.progress-track {
    height: 12px;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.35);
    overflow: hidden;
}

.progress-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #34d399, #10b981);
}

.story-beat {
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(30, 64, 175, 0.08);
    border-left: 4px solid #6366f1;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.story-beat + .story-beat {
    margin-top: 0.75rem;
}

.mini-game-card {
    position: relative;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(96, 165, 250, 0.35);
    transition: transform 0.2s ease;
}

.mini-game-card:hover {
    transform: translateY(-4px);
}

.timeline-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.25);
}

.ai-coach-bubble {
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.encouragement-toast {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

