/* Prevent scrollbar layout shifts */
html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
    /* Ensure smooth scrolling */
    scroll-behavior: smooth;
}

/* Prevent content shift on mobile */
body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    position: relative;
    margin: 0;
    /* Add padding to account for fixed navbar */
    padding-top: 70px;
}

/* Hide scrollbar but keep functionality */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none;
    }

    * {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Fixed navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 70px;
    background-color: var(--bs-gray-900) !important;
    border-bottom: 1px solid var(--bs-gray-700);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color var(--theme-transition-duration) ease,
                border-color var(--theme-transition-duration) ease;
}

/* Theme transition styles */
:root {
    --theme-transition-duration: 0.3s;
}

* {
    transition: background-color var(--theme-transition-duration) ease,
                color var(--theme-transition-duration) ease,
                border-color var(--theme-transition-duration) ease,
                box-shadow var(--theme-transition-duration) ease !important;
}

/* Theme toggle button */
.theme-toggle {
    padding: 0.5rem;
    margin-right: 1rem;
    border: none;
    background: transparent;
    color: var(--bs-gray-200);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    color: var(--bs-info);
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: transform var(--theme-transition-duration) ease;
}

/* Light theme overrides */
[data-bs-theme="light"] {
    --bs-body-bg: #ffffff;
    --bs-body-color: #212529;
    --bs-navbar-color: #212529;
    --bs-navbar-hover-color: var(--bs-primary);
    --bs-navbar-active-color: var(--bs-primary);
}

[data-bs-theme="light"] .navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #dee2e6;
}

[data-bs-theme="light"] .card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
}

[data-bs-theme="light"] .footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Dark theme overrides */
[data-bs-theme="dark"] .navbar {
    background-color: var(--bs-gray-900) !important;
    border-bottom: 1px solid var(--bs-gray-700);
}

[data-bs-theme="dark"] .card {
    background-color: var(--bs-gray-900);
    border: 1px solid var(--bs-gray-800);
}

[data-bs-theme="dark"] .footer {
    background-color: var(--bs-gray-900);
    border-top: 1px solid var(--bs-gray-800);
}

/* Custom styles for Speakox platform */

/* Add tagline styling */
.tagline {
    color: var(--bs-info);
    font-weight: 700;
    font-size: 1.4rem; /* Further reduced size */
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid var(--bs-info);
    max-width: 90%; /* Limit width */
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Logo and brand styling */
.navbar-brand-container {
    display: flex;
    align-items: center;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.brand-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: relative;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 1rem;
    object-fit: contain;
    display: block;
    background-color: transparent !important;
    border: none;
    box-shadow: none;
    /* Remove problematic filters and blend modes for seamless integration */
    filter: none;
    mix-blend-mode: normal;
    /* Ensure transparent background blends with header */
    background: transparent;
    transition: all 0.2s ease;
}

/* Clean hover effect that blends with header */
.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
    transition: all 0.2s ease;
}

.slogan {
    font-size: 0.9rem;
    color: var(--bs-gray-200);
    font-weight: 700;
    margin-top: -5px;
    font-style: italic;
    white-space: nowrap;
    letter-spacing: 0.5px;
    padding-left: 0; /* Reset padding for proper alignment */
    position: relative;
    left: 0; /* Align with the left edge of the logo */
}


/* Ensure navbar accommodates taller logo */
/*.navbar {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 70px;
    background-color: var(--bs-gray-900) !important; /* Force white background */
    border-bottom: 1px solid var(--bs-gray-700);
}*/

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: flex-start; /* Align items to the start */
    flex-direction: column;
}

/* Navigation links - white text on dark background with blue hover */
.navbar-nav .nav-link {
    color: #ffffff !important; /* White text for dark background */
    font-weight: 500; /* Make text slightly bolder */
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-info) !important; /* Blue hover color */
    background-color: var(--bs-gray-800);
    border-radius: 0.25rem;
}

/* Active navigation link */
.navbar-nav .nav-link.active {
    color: var(--bs-info) !important; /* Blue for active links */
}

