/* --- Main Footer Section --- */
.main-footer {
    padding: 3rem 2rem;
    background-color: var(--color-base-deep); /* Dark background (#511b11) */
    text-align: center;
    color: var(--color-bg-light); /* Text color for contrast (#ffeeeb) */
    font-family: var(--font-body);
}

.main-footer .section-title {
    color: var(--color-bg-light); /* Override title color for dark background */
    text-shadow: 3px 3px 0 var(--color-highlight-fun), -3px -3px 0 var(--color-accent-danger);
    margin-bottom: 1rem; /* Adjust spacing */
}

.main-footer .section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-top: 0; /* Override default negative margin */
    margin-bottom: 2rem;
    color: var(--color-bg-light);
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem; /* Desktop spacing */
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-icon-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Default desktop size */
    height: 60px; /* Default desktop size */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle background for icon area */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: url('/white_glove_cursor.png'), auto;
    box-shadow: 0 0 5px rgba(239, 55, 44, 0); /* Initial shadow for pulse effect */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
}

.social-icon-link:hover {
    transform: scale(1.1); /* Scale slightly */
    animation: pulse-glow-social 1s infinite alternate; /* Glow pulse */
    background-color: rgba(239, 55, 44, 0.2); /* Enhance background on hover */
}

.social-icon-link:focus-visible {
    outline: 3px dashed var(--color-highlight-fun);
    outline-offset: 4px;
}

@keyframes pulse-glow-social {
    0% {
        box-shadow: 0 0 8px rgba(239, 55, 44, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(239, 55, 44, 0.8);
    }
}

.social-icon {
    width: 40px; /* Adjust icon size within the link button */
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3)); /* Subtle shadow for depth */
}

/* Specific adjustment for dexscreener-icon.svg if it needs color adjustment */
.social-icon-link img[src*="dexscreener-icon.svg"] {
    width: 50px; /* Dexscreener logo often has more horizontal presence, adjust size */
    height: 50px;
}


.copyright-text {
    font-size: 0.9rem;
    color: var(--color-bg-light); /* #ffeeeb */
    opacity: 0.7;
    margin-top: 2rem;
}

.copyright-text a {
    color: white; /* Changed to white */
    text-decoration: underline; /* Added underline */
    transition: color 0.2s ease;
}

.copyright-text a:hover {
    color: var(--color-highlight-fun); /* Keep existing hover effect or modify as desired */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .social-icon-link:hover {
        transform: scale(1);
        animation: none;
        box-shadow: 0 0 8px rgba(239, 55, 44, 0.4); /* Static glow */
    }
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .social-links {
        gap: 1.5rem; /* Tablet spacing */
    }
    .social-icon-link {
        width: 55px;
        height: 55px;
    }
    .social-icon {
        width: 35px;
        height: 35px;
    }
    .social-icon-link img[src*="dexscreener-icon.svg"] {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 2.5rem 1rem;
    }
    .social-links {
        gap: 1rem; /* Mobile spacing */
    }
    .social-icon-link {
        width: 50px; /* Mobile size */
        height: 50px;
    }
    .social-icon {
        width: 30px;
        height: 30px;
    }
    .social-icon-link img[src*="dexscreener-icon.svg"] {
        width: 40px;
        height: 40px;
    }
}