:root {
    --vibe-purple: #6f42c1;
    --vibe-pink: #e91e8c;
    --vibe-gradient: linear-gradient(135deg, #6f42c1, #e91e8c);
}

body {
    background-color: #0d0d0d;
    color: #e0e0e0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.navbar {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(111, 66, 193, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.btn-primary {
    background: var(--vibe-gradient);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a32a3, #c4167a);
}

.btn-outline-primary {
    color: var(--vibe-purple);
    border-color: var(--vibe-purple);
}

.btn-outline-primary:hover {
    background: var(--vibe-purple);
    border-color: var(--vibe-purple);
}

.text-primary {
    color: var(--vibe-purple) !important;
}

.bg-primary {
    background: var(--vibe-gradient) !important;
}

.card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: rgba(111, 66, 193, 0.3);
}

.post-card {
    margin-bottom: 1.25rem;
}

.post-card .card-body {
    padding: 1.25rem;
}

.post-card .post-image {
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 0.75rem;
}

.post-actions .btn {
    color: #888;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.post-actions .btn:hover {
    background: rgba(111, 66, 193, 0.15);
    color: var(--vibe-purple);
}

.post-actions .btn.liked {
    color: var(--vibe-pink);
}

.avatar-sm {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.avatar-lg {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.profile-header {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.2), rgba(233, 30, 140, 0.1));
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.profile-stats span {
    font-size: 0.9rem;
    color: #aaa;
}

.profile-stats strong {
    color: #fff;
    font-size: 1.1rem;
}

.auth-card {
    max-width: 440px;
    margin: 2rem auto;
}

.auth-card .card {
    padding: 2rem;
}

.form-control {
    background: #111;
    border: 1px solid #333;
    color: #e0e0e0;
    border-radius: 10px;
    padding: 0.6rem 1rem;
}

.form-control:focus {
    background: #111;
    border-color: var(--vibe-purple);
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

.notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.2s;
}

.notification-item:hover {
    background: rgba(111, 66, 193, 0.05);
}

.notification-item.unread {
    background: rgba(111, 66, 193, 0.1);
    border-left: 3px solid var(--vibe-purple);
}

.comment-box {
    background: #111;
    border-radius: 12px;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.who-to-follow .card {
    text-align: center;
}

a {
    color: var(--vibe-purple);
    text-decoration: none;
}

a:hover {
    color: var(--vibe-pink);
}

.post-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

.landing-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--vibe-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.gif-item {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.gif-item:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 2px var(--vibe-purple);
}

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

    .landing-hero h1 {
        font-size: 2.5rem;
    }

    .profile-header {
        text-align: center;
    }
}
