.footer {
    margin-top: 60px;
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--footer-bg, var(--card-bg));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-left {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-right {
    margin-left: auto;
}

.footer-item {
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.footer-item a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.opengammon-link,
.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.opengammon-logo {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.discord-logo {
    width: 20px;
    height: 20px;
    fill: light-dark(#5865f2, #e0e3ff);
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-left {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .footer-right {
        margin-left: 0;
    }

    .footer-item {
        text-align: center;
    }
}
