/* Social networks page */
.social-breadcrumb-copy {
    max-width: 700px;
    margin: 15px auto 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.social-page-section {
    position: relative;
    padding: clamp(56px, 7vw, 92px) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(88, 101, 242, 0.13), transparent 32%),
        radial-gradient(circle at 92% 82%, rgba(var(--page-accent-rgb), 0.1), transparent 35%),
        #0d1118;
}

.social-page-section::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 40px 40px;
    content: "";
    pointer-events: none;
}

.social-page-section .container {
    position: relative;
    z-index: 1;
}

.social-page-section,
.social-page-section * {
    box-sizing: border-box;
}

.social-page-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto clamp(30px, 4vw, 48px);
    text-align: left;
}

.social-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #efb824;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.social-page-intro h2 {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.8px;
    overflow-wrap: anywhere;
}

.social-page-intro > p {
    max-width: 650px;
    margin: 0;
    color: #b7beca;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.75;
    text-align: left;
}

.social-channel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.social-channel-card {
    --card-accent: var(--page-accent);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: clamp(22px, 3vw, 30px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: linear-gradient(150deg, rgba(27, 33, 44, 0.98), rgba(16, 21, 29, 0.98));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-align: left;
}

.social-channel-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--card-accent), transparent 82%);
    content: "";
}

.social-channel-card--discord {
    --card-accent: #7481ff;
}

.social-channel-card--forum {
    --card-accent: var(--page-accent);
}

.social-channel-card--safety {
    --card-accent: #35c7a5;
    background: linear-gradient(150deg, rgba(20, 45, 43, 0.98), rgba(15, 27, 31, 0.98));
}

.social-channel-card__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 26px;
}

.social-channel-icon {
    display: inline-flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(var(--page-accent-rgb), 0.45);
    border-radius: 17px;
    background: rgba(var(--page-accent-rgb), 0.12);
    color: var(--card-accent);
    font-size: 25px;
}

.social-channel-icon img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-channel-card--discord .social-channel-icon {
    border-color: rgba(116, 129, 255, 0.48);
    background: rgba(116, 129, 255, 0.13);
}

.social-channel-card--safety .social-channel-icon {
    border-color: rgba(53, 199, 165, 0.45);
    background: rgba(53, 199, 165, 0.12);
}

.social-channel-status,
.social-safety-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(71, 214, 157, 0.25);
    border-radius: 999px;
    background: rgba(71, 214, 157, 0.09);
    color: #9df1ce;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.social-channel-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #47d69d;
    box-shadow: 0 0 0 4px rgba(71, 214, 157, 0.12);
}

.social-safety-badge {
    border-color: rgba(82, 211, 184, 0.25);
    background: rgba(82, 211, 184, 0.09);
    color: #a7f3df;
}

.social-channel-card__content {
    flex: 1 1 auto;
    min-width: 0;
}

.social-channel-card__label {
    margin: 0 0 7px;
    color: var(--card-accent) !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1.4 !important;
    letter-spacing: 1.1px;
    text-align: left !important;
    text-transform: uppercase;
}

.social-channel-card h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(25px, 2.8vw, 31px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.4px;
    text-align: left;
    overflow-wrap: anywhere;
}

.social-channel-card__content > p:not(.social-channel-card__label):not(.social-safety-note) {
    margin: 0 0 20px;
    color: #bcc3ce;
    font-size: 15px;
    line-height: 1.72;
    text-align: left;
    overflow-wrap: anywhere;
}

.social-channel-features {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.social-channel-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #e1e5eb;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.social-channel-features i {
    flex: 0 0 18px;
    margin-top: 1px;
    color: var(--card-accent);
    line-height: 1.5;
}

.social-safety-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 26px;
    padding: 13px 14px;
    border: 1px solid rgba(82, 211, 184, 0.18);
    border-radius: 13px;
    background: rgba(82, 211, 184, 0.07);
    color: #d5ebe6;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.social-safety-note i {
    margin-top: 3px;
    color: #65dfc2;
}

.social-channel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 12px 17px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-channel-cta:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.social-channel-cta:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.social-channel-cta--discord {
    background: #5865f2;
    color: #ffffff;
}

.social-channel-cta--discord:hover {
    background: #6b77f5;
    color: #ffffff;
}

.social-channel-cta--forum {
    background: var(--page-accent);
    color: #111318;
}

.social-channel-cta--forum:hover {
    background: #f0b51c;
    color: #111318;
}

.social-channel-cta--safety {
    border-color: rgba(101, 223, 194, 0.45);
    background: rgba(101, 223, 194, 0.1);
    color: #c8fff1;
}

.social-channel-cta--safety:hover {
    border-color: rgba(101, 223, 194, 0.75);
    background: rgba(101, 223, 194, 0.17);
    color: #ffffff;
}

@media (min-width: 768px) {
    .social-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-channel-card--safety {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    .social-page-intro {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
        align-items: end;
        gap: 52px;
    }
}

@media (min-width: 1100px) {
    .social-channel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .social-channel-card--safety {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    .social-breadcrumb-copy {
        max-width: 100%;
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.55;
        letter-spacing: 0.2px;
    }

    .social-page-section {
        padding: 48px 0 58px;
    }

    .social-page-intro {
        margin-bottom: 26px;
    }

    .social-page-intro h2 {
        font-size: clamp(27px, 9vw, 34px);
        letter-spacing: -0.45px;
    }

    .social-channel-grid {
        gap: 16px;
    }

    .social-channel-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .social-channel-card__topline {
        margin-bottom: 22px;
    }

    .social-channel-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        border-radius: 15px;
    }

    .social-channel-status,
    .social-safety-badge {
        max-width: 145px;
        white-space: normal;
    }

    .social-channel-cta {
        min-height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-channel-cta {
        transition: none;
    }

    .social-channel-cta:hover {
        transform: none;
    }
}

.social-safety-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(190px, auto);
    align-items: center;
    gap: 22px;
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid rgba(101, 223, 194, .22);
    border-radius: 18px;
    background: linear-gradient(110deg, rgba(82, 211, 184, .09), rgba(18, 22, 28, .94) 42%, rgba(18, 22, 28, .94));
}

.social-safety-panel .social-channel-card__topline {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0;
}

.social-safety-panel .social-channel-card__content {
    min-width: 0;
}

.social-safety-panel .social-channel-card__label {
    margin-bottom: 3px;
    color: #65dfc2 !important;
}

.social-safety-panel h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.2;
    text-align: left;
}

.social-safety-panel .social-channel-card__content > p:not(.social-channel-card__label):not(.social-safety-note) {
    margin: 0;
    color: #b9c4c3;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
}

.social-safety-panel .social-safety-note {
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12.5px;
}

.social-safety-panel .social-channel-cta {
    min-width: 180px;
    margin: 0;
}

@media (min-width: 1100px) {
    .social-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .social-safety-panel {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 21px 19px;
    }

    .social-safety-panel .social-channel-card__topline {
        display: flex;
        justify-content: space-between;
    }

    .social-safety-panel .social-channel-cta {
        width: 100%;
    }
}
