/* LivePlay Custom Grid Footer */
.grid-footer {
    background: linear-gradient(135deg, #1a1b24 0%, #1c1d26 100%);
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.grid-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(228, 76, 101, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(228, 76, 101, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.footer-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 3rem 2rem;
    position: relative;
    z-index: 1;
}

/* Footer sections */
.footer-section {
    padding: 1rem;
}

.footer-section h3,
.footer-section h4 {
    color: #e44c65;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section h3 {
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.footer-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #e44c65;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-section ul li a:hover {
    color: #e44c65;
    border-bottom-color: #e44c65;
}

/* Brand section (no logo here anymore) */
.footer-brand {
    grid-column: span 1;
}

.footer-brand h3 {
    margin-top: 0;
}

/* CTA Button */
.footer-cta {
    display: inline-block;
    background: linear-gradient(135deg, #e44c65 0%, #d43d56 100%);
    color: #ffffff !important;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(228, 76, 101, 0.3);
}

.footer-cta:hover {
    background: linear-gradient(135deg, #d43d56 0%, #e44c65 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(228, 76, 101, 0.4);
    border-bottom: none !important;
}

/* Copyright section - full width */
.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(228, 76, 101, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-copyright p {
    margin: 0.5rem 0;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-copyright a:hover {
    color: #e44c65;
    border-bottom-color: #e44c65;
}

.footer-credits {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Logo container - full width, centered, at the very end */
.footer-logo-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(228, 76, 101, 0.1);
}

.footer-logo-large {
    width: 200px;
    max-width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(228, 76, 101, 0.3);
    transition: all 0.4s ease;
    opacity: 0.9;
}

.footer-logo-large:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(228, 76, 101, 0.5);
    opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    .footer-grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2rem 1.5rem;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .footer-logo-large {
        width: 180px;
    }
}

@media screen and (max-width: 736px) {
    .grid-footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-grid-container {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-section {
        padding: 0.5rem;
    }

    .footer-logo-large {
        width: 160px;
    }
}

/* Animation on scroll (optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }
.footer-section:nth-child(5) { animation-delay: 0.5s; }

.footer-logo-container {
    animation: fadeInUp 0.8s ease-out 0.7s;
    animation-fill-mode: both;
}
