/* Modern Design System - Clean & Professional */
:root {
    /* Color Palette */
    --primary-50: #F8FAFC;
    --primary-100: #F1F5F9;
    --primary-200: #E2E8F0;
    --primary-300: #CBD5E1;
    --primary-400: #94A3B8;
    --primary-500: #64748B;
    --primary-600: #475569;
    --primary-700: #334155;
    --primary-800: #1E293B;
    --primary-900: #0F172A;
    
    /* Accent Colors */
    --accent-blue: #3B82F6;
    --accent-green: #10B981;
    --accent-purple: #8B5CF6;
    --accent-amber: #F59E0B;
    --accent-red: #EF4444;
    --accent-pink: #EC4899;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    /* Background & Surface */
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --surface-primary: rgba(255, 255, 255, 0.05);
    --surface-secondary: rgba(255, 255, 255, 0.08);
    --surface-tertiary: rgba(255, 255, 255, 0.12);
    
    /* Text Colors - Softer for better readability */
    --text-primary: #E2E8F0;
    --text-secondary: #CBD5E1;
    --text-tertiary: #94A3B8;
    --text-accent: #8B5CF6;
    
    /* Border & Dividers */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-secondary: rgba(255, 255, 255, 0.06);
    --divider: rgba(255, 255, 255, 0.08);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
}



/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1rem, 2vw, 1.25rem); }
h6 { font-size: clamp(0.875rem, 1.5vw, 1rem); }

p, li {
    line-height: 1.7;
    margin-bottom: 1em;
}

/* Button Typography */
.btn {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 500;
    line-height: 1.4;
    padding: 0.75rem 1.5rem;
}

.btn-lg {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    padding: 1rem 2rem;
}



/* AI Insights Dashboard Styles */
.insights-dashboard {
    padding: 20px 0;
}

.score-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.score-progress {
    margin-bottom: 12px;
}

.score-progress .progress-bar {
    background: rgba(255,255,255,0.9);
    border-radius: 4px;
}

.score-trend {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

.insights-section {
    margin-bottom: 32px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.insight-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

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

.insight-card.insight-pattern_recognition {
    border-left-color: #4CAF50;
}

.insight-card.insight-behavioral_analysis {
    border-left-color: #2196F3;
}

.insight-card.insight-recommendation {
    border-left-color: #FF9800;
}

.insight-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.insight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin-right: 12px;
    color: #667eea;
}

.insight-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.insight-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.quick-actions {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.actions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.action-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
    color: #333;
}

.action-item i {
    margin-right: 12px;
    width: 20px;
    color: #667eea;
}

.milestone-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #4CAF50;
}

.milestone-card h5 {
    margin-bottom: 12px;
    color: #333;
    font-size: 1.1rem;
}

.milestone-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f8f9fa;
}

