/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --bg-custom: #050708;
  --job-bg: #0b1010;
  --panel-bg: rgba(9, 15, 16, 0.86);
  --panel-bg-hover: rgba(13, 22, 23, 0.94);
  --border: rgba(148, 163, 184, 0.22);
  --border-strong: rgba(0, 255, 154, 0.56);
  --green-neon: #00ff9a;
  --green-soft: #29f3a4;
  --muted: #9aa6b2;
  --input: hsl(240 3.7% 15.9%);
  --ring: hsl(240 4.9% 83.9%);
  /* --color-green: rgb(34 197 94); */
  /* --color-gray-light: hsl(240 3.7% 15.9%); */
  /* --color-green-dark: #22c55e; */
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-custom);
}

body.web3-shell {
  background:
    radial-gradient(circle at 17% 19%, rgba(0, 255, 154, 0.13), transparent 27rem),
    radial-gradient(circle at 84% 58%, rgba(0, 255, 154, 0.08), transparent 34rem),
    linear-gradient(180deg, #050708 0%, #071011 49%, #050708 100%);
  color: #f6f8f9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 8, 0.84);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(18px);
}

.site-nav__inner,
.site-footer__inner {
  width: min(100% - 2rem, 1320px);
  margin: 0 auto;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1.25rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
  font-size: clamp(1.2rem, 1vw + 0.85rem, 1.65rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.site-brand:hover {
  color: #ffffff;
}

.site-brand__mark {
  width: 1.65rem;
  aspect-ratio: 1;
  display: inline-block;
  background: linear-gradient(135deg, #21ffd2, var(--green-neon));
  clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0 50%);
  filter: drop-shadow(0 0 14px rgba(0, 255, 154, 0.62));
  position: relative;
}

.site-brand__mark::after {
  content: "";
  position: absolute;
  inset: 0.31rem;
  background: #061010;
  clip-path: inherit;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2.75rem);
}

.site-nav__link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.site-nav__link:hover {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(0, 255, 154, 0.22);
}

.site-main {
  position: relative;
  width: 100%;
}

.notice-banner {
  width: min(100% - 2rem, 1320px);
  margin: 1rem auto 0;
  border: 1px solid rgba(0, 255, 154, 0.35);
  border-radius: 0.5rem;
  background: rgba(2, 87, 57, 0.42);
  color: #c9ffe6;
  padding: 0.85rem 1rem;
  box-shadow: 0 18px 60px rgba(0, 255, 154, 0.09);
}

/* Shadcn Card Components */
.card {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--panel-bg);
  color: hsl(0 0% 98%);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 24px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.card-hover:hover {
  background-color: var(--panel-bg-hover);
}

/* Shadcn Badge Outline */
.badge-outline {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  justify-content: center;
  min-height: 1.25rem;
  padding: 0.13rem 0.64rem;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1;
  border: 1px solid rgba(0, 255, 154, 0.53);
  color: rgba(255, 255, 255, 0.95);
  background: rgba(6, 20, 18, 0.66);
  box-shadow: inset 0 0 14px rgba(0, 255, 154, 0.06);
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.badge-outline:hover {
  background-color: rgba(0, 255, 154, 0.11);
  border-color: rgba(0, 255, 154, 0.76);
}

/* Post Job Button Gradient */
.btn-green-gradient,
.btn-post-job {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 46%),
    linear-gradient(135deg, rgba(0, 255, 154, 0.48) 0%, rgba(8, 119, 72, 0.92) 100%);
  color: white;
  border: 1px solid rgba(0, 255, 154, 0.72);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.12),
    0 0 24px rgba(0, 255, 154, 0.24);
  font-weight: 800;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-green-gradient:hover,
.btn-post-job:hover {
  color: white !important;
  transform: translateY(-1px);
  border-color: rgba(151, 255, 213, 0.96);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.16),
    0 0 34px rgba(0, 255, 154, 0.38);
  cursor: pointer;
}

.btn-post-job {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  min-width: 9.25rem;
  padding: 0.62rem 1.1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  line-height: 1;
}

.btn-post-job__icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.42));
}

.home-page {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 8.45rem);
  overflow: hidden;
  padding: clamp(1.9rem, 3.2vw, 3rem) 0 1.1rem;
}

.home-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 17% 9%, rgba(0, 255, 154, 0.12), transparent 21rem),
    radial-gradient(ellipse at 86% 51%, rgba(0, 255, 154, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 15rem);
}

.home-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 6rem 6rem;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8rem, black calc(100% - 8rem), transparent);
  mask-image: linear-gradient(to bottom, transparent, black 8rem, black calc(100% - 8rem), transparent);
  opacity: 0.18;
}

