/* =========================
   UNIRSE AL STAFF
   Neo Anime Radio
========================= */

.nav-menu a.active {
    color: #22d3ee;
    text-shadow: 0 0 18px rgba(34, 211, 238, .65);
}

.hp-field {
    display: none !important;
}

/* =========================
   HERO
========================= */

.staff-join-hero {
    width: min(1200px, calc(100% - 30px));
    margin: 70px auto 40px;
    min-height: 430px;
    padding: 55px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(0, 12, 30, 0.94), rgba(45, 0, 55, 0.75)),
        url("https://i.imgur.com/otKL59S.png");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 195, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.staff-join-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,195,255,0.08)),
        radial-gradient(circle at right, rgba(255,0,180,0.20), transparent 40%);
    pointer-events: none;
}

.staff-join-hero-content,
.staff-join-status {
    position: relative;
    z-index: 2;
}

.staff-join-hero h2 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: 1.04;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 18px 0 20px;
    background: linear-gradient(90deg, #00c3ff, #ffffff, #ff4fd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.staff-join-hero p {
    max-width: 720px;
    color: #d4f7ff;
    line-height: 1.7;
    font-size: 17px;
}

.staff-join-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.staff-join-status {
    min-height: 220px;
    border-radius: 28px;
    background:
        radial-gradient(circle at center, rgba(0, 217, 255, 0.18), transparent 55%),
        rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(0, 217, 255, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 30px rgba(0, 217, 255, 0.08);
    text-align: center;
}

.staff-join-status span {
    color: #00d9ff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.staff-join-status strong {
    font-family: "Orbitron", sans-serif;
    font-size: 32px;
    margin: 10px 0;
    color: #ffffff;
}

.staff-join-status small {
    color: #9bdff0;
    line-height: 1.6;
}

/* =========================
   SECCIONES
========================= */

.roles-section,
.staff-form-section {
    width: min(1200px, calc(100% - 30px));
    margin: 40px auto 80px;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.20);
    color: #00d9ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.section-heading h2 {
    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
}

/* =========================
   ROLES
========================= */

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.role-card {
    min-height: 390px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 0, 180, 0.12), transparent 35%),
        linear-gradient(145deg, rgba(0, 20, 45, 0.92), rgba(0, 8, 20, 0.94));
    border: 1px solid rgba(0, 195, 255, 0.16);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
    position: relative;
}

.role-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #00c3ff, #ff4fd8);
    opacity: 0;
    transition: 0.3s ease;
}

.role-card:hover,
.role-card.selected {
    transform: translateY(-8px);
    border-color: rgba(0, 217, 255, 0.42);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.36),
        0 0 30px rgba(0, 195, 255, 0.14);
}

.role-card:hover::after,
.role-card.selected::after {
    opacity: 1;
}

.role-image {
    height: 190px;
    position: relative;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(0, 217, 255, 0.20), transparent 55%),
        linear-gradient(135deg, rgba(0, 195, 255, 0.22), rgba(255, 0, 180, 0.18));
    overflow: hidden;
}

.role-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.role-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0, 8, 20, 0.68), transparent 60%),
        radial-gradient(circle at top right, rgba(255, 0, 180, 0.18), transparent 40%);
    z-index: 3;
}

.role-emoji {
    font-size: 62px;
    filter: drop-shadow(0 0 18px rgba(0, 217, 255, 0.5));
    z-index: 1;
}

.role-badge {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 4;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.52);
    border: 1px solid rgba(0, 217, 255, 0.28);
    color: #00d9ff;
    font-size: 12px;
    font-weight: 900;
}

.role-content {
    padding: 24px;
}

.role-content h3 {
    font-family: "Orbitron", sans-serif;
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 12px;
}

.role-content p {
    color: #c9eef7;
    line-height: 1.65;
    font-size: 14px;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.role-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dff9ff;
    font-size: 12px;
    font-weight: 700;
}

.role-select-btn {
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 999px;
    color: #00111f;
    background: linear-gradient(135deg, #00c3ff, #ffffff);
    font-weight: 900;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: 0.25s;
}

.role-select-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(0, 195, 255, 0.35);
}

