/* Contact page (public only) */

body.ps-public.ps-contact .bp2-contact-main {
    width: min(calc(100% - 36px), 900px);
    margin: 0 auto;
    padding: 28px 0 60px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
}

body.ps-public.ps-contact .bp2-contact-cards {
    flex: 1;
}

body.ps-public.ps-contact .bp2-footer {
    margin-top: 40px;
}

.bp2-contact-hero {
    text-align: center;
    margin-bottom: 32px;
}

.bp2-contact-title {
    font-size: 38px;
    font-weight: 900;
    margin: 0 0 12px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.bp2-contact-subtitle {
    margin: 0 auto 20px;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.6;
}

.bp2-contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.bp2-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid;
}

.bp2-contact-pill--green {
    background: rgba(87, 255, 154, 0.08);
    border-color: rgba(87, 255, 154, 0.35);
    color: rgba(87, 255, 154, 0.95);
}

.bp2-contact-pill--blue {
    background: rgba(76, 143, 255, 0.08);
    border-color: rgba(76, 143, 255, 0.35);
    color: rgba(120, 180, 255, 0.95);
}

.bp2-contact-pill--purple {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.35);
    color: rgba(170, 140, 255, 0.95);
}

.bp2-contact-pill-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
}

.bp2-contact-pill-icon--shield::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 2px;
    border-top: 3px solid currentColor;
}

.bp2-contact-pill-icon--clock::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 2px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
}

.bp2-contact-pill-icon--bolt::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid currentColor;
    margin: 2px 2px 0;
}

.bp2-contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bp2-contact-card {
    background: rgba(10, 14, 32, 0.62);
    border: 1px solid rgba(170, 120, 255, 0.18);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.bp2-contact-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.bp2-contact-card-title-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bp2-contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}

.bp2-contact-card-icon--email {
    background: rgba(87, 255, 154, 0.18);
    border: 1px solid rgba(87, 255, 154, 0.35);
    position: relative;
}

.bp2-contact-card-icon--email::before {
    content: "✉";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(87, 255, 154, 0.95);
}

.bp2-contact-card-icon--discord {
    background: rgba(88, 101, 242, 0.25);
    border: 1px solid rgba(88, 101, 242, 0.45);
    position: relative;
}

.bp2-contact-card-icon--discord::before {
    content: "◉";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(200, 210, 255, 0.95);
}

.bp2-contact-card-title-block h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 900;
}

.bp2-contact-card-title-block p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
}

.bp2-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.bp2-contact-badge--green {
    background: rgba(87, 255, 154, 0.12);
    border: 1px solid rgba(87, 255, 154, 0.3);
    color: rgba(87, 255, 154, 0.95);
}

.bp2-contact-badge--blue {
    background: rgba(88, 101, 242, 0.25);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: rgba(200, 210, 255, 0.95);
}

.bp2-contact-badge-icon {
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.bp2-contact-field-row {
    margin-bottom: 14px;
}

.bp2-contact-field-row label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.bp2-contact-input-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bp2-contact-input-wrap input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(170, 120, 255, 0.22);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.bp2-contact-copy-btn {
    flex-shrink: 0;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(170, 120, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.bp2-contact-desc {
    margin: 0 0 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

.bp2-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid;
    transition: opacity 0.2s, transform 0.15s;
}

.bp2-contact-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.bp2-contact-btn--green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.95));
    border-color: rgba(34, 197, 94, 0.5);
    color: #fff;
}

.bp2-contact-btn--discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border-color: rgba(88, 101, 242, 0.6);
    color: #fff;
}

.bp2-contact-btn-icon--external {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 3px;
    position: relative;
}

.bp2-contact-btn-icon--external::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

@media (max-width: 720px) {
    .bp2-contact-cards {
        grid-template-columns: 1fr;
    }

    .bp2-contact-title {
        font-size: 30px;
    }

    .bp2-contact-pills {
        flex-direction: column;
    }
}
