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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0d0d12;
    color: #ffffff;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.ambient-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(88, 66, 124, 0.15) 0%, 
        rgba(168, 100, 60, 0.08) 40%,
        transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.refresh-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(18, 18, 24, 0.85);
    backdrop-filter: blur(20px);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.refresh-button:hover {
    background: rgba(28, 28, 34, 0.95);
    border-color: rgba(120, 90, 180, 0.4);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 30px rgba(120, 90, 180, 0.3);
    transform: scale(1.05);
}

.refresh-button:active {
    transform: scale(0.95);
}

.refresh-button svg {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.refresh-button:active svg {
    transform: rotate(360deg);
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.card {
    position: relative;
    width: 100%;
    max-width: 680px;
    padding: 4.5rem 4rem;
    background: rgba(18, 18, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    backdrop-filter: blur(40px);
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        box-shadow: 
            0 0 60px rgba(88, 66, 124, 0.2),
            0 0 100px rgba(168, 100, 60, 0.1);
    }
    50% {
        box-shadow: 
            0 0 80px rgba(88, 66, 124, 0.3),
            0 0 120px rgba(168, 100, 60, 0.15);
    }
}

.card-light {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 28px;
    background: linear-gradient(135deg, 
        rgba(120, 90, 180, 0.25), 
        rgba(200, 120, 80, 0.25),
        rgba(80, 120, 180, 0.25));
    z-index: -1;
    opacity: 0.5;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(24px);
}

.card:hover {
    animation: none;
}

.card-content {
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-bottom: 2rem;
}

.quote {
    text-align: center;
    margin-bottom: 2.5rem;
}

.quote-text {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: normal;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    display: block;
}

.reflection {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    letter-spacing: 0.02em;
    transition: opacity 0.4s ease-in-out;
}

@media (max-width: 768px) {
    .card {
        padding: 3.5rem 2.5rem;
    }
    
    .quote-text {
        font-size: 1.4rem;
    }
    
    .reflection {
        font-size: 1.1rem;
    }
    
    .refresh-button {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 3rem 2rem;
    }
    
    .quote-text {
        font-size: 1.25rem;
    }
    
    .quote-author {
        font-size: 0.9rem;
    }
    
    .reflection {
        font-size: 1rem;
    }
    
    .refresh-button {
        bottom: 1rem;
        left: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .refresh-button svg {
        width: 18px;
        height: 18px;
    }
}
