/**
 * follow.css — SDU Follow Button styles
 * Used on universe pages (templates) and anywhere the follow button appears.
 */

.sdu-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 22px;
    background: rgba(212, 175, 55, 0.08);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    color: #d4af37;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
    user-select: none;
}

.sdu-follow-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: #d4af37;
    transform: translateY(-1px);
}

.sdu-follow-btn:active {
    transform: scale(0.97);
}

/* Icon (star) */
.sdu-follow-icon {
    font-size: 18px;
    line-height: 1;
    transition: color 0.25s ease, transform 0.25s ease;
}

/* --- FOLLOWING state --- */
.sdu-follow-btn.following {
    background: rgba(212, 175, 55, 0.18);
    border-color: #d4af37;
    color: #f0d060;
}

.sdu-follow-btn.following .sdu-follow-icon {
    color: #f0d060;
    transform: scale(1.15);
}

.sdu-follow-btn.following:hover {
    background: rgba(232, 90, 90, 0.12);
    border-color: rgba(232, 90, 90, 0.5);
    color: #e85a5a;
}

.sdu-follow-btn.following:hover .sdu-follow-label::after {
    content: ' — UNFOLLOW';
    font-size: 10px;
    opacity: 0.7;
}

/* --- Unfollow button (standalone, used in drifter dashboard cards) --- */
.sdu-unfollow-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background: rgba(232, 90, 90, 0.1);
    border: 1px solid rgba(232, 90, 90, 0.35);
    border-radius: 6px;
    color: #e85a5a;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sdu-unfollow-btn:hover {
    background: rgba(232, 90, 90, 0.2);
    border-color: #e85a5a;
}

/* --- Empty state for dashboard --- */
.dash-empty-state {
    padding: 32px;
    text-align: center;
    background: rgba(22, 22, 24, 0.6);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.6;
}

.dash-empty-state a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.dash-empty-state a:hover {
    text-decoration: underline;
}

/* --- Follow indicator badge (used on portal carousel) --- */
.sdu-follow-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #0d0d0e;
    pointer-events: none;
    z-index: 15;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* --- Portal selected-universe follow indicator --- */
.sdu-portal-follow-badge {
    display: inline-block;
    margin-left: 10px;
    font-size: 18px;
    color: #f0d060;
    vertical-align: middle;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

@media (max-width: 640px) {
    .sdu-follow-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    .sdu-follow-icon {
        font-size: 16px;
    }
}
