/* ==========================================================================
   Footer Styles
   Design System tokens from style.css (SAFEBET)
   ========================================================================== */

.ccn-footer {
    background-color: #0d1117;
    padding: var(--space-16) 0 0;
}

/* ── GRID ────────────────────────────── */
.ccn-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
    gap: var(--space-12);
    padding-bottom: var(--space-16);
}

/* ── BRAND ───────────────────────────── */
.ccn-footer__logo-row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.ccn-footer__logo-mark {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.ccn-footer__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ccn-footer__logo-text strong {
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

.ccn-footer__logo-text span {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    letter-spacing: 0.1em;
}

.ccn-footer__tagline {
    color: rgba(255, 255, 255, 0.45);
    font-size: var(--text-sm);
    line-height: var(--leading-loose);
    max-width: 320px;
}

/* ── HEADINGS ────────────────────────── */
.ccn-footer__heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: var(--space-6);
}

/* ── NAV LINKS ───────────────────────── */
.ccn-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.ccn-footer__links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-base);
}

.ccn-footer__links a:hover {
    color: var(--color-white);
}

/* ── CONTACT LIST ────────────────────── */
.ccn-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.ccn-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.ccn-footer__contact-list .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
    flex-shrink: 0;
}

.ccn-footer__contact-list a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-base);
}

.ccn-footer__contact-list a:hover {
    color: var(--color-white);
}

/* ── SOCIAL ──────────────────────────── */
.ccn-footer__social-icons {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.ccn-footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    transition:
        color var(--transition-base),
        border-color var(--transition-base);
}

.ccn-footer__social-link:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.ccn-footer__cta {
    margin-top: var(--space-2);
}

/* ── BOTTOM BAR ──────────────────────── */
.ccn-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
}

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
    .ccn-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10) var(--space-8);
    }
}

@media (max-width: 640px) {
    .ccn-footer {
        padding: var(--space-12) 0 0;
    }

    .ccn-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        padding-bottom: var(--space-12);
    }

    .ccn-footer__bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
}