.card-header h5 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.energy-badge, .focus-badge, .healing-badge, .abundance-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.energy-restoration, .healing-restoration { background: #E8F5E8; color: #2E7D32; }
.energy-abundance, .abundance-financial { background: #FFF3E0; color: #E65100; }
.energy-focus, .focus-focus { background: #E3F2FD; color: #1565C0; }
.energy-peace, .healing-peace { background: #F3E5F5; color: #7B1FA2; }
.energy-strength, .focus-strength { background: #FFEBEE; color: #C62828; }

.card-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.affirmation-text, .mantra-text, .reflection-text, .wealth-text {
    font-style: italic;
    font-weight: 500;
    margin: 0;
    quotes: '"' '"';
}

.affirmation-text:before, .mantra-text:before, .reflection-text:before, .wealth-text:before {
    content: open-quote;
}

.affirmation-text:after, .mantra-text:after, .reflection-text:after, .wealth-text:after {
    content: close-quote;
}

.challenges-analysis {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.challenge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4CAF50;
    color: white;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
}

.challenge-content {
    flex: 1;
}

.challenge-text {
    margin: 0 0 4px 0;
    color: #333;
    font-weight: 500;
}

.challenge-meta {
    color: #666;
    font-size: 0.9rem;
}

.daily-insights {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.insight-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.insight-loading i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.daily-insight-result {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.insight-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.insight-item h6 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

.insight-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .score-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .score-value {
        font-size: 2rem;
    }
    
    .daily-insight-result {
        grid-template-columns: 1fr;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
    }
}

.peacey-mascot {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.peacey-mascot:hover {
    transform: scale(1.05);
}

.mascot-svg {
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    user-select: none;
}

.mascot-svg:hover {
    transform: scale(1.1);
    animation: happy-bounce 0.6s ease-in-out;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.mascot-svg svg {
    width: 50px;
    height: 50px;
}

.mascot-eye {
    animation: blink 4s infinite;
}

.mascot-mouth {
    animation: smile 3s ease-in-out infinite;
}

.mascot-blush {
    transition: opacity 0.3s ease;
    animation: blush-pulse 2s ease-in-out infinite;
}

.mascot-svg:hover .mascot-blush {
    opacity: 0.6 !important;
}

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

@keyframes happy-bounce {
    0%, 100% { transform: scale(1.1) translateY(0px); }
    25% { transform: scale(1.15) translateY(-5px); }
    50% { transform: scale(1.1) translateY(-2px); }
    75% { transform: scale(1.12) translateY(-3px); }
}

.chat-bubble {
    position: absolute;
    bottom: 60px;
    right: 0;
    min-width: 200px;
    max-width: 250px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.chat-bubble.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #667eea;
}

.bubble-text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
}

.bubble-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.bubble-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.bubble-btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .chat-bubble {
        min-width: 180px;
        max-width: 200px;
        right: -20px;
    }
}

.mascot {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.mascot-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    animation: float 3s ease-in-out infinite;
}

.mascot-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
}

.mascot-eyes {
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin: 0 auto;
    margin-top: 30%;
}

.eye {
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    position: relative;
    animation: blink 4s infinite;
    border: 1px solid #333;
}

.eye::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
}

.mascot-mouth {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 7px;
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Speech Bubble - Soft & Gentle */
.speech-bubble {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 10px;
    max-width: 250px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: scale(0.8);
    animation: bubbleAppear 0.5s ease forwards;
}

.mascot-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.mascot-option {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.mascot-option:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

/* Ensure mascot container is visible */
.mascot-container {
    pointer-events: auto;
}

.mascot-options {
    pointer-events: auto;
}

.mascot-option {
    pointer-events: auto;
}

.speech-text {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.speech-arrow {
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.95);
}

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

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes bubbleAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mascot-container {
        bottom: 15px;
        right: 15px;
    }
    
    .mascot {
        width: 50px;
        height: 50px;
    }
    
    .speech-bubble {
        max-width: 160px;
        padding: 10px 12px;
    }
    
    .speech-text {
        font-size: 12px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: clamp(16px, 2.5vw, 18px);
    letter-spacing: -0.01em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: auto;
    min-height: 100vh;
}

/* Landing Page */
.landing-page {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 100%);
    min-height: 100vh;
}

.landing-container {
    padding: 2rem;
}

/* Benefits Stats */
.benefits-stats {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.benefit-stat {
    text-align: center;
    padding: 1rem;
}

.benefit-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.benefit-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}





.app-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--coral-red);
    text-shadow: 0 0 20px rgba(255, 92, 92, 0.3);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
}

.tagline {
    font-size: 1.5rem;
    color: var(--mint-green);
    font-weight: 300;
    margin-bottom: 3rem;
}

.tagline-header {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--gold);
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 2rem;
    line-height: 1.4;
}

.tagline-subheader {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--mint-green);
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(45deg, var(--coral-red), #ff7575);
    border: none;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 92, 92, 0.4);
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 92, 92, 0.6);
    background: linear-gradient(45deg, #ff4545, var(--coral-red));
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features CTA section specific styling */
.features-cta .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.features-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    min-width: 200px;
}

/* Limited Availability Notice Styling */
.limited-availability-notice {
    margin-top: 1.5rem;
    text-align: center;
    display: block;
}

.availability-badge {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.badge-icon {
    font-size: 0.9rem;
    animation: sparkle 2s ease-in-out infinite;
}

.badge-text {
    color: #ffd700;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.cta-button.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--coral-red);
    color: var(--coral-red);
    box-shadow: 0 8px 20px rgba(255, 92, 92, 0.2);
}

.cta-button.btn-outline-primary:hover {
    background: var(--coral-red);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.landing-features {
    margin: 3rem 0;
}

.feature-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.landing-stats {
    margin-top: 4rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main App Layout */
.main-app {
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.app-header {
    background: var(--surface-primary);
    border-bottom: 1px solid var(--border-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Header Logo & Title */
.app-logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.app-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-purple);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.app-title-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.app-subtitle {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    flex-shrink: 0;
    min-width: 0;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--surface-primary);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.header-btn:hover {
    background: var(--surface-secondary);
    color: var(--text-primary);
    border-color: var(--border-secondary);
    transform: translateY(-1px);
}

.upgrade-btn {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border: none;
    color: var(--text-primary);
}

.upgrade-btn:hover {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: var(--text-primary);
}

.premium-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--accent-amber), #fbbf24);
    color: var(--bg-primary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}



.premium-badge {
    background: linear-gradient(45deg, var(--lavender), #e6d0ff);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-outline-premium {
    border: 1px solid var(--lavender);
    color: var(--lavender);
}

.btn-outline-premium:hover {
    background: var(--lavender);
    color: var(--dark-bg);
}

/* Challenge Card - Modern Design */
.challenge-card {
    background: var(--surface-secondary);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
    border-color: var(--border-secondary);
}

.challenge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--divider);
}

.challenge-info h3 {
    color: var(--text-primary);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    margin: 0 0 var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    line-height: 1.4;
}

.challenge-info h3::before {
    content: "🎯";
    font-size: 1.5rem;
}

.challenge-date {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.challenge-actions {
    display: flex;
    gap: var(--space-sm);
}

.challenge-action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--surface-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.challenge-action-btn:hover {
    background: var(--surface-secondary);
    color: var(--text-primary);
    border-color: var(--border-secondary);
    transform: translateY(-1px);
}
    margin-bottom: 0.5rem;
}

.challenge-date {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.challenge-text {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    padding: var(--space-xl);
    background: var(--surface-tertiary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-secondary);
    margin: var(--space-xl) 0;
    font-style: italic;
    line-height: 1.6;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.challenge-text::before,
.challenge-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--accent-purple);
    font-weight: 700;
    position: relative;
    display: inline;
    vertical-align: top;
    line-height: 1;
}

.challenge-text::before {
    margin-right: 0.25rem;
}

.challenge-text::after {
    margin-left: 0.25rem;
}

.btn-refusal {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border: none;
    color: white;
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    width: 100%;
    margin: var(--space-xl) 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    min-height: 64px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-refusal::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-refusal:hover::before,
.btn-refusal:active::before {
    left: 100%;
}

.btn-refusal:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, #9333ea, #ec4899);
}

.btn-refusal:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.4);
}

.limit-reached-card {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--warning);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.limit-reached-card h4 {
    color: var(--warning);
    margin-bottom: 1rem;
}

.btn-premium {
    background: linear-gradient(45deg, var(--lavender), #e6d0ff);
    border: none;
    color: var(--dark-bg);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 191, 255, 0.6);
}

/* Affirmation */
.affirmation-card {
    background: linear-gradient(45deg, rgba(167, 240, 186, 0.1), rgba(255, 215, 0, 0.1));
    border: 1px solid var(--mint-green);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    animation: fadeInUp 0.5s ease-out;
}

.affirmation-icon {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.affirmation-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--mint-green);
    margin: 0;
}

/* Stats Cards - Modern Design */
.stats-card, .badge-card, .refusals-card {
    background: var(--surface-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stats-card:hover, .badge-card:hover, .refusals-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-secondary);
}

.stats-card h4, .badge-card h4, .refusals-card h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.streak-counter {
    text-align: center;
    margin: 1rem 0;
}

.streak-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-purple);
    display: block;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.streak-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.streak-fire {
    text-align: center;
    font-size: 1.2rem;
    color: var(--coral-red);
    margin-top: 0.5rem;
}

.badge-display {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 1px solid var(--gold);
    margin-bottom: 1rem;
}

.badge-description {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

.next-badge-preview {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.next-badge-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.next-badge-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.next-badge-emoji {
    font-size: 2rem;
    opacity: 0.7;
}

.next-badge-progress {
    flex: 1;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.progress-bar-container {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* AI Insight Card */
.ai-insight-card {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.ai-insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
}

.ai-insight-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--accent-purple);
}

.ai-insight-header i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.ai-insight-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Enhanced Challenge Card */
.challenge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink), var(--gold));
}

.challenge-text {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.75;
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border-left: 4px solid var(--accent-purple);
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
}

/* Enhanced Refusal Button */
.btn-refusal {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border: none;
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    position: relative;
    overflow: hidden;
    line-height: 1.3;
}

.btn-refusal::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-refusal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.btn-refusal:hover::before {
    left: 100%;
}

.btn-refusal:active {
    transform: translateY(0);
}

/* Enhanced Affirmation Card */
.affirmation-card {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.affirmation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent-pink));
}

.affirmation-text {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
    font-weight: 500;
}

/* Enhanced Rewards Display */
.rewards-display {
    background: rgba(0, 255, 127, 0.1);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.reward-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reward-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.reward-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .challenge-text {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        padding: 1.25rem;
        margin: 1.5rem 0;
        line-height: 1.6;
    }
    
    .ai-insight-card {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .btn-refusal {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .rewards-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
}
}

.badge-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.badge-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
}

.refusals-list {
    max-height: 300px;
    overflow-y: auto;
}

.refusal-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.refusal-item i {
    color: var(--mint-green);
    margin-right: 0.5rem;
}

.refusal-text {
    flex: 1;
    font-size: 0.9rem;
}

.refusal-time {
    font-size: 0.8rem;
    color: var(--light-gray);
}

/* Premium Page */
.premium-page {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a1a3a 100%);
    min-height: 100vh;
}

.premium-header {
    margin-bottom: 2rem;
}

.premium-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--lavender);
    text-shadow: 0 0 20px rgba(217, 191, 255, 0.3);
}

.premium-subtitle {
    font-size: 1.3rem;
    color: var(--mint-green);
    font-weight: 300;
}

.premium-hook {
    margin-bottom: 3rem;
}

.hook-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.limit-hook {
    border-left: 4px solid var(--warning);
}

.recovery-hook {
    border-left: 4px solid var(--danger);
}

.upgrade-hook {
    border-left: 4px solid var(--lavender);
}

.hook-emphasis {
    font-weight: 600;
    color: var(--coral-red);
    font-size: 1.1rem;
}

