* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #ffffff, #e0e0e0, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

header h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.1 0"/></filter></defs><rect width="100" height="100" filter="url(%23noise)"/></svg>');
    opacity: 0.1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    color: #cccccc;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.search-container {
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.search-input::placeholder {
    color: #888;
}

.main-content {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.sidebar {
    width: 420px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    max-height: 80vh;
    position: sticky;
    top: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(78, 205, 196, 0.3);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(78, 205, 196, 0.5);
}

.sidebar-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.tab-btn:hover {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.tab-btn.active {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.2);
    border-bottom: 2px solid #4ecdc4;
}

.tab-content {
    display: none;
    padding: 25px;
}

.tab-content.active {
    display: block;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    color: #4ecdc4;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.section-header h3 {
    margin-bottom: 0;
}

.section-header .filter-btn {
    padding: 2px 6px;
    font-size: 0.7rem;
    min-width: auto;
    width: auto;
    flex-shrink: 0;
    border-radius: 4px;
}

.reset-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-btn:hover {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    transform: rotate(180deg);
}

.filter-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    font-size: 1rem;
    margin-bottom: 0;
    max-height: none;
    overflow: visible;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    padding: 2px 0;
}

.filter-option:hover {
    background: rgba(78, 205, 196, 0.1);
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #666;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.filter-option input[type="radio"] + .checkmark {
    border-radius: 50%;
}

.filter-option input:checked + .checkmark {
    background: #4ecdc4;
    border-color: #4ecdc4;
}

.filter-option input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-option input[type="radio"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.content-area {
    flex: 1;
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #333;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.2);
}

.filter-btn.active {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.3);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.3);
}

.clear-filters-btn {
    width: 100%;
    padding: 12px 24px;
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.clear-filters-btn:hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.2);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.ghost-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.ghost-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ghost-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.ghost-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(78, 205, 196, 0.3);
}

.ghost-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4ecdc4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ghost-description {
    color: #b0b0b0;
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.evidence-list {
    margin-bottom: 15px;
}

.evidence-list h4 {
    color: #ff6b6b;
    margin-bottom: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.evidence-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.evidence-tag {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Color-coded evidence types */
.evidence-tag.emf,
.evidence-tag.EMF {
    background: rgba(76, 175, 80, 0.2) !important;
    color: #4caf50 !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
}

.evidence-tag.audio,
.evidence-tag.Audio {
    background: rgba(33, 150, 243, 0.2) !important;
    color: #2196f3 !important;
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
}

.evidence-tag.uv,
.evidence-tag.UV {
    background: rgba(156, 39, 176, 0.2) !important;
    color: #9c27b0 !important;
    border: 1px solid rgba(156, 39, 176, 0.3) !important;
}

.evidence-tag.writing,
.evidence-tag.Writing {
    background: rgba(255, 152, 0, 0.2) !important;
    color: #ff9800 !important;
    border: 1px solid rgba(255, 152, 0, 0.3) !important;
}

.evidence-tag.freezing,
.evidence-tag.Freezing {
    background: rgba(0, 188, 212, 0.2) !important;
    color: #00bcd4 !important;
    border: 1px solid rgba(0, 188, 212, 0.3) !important;
}

.evidence-tag.radiation,
.evidence-tag.Radiation {
    background: rgba(255, 193, 7, 0.2) !important;
    color: #ffc107 !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
}



/* Color-coded evidence filter options */
.evidence-emf .checkmark {
    border-color: #4caf50;
}

.evidence-emf input:checked + .checkmark {
    background: #4caf50;
    border-color: #4caf50;
}

.evidence-audio .checkmark {
    border-color: #2196f3;
}

.evidence-audio input:checked + .checkmark {
    background: #2196f3;
    border-color: #2196f3;
}

.evidence-uv .checkmark {
    border-color: #9c27b0;
}

.evidence-uv input:checked + .checkmark {
    background: #9c27b0;
    border-color: #9c27b0;
}

.evidence-writing .checkmark {
    border-color: #ff9800;
}

.evidence-writing input:checked + .checkmark {
    background: #ff9800;
    border-color: #ff9800;
}

.evidence-freezing .checkmark {
    border-color: #00bcd4;
}

.evidence-freezing input:checked + .checkmark {
    background: #00bcd4;
    border-color: #00bcd4;
}

.evidence-radiation .checkmark {
    border-color: #ffc107;
}

.evidence-radiation input:checked + .checkmark {
    background: #ffc107;
    border-color: #ffc107;
}

/* Color-coded info items */
.info-item.evidence-emf h4 {
    color: #4caf50;
}

.info-item.evidence-audio h4 {
    color: #2196f3;
}

.info-item.evidence-uv h4 {
    color: #9c27b0;
}

.info-item.evidence-writing h4 {
    color: #ff9800;
}

.info-item.evidence-freezing h4 {
    color: #00bcd4;
}

.info-item.evidence-radiation h4 {
    color: #ffc107;
}

/* Official Links Section */
.official-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.official-link {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.official-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(78, 205, 196, 0.3);
    transform: translateY(-2px);
}

.official-links a {
    color: inherit;
    text-decoration: none;
}

.link-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.link-content h4 {
    color: #fff;
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.link-content p {
    margin: 0;
    font-size: 0.8rem;
    color: #b0b0b0;
}

.discord-link:hover {
    border-color: rgba(114, 137, 218, 0.5);
    box-shadow: 0 0 10px rgba(114, 137, 218, 0.2);
}

.steam-link:hover {
    border-color: rgba(27, 40, 56, 0.5);
    box-shadow: 0 0 10px rgba(27, 40, 56, 0.2);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
    font-weight: 300;
}

.behaviors {
    margin-bottom: 15px;
}

.behaviors h4 {
    color: #45b7d1;
    margin-bottom: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.behavior-item {
    background: rgba(69, 183, 209, 0.1);
    border-left: 3px solid #45b7d1;
    padding: 6px 10px;
    margin-bottom: 6px;
    border-radius: 0 4px 4px 0;
    font-size: 0.8rem;
    line-height: 1.3;
}



.stats-container {
    margin-top: 12px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-label {
    font-size: 0.7rem;
    color: #4ecdc4;
    font-weight: 500;
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.speed-fill {
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
}

.los-fill {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

.holy-water-fill {
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
}

.stat-note {
    font-size: 0.65rem;
    color: #888;
    font-style: italic;
    margin-top: 2px;
    line-height: 1.2;
}

.holy-water-note {
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(78, 205, 196, 0.1);
    border-left: 3px solid #4ecdc4;
    border-radius: 0 4px 4px 0;
}

.holy-water-note p {
    font-size: 0.8rem;
    color: #b0b0b0;
    margin: 0;
    line-height: 1.3;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: rgba(78, 205, 196, 0.3);
    background: rgba(78, 205, 196, 0.1);
}

.info-item h4 {
    color: #4ecdc4;
    margin-bottom: 5px;
    font-size: 0.95rem;
    font-weight: 600;
}

.info-item p {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin: 0;
}

.evidence-section {
    margin-top: 60px;
}

.evidence-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #4ecdc4;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.evidence-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.evidence-item:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.3);
    background: rgba(78, 205, 196, 0.1);
}

.evidence-item.active {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.2);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.3);
}

.evidence-item h3 {
    color: #4ecdc4;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.evidence-item p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

@media (max-width: 1200px) {
    .ghost-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar {
        width: 100%;
        position: static;
        order: 2;
    }
    
    .content-area {
        order: 1;
    }
    
    .ghost-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
} 