/**
 * Bar Journey Game Styles
 * RPG-style pick-your-story game theme
 */

/* Game Card Styles */
.game-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.game-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(50, 255, 0, 0.2);
}

/* Neon Glow Effects */
.neon-glow-green {
    text-shadow: 0 0 12px rgba(50, 255, 0, 0.3), 0 0 24px rgba(50, 255, 0, 0.15);
}

.neon-glow-cyan {
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.3), 0 0 24px rgba(0, 255, 255, 0.15);
}

.neon-glow-pink {
    text-shadow: 0 0 12px rgba(255, 0, 127, 0.3), 0 0 24px rgba(255, 0, 127, 0.15);
}

/* Stats Display */
.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9aa4b2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #32ff00;
    text-shadow: 0 0 8px rgba(50, 255, 0, 0.4);
}

/* Choice Buttons */
.choice-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    background: linear-gradient(135deg, rgba(50, 255, 0, 0.08), rgba(0, 255, 255, 0.05));
    border: 2px solid rgba(50, 255, 0, 0.2);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.choice-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(50, 255, 0, 0.5);
    background: linear-gradient(135deg, rgba(50, 255, 0, 0.15), rgba(0, 255, 255, 0.1));
    box-shadow: 0 4px 16px rgba(50, 255, 0, 0.2);
}

.choice-btn:active {
    transform: scale(0.98);
}

.choice-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
}

.choice-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Choice requirement badges */
.choice-requirement {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.choice-requirement.stamina {
    color: #32ff00;
    border: 1px solid rgba(50, 255, 0, 0.3);
}

.choice-requirement.charisma {
    color: #ff007f;
    border: 1px solid rgba(255, 0, 127, 0.3);
}

.choice-requirement.perception {
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.choice-requirement.item {
    color: #ffbf00;
    border: 1px solid rgba(255, 191, 0, 0.3);
}

/* Story text animations */
.story-paragraph {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NPC Dialog styles */
#npc-dialog {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chapter indicator */
#chapter-indicator {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
    .stat-box {
        padding: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .choice-btn {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
}

/* Inventory display */
#inventory-display {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.inventory-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(50, 255, 0, 0.1);
    border: 1px solid rgba(50, 255, 0, 0.3);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #32ff00;
}

/* Ending screen enhancements */
#ending-icon {
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