/* Action buttons in navbar */
.navbar .btn-primary {
    margin-left: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    background: var(--bs-info);
    border: none;
    color: var(--bs-gray-900);
}

.navbar .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background: var(--bs-info-bg-subtle);
}

/* General spacing and layout adjustments */
.container {
    max-width: 1200px;
    padding: 20px;
}

/* Card enhancements */
.card {
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    background: var(--bs-gray-900);
    color: var(--bs-gray-200);
}

.card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.card-header {
    background-color: var(--bs-gray-800);
    border-bottom: 1px solid var(--bs-gray-700);
    color: var(--bs-info);
}

.card-body {
    background-color: var(--bs-gray-900);
}

/* Story cards with Facebook-style layout */

.story-header {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--bs-gray-700);
    display: flex;
    background-color: var(--bs-gray-800);
    align-items: center;
}

.story-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.8rem;
    background: var(--bs-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-author-info {
    flex-grow: 1;
    color: var(--bs-gray-200);
}

.story-timestamp {
    color: var(--bs-gray-500);
    font-size: 0.9rem;
}

.story-content {
    padding: 1rem;
    color: var(--bs-gray-200);
}

.story-content .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bs-gray-200);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.story-content .card-text {
    color: var(--bs-gray-700);
    line-height: 1.6;
}

.story-media {
    position: relative;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--bs-gray-900);
}

.story-media::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.story-media-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover effects */
.story-media:hover .story-media-content {
    transform: scale(1.05);
}

/* Media type specific styles */
img.story-media-content {
    object-position: center;
}

video.story-media-content {
    object-fit: contain;
    background: var(--bs-gray-900);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .story-media::before {
        padding-top: 75%; /* 4:3 Aspect Ratio for mobile */
    }
}

/* Loading state */
.story-media.loading {
    background: linear-gradient(90deg, 
        var(--bs-gray-800) 0%, 
        var(--bs-gray-700) 50%, 
        var(--bs-gray-800) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.story-actions {
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--bs-gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: var(--bs-gray-700);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-btn:hover {
    color: var(--bs-primary);
}

/* Share button and dropdown */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--bs-gray-800);
    border: 1px solid var(--bs-gray-700);
    border-radius: 0.5rem;
    min-width: 200px;
    z-index: 1000;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.share-dropdown:hover .share-dropdown-content,
.share-dropdown.active .share-dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--bs-gray-200);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
}

.share-link:hover {
    background: var(--bs-gray-700);
    color: var(--bs-info);
}

.share-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Animation for dropdown */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media preview container */
#media-preview {
    max-width: 100%;
    margin-top: 1rem;
}

#media-preview img,
#media-preview video,
#media-preview audio {
    max-height: 300px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* Story preview enhancements */
.story-preview {
    position: relative;
    overflow: hidden;
    border-radius: 0.25rem;
}

.story-preview img {
    transition: transform 0.3s ease;
}

.story-preview:hover img {
    transform: scale(1.05);
}

.story-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.story-preview:hover .story-preview-overlay {
    transform: translateY(0);
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Badge Styles */
.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--bs-gray-800);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--bs-info);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.category-badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.category-badge:hover {
    transform: translateY(-2px);
    background: var(--bs-gray-700);
}

/* Enhanced Story Card Animations */
.story-card {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

/* Loading Animation Enhancements */
.loading-container {
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-pulse {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--bs-info);
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(var(--bs-info-rgb), 0.3);
}

.loading-text {
    font-size: 1.2rem;
    color: var(--bs-info);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(var(--bs-info-rgb), 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(var(--bs-info-rgb), 0.7);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
        box-shadow: 0 0 20px 10px rgba(var(--bs-info-rgb), 0.3);
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(var(--bs-info-rgb), 0.7);
    }
}

/* Story Grid Layout Enhancement */
.story-grid {
    max-width: 800px;
    margin: 0 auto;
    transition: opacity 0.5s ease;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.story-header {
    background-color: var(--bs-gray-800);
    border-bottom: 1px solid var(--bs-gray-700);
}

.story-author-info {
    color: var(--bs-gray-200);
}

.story-timestamp {
    color: var(--bs-gray-500);
}

.story-content {
    color: var(--bs-gray-200);
}

.story-container {
    max-width: 800px;
    margin: 0 auto;
}

.content-warning {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--bs-warning-bg-subtle);
    border: 1px solid var(--bs-warning);
}

.content-warning .alert-heading {
    color: var(--bs-warning);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hidden-content {
    display: none;
}

.story-content-wrapper {
    animation: fadeIn 0.3s ease;
}

.formatted-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--bs-gray-200);
}

