/* Modern Theme CSS */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap");

:root {
    /* Modern Color Palette */
    --primary-color: #7f5af0;
    --secondary-color: #2cb67d;
    --accent-color: #ff8e3c;
    --success-color: #2cb67d;
    --warning-color: #ff8e3c;
    --danger-color: #ef4565;
    --info-color: #4ea8de;

    /* Neutral Colors */
    --background-dark: #16161a;
    --background-light: #242629;
    --text-primary: #fffffe;
    --text-secondary: #94a1b2;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.05);

    /* Category Colors */
    --eat-color: #ef4565;
    --do-color: #4ea8de;
    --watch-color: #7f5af0;
    --read-color: #2cb67d;
    --play-color: #ff8e3c;

    /* Fonts */
    --font-primary: "Poppins", sans-serif;
    --font-secondary: "Inter", sans-serif;
    --font-accent: "DM Sans", sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    background: linear-gradient(
        135deg,
        var(--background-dark),
        var(--background-light)
    );
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.5s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    font-family: var(--font-secondary);
}

/* Navbar Styling - Simplified */
.navbar {
    background: #212529 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Dropdown Menu */
.dropdown-menu {
    background: #212529;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dropdown-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dropdown-header {
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Main Container Layout */
.main-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.main-content {
    flex: 1;
    padding: 2rem;
    background: var(--background-light);
    position: relative;
}

/* Welcome page specific styles */
.welcome-page .main-container {
    display: block;
}

.welcome-page .main-content {
    padding: 0;
}

/* Hide navbar on welcome page */
.welcome-page .navbar {
    display: none !important;
}

/* Modern Alert */
.modern-alert {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

/* Sidebar Styling */
.sidebar {
    background: rgba(22, 22, 26, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    width: 280px;
    flex-shrink: 0;
}

.sidebar-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-lg) !important;
}

.sidebar-header h5 {
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
}

.sidebar-category {
    font-family: var(--font-secondary);
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-secondary);
}

.sidebar-category:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: translateX(5px);
}

.sidebar-category.active {
    background: linear-gradient(90deg, var(--primary-color), transparent);
    color: var(--text-primary);
    border-left: 3px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(127, 90, 240, 0.2);
}

