/* Fairverse Team Applications page */

.applications-content {
    max-width: 1150px;
    margin: 0 auto;
    padding: 2.2rem 1.5rem 2.8rem;
}

.join-hero-card {
    position: relative;
    background: linear-gradient(130deg, #0e2f6f 0%, #1a6fe8 55%, #3ca4ff 100%);
    color: #fff;
    border-radius: 18px;
    padding: 2rem 1.8rem;
    margin-bottom: 1.8rem;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(26, 111, 232, 0.25);
}

.join-hero-card::before,
.join-hero-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.join-hero-card::before {
    width: 220px;
    height: 220px;
    top: -90px;
    right: -70px;
    background: rgba(255, 255, 255, 0.12);
}

.join-hero-card::after {
    width: 170px;
    height: 170px;
    bottom: -90px;
    left: 26%;
    background: rgba(255, 255, 255, 0.08);
}

.join-hero-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    background: #dff1ff;
    color: #0f4fa6;
    border-radius: 999px;
    padding: 5px 11px;
    margin-bottom: 12px;
}

.join-hero-card h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.join-hero-card p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.join-highlights {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.join-highlights div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px 11px;
    font-size: 12.5px;
    font-weight: 700;
    color: #f3f8ff;
}

.join-highlights i {
    margin-right: 7px;
}

.tasks-card,
.apply-card {
    background: #fff;
    border: 1px solid #e2eaff;
    border-radius: 16px;
    padding: 1.4rem;
    margin-bottom: 1.8rem;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.task-item {
    background: #f8faff;
    border: 1px solid #dce8ff;
    border-radius: 12px;
    padding: 13px;
}

.task-item h3 {
    font-size: 14.5px;
    color: #11408d;
    margin-bottom: 10px;
}

.task-item h3 i {
    margin-right: 6px;
}

.task-item ul {
    margin: 0;
    padding-left: 17px;
    display: grid;
    gap: 6px;
}

.task-item li {
    font-size: 12.8px;
    color: #41506f;
    line-height: 1.5;
}

.apply-form {
    margin-top: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.req {
    color: #e05252;
}

.discord-connect-row {
    margin-top: 9px;
}

.discord-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    color: #fff;
    background: #5865f2;
    border: 1px solid #5865f2;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 9px;
    transition: transform 0.12s ease, filter 0.12s ease;
}

.discord-connect-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.discord-connect-btn.connected {
    background: #0e9f6e;
    border-color: #0e9f6e;
}

.discord-connect-note {
    margin-top: 7px;
    font-size: 12px;
    color: #667694;
}

.discord-connect-error {
    margin-top: 7px;
    font-size: 12px;
    color: #c83535;
    font-weight: 700;
}

.apply-form textarea.form-input {
    min-height: 125px;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.application-success {
    text-align: center;
    padding: 1.6rem 1rem;
    border: 1px solid #cbead8;
    border-radius: 14px;
    background: #f3fdf7;
}

.application-success i {
    color: #16a34a;
    font-size: 2rem;
    margin-bottom: 8px;
}

.application-success h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #14532d;
}

.application-success p {
    color: #3f5f48;
    font-size: 13.5px;
}

@media (max-width: 980px) {
    .tasks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .applications-content {
        padding: 1.6rem 1rem 2.2rem;
    }

    .join-hero-card {
        padding: 1.5rem 1.2rem;
    }

    .join-hero-card h1 {
        font-size: 1.6rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
