/* ========================================
   Discord join button — the home rail's Discord section, giveaways, settings
   ======================================== */

.discord-join-btn,
.dc-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.9) 0%, rgba(88, 101, 242, 0.7) 100%);
    border: 1px solid rgba(88, 101, 242, 0.5);
    border-radius: 0.625rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-join-btn:hover,
.dc-join-btn:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 1) 0%, rgba(88, 101, 242, 0.9) 100%);
    border-color: rgba(88, 101, 242, 0.8);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.discord-join-btn:active,
.dc-join-btn:active {
    transform: translateY(0);
}

.discord-join-btn i:last-child,
.dc-join-btn i:last-child {
    transition: transform 0.3s ease;
}

.discord-join-btn:hover i:last-child,
.dc-join-btn:hover i:last-child {
    transform: translateX(4px);
}

.dc-shadow {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.6);
}

.dc-card-bg {
    position: relative;
    background: transparent;
}

.header-bg {
    position: absolute;
    inset: 0;
    background: url('/img/dc-banner.webp') no-repeat center center;
    background-size: cover;
    backdrop-filter: blur(10px);
    z-index: 0;
    opacity: 0.6;
    mask-image: linear-gradient(to bottom, white 20%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to bottom, white 20%, transparent 100%) !important;
}