.reactions-section {
    padding: 1rem 0;
    border-top: 1px solid var(--bs-gray-700);
    border-bottom: 1px solid var(--bs-gray-700);
}

.comments-section {
    margin-top: 2rem;
    padding-top: 2rem;
}

.comment-card {
    background: var(--bs-gray-800);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.comment-card:hover {
    transform: translateX(5px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.comment-author {
    color: var(--bs-info);
    font-weight: 500;
}

.comment-timestamp {
    color: var(--bs-gray-500);
}

.comment-content {
    color: var(--bs-gray-200);
    line-height: 1.5;
}

.related-stories .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-stories .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.story-tags .badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    background-color: var(--bs-gray-700);
    color: var(--bs-gray-200);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.story-tags .badge:hover {
    background-color: var(--bs-gray-600);
    transform: translateY(-1px);
}

.story-tags .badge i {
    font-size: 0.9rem;
}

[data-bs-theme="dark"] .story-tags .badge {
    background-color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .story-tags .badge:hover {
    background-color: var(--bs-gray-700);
}

/* Loading Animation Styles */
.loading-container {
    padding: 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-pulse {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--bs-info);
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(var(--bs-info-rgb), 0.3);
}

.loading-text {
    font-size: 1.2rem;
    color: var(--bs-info);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(var(--bs-info-rgb), 0.3);
}

/* Skeleton Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, var(--bs-gray-800) 4%, var(--bs-gray-700) 25%, var(--bs-gray-800) 36%);
    background-size: 1000px 100%;
    border-radius: 4px;
}

.skeleton-card {
    height: 400px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.skeleton-header {
    height: 60px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bs-gray-800);
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-author {
    height: 20px;
    width: 150px;
}

.skeleton-content {
    padding: 1rem;
}

.skeleton-title {
    height: 28px;
    width: 80%;
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 0.8rem;
}

.skeleton-text:last-child {
    width: 60%;
}

/* Story Grid Animations */
.story-grid {
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-grid.visible {
    opacity: 1;
}

.story-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade transitions */
.fade-out {
    opacity: 0;
    pointer-events: none;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.opacity-0 {
    opacity: 0;
}

body {
    background-color: var(--bs-gray-900);
    color: var(--bs-gray-200);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: 1.5rem;
}

.story-header {
    background-color: var(--bs-gray-800);
    border-bottom: 1px solid var(--bs-gray-700);
}

.story-author-info {
    color: var(--bs-gray-200);
}

.story-timestamp {
    color: var(--bs-gray-500);
}

.story-content {
    color: var(--bs-gray-200);
}

.story-container {
    max-width: 800px;
    margin: 0 auto;
}

.content-warning {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--bs-warning-bg-subtle);
    border: 1px solid var(--bs-warning);
}

.content-warning .alert-heading {
    color: var(--bs-warning);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hidden-content {
    display: none;
}

.story-content-wrapper {
    animation: fadeIn 0.3s ease;
}

.formatted-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--bs-gray-200);
}

.reactions-section {
    padding: 1rem 0;
    border-top: 1px solid var(--bs-gray-700);
    border-bottom: 1px solid var(--bs-gray-700);
}

.comments-section {
    margin-top: 2rem;
    padding-top: 2rem;
}

.comment-card {
    background: var(--bs-gray-800);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.comment-card:hover {
    transform: translateX(5px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.comment-author {
    color: var(--bs-info);
    font-weight: 500;
}

.comment-timestamp {
    color: var(--bs-gray-500);
}

.comment-content {
    color: var(--bs-gray-200);
    line-height: 1.5;
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bs-dark);
    z-index: 9999;
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.exit {
    transform: scaleY(0);
}

.story-grid {
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-grid.visible {
    opacity: 1;
}

.story-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.story-card {
    background: var(--bs-gray-900);
    border: 1px solid var(--bs-gray-800);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.story-header {
    border-bottom: 1px solid var(--bs-gray-800);
    background: var(--bs-gray-800);
}

.story-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bs-gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    font-weight: 500;
    color: var(--bs-gray-200);
}

.card-title {
    color: var(--bs-info);
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.card-title:hover {
    color: var(--bs-info-bg-subtle);
}

.formatted-content {
    color: var(--bs-bs-gray-200);
    line-height: 1.6;
    white-space: pre-line;
}

.read-more {
    color: var(--bs-info);
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.5rem;
}

.content-warning {
    background: var(--bs-warning-bg-subtle);
    border: 1px solid var(--bs-warning);
    color: var(--bs-warning-text);
}

.engagement-section {
    padding-top: 1rem;
    border-top: 1px solid var(--bs-gray-800);
}

.reaction-btn {
    background: var(--bs-gray-800);
    border: 1px solid var(--bs-gray-700);
    color: var(--bs-gray-200);
    transition: all 0.2s ease;
}

.reaction-btn:hover {
    background: var(--bs-gray-700);
    transform: translateY(-2px);
}

.reaction-count {
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.modal-content {
    background: var(--bs-gray-900);
    border: 1px solid var(--bs-gray-800);
}

.modal-header {    border-bottom: 1px solid var(--bs-gray-800);
}

.modal-title {
    color: var(--bs-gray-200);
}
.modal-title {    color: var(--bs-gray-200);
}

.share-twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
}

.share-facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
    color: white;
}

/* Mood Indicator Styles */
.mood-indicator {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--bs-gray-800);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid var(--bs-gray-700);
    position: relative;
    overflow: hidden;
}

/* Mood Emoji and Label */
.mood-indicator .mood-emoji {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.mood-indicator .mood-label {
    color: var(--bs-gray-200);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Hover Effects */
.mood-indicator:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mood-indicator:hover .mood-emoji {
    transform: scale(1.2);
}

/* Mood-specific Gradients */
.mood-indicator[data-mood]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.mood-indicator:hover::before {
    opacity: 0.4;
}

/* Individual Mood Gradients */
.mood-indicator[data-mood="happy"]::before {
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.mood-indicator[data-mood="inspired"]::before {
    background: linear-gradient(45deg, #9B59B6, #8E44AD);
}

.mood-indicator[data-mood="thoughtful"]::before {
    background: linear-gradient(45deg, #3498DB, #2980B9);
}

.mood-indicator[data-mood="peaceful"]::before {
    background: linear-gradient(45deg, #2ECC71, #27AE60);
}

.mood-indicator[data-mood="excited"]::before {
    background: linear-gradient(45deg, #E74C3C, #C0392B);
}

.mood-indicator[data-mood="nostalgic"]::before {
    background: linear-gradient(45deg, #95A5A6, #7F8C8D);
}

.mood-indicator[data-mood="melancholic"]::before {
    background: linear-gradient(45deg, #34495E, #2C3E50);
}

/* Dark Theme Adjustments */
[data-bs-theme="dark"] .mood-indicator {
    background: var(--bs-gray-900);
    border-color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .mood-indicator .mood-label {
    color: var(--bs-gray-200);
}

.mood-filter {
    background: var(--bs-gray-900);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--bs-gray-800);
}

.mood-buttons .btn {
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.mood-buttons .btn:hover {
    transform: translateY(-2px);
}

.loading-container {
    padding: 2rem;
    transition: opacity 0.3s ease;
}

.loading-pulse {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bs-info);
    margin: 0 auto;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
    margin-top: 1rem;
    color: var(--bs-info);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.loading-dots {
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

.story-card {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.story-grid {
    transition: opacity 0.5s ease;
}

/* Story Loading Animation Styles */
.story-skeleton {
    background: var(--bs-gray-800);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.story-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--bs-gray-800) 0%,
        var(--bs-gray-700) 50%,
        var(--bs-gray-800) 100%
    );
    animation: shimmer 2s infinite linear;
    background-size: 200% 100%;
}

.story-skeleton-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.story-skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-gray-700);
    margin-right: 1rem;
}

.story-skeleton-info {
    flex: 1;
}

.story-skeleton-line {
    height: 12px;
    background: var(--bs-gray-700);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.story-skeleton-line.title {
    height: 24px;
    width: 80%;
    margin-bottom: 1rem;
}

.story-skeleton-line.short {
    width: 60%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Story Card Animation */
.story-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.story-card.loaded {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.loading-container {
    text-align: center;
    padding: 2rem;
}

.loading-pulse {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bs-info);
    margin: 0 auto;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Advertisement Styles */
.ad-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 300px;
    max-width: 90vw;
    background: var(--bs-gray-900);
    border: 1px solid var(--bs-gray-700);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999 !important; /* Ensure it's above other elements */
    overflow: hidden;
    display: block !important; /* Force display */
    opacity: 1 !important; /* Force visibility */
    transform: none !important; /* Prevent transform animations */
}

.ad-media {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-height: 200px;
}

.ad-video,
.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-content {
    padding: 1rem;
}

.ad-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--bs-gray-200);
}

.ad-description {
    font-size: 0.9rem;
    color: var(--bs-gray-400);
    margin-bottom: 1rem;
}

.ad-action {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bs-info);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.ad-action:hover {
    background: var(--bs-info-bg-subtle);
    color: white;
    text-decoration: none;
}

/* About Page Styles */

/* Hero Section */
.hero-section {
    background: var(--bs-gray-900);
    border-radius: 1rem;
    padding: 3rem 1rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--bs-info) 0%, transparent 100%);
    opacity: 0.05;
    z-index: 1;
}

.hero-section * {
    position: relative;
    z-index: 2;
}

.feature-highlights {
    margin-top: 2rem;
}

.highlight-item {
    text-align: center;
    transition: transform 0.3s ease;
    padding: 1rem;
    border-radius: 0.5rem;
    background: var(--bs-gray-800);
    min-width: 120px;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

/* Features Section */
.features-section {
    padding: 2rem 0;
}

.feature-card {
    background: var(--bs-gray-800);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--bs-gray-700);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--bs-info);
    margin-bottom: 1rem;
    display: block;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--bs-info);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--bs-info);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bs-dark);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--bs-gray-900);
}

.timeline-content {
    flex: 1;
    background: var(--bs-gray-800);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-left: 2rem;
    border: 1px solid var(--bs-gray-700);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bs-info);
}

/* Benefits Section */
.benefit-card {
    background: var(--bs-gray-800);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid var(--bs-gray-700);
}

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

.benefit-icon {
    font-size: 2rem;
    color: var(--bs-info);
    margin-bottom: 1rem;
    display: block;
}

/* CTA Section */
.cta-section {
    background: var(--bs-gray-900);
    border-radius: 1rem;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, var(--bs-info) 0%, transparent 100%);
    opacity: 0.05;
    z-index: 1;
}

.cta-section * {
    position: relative;
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-content {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .timeline-icon {
        margin-left: 30px;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .feature-highlights {
        gap: 1rem !important;
    }

    .highlight-item {
        min-width: 100px;
    }
}

/* Dark Theme Specific Adjustments */
[data-bs-theme="dark"] .feature-card,
[data-bs-theme="dark"] .benefit-card,
[data-bs-theme="dark"] .timeline-content {
    background: var(--bs-gray-900);
    border-color: var(--bs-gray-800);
}

[data-bs-theme="dark"] .hero-section,
[data-bs-theme="dark"] .cta-section {
    background: var(--bs-gray-800);
}

/* Share button styles */
.share-buttons .dropdown-menu {
    background: var(--bs-gray-900);
    border: 1px solid var(--bs-gray-800);
}

.share-buttons .dropdown-item {
    color: var(--bs-gray-200);
    transition: all 0.2s ease;
}

.share-buttons .dropdown-item:hover {
    background: var(--bs-gray-800);
    color: var(--bs-white);
}

.share-buttons .bi {
    margin-right: 0.5rem;
}

/* Social media brand colors on hover */
.share-twitter:hover {
    color: #1DA1F2 !important;
}

.share-facebook:hover {
    color: #4267B2 !important;
}

.share-linkedin:hover {
    color: #0077b5 !important;
}

.share-whatsapp:hover {
    color: #25D366 !important;
}

.share-telegram:hover {
    color: #0088cc !important;
}

.share-tiktok:hover {
    color: #000000 !important;
    background: linear-gradient(90deg, #00f2ea, #ff0050) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.share-snapchat:hover {
    color: #FFFC00 !important;
}

/* Dropdown divider */
.dropdown-divider {
    border-top: 1px solid var(--bs-gray-700);
    margin: 0.5rem 0;
}

/* Copy toast notification */
.copy-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-success);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* Story Palette Styles */
.story-palette {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: var(--bs-gray-900);
    border: 1px solid var(--bs-gray-800);
    border-radius: 8px;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-palette.collapsed {
    transform: translate(calc(100% - 48px), -50%);
}

.palette-toggle {
    position: absolute;
    left: -48px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bs-gray-900);
    border: 1px solid var(--bs-gray-800);
    border-radius: 8px 0 0 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.palette-toggle:hover {
    background: var(--bs-gray-800);
}

.palette-panel {
    width: 250px;
}

.palette-title {
    color: var(--bs-gray-200);
    margin-bottom: 1rem;
    text-align: center;
}

.theme-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.theme-btn {
    padding: 0.5rem;
    border: 1px solid var(--bs-gray-700);
    border-radius: 4px;
    background: var(--theme-color);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.color-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.color-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.color-input label {
    color: var(--bs-gray-200);
    margin-bottom: 0;
}

.form-control-color {
    width: 50px;
    padding: 0;
    border: none;
    background: none;
}

/* Theme Variables */
:root {
    --story-primary: #212529;
    --story-secondary: #495057;
    --story-accent: #0d6efd;
}

/* Theme Classes */
.theme-classic {
    --story-primary: #212529;
    --story-secondary: #495057;
    --story-accent: #0d6efd;
}

.theme-ocean {
    --story-primary: #1e3d59;
    --story-secondary: #2d5a87;
    --story-accent: #17c3b2;
}

.theme-forest {
    --story-primary: #2d5a27;
    --story-secondary: #4a7856;
    --story-accent: #8fc93a;
}

.theme-sunset {
    --story-primary: #ff6b6b;
    --story-secondary: #ff8787;
    --story-accent: #ffd93d;
}

.theme-moonlight {
    --story-primary: #4a4e69;
    --story-secondary: #9a8c98;
    --story-accent: #c9ada7;
}

/* Ad Container Styles */

/* Ad Media Styles */
.ad-media {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ad-video {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.ad-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

/* Ad Content Styles */
.ad-content {
    padding: 1rem;
}

.ad-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--bs-gray-200);
}

.ad-description {
    font-size: 0.875rem;
    color: var(--bs-gray-400);
    margin-bottom: 0.5rem;
}

/* Ad Action Button */
.ad-action {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: var(--bs-info);
    border: 1px solid var(--bs-info);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ad-action:hover {
    background-color: var(--bs-info);
    color: var(--bs-gray-900);
}

.translation-container {
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--bs-info);
    background-color: rgba(var(--bs-info-rgb), 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.translated-title {
    color: var(--bs-info);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.translated-content {
    color: var(--bs-gray-200);
    line-height: 1.6;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

/* Translation Button Styles */
.btn-outline-info {
    border-color: var(--bs-info);
    color: var(--bs-info);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-outline-info:hover {
    background-color: var(--bs-info);
    color: var(--bs-gray-900);
}

.btn-outline-info i {
    font-size: 1.1rem;
}

/* Translation Dropdown Menu */
.dropdown-menu {
    background: var(--bs-gray-800);
    border: 1px solid var(--bs-gray-700);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: var(--bs-gray-200);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--bs-gray-700);
    color: var(--bs-info);
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2em;
}

/* Close Button */
.translation-container .btn-close {
    background-color: transparent;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.translation-container .btn-close:hover {
    opacity: 1;
}

/* Translation Styles */
#translationResult {
    background-color: rgba(var(--bs-info-rgb), 0.1);
    border: 1px solid var(--bs-info);
    color: var(--bs-gray-200);
}

#translationResult .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

#translationResult .btn-close:hover {
    opacity: 1;
}

#translatedTitle {
    color: var(--bs-info);
    font-size: 1.25rem;
}

#translatedContent {
    white-space: pre-wrap;
    line-height: 1.6;
}

.translate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bs-gray-200);
    transition: all 0.2s ease;
}

.translate-btn:hover {
    background-color: var(--bs-gray-700);
    color: var(--bs-info);
}

.spinner-border-sm {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Ad Container Styles */

/* Ad Media Styles */

/* Ad Content Styles */


/* About Page Styles */

/* Copy URL Toast Styles */
.share-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    z-index: 1000;
    animation: fadeInOut 2s ease;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.share-toast.success {
    background: var(--bs-success);
    color: white;
}

.share-toast.error {
    background: var(--bs-danger);
    color: white;
}

/* Share Visualization Styles */
.share-viz-icon {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.5rem;
    z-index: 1000;
    cursor: pointer;
}

.share-viz-icon.facebook {
    color: #1877F2;
}

.share-viz-icon.twitter {
    color: #1DA1F2;
}

.share-viz-icon.linkedin {
    color: #0A66C2;
}

.share-viz-icon.whatsapp {
    color: #25D366;
}

.share-viz-icon.telegram {
    color: #0088cc;
}

.share-preview-media {
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: -5px;
    right: -5px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Share button pulse animation */
.share-pulse {
    animation: pulse 1s cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* Quick Share Button Styles */
.quick-share {
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quick-share i {
    font-size: 1.1rem;
}

/* About Page - Platform Status Section Styles */
.platform-status .status-container {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.platform-status .status-item {
    padding: 1rem;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    height: 100%;
    transition: transform 0.2s ease;
}

.platform-status .status-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.platform-status .status-item h4 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.platform-status .status-item p {
    margin-bottom: 0;
    color: #555;
    font-size: 0.95rem;
}

/* Dark theme adjustments for platform status */
[data-bs-theme="dark"] .platform-status .status-container {
    background-color: var(--bs-gray-800) !important;
    border-color: var(--bs-gray-700);
}

[data-bs-theme="dark"] .platform-status .status-item {
    background-color: var(--bs-gray-900);
}

[data-bs-theme="dark"] .platform-status .status-item p {
    color: var(--bs-gray-400);
}
/* Social media icons in footer */
.social-icons {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--bs-light);
    background-color: var(--bs-gray-700);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.social-icon .bi-facebook:hover,
.social-icon.bi-facebook:hover {
    background-color: #3b5998;
}

.social-icon .bi-twitter:hover,
.social-icon.bi-twitter:hover {
    background-color: #1da1f2;
}

.social-icon .bi-instagram:hover,
.social-icon.bi-instagram:hover {
    background-color: #c13584;
}

.social-icon .bi-youtube:hover,
.social-icon.bi-youtube:hover {
    background-color: #ff0000;
}

.social-icon .bi-linkedin:hover,
.social-icon.bi-linkedin:hover {
    background-color: #0077b5;
}

.social-icon .bi-github:hover,
.social-icon.bi-github:hover {
    background-color: #6e5494;
}

.social-icon .bi-discord:hover,
.social-icon.bi-discord:hover {
    background-color: #7289da;
}

