/* ========== SOURCES PAGE STYLES ========== */
/* Jony Ive Design Philosophy: Clarity, Deference, Depth */

.sources-page {
    background: var(--warm-gray);
    min-height: 100vh;
    padding-bottom: 100px;
}



.sources-search-sticky.scrolled {
    padding: 0.875rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-section {
    margin: 0;
}

.search-wrapper {
    position: relative;
    max-width: 100%;
    display: flex;
    align-items: center;
    background: var(--pure-white);
    border: 1.5px solid var(--border-subtle);
    border-radius: 50px;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px; /* Add this line */
    margin-bottom: 10px;
}

.search-wrapper:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.12);
    transform: scale(1.01);
}

.search-icon {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-right: 0.875rem;
    transition: color 0.2s;
}

.search-wrapper:focus-within .search-icon {
    color: var(--accent-gold);
}

.sources-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    font-family: var(--font-body);
}

.sources-search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    transition: all 0.2s;
    opacity: 0.6;
}

.search-clear:hover {
    opacity: 1;
    transform: scale(1.1);
}

.search-stats {
    margin-top: 0.625rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Container */
.sources-container {
    padding-top: 0.1rem;
}

/* Header - Clarity */
.sources-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.sources-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    font-family: var(--font-header);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.sources-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

/* Categories Grid - Square Cards with Depth */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.category-card {
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    overflow: hidden;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(212, 165, 116, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 16px 48px rgba(0, 0, 0, 0.06);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card-inner {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Perfect square */
}

.category-card-inner > * {
    position: absolute;
}

.category-icon-large {
    font-size: 2.5rem; /* Changed from 4rem */
    top: 1.5rem; /* Adjusted from 2.5rem */
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: grayscale(0.2);
}

.category-card:hover .category-icon-large {
    transform: translateX(-50%) scale(1.15) rotate(5deg);
    filter: grayscale(0);
}

.category-card-title {
    top: 33%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 0 1.25rem; /* Reduced from 1.75rem */
    font-size: 1.125rem; /* Changed from 1.5rem */
    font-weight: 700;
    color: var(--primary-navy);
    text-align: center;
    margin: 0;
    letter-spacing: -0.01em;
}

.category-card-description {
    bottom: 6rem; /* Adjusted from 5rem */
    left: 0;
    right: 0;
    padding: 0 1.25rem; /* Reduced from 1.75rem */
    font-size: 0.8125rem; /* Changed from 0.9375rem */
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
    opacity: 0.85;
}

.category-card-footer {
    bottom: 2.25rem; /* Reduced from 1.75rem */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem; /* Reduced from 0.5rem */
    padding: 0.5rem 1.125rem; /* Reduced from 0.625rem 1.5rem */
    background: linear-gradient(135deg, var(--accent-gold), #c9985e);
    color: var(--pure-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem; /* Changed from 0.875rem */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

.category-card:hover .category-badge {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.4);
}

/* Sources Detail Panel - Depth through layers */
.sources-detail-panel {
    background: var(--pure-white);
    border-radius: 24px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.panel-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--warm-gray);
    border: 1.5px solid var(--border-subtle);
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9375rem;
}

.btn-back:hover {
    background: var(--border-subtle);
    transform: translateX(-4px);
    border-color: var(--primary-navy);
}

.panel-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    font-family: var(--font-header);
    margin: 0;
    letter-spacing: -0.02em;
}

.panel-content {
    min-height: 400px;
}

/* Loading State - Intentionality */
.loading-spinner {
    text-align: center;
    padding: 5rem 0;
}

.spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--border-subtle);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Preview Articles Grid */
.preview-sources-grid {
    display: grid;
    gap: 2rem;
}

.preview-source-block {
    background: var(--light-beige);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.preview-source-block:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.preview-source-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-subtle);
}

.preview-source-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preview-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.preview-checkbox-wrapper input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--accent-gold);
}

.preview-checkbox-label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9375rem;
    cursor: pointer;
}

.preview-articles-list {
    display: grid;
    gap: 1rem;
}

.preview-article-card {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border-subtle);
    transition: all 0.25s ease;
    cursor: pointer;
}

