:root {
    --bg-dark: #070707;
    --bg-card: #121212;
    --bg-hover: #1c1c1c;
    --crimson: #dc2626;
    --crimson-dark: #8b0000;
    --crimson-glow: rgba(220, 38, 38, 0.4);
    --border-color: #262626;
    --text-muted: #888888;
}

body {
    background-color: var(--bg-dark);
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.font-creepster {
    font-family: 'Creepster', cursive;
    letter-spacing: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--crimson-dark);
}

/* Red Glow Effects */
.glow-red {
    text-shadow: 0 0 10px var(--crimson-glow), 0 0 20px var(--crimson-glow);
}
.border-glow {
    box-shadow: 0 0 15px var(--crimson-glow);
    border-color: var(--crimson) !important;
}

/* Sidebar Styling */
.sidebar-left, .sidebar-right {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.nav-link-custom {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e5e5e5;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-bottom: 0.3rem;
}

.nav-link-custom:hover, .nav-link-custom.active {
    background-color: rgba(220, 38, 38, 0.15);
    color: var(--crimson);
    transform: translateX(4px);
}

.nav-link-custom i {
    width: 28px;
    font-size: 1.3rem;
    text-align: center;
}

/* Main Feed Header */
.feed-header {
    position: sticky;
    top: 0;
    background-color: rgba(12, 12, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

/* Post Card Styling */
.post-card {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
    transition: background-color 0.2s;
}

.post-card:hover {
    background-color: var(--bg-hover);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--crimson-dark);
    box-shadow: 0 0 8px var(--crimson-glow);
}

.post-badge {
    background: linear-gradient(135deg, var(--crimson-dark), #000);
    border: 1px solid var(--crimson);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.medium-tag {
    background-color: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
    border: 1px dashed var(--crimson);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

/* Action Buttons */
.action-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    padding: 6px 12px;
    border-radius: 20px;
}

.action-btn:hover {
    color: var(--crimson);
    background-color: rgba(220, 38, 38, 0.1);
}

.action-btn.active-blood {
    color: var(--crimson);
}

/* Trending Panel */
.trending-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.trend-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding-left 0.2s;
    cursor: pointer;
}

.trend-item:last-child {
    border-bottom: none;
}

.trend-item:hover {
    padding-left: 6px;
}

/* Custom Ritual Modal/Box */
.ritual-box {
    background: linear-gradient(180deg, rgba(20,0,0,0.9) 0%, rgba(10,10,10,0.95) 100%);
    border: 1px solid var(--crimson);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.3);
}

.form-control-dark, .form-select-dark {
    background-color: #181818;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
}

.form-control-dark:focus, .form-select-dark:focus {
    background-color: #202020;
    border-color: var(--crimson);
    box-shadow: 0 0 8px var(--crimson-glow);
    color: #fff;
}

.btn-blood {
    background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px var(--crimson-glow);
    transition: all 0.3s;
}

.btn-blood:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    color: white;
}

/* Blood Drop Animation Effect */
@keyframes bloodPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.pulse-effect {
    animation: bloodPulse 2s infinite;
}

/* Bottom Mobile Nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(10px);
}