.home-page__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 1320px);
  margin: 0 auto;
}

.home-page__title {
  max-width: 1120px;
  margin: 0 auto clamp(1.35rem, 2.7vw, 2.1rem);
  color: #ffffff;
  font-size: clamp(1.75rem, 2.85vw, 2.95rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.14),
    0 0 34px rgba(255, 255, 255, 0.11);
}

.jobs-list {
  position: relative;
  display: grid;
  gap: 0.68rem;
  width: min(100%, 1040px);
  margin: 0 auto;
}

.jobs-list::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 26rem;
  right: -22rem;
  bottom: 9rem;
  width: min(42vw, 38rem);
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(0, 255, 154, 0.56) 0 1.3px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.18;
  transform: skewY(-12deg);
  -webkit-mask-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    black 5rem,
    black 18rem,
    transparent 30rem,
    transparent 44rem
  );
  mask-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    black 5rem,
    black 18rem,
    transparent 30rem,
    transparent 44rem
  );
}

.job-card-link {
  display: block;
  color: inherit;
}

.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 5.35rem minmax(0, 1fr);
  gap: 1.25rem;
  min-height: 7.4rem;
  padding: 1.2rem 1.45rem 1.2rem 1.85rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background:
    linear-gradient(90deg, rgba(0, 255, 154, 0.06), transparent 23%),
    linear-gradient(135deg, rgba(20, 27, 30, 0.91), rgba(7, 13, 15, 0.85));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.job-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 0.34rem;
  border-radius: 0.5rem 0 0 0.5rem;
  background: linear-gradient(180deg, var(--green-neon), #2ef178 55%, transparent);
  box-shadow: 0 0 28px rgba(0, 255, 154, 0.86);
}

.job-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 93% 28%, rgba(0, 255, 154, 0.08), transparent 22rem);
  opacity: 0;
  transition: opacity 180ms ease;
}

.job-card-link:hover .job-card,
.job-card-link:focus-visible .job-card {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 154, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 80px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(0, 255, 154, 0.1);
}

.job-card-link:hover .job-card::after,
.job-card-link:focus-visible .job-card::after {
  opacity: 1;
}

.job-card-link:focus-visible {
  outline: 2px solid var(--green-neon);
  outline-offset: 4px;
  border-radius: 0.65rem;
}