/* =========================
   FORMULARIO
========================= */

.staff-form-box {
    padding: 38px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 0, 180, 0.12), transparent 35%),
        radial-gradient(circle at bottom left, rgba(0, 195, 255, 0.10), transparent 35%),
        linear-gradient(145deg, rgba(0, 20, 45, 0.92), rgba(0, 8, 20, 0.94));
    border: 1px solid rgba(0, 195, 255, 0.16);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
    align-items: start;
}

.staff-form-info {
    padding: 30px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(0, 28, 55, 0.88), rgba(0, 8, 20, 0.86));
    border: 1px solid rgba(0, 217, 255, 0.16);
}

.staff-form-info h3 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    margin: 14px 0 16px;
    background: linear-gradient(90deg, #00c3ff, #ffffff, #ff4fd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.staff-form-info p {
    color: #c9eef7;
    line-height: 1.7;
    font-size: 15px;
}

.staff-account-box {
    margin-top: 20px;
    padding: 16px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: center;
    background: rgba(34, 211, 238, .08);
    border: 1px solid rgba(34, 211, 238, .20);
}

.staff-account-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, .25), transparent 58%),
        linear-gradient(135deg, rgba(236, 72, 153, .18), rgba(15, 23, 42, .88));
    border: 1px solid rgba(34, 211, 238, .26);
}

.staff-account-box strong {
    display: block;
    color: #f8fafc;
    font-family: "Orbitron", sans-serif;
}

.staff-account-box span {
    color: #cbd5e1;
    font-size: .85rem;
    font-weight: 700;
}

.staff-area-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding: 0;
}

.staff-area-list li {
    padding: 14px 16px;
    border-radius: 18px;
    color: #d4f7ff;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.staff-area-list li::before {
    content: "⭐";
    margin-right: 8px;
}

.staff-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: #00d9ff;
    font-weight: 800;
    font-size: 13px;
}

.form-help {
    color: #9bdff0;
    font-size: 12px;
    line-height: 1.5;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(0, 217, 255, 0.16);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.34);
    color: #ffffff;
    padding: 15px 16px;
    font-family: "Poppins", sans-serif;
    outline: none;
    resize: vertical;
}

.form-group textarea {
    min-height: 135px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(0, 217, 255, 0.55);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.12);
}

.form-group select option {
    background: #020617;
    color: #ffffff;
}

.staff-submit {
    min-height: 54px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    color: #00111f;
    font-weight: 900;
    background: linear-gradient(135deg, #00c3ff, #ffffff);
    box-shadow: 0 0 26px rgba(0, 195, 255, 0.32);
    font-family: "Poppins", sans-serif;
    transition: 0.25s;
}

.staff-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 34px rgba(0, 195, 255, 0.45);
}

/* =========================
   ALERTAS
========================= */

.alert {
    padding: 16px 18px;
    border-radius: 18px;
    margin-bottom: 18px;
    line-height: 1.6;
    font-weight: 700;
}

.alert.success {
    color: #dff9ff;
    background: rgba(0, 217, 255, 0.10);
    border: 1px solid rgba(0, 217, 255, 0.28);
}

.alert.error {
    color: #ffd7e7;
    background: rgba(255, 0, 85, 0.10);
    border: 1px solid rgba(255, 0, 85, 0.28);
}

.alert ul {
    margin-left: 18px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    .staff-join-hero {
        grid-template-columns: 1fr;
        padding: 35px 25px;
    }

    .staff-form-box {
        grid-template-columns: 1fr;
        padding: 28px;
    }
}

@media (max-width: 650px) {
    .staff-join-hero {
        margin-top: 35px;
        border-radius: 26px;
    }

    .staff-join-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .staff-form-box {
        padding: 22px;
        border-radius: 26px;
    }

    .staff-form-info {
        padding: 24px;
        border-radius: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.staff-account-avatar.has-image {
    padding: 0;
    overflow: hidden;
}

.staff-account-avatar-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.staff-account-avatar-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}