/* Footer Styles - matching main page exactly */
/* bg-muted/30 = hsl(48 18% 94% / 0.3) */
footer {
    background: hsla(48, 18%, 94%, 0.3);
    border-top: 1px solid hsla(48, 22%, 88%, 0.5);
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

/* dark:bg-muted/10 = hsl(220 25% 15% / 0.1) */
@media (prefers-color-scheme: dark) {
    footer {
        background: hsla(220, 25%, 15%, 0.1);
        border-top-color: hsla(220, 25%, 15%, 0.5);
    }
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem 1.25rem;
}

@media (min-width: 640px) {
    .footer-content {
        padding: 1rem 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        padding: 1.25rem 3rem;
    }
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer a {
    color: var(--muted-foreground);
    transition: color 0.2s;
}

footer a:hover {
    color: var(--foreground);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .footer-right {
        gap: 0.5rem;
    }
}

.heart-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.heart-button:hover {
    background: hsl(48, 18%, 94%);
    background-opacity: 0.5;
}

.dark .heart-button:hover,
@media (prefers-color-scheme: dark) {
    .heart-button:hover {
        background: hsl(220, 25%, 15%);
        background-opacity: 0.5;
    }
}

.heart-button:active {
    transform: scale(1.1);
}

.heart-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: black;
    transition: transform 0.2s;
}

.heart-icon path {
    fill: currentColor;
}

.heart-button:active .heart-icon {
    transform: scale(1.1);
}

/* Dark mode support - EXACT COPY of Footer.tsx dark:fill-white dark:text-white */
.dark .heart-icon {
    color: white;
}

@media (prefers-color-scheme: dark) {
    .heart-icon {
        color: white;
    }
}

.heart-count {
    font-size: 0.75rem;
    font-weight: 500;
    display: none;
}

.heart-count:not(:empty) {
    display: inline;
}

.floating-heart {
    position: fixed;
    pointer-events: none;
    z-index: 50;
    will-change: transform, opacity;
}

.floating-heart svg {
    width: 1rem;
    height: 1rem;
    color: black;
}

.floating-heart svg path {
    fill: currentColor;
}

.dark .floating-heart svg,
@media (prefers-color-scheme: dark) {
    .floating-heart svg {
        color: white;
    }
}
