/*
 * Daily Quotes Design: Ultra-Premium Gradient Card
 * A sleek, modern, and responsive design for showcasing daily quotes.
 *
 * For an even more premium feel, consider importing a font like 'Inter' or 'Poppins' from Google Fonts:
 * @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');
 */

.daily-quote-container {
    /* Core Styling */
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 2.5rem;
    margin: 2rem 1rem; /* Added horizontal margin for smaller screens */
    border-radius: 20px;
    position: relative;
    overflow: hidden; /* Ensures pseudo-elements stay within the border-radius */

    /* Premium Gradient & Glassmorphism Effect */
    background: linear-gradient(135deg, #22beb3 0%, #1a9a92 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);

    /* Smooth Hover Transition */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* --- Hover Effect --- */
.daily-quote-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.25);
}

/* --- Quote Text --- */
.daily-quote-container p.dq-text {
    /* Fluid typography for responsiveness */
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    line-height: 1.6;
    font-weight: 300; /* Lighter weight for elegance */
    margin: 0 0 2rem 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative; /* To ensure it's above any decorative elements */
    z-index: 2;
}

/* --- Footer --- */
.daily-quote-container footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    position: relative; /* To ensure it's above any decorative elements */
    z-index: 2;
}

/* --- Author & Date --- */
.daily-quote-container .dq-author {
    font-style: normal;
    font-weight: 600; /* Semibold for emphasis */
    letter-spacing: 0.5px;
}

.daily-quote-container .dq-date {
    font-style: normal;
    opacity: 0.75;
}


/* --- Responsive Design for Mobile Devices --- */
@media (max-width: 600px) {
    .daily-quote-container {
        padding: 2rem 1.5rem;
        margin: 1.5rem;
    }

    .daily-quote-container footer {
        flex-direction: column; /* Stack author and date vertically */
        align-items: flex-start;
        gap: 0.5rem; /* Add space between stacked items */
    }

    .daily-quote-container:hover {
        transform: translateY(-5px); /* Less dramatic hover on mobile */
    }
}