/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* CSS Variables for Coffee-inspired Design */
:root {
    --color-primary: #8B4513;           /* Rich coffee brown */
    --color-primary-hover: #5D2F0A;     /* Darker roasted coffee */
    --color-secondary: #D2B48C;         /* Latte cream */
    --color-success: #228B22;           /* Fresh green (coffee plant) */
    --color-danger: #DC143C;            /* Cherry red */
    --color-warning: #DAA520;           /* Golden honey */
    --color-background: #FFF8DC;        /* Warm cream background */
    --color-surface: #FFFFFF;           /* Pure white */
    --color-text: #2F1B14;              /* Dark espresso text */
    --color-text-secondary: #8B7765;    /* Mocha secondary text */
    --color-border: #E6D7C7;            /* Light coffee border */
    --color-shadow: rgba(47, 27, 20, 0.1);
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Dark mode support - Coffee Shop at Night */
@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #1A0F0A;        /* Dark roasted coffee */
        --color-surface: #2F1B14;           /* Espresso surface */
        --color-text: #F5E6D3;              /* Cream text */
        --color-text-secondary: #D2B48C;    /* Latte secondary */
        --color-border: #5D2F0A;            /* Dark coffee border */
        --color-shadow: rgba(245, 230, 211, 0.1);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 44px; /* iOS touch target size */
    outline: none;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px var(--color-primary);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-success {
    background-color: var(--color-success);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
    min-height: 48px;
}

.btn-small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
    min-height: 36px;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--color-text);
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-surface);
    color: var(--color-text);
    transition: all var(--transition-fast);
    min-height: 44px;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-secondary);
}

.form-input.error {
    border-color: var(--color-danger);
}

.form-error {
    color: var(--color-danger);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

/* Cards */
.card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--color-border);
}

.card-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.card-subtitle {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-sm {
    max-width: 640px;
}

.container-md {
    max-width: 768px;
}

.container-lg {
    max-width: 1024px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--spacing-md) * -0.5);
}

.col {
    flex: 1;
    padding: 0 calc(var(--spacing-md) * 0.5);
}

/* Navigation */
.navbar {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.homepage-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    margin-right: 1rem;
    padding: 8px 8px 12px 8px;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
}

/* Profile */
.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-border);
}

.profile-avatar-lg {
    width: 96px;
    height: 96px;
}

