/* css/bestiary.css */
.bestiary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
}

.auto-width {
    width: auto !important;
    padding: 10px 20px;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.bestiary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.bestiary-card {
    background: linear-gradient(145deg, rgba(15, 20, 35, 0.8), rgba(5, 10, 20, 0.9));
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bestiary-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.bestiary-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bestiary-card:hover::before {
    left: 200%;
}

.bestiary-canvas {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

.bestiary-info {
    flex: 1;
    text-align: left;
}

.b-title {
    color: #00ffcc;
    margin: 0 0 5px 0;
    font-size: 1.4rem;
}

.b-desc {
    margin: 0;
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.4;
}

.b-hp {
    margin: 10px 0 0 0;
    font-size: 0.9rem;
    color: #ff3333;
    font-weight: bold;
}

.bestiary-undiscovered {
    opacity: 0.3;
}

.b-title-undiscovered {
    color: #ffffff;
    margin: 0 0 5px 0;
}

.target-marked {
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.b-target-label {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 10px;
    text-shadow: 0 0 5px #ffd700;
}
