/* ════════════════════════════════════════
   COMPONENTS.CSS — Social, Links, Divider, Footer, Popup
   ════════════════════════════════════════ */

/* SOCIAL */
.social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0 28px;
    animation: fadeSlideDown 0.6s ease 0.2s both;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: #ffffffaa;
    font-size: 13px;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1px;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    transition: left 0.4s;
}

.social-btn:hover::before { left: 100%; }

.social-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.social-btn img {
    width: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.social-btn:hover img { opacity: 1; }

/* DIVIDER */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeSlideDown 0.6s ease 0.3s both;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.3), transparent);
}

.divider-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--neon-cyan);
    letter-spacing: 3px;
    opacity: 0.7;
}

/* LINK CARDS */
.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: white;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--card-color, var(--neon-cyan)), transparent);
    opacity: 0.8;
}

.link-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}

.link-card .corner {
    position: absolute;
    top: 8px; right: 10px;
    width: 8px; height: 8px;
    border-top: 1px solid var(--card-color, var(--neon-cyan));
    border-right: 1px solid var(--card-color, var(--neon-cyan));
    opacity: 0.5;
}

.link-card .corner-bl {
    position: absolute;
    bottom: 8px; left: 10px;
    width: 8px; height: 8px;
    border-bottom: 1px solid var(--card-color, var(--neon-cyan));
    border-left: 1px solid var(--card-color, var(--neon-cyan));
    opacity: 0.5;
}

.link-card:hover {
    border-color: var(--card-color, var(--neon-cyan));
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.15), inset 0 0 30px rgba(0, 245, 255, 0.03);
    transform: translateX(4px);
}

.link-card:active { transform: translateX(2px) scale(0.99); }

/* Card color themes */
.card-discord { --card-color: #7289DA; }
.card-donate  { --card-color: var(--neon-pink); }

.link-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    width: 44px; height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.icon-box img {
    width: 26px;
    filter: brightness(0) invert(1);
}

.link-title {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.link-sub {
    font-size: 12px;
    color: #ffffff55;
    font-family: 'Share Tech Mono', monospace;
}

.link-arrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    color: var(--card-color, var(--neon-cyan));
    opacity: 0.6;
    transition: all 0.2s;
}

.link-card:hover .link-arrow { opacity: 1; transform: translateX(4px); }

.link-card:nth-child(1) { animation: slideInCard 0.5s ease 0.4s both; }
.link-card:nth-child(2) { animation: slideInCard 0.5s ease 0.5s both; }

/* FOOTER */
.footer {
    text-align: center;
    margin-top: 40px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #ffffff22;
    letter-spacing: 2px;
    animation: fadeSlideDown 0.6s ease 0.7s both;
}

/* POPUP */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(4px);
}

.popup.active { display: flex; }

.popup-card {
    background: var(--dark-card);
    border: 1px solid var(--neon-cyan);
    border-radius: 12px;
    padding: 32px 28px;
    max-width: 300px;
    text-align: center;
    box-shadow: var(--glow-cyan), inset 0 0 40px rgba(0, 245, 255, 0.05);
    animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.popup-icon { font-size: 36px; margin-bottom: 12px; }

.popup-title {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.popup p { font-size: 14px; line-height: 1.7; color: #ffffffaa; }

.popup-btn {
    margin-top: 20px;
    padding: 12px 28px;
    border: 1px solid var(--neon-cyan);
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    transition: all 0.2s;
}

.popup-btn:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
}
