/**
 * NPC Info Page Styles
 * สไตล์สำหรับหน้าข้อมูลมอนสเตอร์
 */

/* === Container === */
.npcinfo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* === Header === */
.npcinfo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.npcinfo-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.npcinfo-header p {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* === Category Tabs === */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #cbd5e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--tab-color, #F07D1A);
    color: white;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--tab-color, #F07D1A), color-mix(in srgb, var(--tab-color, #F07D1A) 70%, #000));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tab-icon {
    font-size: 1.25rem;
}

.tab-text {
    font-size: 0.9rem;
}

/* === Search & Filters === */
.search-filter-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(0, 0, 0, 0.3);
}

.search-input-wrapper input::placeholder {
    color: #64748b;
}

.map-select {
    min-width: 200px;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.map-select:focus {
    outline: none;
    border-color: #8b5cf6;
}

.map-select option {
    background: #1e293b;
    color: white;
}

.search-btn,
.reset-btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.reset-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* === Stats Bar === */
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.stats-info {
    display: flex;
    gap: 2rem;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.stats-item .icon {
    font-size: 1.1rem;
}

.stats-item .value {
    color: white;
    font-weight: 600;
}

/* === NPC Grid === */
.npc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* === NPC Card === */
.npc-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.npc-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-color, #8b5cf6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.npc-card.boss {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.05));
}

.npc-card.boss:hover {
    border-color: #8b5cf6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.npc-card-header {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--card-color, #64748b) 20%, transparent),
            color-mix(in srgb, var(--card-color, #64748b) 5%, transparent));
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.npc-image {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.npc-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
}

.npc-card:hover .npc-image img {
    transform: scale(1.1);
}

.npc-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.boss-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
}

.mini-badge {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: white;
}

.aggro-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.9rem;
}

.npc-card-body {
    padding: 1.25rem;
}

.npc-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.npc-id {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.npc-level {
    margin-bottom: 0.75rem;
}

.level-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.npc-quick-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.npc-quick-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #cbd5e0;
}

.npc-quick-stats .stat-icon {
    font-size: 0.9rem;
}

.npc-exp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
}

.exp-icon {
    font-size: 1rem;
}

.exp-value {
    color: #22c55e;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Respawn Time */
.npc-respawn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.respawn-icon {
    font-size: 1rem;
}

.respawn-value {
    color: #a78bfa;
    font-weight: 600;
    font-size: 0.85rem;
}

/* === Empty State === */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.page-current {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* === Error Message === */
.error-message {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* ============================================
   NPC MODAL STYLES
   ============================================ */

.npc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.npc-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.npc-modal {
    width: 100%;
    max-width: 900px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.npc-modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--header-color, #64748b) 30%, transparent),
            color-mix(in srgb, var(--header-color, #64748b) 10%, transparent));
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.5);
    transform: rotate(90deg);
}

.modal-monster-image {
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-monster-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.modal-monster-info h2 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.75rem;
}

.modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-badges .badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.type-badge {
    color: white;
}

.id-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
}

/* === Modal Body === */
.npc-modal-body {
    padding: 1.5rem 2rem 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* === Stats Grid === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.stat-box .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-box .stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.stat-box .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.stat-box.hp .stat-value {
    color: #f87171;
}

.stat-box.atk .stat-value {
    color: #fb923c;
}

.stat-box.def .stat-value {
    color: #60a5fa;
}

.stat-box.exp .stat-value {
    color: #4ade80;
}

.stat-box.level .stat-value {
    color: #a78bfa;
}

/* === Info Grid === */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.info-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.info-value {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

/* === Tables === */
.locations-table-wrapper,
.drops-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.locations-table,
.drops-table {
    width: 100%;
    border-collapse: collapse;
}

.locations-table th,
.locations-table td,
.drops-table th,
.drops-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.locations-table th,
.drops-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.locations-table td,
.drops-table td {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.locations-table tr:hover,
.drops-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Location Grid & Cards */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.location-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.location-card:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    transform: translateY(-2px);
}

.location-card .map-icon {
    font-size: 1.5rem;
}

.location-card .map-info {
    flex: 1;
    min-width: 0;
}

.location-card .map-name {
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    /* Override previous flex */
}

.location-card .spawn-count {
    color: #94a3b8;
    font-size: 0.8rem;
}

.location-card .spawn-count span {
    color: #10b981;
    font-weight: 600;
}

.location-card .arrow-icon {
    color: #475569;
    transition: transform 0.2s;
}

.location-card:hover .arrow-icon {
    color: #10b981;
    transform: translateX(3px);
}



/* === Drop Table Specifics === */
.item-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.item-icon {
    font-size: 1.25rem;
}

.item-icon-img {
    width: 32px;
    height: 32px;
    background-size: 512px 512px;
    flex-shrink: 0;
}

.item-id {
    color: #64748b;
}

.item-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s;
}

.item-link .item-icon {
    flex-shrink: 0;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.3);
}

.item-link:hover {
    color: #a78bfa;
}

.item-link:hover .item-icon {
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

.item-name-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s;
}

.item-name-link:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

.drop-chance {
    min-width: 100px;
}

.chance-bar {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(90deg,
            rgba(139, 92, 246, 0.3) var(--chance),
            rgba(255, 255, 255, 0.05) var(--chance));
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Rare Drop Styling */
.rare-drop {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #8b5cf6, #6366f1, #8b5cf6);
    background-size: 200% 200%;
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    animation: rareShimmer 2s ease infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

@keyframes rareShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Guaranteed Drop Styling (Boss 100%) */
.guaranteed-drop {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #10b981, #059669, #10b981);
    background-size: 200% 200%;
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    animation: guaranteedPulse 2s ease infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

@keyframes guaranteedPulse {

    0%,
    100% {
        background-position: 0% 50%;
        transform: scale(1);
    }

    50% {
        background-position: 100% 50%;
        transform: scale(1.02);
    }
}

.drops-table tr.rare .item-name {
    color: #f59e0b;
}

.drops-table tr.uncommon .item-name {
    color: #8b5cf6;
}

.money-drop {
    color: #fbbf24;
    white-space: nowrap;
}

.empty-section {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.skills-info {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.skills-info code {
    color: #a78bfa;
    font-size: 0.85rem;
    word-break: break-all;
}

/* === Responsive === */
@media (max-width: 768px) {
    .npcinfo-header h1 {
        font-size: 1.75rem;
    }

    .category-tabs {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .tab-text {
        display: none;
    }

    .search-row {
        flex-direction: column;
    }

    .map-select {
        width: 100%;
    }

    .stats-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .npc-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .npc-modal {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }

    .npc-modal-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .modal-monster-info h2 {
        font-size: 1.25rem;
    }

    .modal-badges {
        justify-content: center;
    }

    .npc-modal-body {
        padding: 1rem;
        max-height: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .npc-grid {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 0.5rem 0.75rem;
    }

    .tab-icon {
        font-size: 1.1rem;
    }
}

/* ========================================
   NPC DETAIL PAGE STYLES
   ======================================== */

.npc-detail-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Back Button */
.detail-nav {
    margin-bottom: 1.5rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    transform: translateX(-3px);
}

/* Detail Header */
.detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(var(--header-color-rgb, 139, 92, 246), 0.15), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.detail-monster-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.detail-monster-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.detail-monster-info h1 {
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Detail Content */
.detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
}

.detail-section .section-title {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .detail-header {
        flex-direction: column;
        text-align: center;
    }

    .detail-monster-info h1 {
        font-size: 1.5rem;
    }

    .detail-badges {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}