.sidebar-category i {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
    margin-right: var(--space-md);
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.sidebar-category:hover i,
.sidebar-category.active i {
    color: var(--text-primary);
    transform: scale(1.2);
}

/* Category-specific colors */
.sidebar-category[data-category="eat"].active {
    background: linear-gradient(90deg, #ff7675, transparent);
    border-left-color: #ff7675;
    box-shadow: 0 2px 10px rgba(255, 118, 117, 0.3);
}

.sidebar-category[data-category="do"].active {
    background: linear-gradient(90deg, #74b9ff, transparent);
    border-left-color: #74b9ff;
    box-shadow: 0 2px 10px rgba(116, 185, 255, 0.3);
}

.sidebar-category[data-category="watch"].active {
    background: linear-gradient(90deg, #a29bfe, transparent);
    border-left-color: #a29bfe;
    box-shadow: 0 2px 10px rgba(162, 155, 254, 0.3);
}

.sidebar-category[data-category="read"].active {
    background: linear-gradient(90deg, #55efc4, transparent);
    border-left-color: #55efc4;
    box-shadow: 0 2px 10px rgba(85, 239, 196, 0.3);
}

.sidebar-category[data-category="play"].active {
    background: linear-gradient(90deg, #ffeaa7, transparent);
    border-left-color: #ffeaa7;
    box-shadow: 0 2px 10px rgba(255, 234, 167, 0.3);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        display: none; /* Hide sidebar on mobile */
    }
    
    .main-content {
        padding: 1rem;
        width: 100%;
        min-height: calc(100vh - 80px);
    }
    
    /* Add mobile category navigation */
    .mobile-category-nav {
        display: flex;
        overflow-x: auto;
        background: rgba(22, 22, 26, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem;
        margin-bottom: 1rem;
        border-radius: var(--radius-md);
        gap: 0.5rem;
    }
    
    .mobile-category-nav::-webkit-scrollbar {
        height: 4px;
    }
    
    .mobile-category-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }
    
    .mobile-category-nav::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .mobile-category-item {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-md);
        color: var(--text-secondary);
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }
    
    .mobile-category-item:hover,
    .mobile-category-item.active {
        background: var(--primary-color);
        color: var(--text-primary);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(127, 90, 240, 0.3);
    }
    
    .mobile-category-item i {
        margin-right: 0.5rem;
        font-size: 1rem;
    }
    
    /* Category-specific mobile colors */
    .mobile-category-item[data-category="eat"]:hover,
    .mobile-category-item[data-category="eat"].active {
        background: var(--eat-color);
        box-shadow: 0 4px 12px rgba(239, 69, 101, 0.3);
    }
    
    .mobile-category-item[data-category="do"]:hover,
    .mobile-category-item[data-category="do"].active {
        background: var(--do-color);
        box-shadow: 0 4px 12px rgba(78, 168, 222, 0.3);
    }
    
    .mobile-category-item[data-category="watch"]:hover,
    .mobile-category-item[data-category="watch"].active {
        background: var(--watch-color);
        box-shadow: 0 4px 12px rgba(127, 90, 240, 0.3);
    }
    
    .mobile-category-item[data-category="read"]:hover,
    .mobile-category-item[data-category="read"].active {
        background: var(--read-color);
        box-shadow: 0 4px 12px rgba(44, 182, 125, 0.3);
    }
    
    .mobile-category-item[data-category="play"]:hover,
    .mobile-category-item[data-category="play"].active {
        background: var(--play-color);
        box-shadow: 0 4px 12px rgba(255, 142, 60, 0.3);
    }
    
    /* Hide mobile nav on welcome page */
    .welcome-page .mobile-category-nav {
        display: none;
    }
    
    /* Adjust other mobile styles */
    .suggestion-container {
        margin: 1rem 0;
    }
    
    .suggestion-title {
        font-size: 1.5rem;
    }
    
    .social-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .random-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Navbar mobile improvements */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
    
    /* Category page mobile improvements */
    .category-hero {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .category-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-random-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Modal mobile improvements */
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-content {
        border-radius: var(--radius-lg);
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    /* Form mobile improvements */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Alert mobile improvements */
    .alert {
        margin-bottom: 1rem;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    
    /* Footer mobile improvements */
    footer {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    footer .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Random Button Container */
.random-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-xxl) var(--space-md);
}

.welcome-message {
    text-align: center;
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.welcome-message h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.03em;
}

.welcome-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Random Button Styling */
.random-button {
    padding: var(--space-md) var(--space-xxl);
    font-size: 1.2rem;
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(127, 90, 240, 0.4);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.random-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--accent-color),
        var(--primary-color)
    );
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.random-button:hover::before {
    opacity: 1;
}

.random-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(127, 90, 240, 0.5);
}

.random-button:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(127, 90, 240, 0.4);
}

.random-button.loading {
    cursor: not-allowed;
    opacity: 0.8;
}

.random-button.loading .spinner-border {
    margin-right: var(--space-sm);
    width: 1.2rem;
    height: 1.2rem;
    vertical-align: middle;
}

/* Suggestion Container Styling */
.suggestion-container {
    background: rgba(36, 38, 41, 0.6);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transform: translateY(0);
    transition: all 0.5s;
    animation: float 5s infinite ease-in-out;
    margin: var(--space-xl) auto;
    max-width: 800px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.suggestion-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-accent);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.suggestion-category-badge {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.suggestion-details {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-secondary);
}

/* Social Features Styling */
.social-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.like-button,
.share-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-family: var(--font-secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.like-button:hover,
.share-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.like-button.active {
    background: linear-gradient(
        45deg,
        var(--danger-color),
        var(--accent-color)
    );
    border-color: transparent;
}

.like-button i,
.share-button i {
    font-size: 1.1rem;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.rating-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

.stars {
    display: flex;
}

.star {
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 1.6rem;
    margin-right: var(--space-xs);
    transition: all 0.3s;
}

.star:hover,
.star.hover {
    color: var(--warning-color);
    transform: scale(1.2) rotate(5deg);
}

.star.active {
    color: var(--warning-color);
    text-shadow: 0 0 10px rgba(255, 142, 60, 0.5);
}

/* Comments Styling */
.comments-container {
    background: rgba(36, 38, 41, 0.4);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-family: var(--font-accent);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.comments-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: var(--radius-full);
}

.comment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.comment-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: var(--font-secondary);
}

.comment-body {
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
}

.no-comments-message {
    padding: var(--space-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    border: 1px solid var(--border-color);
}

.comment-form {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.comment-as {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-family: var(--font-secondary);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(127, 90, 240, 0.25);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.btn-primary {
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 500;
    font-family: var(--font-secondary);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(127, 90, 240, 0.3);
}

/* Modal Styling */
.modal-content {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-lg);
}

.modal-title {
    color: var(--text-primary);
    font-family: var(--font-accent);
    font-weight: 600;
}

.modal-body {
    padding: var(--space-lg);
}

.btn-close {
    color: var(--text-primary);
    opacity: 0.7;
}

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

.btn-outline-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* Footer Styling */
footer {
    background: rgba(22, 22, 26, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: var(--space-lg) 0;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .suggestion-container {
        padding: var(--space-lg);
    }

    .suggestion-title {
        font-size: 1.8rem;
    }

    .social-container {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .action-buttons {
        width: 100%;
        justify-content: space-around;
    }

    .random-button {
        padding: var(--space-md) var(--space-xl);
        font-size: 1.1rem;
    }
}

/* Animation for page elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-message,
.random-button-container,
.suggestion-container {
    animation: fadeInUp 0.8s ease-out forwards;
}

.welcome-message {
    animation-delay: 0.2s;
}

.random-button {
    animation-delay: 0.4s;
}

.suggestion-container {
    animation-delay: 0.6s;
}

/* User Avatar Styling */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-primary);
}

.dropdown-header {
    padding: var(--space-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.user-dropdown {
    min-width: 250px;
    padding: 0;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dropdown-item {
    padding: var(--space-md) var(--space-lg);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: var(--space-sm);
}

.dropdown-divider {
    margin: 0;
    border-top: 1px solid var(--border-color);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
} /* Additi
onal modern styling */
.random-button-icon {
    display: inline-block;
    transition: all 0.3s ease;
}

.random-button:hover .random-button-icon {
    transform: rotate(180deg);
}

/* Glass morphism effect for cards */
.card {
    background: rgba(36, 38, 41, 0.6);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-accent);
    font-weight: 600;
}

.card-body {
    color: var(--text-secondary);
}

/* Alert styling */
.alert {
    border-radius: var(--radius-md);
    border: none;
    padding: var(--space-md) var(--space-lg);
}

.alert-success {
    background: rgba(44, 182, 125, 0.2);
    border-left: 4px solid var(--success-color);
    color: var(--text-primary);
}

.alert-danger {
    background: rgba(239, 69, 101, 0.2);
    border-left: 4px solid var(--danger-color);
    color: var(--text-primary);
}

.alert-warning {
    background: rgba(255, 142, 60, 0.2);
    border-left: 4px solid var(--warning-color);
    color: var(--text-primary);
}

.alert-info {
    background: rgba(78, 168, 222, 0.2);
    border-left: 4px solid var(--info-color);
    color: var(--text-primary);
}

/* Form controls */
.form-label {
    color: var(--text-secondary);
    font-family: var(--font-secondary);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.form-check-label {
    color: var(--text-secondary);
    font-family: var(--font-secondary);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Login/Register forms */
.auth-form {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--space-xl);
}

.auth-form .card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.auth-form .card-header {
    padding: var(--space-lg);
    font-size: 1.2rem;
}

.auth-form .btn-primary {
    width: 100%;
    padding: var(--space-md);
    margin-top: var(--space-md);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Tooltip styling */
.tooltip {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
}

.tooltip-inner {
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    padding: var(--space-xs) var(--space-sm);
}

/* Badge styling */
.badge {
    font-family: var(--font-secondary);
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.badge-primary {
    background-color: var(--primary-color);
}

.badge-secondary {
    background-color: var(--secondary-color);
}

.badge-success {
    background-color: var(--success-color);
}

.badge-danger {
    background-color: var(--danger-color);
}

.badge-warning {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.badge-info {
    background-color: var(--info-color);
}

/* Table styling */
.table {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.table thead th {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: var(--font-accent);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Pagination styling */
.pagination {
    font-family: var(--font-secondary);
}

.page-link {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.page-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Progress bar styling */
.progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    height: 8px;
}

.progress-bar {
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: var(--radius-full);
}

/* Spinner styling */
.spinner-border {
    border-right-color: transparent;
}

/* Improve focus styles */
:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(127, 90, 240, 0.25);
}

/* Improve selection styling */
::selection {
    background-color: var(--primary-color);
    color: white;
}
/* Navbar toggler styling */
.navbar-toggler-icon {
    filter: invert(1);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Dropdown menu styling */
.dropdown-menu {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: var(--space-sm) 0;
    margin-top: var(--space-sm);
    overflow: hidden;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-secondary);
    transition: all 0.3s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-item.active {
    background: rgba(127, 90, 240, 0.2);
    color: var(--primary-color);
}

.dropdown-header {
    color: var(--text-primary);
    font-family: var(--font-accent);
    font-weight: 600;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
}

.language-flag {
    font-size: 1.2rem;
    margin-right: var(--space-xs);
}

/* Fix for navbar text color */
.navbar-dark .navbar-nav .nav-link {
    color: var(--text-primary) !important;
}

.navbar-dark .navbar-brand {
    color: var(--text-primary) !important;
}

/* Fix for sidebar toggle button */
#sidebar-toggle {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

#sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Welcome Page Language Switcher */
.welcome-language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(22, 22, 26, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Hide navbar on welcome page */
body:has(.welcome-language-switcher) .navbar {
    display: none !important;
}

/* Welcome page navbar styling */
.welcome-page .navbar {
    background: rgba(22, 22, 26, 0.8);
    backdrop-filter: blur(15px);
}

.welcome-language-switcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.welcome-language-switcher .language-switcher .dropdown-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
}

.welcome-language-switcher .language-switcher .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.welcome-language-switcher .language-switcher .dropdown-menu {
    background: rgba(22, 22, 26, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-top: var(--space-sm);
}

.welcome-language-switcher .language-switcher .dropdown-item {
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    margin: 2px var(--space-sm);
    transition: all 0.2s ease;
}

.welcome-language-switcher .language-switcher .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateX(4px);
}

.welcome-language-switcher .language-switcher .dropdown-item.active {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    font-weight: 600;
}

.welcome-language-switcher .language-flag {
    font-size: 1.1rem;
    margin-right: var(--space-sm);
}

/* Mobile responsive for language switcher */
@media (max-width: 768px) {
    .welcome-language-switcher {
        position: fixed;
        top: 10px;
        right: 10px;
        padding: var(--space-xs);
    }
    
    .welcome-language-switcher .language-switcher .dropdown-toggle {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .welcome-language-switcher .language-flag {
        font-size: 1rem;
    }
}

/* Modern Navbar */
/* Modern navbar styles - now merged with main navbar */

.modern-brand {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.modern-brand:hover {
    transform: scale(1.05);
}

/* Modern nav-link styles - now merged with main nav-link */

.modern-btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 90, 240, 0.4);
}

.modern-dropdown {
    background: rgba(22, 22, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modern-alert {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
}

.modern-footer {
    background: rgba(22, 22, 26, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background-dark), var(--background-light));
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::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><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modern-random-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-random-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modern-random-button:hover::before {
    left: 100%;
}

.modern-random-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(127, 90, 240, 0.4);
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.floating-card span {
    font-size: 0.9rem;
    text-align: center;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.card-3 {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.card-5 {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--background-dark);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.suggestion-preview {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    animation: slideInRight 1s ease-out;
}

.suggestion-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.suggestion-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.suggestion-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .floating-cards {
        display: none;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Welcome page specific styles */
.welcome-page .main-content {
    padding: 0;
}

.welcome-page .sidebar {
    display: none;
}

/* Category Pages */
.category-page {
    min-height: 100vh;
}

/* Category Hero Sections */
.category-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.category-hero::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><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.category-hero-content {
    position: relative;
    z-index: 2;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.category-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-random-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.category-random-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.category-random-button:hover::before {
    left: 100%;
}

.category-random-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(127, 90, 240, 0.4);
}

/* Category action buttons */
.category-actions .btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.category-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Eat Category */
.eat-hero {
    background: linear-gradient(135deg, #ff7675, #fd79a8);
}

.floating-food {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-food:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-food i {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.floating-food span {
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.food-1 { top: 10%; left: 10%; animation-delay: 0s; }
.food-2 { top: 20%; right: 15%; animation-delay: 1s; }
.food-3 { top: 50%; left: 5%; animation-delay: 2s; }
.food-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.food-5 { bottom: 10%; left: 20%; animation-delay: 4s; }

/* Watch Category */
.watch-hero {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.floating-watch {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-watch:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-watch i {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.floating-watch span {
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.watch-1 { top: 10%; left: 10%; animation-delay: 0s; }
.watch-2 { top: 20%; right: 15%; animation-delay: 1s; }
.watch-3 { top: 50%; left: 5%; animation-delay: 2s; }
.watch-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.watch-5 { bottom: 10%; left: 20%; animation-delay: 4s; }

/* Do Category */
.do-hero {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.floating-activity {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-activity:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-activity i {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.floating-activity span {
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.activity-1 { top: 10%; left: 10%; animation-delay: 0s; }
.activity-2 { top: 20%; right: 15%; animation-delay: 1s; }
.activity-3 { top: 50%; left: 5%; animation-delay: 2s; }
.activity-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.activity-5 { bottom: 10%; left: 20%; animation-delay: 4s; }

/* Read Category */
.read-hero {
    background: linear-gradient(135deg, #55efc4, #00b894);
}

.floating-book {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-book:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-book i {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.floating-book span {
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.book-1 { top: 10%; left: 10%; animation-delay: 0s; }
.book-2 { top: 20%; right: 15%; animation-delay: 1s; }
.book-3 { top: 50%; left: 5%; animation-delay: 2s; }
.book-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.book-5 { bottom: 10%; left: 20%; animation-delay: 4s; }

/* Play Category */
.play-hero {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
}

.floating-game {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d3436;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-game:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-game i {
    font-size: 2rem;
    color: #2d3436;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.floating-game span {
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.game-1 { top: 10%; left: 10%; animation-delay: 0s; }
.game-2 { top: 20%; right: 15%; animation-delay: 1s; }
.game-3 { top: 50%; left: 5%; animation-delay: 2s; }
.game-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.game-5 { bottom: 10%; left: 20%; animation-delay: 4s; }

/* Play category specific text colors */
.play-hero .category-title {
    color: #2d3436;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.play-hero .category-description {
    color: rgba(45, 52, 54, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.play-hero .category-badge {
    background: rgba(45, 52, 54, 0.15);
    border: 1px solid rgba(45, 52, 54, 0.3);
    color: #2d3436;
}

.play-hero .category-actions .btn-outline-light {
    background: rgba(45, 52, 54, 0.15);
    border: 2px solid rgba(45, 52, 54, 0.3);
    color: #2d3436;
    text-shadow: none;
}

.play-hero .category-actions .btn-outline-light:hover {
    background: rgba(45, 52, 54, 0.25);
    border-color: rgba(45, 52, 54, 0.5);
    color: #2d3436;
}

/* Popular Suggestions Section for Categories */
.popular-suggestions {
    padding: 6rem 0;
    background: var(--background-light);
}

.popular-suggestions .suggestion-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.popular-suggestions .suggestion-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popular-suggestions .suggestion-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.popular-suggestions .suggestion-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.popular-suggestions .suggestion-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Category-specific suggestion container */
.category-page .suggestion-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    animation: slideInUp 0.5s ease-out;
}

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

/* Sidebar Category Links */
.sidebar-category-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.sidebar-category-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateX(5px);
}

.sidebar-category-link:hover .sidebar-category {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Active state for current category page */
.sidebar-category-link.active .sidebar-category {
    background: rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--primary-color);
}

/* Active state for sidebar categories */
.sidebar-category.active {
    background: rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--primary-color);
    transform: translateX(5px);
}

/* Current page indicator - removed as we're using active class now */

/* Suggestion Modal Styles */
.suggestion-modal .modal-content {
    background: linear-gradient(135deg, var(--background-dark), var(--background-light));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.suggestion-modal .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.suggestion-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.suggestion-modal .modal-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-accent);
    margin: 0;
}

.suggestion-modal .modal-body {
    padding: var(--space-xl);
}

.suggestion-modal .btn-close {
    filter: invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.suggestion-modal .btn-close:hover {
    filter: invert(1) brightness(1.2);
    opacity: 1;
    transform: scale(1.1);
}

/* Suggestion Content Styles */
.suggestion-modal-content {
    text-align: center;
    padding: var(--space-lg) 0;
}

.suggestion-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 10px 30px rgba(127, 90, 240, 0.3);
    animation: pulse 2s infinite;
}

.suggestion-modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-family: var(--font-accent);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
    padding: var(--space-md) 0;
    text-align: center;
    filter: drop-shadow(0 0 20px rgba(127, 90, 240, 0.3));
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(127, 90, 240, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(127, 90, 240, 0.5));
    }
}

.suggestion-modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(127, 90, 240, 0.4);
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% {
        width: 80px;
        opacity: 1;
    }
    50% {
        width: 120px;
        opacity: 0.8;
    }
}

.suggestion-modal-details {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.suggestion-modal-category {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-lg);
    color: white;
}

.suggestion-modal-category.eat { background: var(--eat-color); }
.suggestion-modal-category.do { background: var(--do-color); }
.suggestion-modal-category.watch { background: var(--watch-color); }
.suggestion-modal-category.read { background: var(--read-color); }
.suggestion-modal-category.play { background: var(--play-color); }

/* Modal Action Buttons */
.suggestion-modal-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

.suggestion-modal-btn {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.suggestion-modal-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(127, 90, 240, 0.3);
}

.suggestion-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 90, 240, 0.4);
    color: white;
}

.suggestion-modal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.suggestion-modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Loading Animation */
.suggestion-modal-loading {
    text-align: center;
    padding: var(--space-xxl) 0;
}

.suggestion-modal-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

.suggestion-modal-loading-text {
    margin-top: var(--space-lg);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .suggestion-modal .modal-body {
        padding: var(--space-lg);
    }
    
    .suggestion-modal-title {
        font-size: 1.8rem;
        padding: var(--space-sm) 0;
    }
    
    .suggestion-modal-title::after {
        width: 60px;
        height: 2px;
    }
    
    .suggestion-modal-details {
        font-size: 1rem;
        padding: var(--space-md);
    }
    
    .suggestion-modal-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .suggestion-modal-btn {
        width: 100%;
        justify-content: center;
    }
}