.preview-article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.preview-article-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.preview-article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.preview-article-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Floating Save Panel - Intentional action */
.floating-save-panel {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.save-panel-content {
    background: var(--primary-navy);
    color: var(--pure-white);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    box-shadow: 
        0 8px 32px rgba(26, 35, 50, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 2.5rem;
    backdrop-filter: blur(10px);
}

.save-panel-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-weight: 600;
    font-size: 1.0625rem;
}

.save-panel-info i {
    font-size: 1.625rem;
    color: var(--accent-gold);
}

.btn-save-sources {
    padding: 0.875rem 2.25rem;
    background: var(--accent-gold);
    color: var(--pure-white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.3);
}

.btn-save-sources:hover {
    background: #c9985e;
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(212, 165, 116, 0.4);
}

.btn-save-sources:active {
    transform: scale(0.98);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-quick-action {
    padding: 0.75rem 1.5rem;
    border: 1.5px solid var(--border-subtle);
    background: var(--pure-white);
    color: var(--text-main);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-quick-action:hover {
    background: var(--warm-gray);
    border-color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-quick-action.primary {
    background: var(--primary-navy);
    color: var(--pure-white);
    border-color: var(--primary-navy);
}

.btn-quick-action.primary:hover {
    background: #151b27;
    box-shadow: 0 4px 12px rgba(26, 35, 50, 0.2);
}

/* Responsive Design - Simplicity */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .sources-search-sticky {
        top: 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 1rem;
    }
    
    .sources-title {
        font-size: 2rem;
    }
    
    .category-icon-large {
        font-size: 3rem;
        top: 2rem;
    }
    
    .category-card-title {
        font-size: 1.25rem;
    }
    
    .save-panel-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.75rem;
    }
    
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sources-detail-panel {
        padding: 1.5rem;
    }
}
@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Notification animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* ========== INOREADER-STYLE FEED DISCOVERY ========== */

/* Quick Actions Bar */
.quick-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.quick-actions-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
}

.category-info i {
    font-size: 1.125rem;
}

.quick-actions-right {
    display: flex;
    gap: 0.75rem;
}

.btn-quick-action.secondary {
    background: var(--warm-gray);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-quick-action.secondary:hover {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}

/* Sources Feed List Container */
.sources-feed-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Feed Source Wrapper (Inoreader-style) */
.feed-source-wrapper {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-source-wrapper:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Feed Source Header */
.feed-source-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.feed-source-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

/* Circular Logo (Inoreader-style 58x58px) */
.feed-source-logo {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #c9985e);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    border: 2px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feed-source-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Source Details */
.feed-source-details {
    flex: 1;
    min-width: 0;
}

.feed-source-name {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.feed-source-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.feed-source-name a:hover {
    color: var(--accent-gold);
}

.feed-source-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.meta-separator {
    color: var(--border-subtle);
}

/* Follow/Unfollow Toggle Button */
.toggle-follow-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: var(--warm-gray);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    user-select: none;
}

.toggle-follow-btn:hover {
    background: rgba(212, 165, 116, 0.1);
    border-color: var(--accent-gold);
    transform: scale(1.02);
}

.toggle-follow-btn.following {
    background: var(--accent-gold);
    color: var(--pure-white);
    border-color: var(--accent-gold);
}

.toggle-follow-btn.following:hover {
    background: #c9985e;
    border-color: #c9985e;
}

.toggle-btn-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.toggle-btn-text {
    font-weight: 600;
}

/* Article Preview Cards (Horizontal Inoreader-style) */
.feed-articles-preview {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) var(--warm-gray);
}

/* Custom Scrollbar for Webkit Browsers */
.feed-articles-preview::-webkit-scrollbar {
    height: 6px;
}

.feed-articles-preview::-webkit-scrollbar-track {
    background: var(--warm-gray);
    border-radius: 10px;
}

.feed-articles-preview::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

.feed-articles-preview::-webkit-scrollbar-thumb:hover {
    background: #c9985e;
}

/* Feed Article Card */
.feed-article-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 220px;
    max-width: 280px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-article-card:hover {
    transform: translateY(-4px);
}

.feed-article-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Article Image (Inoreader-style background) */
.feed-article-image {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background-color: var(--warm-gray);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feed-article-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: var(--text-secondary);
    font-size: 2rem;
}

/* Article Title */
.feed-article-title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.625rem 0;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Article Date */
.feed-article-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: auto;
}

/* No Articles State */
.feed-no-articles {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
    text-align: center;
}

.feed-no-articles i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.feed-no-articles p {
    margin: 0;
    font-style: italic;
    font-size: 0.9375rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feed-source-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .toggle-follow-btn {
        width: 100%;
        justify-content: center;
    }
    
    .feed-articles-preview {
        gap: 1rem;
    }
    
    .feed-article-card {
        flex: 0 0 75%;
        min-width: 260px;
    }
    
    .quick-actions-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .quick-actions-right {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-quick-action.secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .feed-source-wrapper {
        padding: 1.25rem;
    }
    
    .feed-source-logo {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.25rem;
    }
    
    .feed-source-name {
        font-size: 1.125rem;
    }
    
    .feed-article-card {
        flex: 0 0 85%;
    }
}

/* Add to website/static/css/source-page.css */

/* Guest Banner */
.guest-limit-banner {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a3548 100%);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(26, 35, 50, 0.25);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.banner-content > i {
    font-size: 2rem;
    flex-shrink: 0;
}

.banner-text strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.banner-text p {
    margin: 0;
    opacity: 0.95;
}

.banner-text a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.banner-text a:hover {
    opacity: 0.8;
}

/* Limit Modal */
.limit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.limit-modal {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.limit-modal-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a3548 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.limit-modal-header i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.limit-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.limit-modal-body {
    padding: 2rem;
}

.limit-modal-body p {
    margin-bottom: 1rem;
    color: #374151;
}

.limit-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.limit-modal-body li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1f2937;
}

.limit-modal-body li i {
    color: #10b981;
    font-size: 1.25rem;
}

.limit-modal-footer {
    padding: 1.5rem 2rem;
    background: #f9fafb;
    border-radius: 0 0 20px 20px;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gold);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: white;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
}

/* Signup Prompt */
.signup-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.signup-prompt {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-prompt {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-prompt:hover {
    background: #f3f4f6;
    color: #374151;
}

.signup-prompt-content {
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.signup-prompt-content > i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.signup-prompt-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.signup-prompt-content p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.signup-prompt-content .highlight {
    color: #374151;
    font-weight: 600;
    margin-top: 1rem;
}

.prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.btn-later {
    background: none;
    border: none;
    color: #9ca3af;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-later:hover {
    color: #6b7280;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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