/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
    position: relative;
    transition: all 1s ease-in-out;
}

/* Arrière-plans pour chaque jour */
.theme-sunday {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 25%, #fb7185 50%, #fb923c 75%, #fbbf24 100%);
}

.theme-monday {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 25%, #ec4899 50%, #fb7185 75%, #fca5a5 100%);
}

.theme-tuesday {
    background: linear-gradient(135deg, #059669 0%, #0d9488 25%, #06b6d4 50%, #3b82f6 75%, #93c5fd 100%);
}

.theme-wednesday {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 25%, #ec4899 50%, #a855f7 75%, #c084fc 100%);
}

.theme-thursday {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 25%, #fb923c 50%, #fbbf24 75%, #fde047 100%);
}

.theme-friday {
    background: linear-gradient(135deg, #4338ca 0%, #7c3aed 25%, #ec4899 50%, #fb7185 75%, #fca5a5 100%);
}

.theme-saturday {
    background: linear-gradient(135deg, #eab308 0%, #ea580c 25%, #dc2626 50%, #ec4899 75%, #f472b6 100%);
}

/* Formes organiques d'arrière-plan */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(60px);
}

/* Grandes formes */
.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.4);
}

.shape-2 {
    width: 350px;
    height: 350px;
    top: 25%;
    left: 33%;
    animation: float-delayed 10s ease-in-out infinite 2s;
    background: rgba(255, 255, 255, 0.25);
}

.shape-3 {
    width: 500px;
    height: 500px;
    bottom: 25%;
    right: 25%;
    animation: float 12s ease-in-out infinite 1s;
    background: rgba(255, 255, 255, 0.2);
}

.shape-4 {
    width: 450px;
    height: 450px;
    bottom: -150px;
    right: -150px;
    animation: float-delayed 9s ease-in-out infinite 3s;
    background: rgba(255, 255, 255, 0.35);
}

/* Formes moyennes */
.shape-5 {
    width: 280px;
    height: 280px;
    top: 50%;
    right: 33%;
    animation: pulse-slow 6s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.45);
    filter: blur(40px);
}

.shape-6 {
    width: 220px;
    height: 220px;
    top: 33%;
    left: 50%;
    animation: float 7s ease-in-out infinite 1.5s;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(45px);
}

.shape-7 {
    width: 260px;
    height: 260px;
    bottom: 33%;
    left: 25%;
    animation: pulse-slow 8s ease-in-out infinite 2s;
    background: rgba(255, 255, 255, 0.25);
    filter: blur(50px);
}

/* Petites formes */
.shape-8 {
    width: 150px;
    height: 150px;
    top: 16%;
    right: 16%;
    animation: float-delayed 6s ease-in-out infinite 1s;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(25px);
}

.shape-9 {
    width: 180px;
    height: 180px;
    bottom: 16%;
    left: 16%;
    animation: pulse-slow 5s ease-in-out infinite 3s;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(30px);
}

.shape-10 {
    width: 120px;
    height: 120px;
    top: 66%;
    right: 50%;
    animation: float 4s ease-in-out infinite 2s;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(20px);
}

/* Contenu principal */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.quote-container {
    max-width: 900px;
    width: 100%;
}

/* Section date */
.date-section {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out;
}

.day-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.full-date {
    color: white;
    font-size: 1.875rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Carte de citation */
.quote-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.7s ease;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.quote-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.2);
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 24px;
    pointer-events: none;
}

/* Icône de citation */
.quote-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.quote-icon svg {
    padding: 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    animation: pulse-gentle 3s ease-in-out infinite;
}

/* Texte de la citation */
.quote-text {
    color: white;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 32px;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Section auteur */
.author-section {
    text-align: center;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    width: 128px;
    margin: 0 auto 16px;
}

.author {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 500;
    font-style: normal;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* Décoration en bas */
.bottom-decoration {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
}

.dot-2 {
    animation-delay: 0.2s;
}

.dot-3 {
    animation-delay: 0.4s;
}

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

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-20px) rotate(2deg); 
    }
    66% { 
        transform: translateY(-10px) rotate(-2deg); 
    }
}

@keyframes float-delayed {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(30px) rotate(5deg) scale(1.1); 
    }
    50% { 
        transform: translateY(-20px) rotate(-3deg) scale(0.9); 
    }
    75% { 
        transform: translateY(40px) rotate(8deg) scale(1.05); 
    }
}

@keyframes pulse-slow {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.1);
    }
}

@keyframes pulse-gentle {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-8px);
    }
    70% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(-2px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote-card {
        padding: 24px;
        border-radius: 20px;
    }
    
    .quote-text {
        font-size: 1.25rem;
        line-height: 1.6;
    }
    
    .day-name {
        font-size: 1.125rem;
    }
    
    .full-date {
        font-size: 1.5rem;
    }
    
    .author {
        font-size: 1.125rem;
    }
    
    .content {
        padding: 16px;
    }
    
    /* Ajustement des formes pour mobile */
    .shape-1, .shape-2, .shape-3, .shape-4 {
        width: 250px;
        height: 250px;
    }
    
    .shape-5, .shape-6, .shape-7 {
        width: 180px;
        height: 180px;
    }
    
    .shape-8, .shape-9, .shape-10 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .quote-card {
        padding: 20px;
    }
    
    .quote-text {
        font-size: 1.125rem;
    }
    
    .full-date {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    .quote-text {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .quote-card {
        padding: 64px;
    }
}