.job-card__logo {
  align-self: center;
  width: 4.05rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(135deg, #111719, #050606);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 18px 32px rgba(0, 0, 0, 0.22);
}

.job-card__logo span {
  color: #ffffff;
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.job-card__logo--1 {
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #261148, #090812);
}

.job-card__logo--2 {
  background:
    linear-gradient(135deg, #ffffff, #dce7e2);
}

.job-card__logo--2 span {
  color: #070a0b;
}

.job-card__logo--3 {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #12273a, #051011);
}

.job-card__logo--4 {
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #173029, #050807);
}

.job-card__content {
  min-width: 0;
}

.job-card__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.job-card__title {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: clamp(1.05rem, 0.9vw + 0.78rem, 1.42rem);
  font-weight: 820;
  line-height: 1.12;
  letter-spacing: 0;
}

.job-card__company {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  color: var(--green-neon);
  font-size: clamp(0.92rem, 0.45vw + 0.8rem, 1.12rem);
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.job-card__posted {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #cbd5df;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.job-card__posted svg,
.job-card__location svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  color: #98a6b3;
}

.job-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 0.42rem;
  color: #a9b4bf;
  font-size: 0.94rem;
  line-height: 1.25;
}

.job-card__location {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.4rem;
}

.job-card__location span {
  overflow-wrap: anywhere;
}

.job-card__separator {
  width: 0.24rem;
  aspect-ratio: 1;
  border-radius: 9999px;
  background: rgba(169, 180, 191, 0.74);
}

.job-card__salary {
  color: var(--green-neon);
  font-weight: 850;
  white-space: nowrap;
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem 0.52rem;
  margin-top: 0.68rem;
}

.tech-field {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(23rem, 48vw, 46rem);
  height: clamp(17rem, 35vw, 32rem);
  opacity: 0.78;
  overflow: hidden;
}

.tech-field::before {
  content: "";
  position: absolute;
  inset: -16%;
  background-image: radial-gradient(circle, rgba(0, 255, 154, 0.86) 0 1.25px, transparent 1.45px);
  background-size: 17px 17px;
  filter: drop-shadow(0 0 6px rgba(0, 255, 154, 0.36));
}

.tech-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 54% 54%, rgba(0, 255, 154, 0.27), transparent 45%),
    radial-gradient(ellipse at 28% 38%, rgba(0, 255, 154, 0.18), transparent 33%);
  filter: blur(18px);
  opacity: 0.66;
}

.tech-field--top-left {
  top: 10.6rem;
  left: -12rem;
  transform: rotate(12deg) skewY(7deg);
  -webkit-mask-image: radial-gradient(ellipse at 42% 50%, black 0 42%, transparent 72%);
  mask-image: radial-gradient(ellipse at 42% 50%, black 0 42%, transparent 72%);
}

.tech-field--top-left::before {
  transform: perspective(560px) rotateX(58deg) rotateZ(-17deg);
}

.tech-field--right {
  top: min(34rem, 42vh);
  right: -15rem;
  transform: rotate(-15deg) skewY(-9deg);
  -webkit-mask-image: radial-gradient(ellipse at 58% 50%, black 0 38%, transparent 72%);
  mask-image: radial-gradient(ellipse at 58% 50%, black 0 38%, transparent 72%);
}

.tech-field--right::before {
  transform: perspective(620px) rotateX(60deg) rotateZ(18deg);
}

.tech-field--bottom-left {
  bottom: -7rem;
  left: -14rem;
  transform: rotate(-8deg) skewY(-7deg);
  -webkit-mask-image: radial-gradient(ellipse at 45% 48%, black 0 40%, transparent 72%);
  mask-image: radial-gradient(ellipse at 45% 48%, black 0 40%, transparent 72%);
}

.tech-field--bottom-left::before {
  transform: perspective(620px) rotateX(58deg) rotateZ(-24deg);
}

.empty-jobs {
  border: 1px solid rgba(0, 255, 154, 0.28);
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 50% 0, rgba(0, 255, 154, 0.1), transparent 20rem),
    rgba(8, 14, 16, 0.82);
  padding: 2.4rem;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.empty-jobs h2 {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.empty-jobs p {
  margin: 0;
  color: var(--muted);
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.pagination-page,
.pagination-current {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(10, 17, 18, 0.76);
  color: #ffffff;
  font-weight: 750;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pagination-current {
  border-color: rgba(0, 255, 154, 0.78);
  background: rgba(0, 255, 154, 0.18);
  box-shadow: 0 0 22px rgba(0, 255, 154, 0.18);
}

.page-narrow {
  width: min(100% - 2rem, 768px);
  margin: 1.5rem auto 0;
}

.job-description ul {
  list-style: none;
  margin-bottom: 1rem;
}

.job-description ul li {
  position: relative;
  padding-left: 1.5rem;
  color: rgb(209 213 219);
}

.job-description ul li::before {
  content: "•";
  color: rgb(74 222 128);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.job-description a {
  color: rgb(74 222 128);
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.job-description a:hover {
  color: rgb(20 83 45);
}

/* Pagination hover effect */
.pagination-page:hover {
  border-color: rgba(0, 255, 154, 0.55) !important;
  background-color: rgba(0, 255, 154, 0.12) !important;
  box-shadow: 0 0 20px rgba(0, 255, 154, 0.13);
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(5, 7, 8, 0.72);
  backdrop-filter: blur(12px);
}

.site-footer__inner {
  padding: 1.15rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .site-nav__inner {
    min-height: 3.75rem;
  }

  .site-brand {
    gap: 0.5rem;
    font-size: 1.08rem;
  }

  .site-brand__mark {
    width: 1.3rem;
  }

  .site-nav__links {
    gap: 0.75rem;
  }

  .site-nav__link {
    display: none;
  }

  .btn-post-job {
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.55rem 0.78rem;
    font-size: 0.86rem;
  }

  .home-page {
    padding-top: 1.75rem;
  }

  .job-card {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0.82rem;
    min-height: 0;
    padding: 0.95rem 0.9rem 0.95rem 1.12rem;
  }

  .job-card__logo {
    width: 3.1rem;
    border-radius: 0.65rem;
  }

  .job-card__heading {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .job-card__posted {
    font-size: 0.82rem;
  }

  .job-card__meta {
    font-size: 0.86rem;
  }

  .job-card__tags {
    gap: 0.45rem;
  }

  .badge-outline {
    max-width: 100%;
    font-size: 0.66rem;
  }

  .tech-field--top-left {
    top: 7rem;
    left: -19rem;
  }

  .tech-field--right {
    right: -22rem;
  }
}

@media (max-width: 470px) {
  .site-nav__inner,
  .site-footer__inner,
  .home-page__inner,
  .notice-banner,
  .page-narrow {
    width: min(100% - 1rem, 1320px);
  }

  .job-card {
    grid-template-columns: 1fr;
  }

  .job-card__logo {
    width: 2.9rem;
  }

  .job-card__salary {
    white-space: normal;
  }
}
