/* ==========================================
   CLASS CHANGES - VISUAL STYLES
   ========================================== */

/* Class Header */
.class-header {
    background: rgba(30, 30, 46, 0.6);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.class-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.class-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.class-title {
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.class-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    margin: 0.5rem 0 0 0;
}

/* Spec Pills */
.class-specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 30, 46, 0.6);
    border: 2px solid;
    border-radius: 20px;
    font-size: 0.9rem;
}

.spec-icon-tiny {
    width: 20px;
    height: 20px;
}

.spec-name {
    font-weight: 600;
}

.spec-role {
    opacity: 0.7;
}

/* Hero Talent Section */
.hero-talent-section {
    background: rgba(167, 139, 250, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Spec Section */
.spec-section {
    margin-bottom: 2rem;
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 30, 46, 0.6);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.spec-icon {
    width: 32px;
    height: 32px;
}

/* Patch Note Hero Image */
.patch-note-hero-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.patch-note-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Patch Spec Headers */
.patch-spec-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 30, 46, 0.8);
    border-radius: 8px;
    margin: 2rem 0 1.5rem 0;
    border-left: 4px solid #a78bfa;
}

.patch-spec-header h3 {
    margin: 0 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.patch-spec-header.spec-blood {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.patch-spec-header.spec-frost {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.patch-spec-header.spec-unholy {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.patch-spec-header.spec-hero {
    border-left-color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
}

/* Universal Class/Spec Colors */
.patch-spec-header.spec-warrior,
.patch-spec-header.spec-arms,
.patch-spec-header.spec-fury {
    border-left-color: #C79C6E;
    background: rgba(199, 156, 110, 0.1);
}

.patch-spec-header.spec-paladin,
.patch-spec-header.spec-holy,
.patch-spec-header.spec-protection,
.patch-spec-header.spec-retribution {
    border-left-color: #F58CBA;
    background: rgba(245, 140, 186, 0.1);
}

.patch-spec-header.spec-hunter {
    border-left-color: #ABD473;
    background: rgba(171, 212, 115, 0.1);
}

.patch-spec-header.spec-rogue,
.patch-spec-header.spec-assassination,
.patch-spec-header.spec-outlaw,
.patch-spec-header.spec-subtlety {
    border-left-color: #FFF569;
    background: rgba(255, 245, 105, 0.1);
}

.patch-spec-header.spec-priest,
.patch-spec-header.spec-discipline,
.patch-spec-header.spec-holy,
.patch-spec-header.spec-shadow {
    border-left-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.patch-spec-header.spec-shaman,
.patch-spec-header.spec-elemental,
.patch-spec-header.spec-enhancement,
.patch-spec-header.spec-restoration {
    border-left-color: #0070DE;
    background: rgba(0, 112, 222, 0.1);
}

.patch-spec-header.spec-mage {
    border-left-color: #69CCF0;
    background: rgba(105, 204, 240, 0.1);
}

.patch-spec-header.spec-warlock,
.patch-spec-header.spec-affliction,
.patch-spec-header.spec-demonology,
.patch-spec-header.spec-destruction {
    border-left-color: #8788EE;
    background: rgba(135, 136, 238, 0.1);
}

.patch-spec-header.spec-monk {
    border-left-color: #00FF96;
    background: rgba(0, 255, 150, 0.1);
}

.patch-spec-header.spec-druid {
    border-left-color: #FF7D0A;
    background: rgba(255, 125, 10, 0.1);
}

.patch-spec-header.spec-demonhunter,
.patch-spec-header.spec-havoc,
.patch-spec-header.spec-vengeance,
.patch-spec-header.spec-devourer {
    border-left-color: #A330C9;
    background: rgba(163, 48, 201, 0.1);
}

.patch-spec-header.spec-evoker {
    border-left-color: #33937F;
    background: rgba(51, 147, 127, 0.1);
}

.patch-spec-header.spec-blood h3 {
    color: #fca5a5;
}

.patch-spec-header.spec-frost h3 {
    color: #93c5fd;
}

.patch-spec-header.spec-unholy h3 {
    color: #86efac;
}

.patch-spec-header.spec-hero h3 {
    color: #c4b5fd;
}

.patch-spec-header.spec-warrior h3,
.patch-spec-header.spec-arms h3,
.patch-spec-header.spec-fury h3 {
    color: #e2e8f0;
}

.patch-spec-header.spec-paladin h3,
.patch-spec-header.spec-holy h3,
.patch-spec-header.spec-protection h3,
.patch-spec-header.spec-retribution h3 {
    color: #fbcfe8;
}

.patch-spec-header.spec-hunter h3 {
    color: #d9f99d;
}

.patch-spec-header.spec-rogue h3,
.patch-spec-header.spec-assassination h3,
.patch-spec-header.spec-outlaw h3,
.patch-spec-header.spec-subtlety h3 {
    color: #fef08a;
}

.patch-spec-header.spec-priest h3,
.patch-spec-header.spec-discipline h3,
.patch-spec-header.spec-holy h3,
.patch-spec-header.spec-shadow h3 {
    color: #f9fafb;
}

.patch-spec-header.spec-shaman h3 {
    color: #93c5fd;
}

.patch-spec-header.spec-shaman h3,
.patch-spec-header.spec-elemental h3,
.patch-spec-header.spec-enhancement h3,
.patch-spec-header.spec-restoration h3 {
    color: #60a5fa;
}

.patch-spec-header.spec-mage h3 {
    color: #bae6fd;
}

.patch-spec-header.spec-warlock h3,
.patch-spec-header.spec-affliction h3,
.patch-spec-header.spec-demonology h3,
.patch-spec-header.spec-destruction h3 {
    color: #c7d2fe;
}

.patch-spec-header.spec-monk h3 {
    color: #6ee7b7;
}

.patch-spec-header.spec-druid h3 {
    color: #fdba74;
}

.patch-spec-header.spec-demonhunter h3,
.patch-spec-header.spec-havoc h3,
.patch-spec-header.spec-vengeance h3,
.patch-spec-header.spec-devourer h3 {
    color: #e879f9;
}

.patch-spec-header.spec-evoker h3 {
    color: #99f6e4;
}

/* ==========================================
   SEARCH FUNCTIONALITY
   ========================================== */

/* Search Box */
.class-search-box {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: rgba(30, 30, 46, 0.8);
    border: 2px solid rgba(167, 139, 250, 0.3);
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #a78bfa;
    background: rgba(30, 30, 46, 0.95);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-clear-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(239, 68, 68, 0.2);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    background: rgba(239, 68, 68, 0.4);
    transform: translateY(-50%) scale(1.1);
}

/* Search Results Container */
.search-results {
    max-height: 600px;
    overflow-y: auto;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.search-results-header {
    padding: 1rem;
    background: rgba(167, 139, 250, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: #c4b5fd;
    font-size: 0.9rem;
}

/* Search Result - Class */
.search-result-class {
    background: rgba(30, 30, 46, 0.6);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-result-class:hover {
    background: rgba(30, 30, 46, 0.8);
    transform: translateX(5px);
}

.search-result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-result-header:hover {
    background: rgba(167, 139, 250, 0.1);
}

.search-class-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.search-class-name {
    font-weight: 600;
    font-size: 1.1rem;
    flex: 1;
}

.search-match-count {
    background: rgba(167, 139, 250, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #a78bfa;
}

/* Search Matches */
.search-result-matches {
    padding: 0 1rem 1rem 1rem;
}

.search-match-item {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.search-match-context {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.search-match-text {
    color: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.5;
}

.search-match-text mark {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: 600;
}

.search-more-matches {
    text-align: center;
    padding: 0.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
}

/* Search States */
.search-loading,
.search-no-results,
.search-error {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
}

.search-error {
    color: #ef4444;
}

.search-no-results strong {
    color: #a78bfa;
}

/* Scrollbar Styling for Search Results */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(30, 30, 46, 0.3);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.3);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 139, 250, 0.5);
}

/* ==========================================
   MIDNIGHT INFO - REFACTORED CLASSES
   ========================================== */

.welcome-content-container {
    padding: 2rem;
    color: #e5e7eb;
    line-height: 1.8;
}

.welcome-title {
    color: #a78bfa;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.info-card {
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.info-card h2 {
    color: #c4b5fd;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card-list {
    list-style: none;
    padding: 0;
}

.info-card-list li {
    margin-bottom: 0.8rem;
}

.warning-notice-box {
    background: rgba(249, 115, 22, 0.15);
    border-left: 4px solid #f97316;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.warning-notice-box p {
    margin: 0;
    color: #fb923c;
}

.warning-notice-box a {
    color: #60a5fa;
    text-decoration: underline;
}

.nav-hint-box {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(167, 139, 250, 0.1);
    border-radius: 12px;
}

.nav-hint-title {
    font-size: 1.2rem;
    color: #a78bfa;
    margin-bottom: 1rem;
}

.nav-hint-text {
    color: #94a3b8;
}

.sidebar-loading {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
}

/* ==========================================
   GEAR GUIDE - ILVL TABLE STYLES
   ========================================== */

.gear-guide-container {
    padding: 1rem;
    overflow-x: auto;
}

/* Toggle Switches */
.gear-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.toggle-group:hover {
    background: rgba(255, 255, 255, 0.05);
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(148, 163, 184, 0.3);
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #8b5cf6;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Table Animation */
.gear-table tr {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.gear-table tr.track-hidden {
    opacity: 0;
    transform: scaleY(0);
    pointer-events: none;
}

/* Table Styles Re-refined */
.gear-table-wrapper {
    min-width: 950px;
    margin-top: 1rem;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Table Styles Re-refined */
.gear-table-wrapper {
    min-width: 1100px;
    /* Increased to accommodate 11 columns */
    margin-top: 1rem;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gear-table th {
    background: rgba(30, 41, 59, 0.9);
    color: #f8fafc;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-bottom: 2px solid rgba(139, 92, 246, 0.6);
    font-size: 0.85rem;
    text-align: center;
}

.sub-header th {
    background: rgba(30, 41, 59, 0.7);
    font-size: 0.75rem;
    padding: 0.5rem 0.25rem;
}

.gear-table td {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.05);
    font-size: 0.85rem;
}

.track-label {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 1rem !important;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.2);
}

/* Color Codes - Refined Match */
.track-unranked {
    background: rgba(226, 232, 240, 0.05) !important;
    color: #94a3b8;
}

.track-adventurer {
    background: rgba(59, 130, 246, 0.08) !important;
    color: #60a5fa;
}

.track-veteran {
    background: rgba(168, 85, 247, 0.1) !important;
    color: #c084fc;
}

.track-champion {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #f87171;
}

.track-hero {
    background: rgba(245, 158, 11, 0.08) !important;
    color: #fbbf24;
}

.track-mythic {
    background: rgba(6, 182, 212, 0.08) !important;
    color: #22d3ee;
}

.gear-table tr:hover:not(.track-hidden) td {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.1);
}

/* Beta Warning Notice */
.beta-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: pulse-border 2s infinite ease-in-out;
}

.beta-warning-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
}

.beta-warning-content {
    flex: 1;
    min-width: 300px;
}

.beta-warning-content h3 {
    color: #f87171;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beta-warning-content p {
    color: #fca5a5;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes pulse-border {
    0% {
        border-color: rgba(239, 68, 68, 0.4);
        box-shadow: 0 0 0 rgba(239, 68, 68, 0);
    }

    50% {
        border-color: rgba(239, 68, 68, 0.8);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    }

    100% {
        border-color: rgba(239, 68, 68, 0.4);
        box-shadow: 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Gear Notes Section */
.gear-notes-container {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gear-note-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.3s ease;
}

.gear-note-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(139, 92, 246, 0.4);
}

.gear-note-card h4 {
    color: #a78bfa;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.gear-note-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.gear-note-card ul {
    margin: 0.75rem 0 0 0;
    padding-left: 1.25rem;
    color: #94a3b8;
    font-size: 0.8rem;
}

.gear-note-card li {
    margin-bottom: 0.25rem;
}

/* Live Badge for Pre-patch */
.top-nav {
    position: relative;
}

.nav-tab {
    position: relative;
}

.live-badge {
    position: absolute;
    top: -10px;
    right: -5px;
    background: #22c55e;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    animation: live-pulse 2s infinite ease-in-out;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index: 10;
}

@keyframes live-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 4px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Gear Guide Sub-Navigation (Categories) */
.gear-sub-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.sub-nav-btn {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.sub-nav-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    color: #e2e8f0;
    transform: translateY(-2px);
}

.sub-nav-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(167, 139, 250, 0.2));
    border-color: #a78bfa;
    color: #fff;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.2);
    transform: translateY(-2px);
}

/* Transitions for Category Switch */
.view-title-container {
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-title {
    font-size: 1.8rem;
    color: #a78bfa;
    text-align: center;
    margin: 0;
    transition: all 0.4s ease;
}

.table-transition-container {
    position: relative;
    min-height: 400px;
}

.category-view {
    display: none;
    animation: gear-view-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.category-view.active {
    display: block;
}

@keyframes gear-view-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.category-view.fade-out {
    display: block;
    animation: gear-view-out 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes gear-view-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
}

/* Prey View Specifics */
.prey-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.card-value {
    color: #e2e8f0;
    font-weight: 600;
}

.card-ilvl {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Info-rich Card Content Styles */
.prey-card p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.gear-card-list li {
    padding: 0.6rem 0;
}

.card-highlight {
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid #a78bfa;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.track-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-badge.adventurer {
    background: #475569;
    color: #fff;
}

.track-badge.veteran {
    background: #15803d;
    color: #fff;
}

.track-badge.champion {
    background: #1d4ed8;
    color: #fff;
}

.track-badge.hero {
    background: #7e22ce;
    color: #fff;
}

.track-badge.mythic {
    background: #b45309;
    color: #fff;
}

/* Category Specific Card Borders */
.prey-card.adventurer,
.gear-card.adventurer {
    border-top-color: #94a3b8;
}

.prey-card.veteran,
.gear-card.veteran {
    border-top-color: #22c55e;
}

.prey-card.champion,
.gear-card.champion {
    border-top-color: #3b82f6;
}

.prey-card.hero,
.gear-card.hero {
    border-top-color: #a855f7;
}

.prey-card.mythic,
.gear-card.mythic {
    border-top-color: #f59e0b;
}

.prey-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-top: 4px solid #94a3b8;
    transition: transform 0.3s ease;
}

.prey-card:hover {
    transform: translateY(-5px);
}

.prey-card.normal {
    border-color: #94a3b8;
}

.prey-card.hard {
    border-color: #60a5fa;
}

.prey-card.nightmare {
    border-color: #a78bfa;
}

.prey-card h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.difficulty-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.normal .difficulty-badge {
    background: #475569;
    color: #fff;
}

.hard .difficulty-badge {
    background: #2563eb;
    color: #fff;
}

.nightmare .difficulty-badge {
    background: #7c3aed;
    color: #fff;
}

/* Prey System Module Specific Styles */
.prey-section {
    animation: gear-view-in 0.4s ease-out;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #a78bfa;
    margin: 2rem 0 1rem;
    border-bottom: 1px solid rgba(167, 139, 250, 0.2);
    padding-bottom: 0.5rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded-lg {
    border-radius: 0.75rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

.waypoint-box {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
}

.glass-table-container {
    overflow-x: auto;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.glass-table th,
.glass-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
}

.glass-table th {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    font-weight: 700;
}

.glass-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Map Pin Styles */
.prey-map-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin: 1.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.prey-map-pin {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.8);
    pointer-events: none;
    z-index: 10;
}

.prey-map-pin::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    animation: map-pin-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Decor Gallery Styles */
.decor-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.decor-item-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.decor-item-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(167, 139, 250, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.decor-item-card img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background: rgba(15, 23, 42, 0.5);
}

.decor-info {
    width: 100%;
}

.decor-name {
    display: block;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.decor-achievement {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Category Badges for Decor */
.decor-item-card::before {
    content: attr(data-category);
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.decor-item-card[data-category="Hard"]::before {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.decor-item-card[data-category="Nightmare"]::before {
    background: rgba(124, 58, 237, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.4);
}

@keyframes map-pin-ping {

    75%,
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================
   LIGHTBOX SYSTEM (IMAGE ENLARGEMENT)
   ========================================== */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: contain;
    animation: scaleUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.lightbox-caption {
    color: #e2e8f0;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 10000;
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 36px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.3);
    border: 2px solid rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 40px;
    border-radius: 50%;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(139, 92, 246, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px 15px;
    border-radius: 20px;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}