/**
 * Shared Footer - Player Layout Styles (2025 Redesign)
 */

.pp-footer {
    background: linear-gradient(180deg, #1e1b4b 0%, #0f0a2e 100%);
    color: #9ca3af;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 3.5rem 0 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
}

/* Bootstrap container fallback when this stylesheet loads alone */
.pp-footer .container-xxl {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

/* Ambient glow */
.pp-footer::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* ─ Grid Layout ──────────────────────────────────────── */
.pp-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
    width: 100%;
}

@media (max-width: 991px) {
    .pp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .pp-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .pp-footer-grid {
        grid-template-columns: 1fr;
    }

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

/* ─ Brand ────────────────────────────────────────────── */
.pp-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
    transition: opacity 0.2s ease;
}

.pp-footer-logo:hover { opacity: 0.85; }

.pp-footer-logo i {
    color: #818cf8;
    font-size: 1.3rem;
}

.pp-footer-logo-accent {
    color: #818cf8;
}

.pp-footer-tagline {
    font-size: 0.82rem;
    line-height: 1.7;
    color: #6b7280;
    font-weight: 500;
    max-width: min(100%, 22rem);
    margin: 0;
}

/* ─ Column Titles ────────────────────────────────────── */
.pp-footer-col-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #e0e7ff;
    margin: 0 0 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ─ Links ────────────────────────────────────────────── */
.pp-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pp-footer-links a {
    font-size: 0.84rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.pp-footer-links a:hover {
    color: #a5b4fc;
    transform: translateX(4px);
}

/* ─ Newsletter ───────────────────────────────────────── */
.pp-footer-newsletter { margin-top: 0; }

.pp-footer-input-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    padding: 0.3rem 0.3rem 0.3rem 0.85rem;
    transition: border-color 0.2s ease;
}

.pp-footer-input-row:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.pp-footer-input-row input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e5e7eb;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    min-width: 0;
}

.pp-footer-input-row input::placeholder {
    color: #4b5563;
}

.pp-footer-input-row button {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.35);
}

.pp-footer-input-row button:hover {
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(99, 102, 241, 0.45);
}

.pp-footer-newsletter-note {
    font-size: 0.73rem;
    color: #4b5563;
    font-weight: 500;
    margin: 0.6rem 0 0;
    line-height: 1.5;
}

/* ─ Bottom Bar ───────────────────────────────────────── */
.pp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 0;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.pp-footer-copy {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4b5563;
}

.pp-footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0;
}

.pp-footer-legal a {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.pp-footer-legal a + a::before {
    content: '·';
    margin: 0 0.65rem;
    color: #4b5563;
    font-weight: 700;
    pointer-events: none;
}

.pp-footer-legal a:hover {
    color: #a5b4fc;
}

/* ─ Utility Classes ──────────────────────────────────── */
.footer-brand-link-adjust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.footer-logo-img-adjust {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text-adjust {
    font-weight: 900;
    color: #ffffff;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.text-primary-accent {
    color: #818cf8;
}

.modal-footer-text-center {
    text-align: center;
    margin-top: 1.25rem;
}

.modal-footer-link-adjust {
    font-size: 0.85rem;
    color: #6366f1;
    font-weight: 600;
    text-decoration: underline;
}