.premium-features {
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-card .feature-icon {
    color: var(--lavender);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.pricing-section {
    margin-bottom: 3rem;
}

.price-card {
    background: linear-gradient(135deg, rgba(217, 191, 255, 0.1), rgba(255, 215, 0, 0.1));
    border: 2px solid var(--lavender);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.price-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price-header h3 {
    color: var(--lavender);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
}

.price-period {
    font-size: 1rem;
    color: var(--light-gray);
    margin-left: 0.5rem;
}

.price-features {
    text-align: left;
    margin-bottom: 2rem;
}

.price-features .feature-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-features .feature-item:last-child {
    border-bottom: none;
}

.price-features .feature-item i {
    color: var(--mint-green);
}

.payment-security {
    font-size: 0.9rem;
    color: var(--light-gray);
}

.social-proof {
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 150px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
}

/* Success Page */
.success-page {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a3a1a 100%);
    min-height: 100vh;
}

.success-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1.3rem;
    color: var(--mint-green);
    margin-bottom: 2rem;
}

.success-features {
    margin: 2rem 0;
}

.feature-unlock {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(167, 240, 186, 0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--mint-green);
}

.feature-unlock i {
    color: var(--mint-green);
    margin-right: 0.5rem;
}

.success-actions {
    margin: 2rem 0;
}

.success-message {
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* Cancel Page */
.cancel-page {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #3a1a1a 100%);
    min-height: 100vh;
}

.cancel-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.cancel-icon {
    font-size: 4rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

.cancel-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 1rem;
}

.cancel-subtitle {
    font-size: 1.3rem;
    color: var(--mint-green);
    margin-bottom: 2rem;
}

.cancel-message {
    margin: 2rem 0;
    font-size: 1.1rem;
}

.cancel-actions {
    margin: 2rem 0;
}

.free-reminder {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.free-reminder h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.free-reminder ul {
    text-align: left;
    display: inline-block;
}

.free-reminder li {
    margin-bottom: 0.5rem;
}

.free-reminder i {
    color: var(--mint-green);
}

/* Badge Modal */
.badge-modal {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a1a3a 100%);
    border: 2px solid var(--gold);
    border-radius: 20px;
    color: var(--white);
}

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

.badge-modal h3 {
    color: var(--gold);
    margin-bottom: 2rem;
}

.unlocked-badge {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 1px solid var(--gold);
}

.badge-emoji-large {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.unlocked-badge h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.unlocked-badge p {
    color: var(--mint-green);
    font-size: 1.1rem;
}

.badge-card-preview {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-card-preview img {
    max-width: 100%;
    border-radius: 8px;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-share {
    background: linear-gradient(45deg, var(--coral-red), #ff7575);
    border: none;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 92, 92, 0.4);
}

.btn-download {
    background: linear-gradient(45deg, var(--mint-green), #85e0a3);
    border: none;
    color: var(--dark-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(167, 240, 186, 0.4);
}

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

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

.streak-fire i {
    animation: pulse 2s infinite;
}

/* App Tagline */
.app-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F59E0B;
    font-style: italic;
    margin: 0.25rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: block;
    opacity: 1;
}

/* Rewards Tagline */
.rewards-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: #10B981;
    text-align: center;
    margin: 1rem 0;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.5s ease-out;
    display: block;
    opacity: 1;
}

/* Ultimate Benefit Message */
.ultimate-benefit {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    text-align: center;
    margin: 2rem 0;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.ultimate-benefit strong {
    color: var(--coral-red);
    font-weight: 700;
}

/* Key Features Grid */
.key-features {
    margin: 2rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--accent-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-item {
        justify-content: center;
        text-align: center;
    }
    
    .feature-item span {
        white-space: normal;
    }
}

/* Clean Landing Page Styling */
.landing-logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.stats-preview {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-bubble {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-bubble:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #CBD5E1;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin: 0 auto 1rem;
}

.feature-card h4 {
    color: #E2E8F0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: #CBD5E1;
    line-height: 1.4;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-title {
        font-size: 2.5rem;
    }
    
    .app-tagline {
        font-size: 1rem;
    }
    
    .rewards-tagline {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin: 0.75rem 0;
    }
    
    .stats-preview {
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .stat-bubble {
        padding: 1rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .landing-logo {
        width: 60px;
        height: 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.25rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .challenge-text {
        font-size: 1.4rem;
        padding: var(--space-lg);
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .streak-number {
        font-size: 2.5rem;
    }
    
    .premium-title {
        font-size: 2.2rem;
    }
    
    .success-title, .cancel-title {
        font-size: 2rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-share, .btn-download {
        width: 100%;
        max-width: 200px;
    }
    
    .header-actions {
        gap: var(--space-xs);
    }
    
    .upgrade-btn {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
        white-space: nowrap;
    }
    
    .app-header .container-fluid {
        padding: 0 var(--space-sm);
    }
}

@media (max-width: 576px) {
    .app-title {
        font-size: 2rem;
    }
    
    .challenge-text {
        font-size: 1.1rem;
        padding: var(--space-md);
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .challenge-text::before,
    .challenge-text::after {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .app-header {
        padding: var(--space-sm) 0;
    }
    
    .app-logo-container {
        flex-shrink: 0;
    }
    
    .app-title-container {
        min-width: 0;
    }
    
    .app-title {
        font-size: 1.2rem;
    }
    
    .app-subtitle {
        font-size: 0.7rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 1rem;
    }
    
    .btn-refusal {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .success-card, .cancel-card, .badge-modal .modal-body {
        padding: 1.5rem;
    }
    
    .price-card {
        margin: 0 1rem;
    }
}

/* Alerts */
.alert {
    border: none;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.alert-success {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
    border: 1px solid var(--success);
}

.streak-warning {
    background: rgba(255, 92, 92, 0.15);
    color: var(--coral-red);
    border: 1px solid var(--coral-red);
}

/* Utilities */
.text-coral { color: var(--coral-red); }
.text-gold { color: var(--gold); }
.text-mint { color: var(--mint-green); }
.text-lavender { color: var(--lavender); }

.bg-coral { background-color: var(--coral-red); }
.bg-gold { background-color: var(--gold); }
.bg-mint { background-color: var(--mint-green); }
.bg-lavender { background-color: var(--lavender); }

.border-coral { border-color: var(--coral-red); }

/* Rewards Summary */
.rewards-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.rewards-title {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.reward-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reward-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.reward-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.reward-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mint-green);
    display: block;
    margin-bottom: 0.3rem;
}

.reward-label {
    font-size: 0.8rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Reward colors */
.reward-item:nth-child(1) .reward-icon, .reward-item:nth-child(1) .reward-value {
    color: var(--gold);
}

.reward-item:nth-child(2) .reward-icon, .reward-item:nth-child(2) .reward-value {
    color: var(--mint-green);
}

.reward-item:nth-child(3) .reward-icon, .reward-item:nth-child(3) .reward-value {
    color: #98FB98;
}

.reward-item:nth-child(4) .reward-icon, .reward-item:nth-child(4) .reward-value {
    color: var(--lavender);
}
.border-gold { border-color: var(--gold); }
.border-mint { border-color: var(--mint-green); }
.border-lavender { border-color: var(--lavender); }

/* Menu Page */
.menu-page {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 100%);
    min-height: 100vh;
}

.menu-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.menu-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral-red);
    margin-bottom: 1rem;
}

.menu-subtitle {
    font-size: 1.2rem;
    color: var(--mint-green);
    font-weight: 300;
}

.current-challenge-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
    color: var(--lavender);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.toggle-category {
    border-color: var(--mint-green);
    color: var(--mint-green);
    transition: all 0.3s ease;
}

.toggle-category:hover {
    background-color: var(--mint-green);
    color: var(--dark-bg);
}

.category-content {
    padding: 0;
}

.challenges-list {
    padding: 1.5rem;
}

.challenge-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.challenge-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--coral-red);
}

.challenge-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
}

.challenge-radio {
    margin-top: 0.25rem;
    accent-color: var(--coral-red);
}

.challenge-text {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5;
}

.custom-section {
    position: sticky;
    top: 2rem;
}

.custom-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.custom-title {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.custom-description {
    color: var(--mint-green);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.custom-textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
}

.custom-textarea:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--coral-red);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(255, 92, 92, 0.25);
}

.custom-textarea::placeholder {
    color: var(--light-gray);
    opacity: 0.8;
}

.tips-card {
    background: rgba(167, 240, 186, 0.1);
    border: 1px solid var(--mint-green);
    border-radius: 10px;
    padding: 1.5rem;
}

.tips-title {
    color: var(--mint-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tips-list {
    color: var(--white);
    font-size: 0.9rem;
    padding-left: 1.5rem;
}

.tips-list li {
    margin-bottom: 0.5rem;
}

/* Premium Intelligence Section */
.premium-intelligence {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e1b4b 100%);
    padding: 4rem 0;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.premium-intelligence::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.premium-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.premium-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-subtitle {
    color: #c7d2fe;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.premium-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.premium-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.premium-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    display: block;
}

.premium-feature h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.premium-feature p {
    color: #c7d2fe;
    font-size: 1rem;
    line-height: 1.6;
}

.premium-pricing {
    max-width: 400px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.pricing-card::before {
    content: '✨ MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 0.5rem 1.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1.2rem;
    color: #c7d2fe;
    font-weight: 400;
}

.pricing-card p {
    color: #c7d2fe;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    color: #1f2937;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
    color: #1f2937;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0.5rem;
    }
    
    .premium-content h2 {
        font-size: 2rem;
    }
    
    .premium-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .premium-feature {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-premium,
    .btn-outline-light {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 300px;
    }
    
    .challenge-card {
        padding: 1.5rem;
        margin: 1rem 0;
        border-radius: 15px;
    }
    
    .challenge-header {
        margin-bottom: 1.5rem;
    }
    
    .challenge-actions {
        position: static;
        margin-top: 1rem;
        text-align: center;
    }
    
    .challenge-header h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .challenge-text {
        font-size: 1.4rem;
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .challenge-text::before,
    .challenge-text::after {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .btn-refusal {
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        min-height: 70px;
        margin: 1.5rem 0;
    }
    
    .stats-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .streak-counter {
        font-size: 2.5rem;
    }
    
    .badge-info {
        padding: 1rem;
    }
    
    .daily-refusals {
        padding: 1rem;
    }
    
    .app-header {
        padding: 1rem 0;
    }
    
    .app-header .app-title {
        font-size: 1.5rem;
    }
    
    .premium-badge {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
    
    .affirmation-card {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .affirmation-text {
        font-size: 1.1rem;
    }
    
    .limit-reached-card {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .limit-reached-card h4 {
        font-size: 1.2rem;
    }
    
    /* Menu page mobile */
    .menu-page .container {
        padding: 1rem;
    }
    
    .menu-title {
        font-size: 2rem;
    }
    
    .menu-subtitle {
        font-size: 1rem;
    }
    
    .category-card {
        margin-bottom: 1.5rem;
    }
    
    .category-header {
        padding: 1.25rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .challenges-list {
        padding: 1.25rem;
    }
    
    .challenge-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .challenge-text {
        font-size: 0.9rem;
    }
    
    .custom-section {
        position: static;
        margin-top: 2rem;
    }
    
    .custom-card {
        padding: 1.5rem;
    }
    
    .custom-textarea {
        min-height: 100px;
        font-size: 0.9rem;
    }
    
    .tips-card {
        padding: 1.25rem;
    }
    
    .tips-list {
        font-size: 0.85rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-refusal:hover {
        transform: none;
        box-shadow: 0 8px 20px rgba(255, 92, 92, 0.4);
    }
    
    .challenge-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .category-card:hover {
        transform: none;
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(255, 92, 92, 0.4);
    }
}

/* Improved tap targets */
.btn, .challenge-radio, .toggle-category {
    min-height: 44px;
    min-width: 44px;
}

.challenge-radio {
    transform: scale(1.3);
    margin-right: 0.5rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent zoom on input focus (iOS) */
input[type="text"],
input[type="email"],
textarea,
select {
    font-size: 16px;
}

/* Social Sharing Features for Instagram Viral Marketing */
.insight-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.share-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.share-btn i.fab.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.insight-share-preview {
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--accent-purple);
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.share-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(139, 92, 246, 0.95);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    backdrop-filter: blur(10px);
    z-index: 10000;
    max-width: 350px;
    animation: slideInUp 0.3s ease-out;
}

.toast-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.toast-content button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.toast-content button:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* Instagram-optimized insight cards */
.insight-card {
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '📸';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.8rem;
}

.insight-card:hover::before {
    opacity: 0.7;
}

.insight-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.insight-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile responsiveness for sharing */
@media (max-width: 768px) {
    .share-toast {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .insight-actions {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .share-btn {
        width: 32px;
        height: 32px;
    }
}

/* Boundaries List Card */
.boundaries-list-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.boundaries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.boundaries-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.boundaries-count {
    background: var(--accent-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.boundaries-list {
    max-height: 300px;
    overflow-y: auto;
}

.boundary-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    animation: boundarySuccess 0.5s ease-out;
}

.boundary-item:last-child {
    border-bottom: none;
}

.boundary-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.boundary-check {
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
    animation: checkmarkPop 0.8s ease-out;
}

.boundary-check i {
    color: white;
    font-size: 0.7rem;
}

.boundary-text {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: line-through;
    opacity: 0.7;
}

.boundary-time {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.no-boundaries {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-tertiary);
}

.no-boundaries i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-boundaries p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.no-boundaries small {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Visual Reward Animations */
.reward-item {
    position: relative;
    overflow: hidden;
}

.reward-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes checkmarkPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes boundarySuccess {
    0% { transform: translateX(-20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Energy Recharge Animation */
.reward-item:nth-child(2) .reward-icon {
    animation: energyRecharge 3s ease-in-out infinite;
}

@keyframes energyRecharge {
    0%, 100% { 
        transform: scale(1); 
        color: var(--mint-green);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.15); 
        color: #00ff88;
        filter: brightness(1.3) drop-shadow(0 0 8px #00ff88);
    }
}

/* Money Deposit Animation */
.reward-item:nth-child(3) .reward-icon {
    animation: moneyDeposit 2s ease-in-out infinite;
}

@keyframes moneyDeposit {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        color: #98FB98;
    }
    25% { 
        transform: translateY(-8px) scale(1.1); 
        color: #00ff00;
    }
    50% { 
        transform: translateY(-3px) scale(1.05); 
        color: #32cd32;
    }
    75% { 
        transform: translateY(2px) scale(0.98); 
        color: #90ee90;
    }
}

/* Time Fill Animation */
.reward-item:nth-child(1) .reward-icon {
    animation: timeFill 4s ease-in-out infinite;
}

@keyframes timeFill {
    0% { 
        transform: rotate(0deg) scale(1); 
        color: var(--gold);
    }
    25% { 
        transform: rotate(90deg) scale(1.05); 
        color: #ffd700;
    }
    50% { 
        transform: rotate(180deg) scale(1.1); 
        color: #ffed4a;
        filter: brightness(1.2);
    }
    75% { 
        transform: rotate(270deg) scale(1.05); 
        color: #f9ca24;
    }
    100% { 
        transform: rotate(360deg) scale(1); 
        color: var(--gold);
    }
}

/* Focus Brain Animation */
.reward-item:nth-child(4) .reward-icon {
    animation: brainPulse 2.5s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
        color: var(--lavender);
    }
    50% { 
        transform: scale(1.08); 
        opacity: 0.85; 
        color: #b19cd9;
        filter: brightness(1.25) drop-shadow(0 0 6px var(--lavender));
    }
}

/* Impact Stats Visual Enhancements */
.impact-item {
    position: relative;
    overflow: hidden;
}

.impact-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--coral-red));
    animation: progressFill 3s ease-out;
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Charging Bar Animation for Impact Stats */
.impact-value {
    position: relative;
    display: inline-block;
}

.impact-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: chargingBar 3s ease-in-out infinite;
}

@keyframes chargingBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Streak Fire Animation */
.streak-fire .fa-fire {
    animation: fireFlicker 1.5s ease-in-out infinite;
}

.streak-fire .fa-fire:nth-child(odd) {
    animation-delay: 0.2s;
}

.streak-fire .fa-fire:nth-child(even) {
    animation-delay: 0.4s;
}

@keyframes fireFlicker {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1; 
        color: #ff6b6b;
    }
    25% { 
        transform: scale(1.1) rotate(1deg); 
        opacity: 0.8; 
        color: #ff5252;
    }
    75% { 
        transform: scale(0.9) rotate(-1deg); 
        opacity: 0.9; 
        color: #ff7979;
    }
}

/* Reward Value Number Animation */
.reward-value {
    animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% { 
        text-shadow: 0 0 0 transparent; 
    }
    50% { 
        text-shadow: 0 0 10px currentColor; 
    }
}

/* Energy Bar Filling Animation */
.energy-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 0.5rem;
}

.energy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    animation: energyDotPulse 2s infinite;
}

.energy-dot:nth-child(even) {
    animation-delay: 0.5s;
}

.energy-dot:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes energyDotPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: scale(1.3); 
        opacity: 1; 
        box-shadow: 0 0 8px #FFD700;
    }
}

/* Challenge Selection Interface */
.challenge-selection {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(80, 200, 120, 0.05) 100%);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.challenge-selection::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.challenge-selection h3 {
    color: var(--text-primary);
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.selection-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.selection-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.selection-option {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.selection-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.selection-option:hover::before {
    left: 100%;
}

.selection-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-blue);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), #50c878);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.selection-option:hover .option-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5);
}

.option-content h4 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.option-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Quiz Interface */
.quiz-interface {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(80, 200, 120, 0.05) 0%, rgba(74, 144, 226, 0.05) 100%);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s ease-out;
}

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

.quiz-interface::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(80, 200, 120, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

.quiz-interface h3 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.progress-bar {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow: hidden;
    margin-right: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), #50c878);
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 33%;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    color: var(--text-secondary);
    font-size: 1rem;
    white-space: nowrap;
    font-weight: 500;
}

.quiz-question {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.quiz-question h4 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
}

.quiz-answers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.quiz-answer {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.quiz-answer:hover::before {
    left: 100%;
}

.quiz-answer:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-blue);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.quiz-answer.selected {
    background: rgba(74, 144, 226, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

.quiz-answer.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--accent-blue);
    font-size: 1.2rem;
    font-weight: bold;
}

.answer-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.answer-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.quiz-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Enhanced button styling for quiz */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #50c878);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Question transition animations */
.quiz-question {
    animation: questionFadeIn 0.5s ease-out;
}

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

.quiz-answers {
    animation: answerSlideIn 0.6s ease-out 0.2s both;
}

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

.quiz-answer {
    animation: answerFadeIn 0.4s ease-out;
}

@keyframes answerFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.quiz-answer:nth-child(1) { animation-delay: 0.1s; }
.quiz-answer:nth-child(2) { animation-delay: 0.2s; }
.quiz-answer:nth-child(3) { animation-delay: 0.3s; }
.quiz-answer:nth-child(4) { animation-delay: 0.4s; }

/* Selection pulse animation */
.quiz-answer.selected {
    animation: selectedPulse 0.6s ease-out;
}

@keyframes selectedPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1.02); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .selection-options {
        grid-template-columns: 1fr;
    }
    
    .quiz-answers {
        grid-template-columns: 1fr;
    }
    
    .challenge-selection {
        padding: 2rem 1.5rem;
    }
    
    .quiz-interface {
        padding: 2rem 1.5rem;
    }
    
    .quiz-answer {
        padding: 1.5rem;
    }
    
    .selection-option {
        padding: 2rem;
    }
    
    .option-icon {
        width: 70px;
        height: 70px;
    }
    
    .challenge-selection h3 {
        font-size: 1.8rem;
    }
    
    .quiz-interface h3 {
        font-size: 1.6rem;
    }
    
    .quiz-question h4 {
        font-size: 1.2rem;
    }
}

/* Enhanced Button Interactions */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pressed {
    transform: scale(0.95);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading animations */
.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); }
}

/* Improved focus states */
.btn:focus,
.form-control:focus,
.custom-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.3);
}

/* Impact Card Styles */
.impact-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.impact-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.impact-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
}

.impact-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.impact-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Progress Card Styles */
.progress-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.progress-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.progress-value {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.level-progress {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.level-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.level-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.energy-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 0.5rem;
}

.energy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    animation: pulse 2s infinite;
}

.energy-dot:nth-child(even) {
    animation-delay: 0.5s;
}

.progress-actions {
    display: flex;
    gap: 0.5rem;
}

.progress-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.5rem;
}

/* Insights Card Styles */
.insights-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.insight-item i {
    color: var(--primary-color);
    margin-top: 0.1rem;
    font-size: 0.9rem;
}

.insight-item span {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Enhanced Refusal Item Styles */
.refusal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.refusal-rewards {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.reward-mini {
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.streak-insight {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-align: center;
}

.streak-insight p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Smooth transitions for all interactive elements */
.btn,
.card,
.challenge-card,
.stats-card,
.category-card,
.custom-card,
.feature-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced visual feedback */
.btn:active:not(:disabled) {
    transform: translateY(1px);
}

.challenge-card,
.stats-card,
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Micro-interactions */
.streak-counter {
    transition: transform 0.3s ease;
}

.streak-counter:hover {
    transform: scale(1.05);
}

.badge-info {
    transition: all 0.3s ease;
}

.badge-info:hover {
    transform: translateY(-2px);
}

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

.challenge-card,
.stats-card,
.affirmation-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Staggered animations for list items */
.challenge-item {
    animation: fadeInUp 0.4s ease-out;
}

.challenge-item:nth-child(1) { animation-delay: 0.1s; }
.challenge-item:nth-child(2) { animation-delay: 0.2s; }
.challenge-item:nth-child(3) { animation-delay: 0.3s; }
.challenge-item:nth-child(4) { animation-delay: 0.4s; }
.challenge-item:nth-child(5) { animation-delay: 0.5s; }

/* Progressive enhancement for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .btn:hover,
    .challenge-card:hover,
    .stats-card:hover {
        transform: none;
    }
}

/* Enhanced Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.toast {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(34, 139, 58, 0.9));
    border-color: var(--success);
}

.toast-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(187, 45, 59, 0.9));
    border-color: var(--danger);
}

.toast-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(217, 164, 6, 0.9));
    border-color: var(--warning);
    color: var(--bg-primary);
}

.toast-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.9), rgba(20, 138, 157, 0.9));
    border-color: #17a2b8;
}

.toast i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.toast span {
    flex: 1;
    font-size: 0.95rem;
}

.toast-close {
    background: none;
    border: none;
    color: currentColor;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile toast adjustments */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .toast i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
    
    .toast span {
        font-size: 0.9rem;
    }
}

/* Input focus enhancements */
.input-focused {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.form-control,
.custom-textarea {
    transition: all 0.3s ease;
}

.form-control:focus,
.custom-textarea:focus {
    transform: scale(1.01);
    border-color: var(--coral-red);
    box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.2);
}

/* Pulse animation for important elements */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-refusal:focus {
    animation: pulse 2s infinite;
}

/* Free Code Section */
.free-code-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.divider-text {
    position: relative;
    margin: 20px 0;
    text-align: center;
}

.divider-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #444;
}

.divider-text span {
    background: var(--dark-bg);
    padding: 0 15px;
    color: var(--mint-green);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.free-code-form {
    max-width: 300px;
    margin: 0 auto 15px auto;
}

.free-code-form .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.free-code-form input:focus {
    background-color: #2A2A2A !important;
    border-color: var(--coral-red) !important;
    color: var(--white) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 92, 92, 0.25);
}

.free-code-form .btn-outline-secondary {
    border-color: var(--coral-red);
    color: var(--coral-red);
    background-color: transparent;
    transition: all 0.3s ease;
}

.free-code-form .btn-outline-secondary:hover {
    background-color: var(--coral-red);
    color: var(--white);
    transform: translateY(-1px);
}

/* Custom Categories Styles */
.custom-category-card {
    background-color: #2A2A2A;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.custom-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 92, 92, 0.2);
}

.category-emoji {
    font-size: 1.5rem;
    display: inline-block;
    min-width: 2rem;
    text-align: center;
}

.category-description {
    color: var(--light-gray);
    font-style: italic;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.category-card {
    background-color: #2A2A2A;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.category-preview {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
}

.category-preview-card {
    background-color: #2A2A2A;
    border: 2px solid var(--coral-red);
    border-radius: 8px;
    max-width: 300px;
}

.category-preview-card .card-header {
    background-color: rgba(255, 92, 92, 0.1);
    border-bottom: 1px solid rgba(255, 92, 92, 0.2);
}

.color-preview {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--light-gray);
}

.manage-categories-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.manage-title {
    color: var(--coral-red);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.manage-description {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.challenge-card {
    background-color: #2A2A2A;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.challenge-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 92, 92, 0.1);
}

.challenge-text {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Form Styles for Categories Pages */
.categories-page .form-control,
.create-category-page .form-control,
.edit-category-page .form-control,
.manage-challenges-page .form-control {
    background-color: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 6px;
}

.categories-page .form-control:focus,
.create-category-page .form-control:focus,
.edit-category-page .form-control:focus,
.manage-challenges-page .form-control:focus {
    background-color: #2A2A2A;
    border-color: var(--coral-red);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(255, 92, 92, 0.25);
}

.categories-page .form-control::placeholder,
.create-category-page .form-control::placeholder,
.edit-category-page .form-control::placeholder,
.manage-challenges-page .form-control::placeholder {
    color: var(--light-gray);
    opacity: 0.7;
}

.categories-page .form-label,
.create-category-page .form-label,
.edit-category-page .form-label,
.manage-challenges-page .form-label {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.categories-page .form-text,
.create-category-page .form-text,
.edit-category-page .form-text,
.manage-challenges-page .form-text {
    color: var(--light-gray);
    font-size: 0.875rem;
}

.form-control-color {
    width: 50px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
}

/* Card Styles for Categories */
.categories-page .card,
.create-category-page .card,
.edit-category-page .card,
.manage-challenges-page .card {
    background-color: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.categories-page .card-header,
.create-category-page .card-header,
.edit-category-page .card-header,
.manage-challenges-page .card-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.categories-page .card-body,
.create-category-page .card-body,
.edit-category-page .card-body,
.manage-challenges-page .card-body {
    color: var(--white);
}

.categories-page .card-footer,
.create-category-page .card-footer,
.edit-category-page .card-footer,
.manage-challenges-page .card-footer {
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Button Styles for Categories Pages */
.categories-page .btn,
.create-category-page .btn,
.edit-category-page .btn,
.manage-challenges-page .btn {
    border-radius: 6px;
    transition: all 0.3s ease;
}

.categories-page .btn-primary,
.create-category-page .btn-primary,
.edit-category-page .btn-primary,
.manage-challenges-page .btn-primary {
    background-color: var(--coral-red);
    border-color: var(--coral-red);
}

.categories-page .btn-primary:hover,
.create-category-page .btn-primary:hover,
.edit-category-page .btn-primary:hover,
.manage-challenges-page .btn-primary:hover {
    background-color: #e64545;
    border-color: #e64545;
    transform: translateY(-1px);
}

.categories-page .btn-outline-primary,
.create-category-page .btn-outline-primary,
.edit-category-page .btn-outline-primary,
.manage-challenges-page .btn-outline-primary {
    border-color: var(--coral-red);
    color: var(--coral-red);
}

.categories-page .btn-outline-primary:hover,
.create-category-page .btn-outline-primary:hover,
.edit-category-page .btn-outline-primary:hover,
.manage-challenges-page .btn-outline-primary:hover {
    background-color: var(--coral-red);
    border-color: var(--coral-red);
    color: var(--white);
}

.categories-page .btn-outline-secondary,
.create-category-page .btn-outline-secondary,
.edit-category-page .btn-outline-secondary,
.manage-challenges-page .btn-outline-secondary {
    border-color: var(--light-gray);
    color: var(--light-gray);
}

.categories-page .btn-outline-secondary:hover,
.create-category-page .btn-outline-secondary:hover,
.edit-category-page .btn-outline-secondary:hover,
.manage-challenges-page .btn-outline-secondary:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
    color: var(--dark-bg);
}

.categories-page .btn-outline-danger,
.create-category-page .btn-outline-danger,
.edit-category-page .btn-outline-danger,
.manage-challenges-page .btn-outline-danger {
    border-color: var(--danger);
    color: var(--danger);
}

.categories-page .btn-outline-danger:hover,
.create-category-page .btn-outline-danger:hover,
.edit-category-page .btn-outline-danger:hover,
.manage-challenges-page .btn-outline-danger:hover {
    background-color: var(--danger);
    border-color: var(--danger);
    color: var(--white);
}

/* Modal Styles for Categories Pages */
.categories-page .modal-content,
.create-category-page .modal-content,
.edit-category-page .modal-content,
.manage-challenges-page .modal-content {
    background-color: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-page .modal-header,
.create-category-page .modal-header,
.edit-category-page .modal-header,
.manage-challenges-page .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.categories-page .modal-body,
.create-category-page .modal-body,
.edit-category-page .modal-body,
.manage-challenges-page .modal-body {
    color: var(--white);
}

.categories-page .modal-footer,
.create-category-page .modal-footer,
.edit-category-page .modal-footer,
.manage-challenges-page .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-page .btn-close,
.create-category-page .btn-close,
.edit-category-page .btn-close,
.manage-challenges-page .btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    opacity: 0.7;
}

.categories-page .btn-close:hover,
.create-category-page .btn-close:hover,
.edit-category-page .btn-close:hover,
.manage-challenges-page .btn-close:hover {
    opacity: 1;
}

/* Badge Styles */
.badge {
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.bg-secondary {
    background-color: var(--gray) !important;
}

/* Navigation Styles */
.navbar-dark .navbar-nav .nav-link {
    color: var(--white);
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--coral-red);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--coral-red);
}

/* Logo Styles */
.app-logo-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-logo {
    height: 40px;
    width: 40px;
    transition: transform 0.3s ease;
}

.app-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.landing-logo-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.landing-logo {
    height: 60px;
    width: 60px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.landing-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .app-logo {
        height: 32px;
        width: 32px;
    }
    
    .landing-logo {
        height: 48px;
        width: 48px;
    }
    
    .landing-logo-title {
        gap: 1rem;
    }
    
    .app-title {
        font-size: 2.5rem;
    }
    
    .tagline-header {
        font-size: 1.3rem;
    }
    
    .tagline-subheader {
        font-size: 1.1rem;
    }
}

/* Social Features Styles */
.social-nav {
    margin-bottom: 2rem;
}

.nav-pills-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-pill {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    background: transparent;
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.nav-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
}

.nav-pill.active {
    background: var(--coral-red);
    color: var(--white);
}

.social-stats-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.stat-avatar {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.challenge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--coral-red);
}

.challenge-card.featured-challenge {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.1), rgba(255, 255, 255, 0.05));
}

.challenge-card.active-challenge {
    border-color: var(--mint-green);
    background: linear-gradient(135deg, rgba(95, 255, 160, 0.1), rgba(255, 255, 255, 0.05));
}

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

.challenge-emoji {
    font-size: 2rem;
}

.challenge-header h4 {
    margin: 0;
    color: var(--white);
    font-size: 1.2rem;
    flex-grow: 1;
}

.difficulty-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-badge.easy {
    background: var(--mint-green);
    color: var(--dark-bg);
}

.difficulty-badge.medium {
    background: var(--gold);
    color: var(--dark-bg);
}

.difficulty-badge.hard {
    background: var(--coral-red);
    color: var(--white);
}

.challenge-description {
    color: var(--light-gray);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.challenge-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.challenge-stats .stat {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.challenge-stats .stat i {
    color: var(--coral-red);
    margin-right: 0.5rem;
}

.challenge-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.creator-avatar {
    font-size: 1.2rem;
}

.challenge-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mint-green), var(--coral-red));
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-align: center;
}

.leaderboard-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rank-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
}

.leaderboard-item.rank-1 .rank-badge {
    background: var(--gold);
}

.leaderboard-item.rank-2 .rank-badge {
    background: #C0C0C0;
}

.leaderboard-item.rank-3 .rank-badge {
    background: #CD7F32;
}

.leaderboard-item:not(.rank-1):not(.rank-2):not(.rank-3) .rank-badge {
    background: var(--gray);
}

.user-avatar {
    font-size: 1.5rem;
}

.user-info {
    flex-grow: 1;
}

.user-name {
    color: var(--white);
    font-weight: 600;
}

.user-level {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.user-score {
    color: var(--coral-red);
    font-weight: 700;
    font-size: 1.2rem;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.avatar-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.avatar-option.selected {
    border-color: var(--coral-red);
    background: rgba(255, 92, 92, 0.2);
}

.stats-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.stats-preview h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.section-title i {
    color: var(--coral-red);
    margin-right: 0.5rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .nav-pills-container {
        padding: 0.5rem;
    }
    
    .nav-pill {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .social-stats-card {
        padding: 1rem;
    }
    
    .challenge-card {
        padding: 1rem;
    }
    
    .challenge-header h4 {
        font-size: 1rem;
    }
    
    .challenge-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .avatar-selector {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        gap: 0.5rem;
    }
    
    .avatar-option {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Challenge Detail Styles */
.challenge-detail {
    max-width: none;
    margin-bottom: 2rem;
}

.challenge-detail .challenge-header h1 {
    font-size: 2rem;
    margin: 0 1rem;
}

.challenge-quote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--coral-red);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
}

.challenge-quote blockquote {
    margin: 0;
    font-style: italic;
    color: var(--white);
    font-size: 1.1rem;
}

.challenge-meta {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-gray);
}

.meta-item i {
    color: var(--coral-red);
    width: 20px;
}

.challenge-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.participation-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--mint-green);
}

.progress-mini {
    flex-grow: 1;
    max-width: 200px;
}

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

.participant-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.participant-avatar {
    font-size: 1.5rem;
}

.participant-info {
    flex-grow: 1;
}

.participant-name {
    color: var(--white);
    font-weight: 600;
}

.participant-progress {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.participant-streak {
    color: var(--coral-red);
    font-weight: 600;
}

/* Comments Styles */
.comment-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    font-size: 1.2rem;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.comment-author {
    color: var(--white);
    font-weight: 600;
}

.comment-date {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.comment-text {
    color: var(--light-gray);
    line-height: 1.4;
}

/* Emoji Selector for Create Challenge */
.emoji-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.emoji-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.emoji-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.emoji-option.selected {
    border-color: var(--coral-red);
    background: rgba(255, 92, 92, 0.2);
}

.challenge-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
}

/* Leaderboard Styles */
.your-position-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.position-header h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.position-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.position-rank {
    font-size: 3rem;
    font-weight: 700;
    color: var(--coral-red);
}

.position-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}

.position-score {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
}

.podium-container {
    margin-bottom: 2rem;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.podium-place {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.podium-user {
    margin-bottom: 1rem;
}

.podium-user .user-avatar {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.podium-user .user-name {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.podium-user .user-score {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.podium-base {
    padding: 1rem;
    border-radius: 10px;
    min-width: 120px;
}

.podium-place.first .podium-base {
    background: var(--gold);
    height: 100px;
}

.podium-place.second .podium-base {
    background: #C0C0C0;
    height: 80px;
}

.podium-place.third .podium-base {
    background: #CD7F32;
    height: 60px;
}

.podium-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.podium-medal {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.leaderboard-full {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.user-bio {
    color: var(--light-gray);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.user-stats {
    display: flex;
    gap: 1rem;
    flex-grow: 1;
}

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

.user-stats .stat-label {
    color: var(--light-gray);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.user-stats .stat-value {
    color: var(--white);
    font-weight: 600;
}

/* My Challenges Styles */
.created-challenge {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.1), rgba(255, 255, 255, 0.05));
}

.featured-badge {
    background: var(--gold);
    color: var(--dark-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.participation-stats {
    margin-bottom: 1rem;
}

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

.participation-stats .stat-label {
    color: var(--light-gray);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.participation-stats .stat-value {
    color: var(--white);
    font-weight: 600;
}

.empty-state {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.stats-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-icon {
    font-size: 2rem;
    color: var(--coral-red);
}

.stat-info {
    flex-grow: 1;
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-card .stat-label {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Mobile responsive for social features */
@media (max-width: 768px) {
    .challenge-detail .challenge-header h1 {
        font-size: 1.5rem;
    }
    
    .challenge-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .participants-grid {
        grid-template-columns: 1fr;
    }
    
    .position-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .podium {
        flex-direction: column;
        gap: 1rem;
    }
    
    .podium-place {
        width: 100%;
        max-width: 300px;
    }
    
    .podium-base {
        width: 100%;
        height: auto !important;
        min-height: 60px;
    }
    
    .user-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
}

/* Profile Page Styles */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #FF6B6B, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.profile-subtitle {
    color: #A7F0BA;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.profile-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #FF6B6B, #FFD93D, #A7F0BA);
    border-radius: 20px 20px 0 0;
}

.avatar-section {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.user-level {
    background: linear-gradient(45deg, #A7F0BA, #7BC142);
    color: #1E1E1E;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.profile-info h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.user-bio {
    color: #A7F0BA;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.profile-stats {
    margin-top: 2rem;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD93D;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #A7F0BA;
    font-size: 0.9rem;
    font-weight: 500;
}

.insights-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.insights-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #A7F0BA, #7BC142);
    border-radius: 20px 20px 0 0;
}

.insights-card h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.insight-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.insight-item i {
    font-size: 1.8rem;
    color: #FFD93D;
    width: 40px;
    flex-shrink: 0;
}

.insight-item strong {
    color: #FFD93D;
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.3rem;
}

.insight-item p {
    color: #A7F0BA;
    font-size: 0.9rem;
    margin: 0;
}

.edit-profile-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.edit-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #FF6B6B, #FFD93D);
    border-radius: 20px 20px 0 0;
}

.edit-profile-card h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.edit-profile-card .form-label {
    color: #A7F0BA;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.edit-profile-card .form-control,
.edit-profile-card .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.edit-profile-card .form-control:focus,
.edit-profile-card .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFD93D;
    box-shadow: 0 0 0 0.2rem rgba(255, 217, 61, 0.25);
    color: white;
}

.edit-profile-card .form-control::placeholder {
    color: #A7F0BA;
}

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

.edit-profile-card .form-check-input:checked {
    background-color: #FFD93D;
    border-color: #FFD93D;
}

.edit-profile-card .form-check-label {
    color: white;
}

@media (max-width: 768px) {
    .profile-container {
        padding: 1rem;
    }
    
    .profile-title {
        font-size: 2rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .avatar-emoji {
        font-size: 3rem;
    }
    
    .profile-info h3 {
        font-size: 1.5rem;
    }
}

/* Rewards Showcase */
.rewards-showcase {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.reward-pillar {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.reward-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid rgba(255, 217, 61, 0.3);
    transition: all 0.3s ease;
}

.reward-icon:hover {
    background: rgba(255, 217, 61, 0.2);
    border-color: rgba(255, 217, 61, 0.6);
    transform: scale(1.1);
}

.reward-icon i {
    font-size: 2rem;
    color: #FFD93D;
}

.reward-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #FFD93D;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.reward-subtitle {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #A7F0BA;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #FF6B6B, #FFD93D, #A7F0BA);
    border-radius: 20px 20px 0 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 217, 61, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 217, 61, 0.4);
}

.feature-icon i {
    font-size: 1.5rem;
    color: #FFD93D;
}

.feature-card h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    color: #A7F0BA;
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin: 0;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .landing-content {
        padding: 1rem;
    }
    
    .rewards-showcase {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .reward-pillar {
        max-width: 100%;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 0 !important;
    }
}

/* Desktop specific improvements */
@media (min-width: 769px) {
    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }
}

/* Authentication Page Styles */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    width: 100%;
}

.auth-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #7f8c8d;
    margin-bottom: 0;
}

.auth-input {
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.auth-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.auth-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    text-transform: none;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
}

/* Interactive Mascot Options */
.mascot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.mascot-option {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: var(--accent-purple);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.mascot-option:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

.mascot-option:active {
    transform: translateY(0);
}

/* Peacey Micro-Interactions Animations */
@keyframes peaceyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes peaceyJoy {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

@keyframes peaceyCelebration {
    0%, 100% { transform: scale(1) rotate(0deg); }
    20% { transform: scale(1.15) rotate(-10deg); }
    40% { transform: scale(1.15) rotate(10deg); }
    60% { transform: scale(1.15) rotate(-10deg); }
    80% { transform: scale(1.15) rotate(10deg); }
}

@keyframes peaceyExcited {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes peaceyWave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(20deg); }
}

@keyframes peaceyBlink {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.1); }
}

@keyframes peaceyShine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes peaceyBreathing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes peaceySparkle {
    0% { 
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
    100% { 
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Interactive Elements */
.mascot {
    cursor: pointer;
    user-select: none;
}

.mascot-eyes .eye {
    cursor: pointer;
    transition: transform 0.1s ease;
}

.mascot-mouth {
    cursor: pointer;
    transition: all 0.2s ease;
}

.mascot-arms .arm {
    transition: transform 0.3s ease;
}

.peacey-sparkle {
    pointer-events: none;
    z-index: 1000;
}

/* Hover states for interactive elements */
.mascot:hover .mascot-body {
    transform: scale(1.05);
}

.mascot-eyes .eye:hover {
    transform: scale(1.1);
}

.mascot-mouth:hover {
    transform: scale(1.1);
}

/* Duplicate mascot container styling removed - using unified version above */

.mascot-speech {
    position: absolute;
    bottom: 80px;
    right: 0;
    min-width: 200px;
    max-width: 300px;
}

.speech-bubble {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.95);
}

.speech-text {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

/* Cute Mascot Eyes with Expressions */
.mascot-eyes {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eye {
    width: 6px;
    height: 6px;
    background: #2c3e50 !important;
    border-radius: 50%;
    position: relative;
    border: 1px solid #fff;
    display: block !important;
    transition: all 0.3s ease;
    animation: blink 4s infinite;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.eye::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.left-eye {
    background: #2c3e50 !important;
}

.right-eye {
    background: #2c3e50 !important;
}

@keyframes blink {
    0%, 90%, 100% { 
        transform: scaleY(1); 
    }
    95% { 
        transform: scaleY(0.1); 
    }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.mascot-mouth {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: #FF69B4;
    border: 1px solid #FF1493;
    transition: all 0.3s ease;
    animation: smile 3s ease-in-out infinite;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.mascot-mouth:hover {
    transform: translateX(-50%) scale(1.2);
    background: #FF1493;
    animation: happy-smile 0.6s ease-in-out;
}

.mascot-blush {
    position: absolute;
    width: 4px;
    height: 3px;
    background: rgba(255, 182, 193, 0.8);
    border-radius: 50%;
    top: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: blush-pulse 2s ease-in-out infinite;
}

.left-blush {
    left: 15%;
}

.right-blush {
    right: 15%;
}

.mascot-body:hover .mascot-blush {
    opacity: 1;
}

@keyframes smile {
    0%, 100% { width: 8px; border-radius: 0 0 8px 8px; }
    50% { width: 10px; border-radius: 0 0 10px 10px; }
}

@keyframes happy-smile {
    0%, 100% { width: 10px; border-radius: 0 0 10px 10px; }
    50% { width: 14px; border-radius: 0 0 14px 14px; }
}

@keyframes blush-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

.mascot-mouth {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    border-radius: 0 0 12px 12px;
    background: #2c3e50;
}
