:root {
    --primary-color: #2c3e50;
    --secondary-color: #7f8c8d;
    --background-color-1: #f4f7f6;
    --background-color-2: #e0e6e4;
    --font-family-quote: 'Montserrat', sans-serif;
    --font-family-author: 'Lato', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: var(--font-family-quote);
    color: var(--primary-color);
    background-color: var(--background-color-1);
}

/* Background animation */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-color-1) 0%, var(--background-color-2) 100%);
    background-size: 200% 200%;
    animation: backgroundShift 25s ease infinite;
    z-index: -2;
}

@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Handwriting intro */
.handwriting-svg {
    width: 90%;
    height: auto;
}
.svg-text {
    font-size: 2.5rem;
    font-weight: 700;
    fill: var(--primary-color);
}

/* Main quote container */
.content-container {
    max-width: 900px;
    padding: 3rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}
.content-container.hidden {
    display: none;
}

.quote-text {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}
.quote-author {
    font-size: 1.2rem;
    font-family: var(--font-family-author);
    color: var(--secondary-color);
}
.quote-bio, .quote-context {
    font-size: 1rem;
    font-family: var(--font-family-author);
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .quote-text { font-size: 1.8rem; }
    .quote-author, .quote-bio, .quote-context { font-size: 1rem; }
}