/* ====== Quote of the Day Styles ====== */
.quote-section {
    background-image: url('/images/Quote2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 1.5rem 2rem; /* REDUCED from 2.5rem */
    text-align: center;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: var(--max);
    margin: 1rem auto; /* REDUCED from 2rem */
    font-family: 'Georgia', serif;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent 50%);
    pointer-events: none;
}

.quote-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* REDUCED from 1rem */
    position: relative;
    z-index: 1;
}

.quote-date {
    font-size: 0.8rem; /* REDUCED from 1rem */
    color: rgba(255, 255, 255, 1.0);
    font-weight: 500;
    margin-bottom: 0.25rem; /* REDUCED from 0.5rem */
    text-transform: uppercase;
    letter-spacing: 2px;
}

#quote-text {
    font-size: 1.1rem; /* REDUCED from 1.4rem */
    font-style: italic;
    color: #FFFFFF;
    line-height: 1.5; /* REDUCED from 1.6 */
    max-width: 800px;
    margin: 0 auto;
    quotes: "“" "”" "‘" "’";
}

#quote-text::before {
    content: "“";
    font-size: 1.6rem; /* REDUCED from 2rem */
    opacity: 0.5;
    margin-right: 0.3rem; /* REDUCED from 0.5rem */
}

#quote-text::after {
    content: "”";
    font-size: 1.6rem; /* REDUCED from 2rem */
    opacity: 0.5;
    margin-left: 0.3rem; /* REDUCED from 0.5rem */
}

#quote-author {
    font-size: 0.9rem; /* REDUCED from 1.1rem */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 1px;
}

/* ====== Share Button Styles ====== */
.share-quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem; /* REDUCED from 0.5rem */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.2rem 0.6rem; /* REDUCED from 0.3rem 0.7rem */
    margin: 0.4rem auto 0.1rem auto; /* REDUCED from 0.8rem 0.3rem */
    cursor: pointer;
    font-size: 0.75rem; /* REDUCED from 0.85rem */
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
    z-index: 2;
    font-family: system-ui, -apple-system, sans-serif;
    width: fit-content;
}

.share-quote-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.02);
}

.share-quote-btn:active {
    transform: scale(0.98);
}

.share-quote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.share-icon {
    width: 14px; /* REDUCED from 18px */
    height: 14px; /* REDUCED from 18px */
}

.share-text {
    font-size: 0.7rem; /* REDUCED from 0.8rem */
    letter-spacing: 0.5px;
}

/* Loading state spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.share-quote-btn .spinner-icon {
    animation: spin 1s linear infinite;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .quote-section {
        padding: 1rem 1.5rem; /* REDUCED from 2rem 1.5rem */
        margin: 0.75rem 1rem; /* REDUCED from 1rem */
    }

    #quote-text {
        font-size: 0.95rem; /* REDUCED from 1.2rem */
        line-height: 1.4; /* TIGHTER line height */
    }
    
    #quote-text::before,
    #quote-text::after {
        font-size: 1.3rem; /* REDUCED from 1.6rem */
    }
    
    .quote-date {
        font-size: 0.7rem; /* REDUCED from 0.8rem */
    }
    
    #quote-author {
        font-size: 0.8rem; /* REDUCED from 0.9rem */
    }
    
    .share-quote-btn {
        padding: 0.15rem 0.5rem; /* REDUCED from 0.3rem 0.7rem */
        margin: 0.3rem auto 0.1rem auto; /* REDUCED from 0.6rem 0.2rem */
        font-size: 0.7rem; /* REDUCED from 0.75rem */
    }
    
    .share-icon {
        width: 12px; /* REDUCED from 16px */
        height: 12px; /* REDUCED from 16px */
    }
    
    .share-text {
        font-size: 0.6rem; /* REDUCED from 0.7rem */
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .quote-section {
        padding: 0.75rem 1rem;
        margin: 0.5rem 0.75rem;
        border-radius: 1rem;
    }
    
    #quote-text {
        font-size: 0.85rem;
    }
    
    #quote-text::before,
    #quote-text::after {
        font-size: 1rem;
    }
    
    .quote-date {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    #quote-author {
        font-size: 0.7rem;
    }
}