.profile-avatar-sm {
    width: 32px;
    height: 32px;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-surface { background-color: var(--color-surface); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.ml-0 { margin-left: 0; }
.mr-0 { margin-right: 0; }

.p-0 { padding: 0; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.pl-0 { padding-left: 0; }
.pr-0 { padding-right: 0; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 50%; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Loading States */
.loading-progress {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20vh auto 1rem auto;
}

.loading-progress .apple-dots-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 2rem;
}

.loading-progress .loading-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: bounce-dots 1.4s infinite ease-in-out both;
}

.loading-progress .loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-progress .loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-progress .loading-dot:nth-child(3) { animation-delay: 0s; }

.loading-progress-text {
    text-align: center;
    font-weight: 500;
    color: var(--color-text) !important;
    font-size: 1.125rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Brewing Career.Coffee...");
}

/* Error UI */
#blazor-error-ui {
    background: var(--color-danger);
    bottom: 0;
    box-shadow: var(--shadow-lg);
    display: none;
    left: 0;
    padding: var(--spacing-md) var(--spacing-lg);
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
    font-weight: 500;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: var(--spacing-lg);
    top: var(--spacing-md);
    font-size: 1.25rem;
}

.blazor-error-boundary {
    background: var(--color-danger);
    padding: var(--spacing-md);
    color: white;
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .row {
        margin: 0 calc(var(--spacing-sm) * -0.5);
    }
    
    .col {
        padding: 0 calc(var(--spacing-sm) * 0.5);
        flex: 1 1 100%;
    }
    
    .navbar-nav {
        gap: var(--spacing-md);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* iOS Safe Area Support */
@supports (padding-top: env(safe-area-inset-top)) {
    .navbar {
        padding-top: max(var(--spacing-md), env(safe-area-inset-top));
    }
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Apple-style Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 122, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 122, 255, 0.5);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.6s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-hover:hover {
    animation: pulse 0.3s ease-in-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Enhanced Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.btn::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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Card Hover Effects */
.card {
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Icon Animations */
.icon-container {
    transition: all var(--transition-normal);
}

.icon-container:hover {
    transform: scale(1.1) rotate(5deg);
}

.icon-container svg {
    transition: all var(--transition-normal);
}

.icon-container:hover svg {
    filter: drop-shadow(0 5px 15px rgba(0, 122, 255, 0.3));
}

/* Staggered Animation Delays */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }

/* Loading State */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Interactive Elements */
.interactive {
    cursor: pointer;
    user-select: none;
}

.interactive:active {
    transform: scale(0.98);
}

/* Gradient Text */
.gradient-text {
    color: var(--color-primary); /* Fallback color */
    background: linear-gradient(135deg, var(--color-primary), #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (background-clip: text) {
    .gradient-text {
        color: var(--color-primary);
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

.toast.success {
    border-left: 4px solid var(--color-success);
}

.toast.info {
    border-left: 4px solid var(--color-primary);
}

.toast.warning {
    border-left: 4px solid var(--color-warning);
}

.toast-title {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.toast-message {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* Button Active State */
.btn-active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Apple-style Bouncing Dots Loader */
.apple-dots-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.loading-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: bounce-dots 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0s; }

@keyframes bounce-dots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Targeted Text Visibility Fixes - Only fix problem areas */
.post-preview {
    color: var(--color-text);
}

.post-preview h5 {
    color: var(--color-text);
}

.post-preview p {
    color: var(--color-text-secondary);
}

.demo-content {
    color: var(--color-text);
}

.demo-content p {
    color: var(--color-text);
}

.demo-content ul {
    color: var(--color-text);
}

.demo-content li {
    color: var(--color-text-secondary);
}

.demo-header h3 {
    color: var(--color-text);
}

/* Navbar User Name Fix */
.navbar .user-name {
    color: var(--color-text) !important;
    font-weight: 500;
}

/* Text Visibility Classes */
.section-heading {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-weight: 600;
}

.results-heading {
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-weight: 600;
}

.main-heading {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--color-text, #1a1a1a) !important;
}

/* Force fix for specific headings */
h2.main-heading {
    color: var(--color-text) !important;
}

h4.section-heading {
    color: var(--color-text) !important;
}

/* Modern Dashboard Hero Section */
.dashboard-hero {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(139, 69, 19, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.coffee-status {
    display: inline-flex;
    align-items: center;
    background: rgba(139, 69, 19, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.status-text {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.action-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.1), transparent);
    transition: left 0.5s ease;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(139, 69, 19, 0.2);
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    border-radius: var(--radius-md);
    margin-right: 1rem;
    color: white;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-title {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.action-subtitle {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-hero {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .action-card {
        padding: 1rem;
    }
}

/* Daily Joke Section */
.daily-joke {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(210, 180, 140, 0.08) 100%);
    border: 1px solid rgba(139, 69, 19, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.daily-joke::before {
    content: '☕';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.3;
}

.joke-content {
    text-align: center;
}

.joke-text {
    font-size: 1.125rem;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-style: italic;
}

.joke-source {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ai-badge {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.joke-date {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* AI Badge Colors for Different Sources */
.ai-badge[data-source="Claude"] {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
}

.ai-badge[data-source="ChatGPT"] {
    background: linear-gradient(135deg, #10A37F, #26D0CE);
}

.ai-badge[data-source="Gemini"] {
    background: linear-gradient(135deg, #4285F4, #34A853);
}

.ai-badge[data-source="Grok"] {
    background: linear-gradient(135deg, #1DA1F2, #9146FF);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .daily-joke {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .joke-text {
        font-size: 1rem;
    }
    
    .joke-source {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.footer {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    margin-top: auto;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: var(--color-text-secondary);
    text-decoration: none;
}

.footer a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
