* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: #eee6ff;
  background:
    linear-gradient(rgba(12, 10, 24, 0.75), rgba(12, 10, 24, 0.85)),
    url("images/background.gif");
  background-size: cover;
  background-position: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.desktop {
  min-height: 100vh;
  padding: 55px 30px 110px 120px;
  position: relative;
}

/* Top Mac bar */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  background: rgba(18, 15, 35, 0.86);
  border-bottom: 1px solid rgba(200, 170, 255, 0.22);
  backdrop-filter: blur(12px);
}

.top-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.topbar a {
  font-size: 14px;
}

.time {
  margin-left: auto;
}

/* Desktop image icons */

.icons {
  position: fixed;
  top: 70px;
  left: 22px;
  width: 80px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.icons img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  transition: 0.2s;
}

.icons a:hover img {
  transform: scale(1.08);
}

.icons span {
  font-size: 13px;
  text-shadow: 0 2px 5px #000;
}

/* Windows */

.windows {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 520px));
  gap: 22px;
  max-width: 1100px;
  margin: 40px auto;
}

.window {
  background: rgba(28, 24, 48, 0.88);
  border: 1px solid rgba(205, 170, 255, 0.32);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.window-bar {
  height: 38px;
  padding: 0 14px;
  background: rgba(38, 31, 65, 0.92);
  border-bottom: 1px solid rgba(205, 170, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-bar p {
  margin: 0;
  color: #d8c4ff;
  font-weight: bold;
}

.buttons {
  display: flex;
  gap: 7px;
}

.buttons::before,
.buttons::after {
  content: "";
}

.buttons span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: block;
}

.buttons .red {
  background: #ff6b5f;
}

.buttons .yellow {
  background: #ffd166;
}

.buttons .green {
  background: #7bd87b;
}

.window-content {
  padding: 24px;
}

.intro-box {
  display: flex;
  align-items: center;
  gap: 25px;
}

.intro-box img {
  width: 150px;
  max-width: 40%;
}

h1 {
  color: #c79cff;
  margin-top: 0;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 28px;
  border-radius: 10px;
  background: rgba(118, 75, 170, 0.45);
  border: 1px solid rgba(205, 170, 255, 0.5);
  color: #eadcff;
}

.btn:hover {
  background: rgba(157, 108, 220, 0.55);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.art-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(205, 170, 255, 0.3);
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.split img {
  width: 120px;
  object-fit: contain;
}

.status {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  color: #a8f0aa;
  border: 1px solid #7bd87b;
  background: rgba(80, 150, 80, 0.16);
}

/* Social image icons */

.socials {
  text-align: center;
}
.social-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-items: center;
    align-items: center;

    margin: 25px 0;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 72px;
    height: 72px;

    background: transparent;
    border: none;
    border-radius: 18px;

    transition: .2s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.08);
}

.social-icons img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

@media (max-width: 800px) {

    .social-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }

    .social-icons a {
        width: 60px;
        height: 60px;
    }

    .social-icons img {
        width: 52px;
        height: 52px;
    }

}

/* Dock */

.dock {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 18px;
  padding: 14px 24px;
  background: rgba(25, 22, 42, 0.85);
  border: 1px solid rgba(205, 170, 255, 0.32);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.dock img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: 0.2s;
}

.dock a:hover img {
  transform: translateY(-6px) scale(1.12);
}

/* Mobile fix */

@media (max-width: 800px) {
  body {
    background-attachment: fixed;
  }

  .desktop {
    padding: 70px 14px 95px;
  }

  .topbar {
    height: 48px;
    justify-content: space-between;
    gap: 10px;
  }

  .topbar a {
    display: none;
  }

  .time {
    margin-left: 0;
    font-size: 13px;
  }

  .icons {
    display: none;
  }

  .windows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    max-width: 460px;
  }

  .window {
    border-radius: 14px;
  }

  .window-content {
    padding: 18px;
  }

  .intro-box {
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }

  .intro-box img {
    width: 110px;
  }

  h1 {
    font-size: 22px;
  }

  .art-grid {
    gap: 10px;
  }

  .split img {
    width: 90px;
  }

  .social-icons a {
    width: 42px;
    height: 42px;
  }

  .dock {
    left: 10px;
    right: 10px;
    bottom: 10px;
    transform: none;
    justify-content: space-around;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
  }

  .dock img {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 430px) {
  .intro-box {
    flex-direction: column;
    text-align: center;
  }

  .intro-box img {
    max-width: 140px;
    width: 100%;
  }

  .split {
    flex-direction: column;
    text-align: center;
  }
}

/* ABOUT PAGE */

.about-page {
  max-width: 1180px;
  margin: 40px auto;
}

.about-window {
  width: 100%;
}

.about-content {
  padding: 28px;
}

.about-hero {
  display: grid;
  grid-template-columns: 260px 1fr 360px;
  gap: 26px;
  align-items: center;
  margin-bottom: 26px;
}

.about-profile {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(205, 170, 255, 0.35);
}

.about-intro h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.about-intro p {
  line-height: 1.6;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-tags span,
.tag-list span,
.tool-grid span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(118, 75, 170, 0.35);
  border: 1px solid rgba(205, 170, 255, 0.25);
}

.quick-facts,
.about-card {
  background: rgba(26, 22, 45, 0.58);
  border: 1px solid rgba(205, 170, 255, 0.25);
  border-radius: 18px;
  padding: 22px;
}

.quick-facts h2,
.about-card h2 {
  color: #d8c4ff;
  margin-top: 0;
}

.quick-facts p {
  margin: 10px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-card p,
.about-card li {
  line-height: 1.6;
}

.about-card ul {
  margin: 0;
  padding-left: 20px;
}

.tag-list,
.tool-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ABOUT MOBILE */

@media (max-width: 1000px) {
  .about-hero {
    grid-template-columns: 220px 1fr;
  }

  .quick-facts {
    grid-column: 1 / -1;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .about-page {
    margin: 0 auto;
  }

  .about-content {
    padding: 18px;
  }

  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-profile {
    max-width: 220px;
    margin: 0 auto;
  }

  .mini-tags,
  .tag-list,
  .tool-grid {
    justify-content: center;
  }

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

  .about-intro h1 {
    font-size: 28px;
  }
}

/* ---------------------------------
   COMMISSIONS PAGE
--------------------------------- */

.commission-page {
  width: min(1240px, 100%);
  margin: 32px auto;
}

.commission-window {
  width: 100%;
}

.commission-content {
  padding: 26px;
}

.commission-top {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.commission-status-card,
.commission-prices,
.commission-panel {
  background: rgba(27, 22, 49, 0.72);
  border: 1px solid rgba(205, 170, 255, 0.24);
  border-radius: 16px;
  padding: 20px;
}

.commission-status-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.small-heading {
  margin-top: 0;
  font-size: 18px;
  font-weight: bold;
}

.commission-status {
  margin: 10px 0;
  color: #9be27d;
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1;
}

.commission-main-button {
  display: inline-block;
  margin-top: 14px;
  padding: 13px 18px;
  border: 1px solid rgba(220, 190, 255, 0.45);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(143, 74, 225, 0.95),
    rgba(91, 43, 168, 0.95)
  );
  box-shadow: 0 7px 18px rgba(80, 28, 155, 0.3);
  font-weight: bold;
  transition: 0.2s ease;
}

.commission-main-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.commission-small-text {
  margin-bottom: 0;
  font-size: 13px;
  color: #cfc4e6;
}

.commission-prices h2,
.commission-panel h2 {
  margin-top: 0;
  color: #e2d3ff;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
}

.price-card {
  overflow: hidden;
  border-radius: 12px;
  background: rgba(46, 35, 78, 0.7);
  border: 1px solid rgba(210, 175, 255, 0.25);
}

.price-card img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
}

.price-card-content {
  padding: 12px;
}

.price-card h3 {
  margin: 0;
  text-align: center;
  color: #eadfff;
  font-size: 15px;
}

.price {
  margin: 7px 0;
  text-align: center;
  font-size: 19px;
  font-weight: bold;
}

.price-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #d7cce9;
  font-size: 12px;
  line-height: 1.5;
}

.price-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: #bfb2d7;
}

.commission-middle {
  display: grid;
  grid-template-columns: 1.65fr 0.9fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.example-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(205, 170, 255, 0.26);
}

.commission-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.commission-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 22px;
  line-height: 1.4;
}

.commission-list li::before {
  content: "•";
  position: absolute;
  left: 5px;
  color: #b985ff;
  font-weight: bold;
}

.will-draw li::before {
  content: "♥";
  left: 0;
  font-size: 12px;
}

.wont-draw li::before {
  content: "×";
  left: 2px;
  font-size: 17px;
}

.commission-bottom {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.order-step {
  position: relative;
}

.step-number {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border: 1px solid rgba(204, 164, 255, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c795ff;
  font-weight: bold;
}

.order-step h3 {
  margin: 0 0 7px;
  color: #eadfff;
}

.order-step p {
  margin: 0;
  color: #d1c7e1;
  line-height: 1.5;
}

.terms-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 20px;
}

.commission-note {
  min-height: 150px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #3b2654;
  background: linear-gradient(145deg, #daa6ef, #b980db);
  border: 1px solid rgba(255, 235, 255, 0.5);
  box-shadow: 0 10px 20px rgba(8, 6, 18, 0.26);
  transform: rotate(3deg);
}

.commission-note p {
  margin: 0;
  font-weight: bold;
  line-height: 1.5;
}

.commission-note span {
  margin-top: 7px;
  font-size: 26px;
}

.active-link {
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(132, 78, 200, 0.44);
}

.desktop-icon-active img {
  filter: drop-shadow(0 0 8px rgba(191, 128, 255, 0.8));
}

.dock-active {
  position: relative;
}

.dock-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #c68cff;
}

/* ---------------------------------
   COMMISSIONS TABLET
--------------------------------- */

@media (max-width: 1150px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .commission-middle {
    grid-template-columns: repeat(2, 1fr);
  }

  .examples-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .commission-top {
    grid-template-columns: 1fr;
  }

  .commission-status-card {
    max-width: none;
  }

  .commission-bottom {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------
   COMMISSIONS MOBILE
--------------------------------- */

@media (max-width: 800px) {
  .commission-page {
    margin: 0 auto;
  }

  .commission-content {
    padding: 15px;
  }

  .commission-status-card,
  .commission-prices,
  .commission-panel {
    padding: 17px;
    border-radius: 14px;
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commission-middle {
    grid-template-columns: 1fr;
  }

  .examples-panel {
    grid-column: auto;
  }

  .example-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-steps {
    grid-template-columns: 1fr;
  }

  .order-step {
    padding-left: 48px;
    min-height: 42px;
  }

  .step-number {
    position: absolute;
    left: 0;
    top: 0;
  }

  .terms-panel {
    grid-template-columns: 1fr;
  }

  .commission-note {
    width: min(220px, 90%);
    margin: 8px auto;
  }
}

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

  .price-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .price-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .price-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .example-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ---------------------------------
   ARTWORK PAGE
--------------------------------- */

.artwork-page {
  width: min(1240px, 100%);
  margin: 32px auto;
}

.artwork-window {
  width: 100%;
}

.artwork-layout {
  min-height: 680px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

/* ARTWORK SIDEBAR */

.artwork-sidebar {
  padding: 20px 12px;
  background: rgba(22, 18, 40, 0.7);
  border-right: 1px solid rgba(205, 170, 255, 0.2);
}

.artwork-sidebar-heading {
  padding: 0 11px 12px;
  color: #afa2c9;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-button {
  width: 100%;
  margin: 2px 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ded4ee;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.18s ease;
}

.filter-button:hover {
  background: rgba(118, 75, 170, 0.24);
}

.filter-button.active {
  color: #ffffff;
  background: rgba(132, 78, 200, 0.5);
}

.filter-symbol {
  width: 18px;
  color: #c79cff;
  text-align: center;
}

.filter-button.active .filter-symbol {
  color: #f0e5ff;
}

/* ART FIGHT SIDEBAR LINK */

.artfight-link {
  margin-top: 16px;
  padding: 14px 10px 4px;
  border-top: 1px solid rgba(205, 170, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #eadfff;
  font-weight: bold;
}

.artfight-link-label {
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  transition: 0.18s ease;
}

.artfight-link-label img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.artfight-link:hover .artfight-link-label {
  background: rgba(118, 75, 170, 0.3);
}

.artfight-arrow {
  color: #c79cff;
  font-size: 20px;
  transition: 0.18s ease;
}

.artfight-link:hover .artfight-arrow {
  transform: translateX(4px);
}

/* MAIN ARTWORK AREA */

.artwork-main {
  min-width: 0;
  padding: 24px;
}

.artwork-toolbar {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.artwork-page-title h1 {
  margin: 0;
  font-size: 28px;
}

.artwork-page-title p {
  margin: 5px 0 0;
  color: #bdb2cf;
  font-size: 13px;
}

.artwork-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.art-search-box {
  width: min(260px, 100%);
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 18, 38, 0.7);
  border: 1px solid rgba(205, 170, 255, 0.25);
  border-radius: 9px;
}

.search-symbol {
  color: #bda0e8;
  font-size: 22px;
}

.art-search-box input {
  width: 100%;
  color: #eee6ff;
  font: inherit;
  background: transparent;
  border: 0;
  outline: none;
}

.art-search-box input::placeholder {
  color: #9488a8;
}

#art-sort,
#mobile-filter {
  height: 40px;
  padding: 0 35px 0 12px;
  color: #eee6ff;
  font: inherit;
  background: #211b39;
  border: 1px solid rgba(205, 170, 255, 0.25);
  border-radius: 9px;
  cursor: pointer;
}

/* MOBILE FILTER */

.mobile-filter-wrap {
  display: none;
}

/* ARTWORK GRID */

.artwork-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.artwork-card {
  min-width: 0;
}

.artwork-card-button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-align: left;
  background: rgba(34, 28, 56, 0.74);
  border: 1px solid rgba(205, 170, 255, 0.2);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.artwork-card-button:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 170, 255, 0.55);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.32);
}

.artwork-image-wrap {
  position: relative;
  overflow: hidden;
  background: rgba(15, 12, 27, 0.8);
}

.artwork-image-wrap img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.artwork-card-button:hover .artwork-image-wrap img {
  transform: scale(1.04);
}

.featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  color: #fff5c7;
  font-size: 11px;
  font-weight: bold;
  background: rgba(54, 38, 72, 0.88);
  border: 1px solid rgba(255, 227, 142, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(7px);
}

.artwork-card-info {
  min-height: 72px;
  padding: 13px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.artwork-card-info h2 {
  margin: 0 0 5px;
  color: #eee5ff;
  font-size: 16px;
}

.artwork-card-info p {
  margin: 0;
  color: #b9acce;
  font-size: 12px;
}

.artwork-card-info time {
  flex-shrink: 0;
  color: #9589a9;
  font-size: 11px;
}

/* EMPTY GALLERY */

.no-artwork {
  grid-column: 1 / -1;
  min-height: 330px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #b9acce;
}

.no-artwork span {
  color: #c79cff;
  font-size: 40px;
}

.no-artwork h2 {
  margin: 8px 0;
  color: #e5d8fa;
}

.no-artwork p {
  margin: 0;
}

/* ---------------------------------
   ARTWORK PREVIEW
--------------------------------- */

body.modal-open {
  overflow: hidden;
}

.artwork-modal[hidden] {
  display: none;
}

.artwork-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 40px;
  display: grid;
  place-items: center;
}

.artwork-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(7, 5, 15, 0.82);
  border: 0;
  cursor: default;
  backdrop-filter: blur(8px);
}

.artwork-preview-window {
  position: relative;
  z-index: 1;
  width: min(1050px, 100%);
  max-height: calc(100vh - 80px);
  overflow: hidden;
  background: rgba(28, 24, 48, 0.97);
  border: 1px solid rgba(205, 170, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
}

.modal-close {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #e4d9f5;
  font-size: 23px;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(205, 170, 255, 0.14);
}

.artwork-preview-content {
  max-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 330px;
  overflow: auto;
}

.artwork-preview-image-wrap {
  min-height: 540px;
  padding: 24px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 25%
    ),
    linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 25%
    ),
    #12101e;
  background-size: 22px 22px;
}

.artwork-preview-image-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 175px);
  object-fit: contain;
  border-radius: 8px;
}

.artwork-preview-info {
  padding: 28px;
  background: rgba(38, 31, 62, 0.76);
  border-left: 1px solid rgba(205, 170, 255, 0.2);
}

.artwork-preview-info h2 {
  margin: 0 0 12px;
  color: #d5b3ff;
  font-size: 28px;
}

.modal-description {
  color: #d4c9e2;
  line-height: 1.6;
}

.artwork-details {
  margin: 24px 0;
}

.artwork-details div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(205, 170, 255, 0.13);
}

.artwork-details dt {
  margin-bottom: 4px;
  color: #a99bbf;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artwork-details dd {
  margin: 0;
  color: #eee6ff;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tags span {
  padding: 7px 11px;
  color: #e4d4ff;
  font-size: 12px;
  background: rgba(118, 75, 170, 0.32);
  border: 1px solid rgba(205, 170, 255, 0.24);
  border-radius: 999px;
}

/* ---------------------------------
   ARTWORK TABLET
--------------------------------- */

@media (max-width: 1050px) {
  .artwork-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artwork-preview-content {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}

/* ---------------------------------
   ARTWORK MOBILE
--------------------------------- */

@media (max-width: 800px) {
  .artwork-page {
    margin: 0 auto;
  }

  .artwork-layout {
    min-height: auto;
    display: block;
  }

  .artwork-sidebar {
    display: none;
  }

  .artwork-main {
    padding: 16px;
  }

  .artwork-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .artwork-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .art-search-box {
    width: 100%;
  }

  #art-sort {
    width: 100%;
  }

  .mobile-filter-wrap {
    margin-bottom: 18px;
    display: grid;
    gap: 7px;
  }

  .mobile-filter-wrap label {
    color: #bdb2cf;
    font-size: 12px;
    font-weight: bold;
  }

  #mobile-filter {
    width: 100%;
  }

  .artwork-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .artwork-card-info {
    min-height: 65px;
    padding: 11px;
  }

  .artwork-card-info h2 {
    font-size: 14px;
  }

  .artwork-card-info time {
    display: none;
  }

  .artwork-modal {
    padding: 12px;
  }

  .artwork-preview-window {
    max-height: calc(100vh - 24px);
  }

  .artwork-preview-content {
    max-height: calc(100vh - 65px);
    display: block;
  }

  .artwork-preview-image-wrap {
    min-height: 0;
    padding: 15px;
  }

  .artwork-preview-image-wrap img {
    max-height: 65vh;
  }

  .artwork-preview-info {
    padding: 20px;
    border-top: 1px solid rgba(205, 170, 255, 0.2);
    border-left: 0;
  }
}

@media (max-width: 430px) {
  .artwork-main {
    padding: 12px;
  }

  .artwork-gallery {
    gap: 9px;
  }

  .artwork-card-button {
    border-radius: 10px;
  }

  .featured-badge {
    top: 6px;
    right: 6px;
    padding: 4px 7px;
    font-size: 9px;
  }

  .artwork-card-info {
    min-height: 60px;
  }
}
/* ---------------------------------
   ART FIGHT PAGE
--------------------------------- */

.artfight-page {
  width: min(1240px, 100%);
  margin: 32px auto;
}

.artfight-window {
  width: 100%;
}

.artfight-content {
  padding: 26px;
}

/* INTRO */

.artfight-intro {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.artfight-intro h1 {
  margin: 3px 0 8px;
  font-size: clamp(30px, 5vw, 48px);
}

.artfight-intro p {
  max-width: 680px;
  margin-bottom: 0;
  line-height: 1.6;
}

.artfight-small-heading {
  margin: 0 0 4px;
  color: #bda5e4;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artfight-profile-button {
  flex-shrink: 0;
  padding: 12px 20px;
  color: #f2e8ff;
  font-weight: bold;
  background: rgba(124, 76, 184, 0.6);
  border: 1px solid rgba(213, 181, 255, 0.4);
  border-radius: 11px;
  transition: 0.2s ease;
}

.artfight-profile-button:hover {
  transform: translateY(-3px);
  background: rgba(151, 95, 216, 0.75);
}

/* YEAR TABS */

.artfight-year-tabs {
  margin-bottom: 20px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  background: rgba(20, 16, 36, 0.65);
  border: 1px solid rgba(205, 170, 255, 0.2);
  border-radius: 15px;
}

.year-tab {
  padding: 12px 10px;
  color: #cfc4de;
  font: inherit;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

.year-tab span,
.year-tab small {
  display: block;
}

.year-tab span {
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: bold;
}

.year-tab small {
  color: #9f91b4;
  font-size: 11px;
}

.year-tab:hover {
  background: rgba(118, 75, 170, 0.25);
}

.year-tab.active {
  color: #ffffff;
  background: linear-gradient(
    180deg,
    rgba(143, 85, 205, 0.72),
    rgba(89, 53, 139, 0.72)
  );
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.22);
}

.year-tab.active small {
  color: #e6d8f8;
}

/* YEAR HERO */

.artfight-year-hero {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.8fr);
  gap: 20px;
}

.artfight-team-card,
.artfight-stat-card,
.artfight-progress-section,
.artfight-panel {
  background: rgba(29, 24, 49, 0.74);
  border: 1px solid rgba(205, 170, 255, 0.23);
  border-radius: 16px;
}

.artfight-team-card {
  overflow: hidden;
}

.team-banner-wrap {
  height: 230px;
  overflow: hidden;
  background: rgba(10, 8, 19, 0.75);
}

.team-banner-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-card-content {
  padding: 20px;
}

.team-card-content > p:first-child {
  margin: 0 0 5px;
  color: #ae9fc2;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-card-content h2 {
  margin: 0 0 8px;
  color: #e8d9ff;
  font-size: 29px;
}

.team-card-content > p {
  line-height: 1.6;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.team-tags span {
  padding: 7px 11px;
  color: #dfcefb;
  font-size: 12px;
  background: rgba(112, 70, 166, 0.32);
  border: 1px solid rgba(205, 170, 255, 0.22);
  border-radius: 999px;
}

/* STATS */

.artfight-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.artfight-stat-card {
  min-height: 145px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.stat-label {
  color: #b9a9ce;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artfight-stat-card strong {
  margin: 6px 0;
  color: #d9b7ff;
  font-size: 42px;
  line-height: 1;
}

.stat-note {
  color: #968ba6;
  font-size: 11px;
}

/* PROGRESS */

.artfight-progress-section {
  margin-bottom: 20px;
  padding: 19px 21px;
}

.artfight-progress-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.artfight-progress-info h2 {
  margin: 0;
  color: #eadfff;
}

#goal-count {
  margin: 0;
  color: #d9b7ff;
  font-size: 20px;
  font-weight: bold;
}

.artfight-progress-track {
  height: 13px;
  margin: 14px 0 10px;
  overflow: hidden;
  background: rgba(10, 8, 20, 0.7);
  border: 1px solid rgba(205, 170, 255, 0.2);
  border-radius: 999px;
}

.artfight-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8253b7, #c793ff);
  transition: width 0.45s ease;
}

.artfight-progress-message {
  margin: 0;
  color: #b5a7c9;
  font-size: 12px;
}

/* MAIN GRID */

.artfight-main-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
}

.artfight-left-column,
.artfight-right-column {
  min-width: 0;
}

.artfight-left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.artfight-panel {
  padding: 20px;
}

.artfight-panel-heading {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.artfight-panel-heading h2,
.artfight-gallery-header h2 {
  margin: 0;
  color: #eadfff;
}

.artfight-panel-heading p {
  margin: 0;
}

/* FEATURED */

.featured-art-card {
  overflow: hidden;
  background: rgba(40, 32, 65, 0.65);
  border: 1px solid rgba(205, 170, 255, 0.2);
  border-radius: 13px;
  cursor: pointer;
  transition: 0.2s ease;
}

.featured-art-card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 170, 255, 0.5);
}

.featured-art-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.featured-art-info {
  padding: 13px;
}

.featured-art-info h3 {
  margin: 0 0 5px;
  color: #f0e7ff;
}

.featured-art-info p {
  margin: 0;
  color: #b9acce;
  font-size: 12px;
}

/* REVIEW */

#year-review {
  color: #d2c7df;
  line-height: 1.65;
}

#year-review p:first-child {
  margin-top: 0;
}

#year-review p:last-child {
  margin-bottom: 0;
}

/* CHARACTER LEADERBOARD */

.character-leaderboard {
  display: grid;
  gap: 9px;
}

.character-row {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(41, 33, 67, 0.58);
  border: 1px solid rgba(205, 170, 255, 0.15);
  border-radius: 9px;
}

.character-row span {
  color: #e7dbf7;
}

.character-row strong {
  min-width: 30px;
  color: #c99cff;
  text-align: right;
}

/* GALLERY */

.gallery-panel {
  min-height: 680px;
}

.artfight-gallery-header {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.artfight-gallery-header p {
  margin: 5px 0 0;
  color: #9f94b0;
  font-size: 12px;
}

.artfight-gallery-controls {
  display: flex;
  gap: 10px;
}

.artfight-search-box {
  width: 230px;
  height: 40px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(18, 15, 32, 0.72);
  border: 1px solid rgba(205, 170, 255, 0.23);
  border-radius: 9px;
}

.artfight-search-box span {
  color: #c39beb;
  font-size: 21px;
}

.artfight-search-box input {
  width: 100%;
  color: #eee6ff;
  font: inherit;
  background: transparent;
  border: 0;
  outline: none;
}

.artfight-search-box input::placeholder {
  color: #8d819f;
}

#artfight-sort {
  height: 40px;
  padding: 0 34px 0 11px;
  color: #eee6ff;
  font: inherit;
  background: #211b39;
  border: 1px solid rgba(205, 170, 255, 0.23);
  border-radius: 9px;
  cursor: pointer;
}

/* FILTER ROW */

.artfight-filter-row {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.artfight-filter {
  padding: 8px 14px;
  color: #cfc4de;
  font: inherit;
  background: rgba(53, 42, 83, 0.56);
  border: 1px solid rgba(205, 170, 255, 0.17);
  border-radius: 999px;
  cursor: pointer;
  transition: 0.18s ease;
}

.artfight-filter:hover,
.artfight-filter.active {
  color: #ffffff;
  background: rgba(130, 78, 196, 0.7);
  border-color: rgba(205, 170, 255, 0.45);
}

/* GALLERY GRID */

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

.artfight-card {
  min-width: 0;
}

.artfight-card-button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-align: left;
  background: rgba(39, 32, 63, 0.72);
  border: 1px solid rgba(205, 170, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

.artfight-card-button:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 170, 255, 0.5);
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.28);
}

.artfight-card-image {
  position: relative;
  overflow: hidden;
  background: rgba(10, 8, 18, 0.75);
}

.artfight-card-image img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.artfight-card-button:hover .artfight-card-image img {
  transform: scale(1.04);
}

.artfight-type-badge,
.artfight-featured-badge {
  position: absolute;
  top: 8px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 999px;
  backdrop-filter: blur(7px);
}

.artfight-type-badge {
  left: 8px;
  color: #eadfff;
  background: rgba(62, 43, 91, 0.88);
  border: 1px solid rgba(205, 170, 255, 0.25);
}

.artfight-featured-badge {
  right: 8px;
  color: #fff1bf;
  background: rgba(67, 48, 68, 0.88);
  border: 1px solid rgba(255, 225, 131, 0.28);
}

.artfight-card-info {
  min-height: 74px;
  padding: 12px;
}

.artfight-card-info h3 {
  margin: 0 0 5px;
  color: #eee5ff;
  font-size: 15px;
}

.artfight-card-info p {
  margin: 2px 0;
  color: #afa2c1;
  font-size: 11px;
}

/* EMPTY STATES */

.artfight-empty-small,
.artfight-empty-gallery {
  min-height: 170px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #a99db9;
}

.artfight-empty-small span,
.artfight-empty-gallery span {
  color: #c697ff;
  font-size: 36px;
}

.artfight-empty-gallery {
  grid-column: 1 / -1;
  min-height: 420px;
}

.artfight-empty-gallery h3 {
  margin: 8px 0;
  color: #e4d7f7;
}

.artfight-empty-gallery p {
  margin: 0;
}

/* ---------------------------------
   ART FIGHT MODAL
--------------------------------- */

.artfight-modal[hidden] {
  display: none;
}

.artfight-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  padding: 35px;
  display: grid;
  place-items: center;
}

.artfight-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(6, 4, 13, 0.84);
  border: 0;
  backdrop-filter: blur(8px);
}

.artfight-preview-window {
  position: relative;
  z-index: 1;
  width: min(1050px, 100%);
  max-height: calc(100vh - 70px);
  overflow: hidden;
  background: rgba(28, 24, 48, 0.98);
  border: 1px solid rgba(205, 170, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.58);
}

.artfight-preview-content {
  max-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 330px;
  overflow: auto;
}

.artfight-preview-image-wrap {
  min-height: 560px;
  padding: 22px;
  display: grid;
  place-items: center;
  background: #12101e;
}

.artfight-preview-image-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 8px;
}

.artfight-preview-info {
  padding: 27px;
  background: rgba(38, 31, 62, 0.78);
  border-left: 1px solid rgba(205, 170, 255, 0.18);
}

.artfight-modal-type {
  margin: 0 0 7px;
  color: #bc9be4;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artfight-preview-info h2 {
  margin: 0 0 13px;
  color: #d6b5ff;
  font-size: 28px;
}

.artfight-modal-description {
  color: #d2c8df;
  line-height: 1.6;
}

.artfight-details {
  margin: 22px 0;
}

.artfight-details div {
  padding: 9px 0;
  border-bottom: 1px solid rgba(205, 170, 255, 0.12);
}

.artfight-details dt {
  margin-bottom: 4px;
  color: #9e91af;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artfight-details dd {
  margin: 0;
  color: #eee6ff;
}

.artfight-modal-tags {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.artfight-modal-tags span {
  padding: 6px 10px;
  color: #e5d4ff;
  font-size: 11px;
  background: rgba(113, 70, 166, 0.32);
  border: 1px solid rgba(205, 170, 255, 0.2);
  border-radius: 999px;
}

.artfight-entry-link {
  display: inline-block;
  padding: 10px 15px;
  color: #f0e6ff;
  font-weight: bold;
  background: rgba(124, 74, 188, 0.66);
  border: 1px solid rgba(205, 170, 255, 0.35);
  border-radius: 9px;
}

.artfight-entry-link[hidden] {
  display: none;
}

/* TABLET */

@media (max-width: 1100px) {
  .artfight-year-hero {
    grid-template-columns: 1fr;
  }

  .artfight-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .artfight-stat-card {
    min-height: 120px;
  }

  .artfight-main-grid {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .artfight-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .artfight-main-grid {
    grid-template-columns: 1fr;
  }

  .artfight-left-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-art-panel {
    grid-row: span 2;
  }

  .artfight-gallery-header {
    align-items: stretch;
    flex-direction: column;
  }

  .artfight-gallery-controls {
    width: 100%;
  }

  .artfight-search-box {
    flex: 1;
  }
}

/* MOBILE */

@media (max-width: 800px) {
  .artfight-page {
    margin: 0 auto;
  }

  .artfight-content {
    padding: 15px;
  }

  .artfight-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .artfight-profile-button {
    width: 100%;
    text-align: center;
  }

  .artfight-year-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-banner-wrap {
    height: 180px;
  }

  .artfight-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .artfight-left-column {
    display: flex;
  }

  .artfight-gallery-controls {
    flex-direction: column;
  }

  .artfight-search-box,
  #artfight-sort {
    width: 100%;
  }

  .artfight-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .artfight-modal {
    padding: 12px;
  }

  .artfight-preview-window {
    max-height: calc(100vh - 24px);
  }

  .artfight-preview-content {
    max-height: calc(100vh - 65px);
    display: block;
  }

  .artfight-preview-image-wrap {
    min-height: 0;
    padding: 14px;
  }

  .artfight-preview-image-wrap img {
    max-height: 65vh;
  }

  .artfight-preview-info {
    padding: 20px;
    border-top: 1px solid rgba(205, 170, 255, 0.18);
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .artfight-content {
    padding: 11px;
  }

  .artfight-year-tabs {
    gap: 5px;
    padding: 5px;
  }

  .year-tab {
    padding: 10px 6px;
  }

  .year-tab span {
    font-size: 16px;
  }

  .artfight-stats {
    gap: 8px;
  }

  .artfight-stat-card {
    min-height: 110px;
    padding: 13px;
  }

  .artfight-stat-card strong {
    font-size: 34px;
  }

  .artfight-panel {
    padding: 15px;
  }

  .artfight-gallery {
    gap: 8px;
  }

  .artfight-card-info {
    min-height: 67px;
    padding: 10px;
  }

  .artfight-card-info h3 {
    font-size: 13px;
  }
}
/* ---------------------------------
   PROJECTS PAGE
--------------------------------- */

.projects-page {
  width: min(1240px, 100%);
  margin: 32px auto;
}

.projects-window {
  width: 100%;
}

.projects-content {
  padding: 26px;
}

.projects-intro {
  margin-bottom: 24px;
}

.projects-intro h1 {
  margin: 4px 0 10px;
  font-size: clamp(34px, 5vw, 50px);
}

.projects-intro p {
  max-width: 720px;
  line-height: 1.6;
}

.project-small-heading {
  margin: 0;
  color: #bda5e4;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* FEATURED PROJECT */

.featured-project-section {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.2fr);
  overflow: hidden;
  background: rgba(29, 24, 49, 0.76);
  border: 1px solid rgba(205, 170, 255, 0.25);
  border-radius: 18px;
}

.featured-project-image {
  min-height: 330px;
  background: rgba(12, 9, 22, 0.75);
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.featured-project-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-project-info h2 {
  margin: 5px 0 12px;
  color: #eadfff;
  font-size: 34px;
}

.featured-project-info > p {
  line-height: 1.65;
}

.featured-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 12px;
}

.featured-project-meta span {
  padding: 7px 11px;
  color: #dfcefb;
  font-size: 12px;
  background: rgba(112, 70, 166, 0.32);
  border: 1px solid rgba(205, 170, 255, 0.22);
  border-radius: 999px;
}

.project-view-button {
  width: fit-content;
  margin-top: 18px;
  padding: 11px 18px;
  color: #f1e7ff;
  font: inherit;
  font-weight: bold;
  background: rgba(124, 76, 184, 0.66);
  border: 1px solid rgba(205, 170, 255, 0.35);
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

.project-view-button:hover {
  transform: translateY(-3px);
  background: rgba(151, 95, 216, 0.78);
}

/* SECTIONS */

.projects-section {
  margin-top: 28px;
}

.projects-section-heading {
  margin-bottom: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.projects-section-heading h2 {
  margin: 4px 0 0;
  color: #eadfff;
  font-size: 27px;
}

.projects-section-heading > p {
  margin: 0;
  color: #9f94b0;
  font-size: 12px;
}

/* STORY PROJECTS */

.story-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-project-card {
  min-width: 0;
}

.story-project-button {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-align: left;
  background: rgba(32, 26, 54, 0.75);
  border: 1px solid rgba(205, 170, 255, 0.2);
  border-radius: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}

.story-project-button:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 170, 255, 0.52);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.story-project-image {
  position: relative;
  overflow: hidden;
  background: rgba(11, 8, 20, 0.8);
}

.story-project-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.story-project-button:hover .story-project-image img {
  transform: scale(1.04);
}

.story-project-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 9px;
  color: #eadfff;
  font-size: 10px;
  font-weight: bold;
  background: rgba(48, 36, 73, 0.9);
  border: 1px solid rgba(205, 170, 255, 0.26);
  border-radius: 999px;
  backdrop-filter: blur(7px);
}

.story-project-info {
  padding: 17px;
}

.project-card-category {
  margin: 0 0 5px;
  color: #bca2dc;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-project-info h3 {
  margin: 0 0 9px;
  color: #eee5ff;
  font-size: 20px;
}

.story-project-description {
  min-height: 74px;
  margin: 0 0 15px;
  color: #c8bdd6;
  font-size: 13px;
  line-height: 1.5;
}

/* PROGRESS */

.project-progress-wrap {
  margin-top: 16px;
}

.project-progress-label {
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #b8aaca;
  font-size: 11px;
}

.project-progress-label strong {
  color: #d7b3ff;
}

.project-progress-track {
  height: 10px;
  overflow: hidden;
  background: rgba(10, 8, 19, 0.72);
  border: 1px solid rgba(205, 170, 255, 0.18);
  border-radius: 999px;
}

.project-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #7950ad,
    #c48df7
  );
}

/* GOAL FILTERS */

.goal-filter-row {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.goal-filter {
  padding: 8px 14px;
  color: #cec2dd;
  font: inherit;
  background: rgba(53, 42, 83, 0.56);
  border: 1px solid rgba(205, 170, 255, 0.17);
  border-radius: 999px;
  cursor: pointer;
  transition: 0.18s ease;
}

.goal-filter:hover,
.goal-filter.active {
  color: #ffffff;
  background: rgba(130, 78, 196, 0.7);
  border-color: rgba(205, 170, 255, 0.45);
}

/* GOAL CARDS */

.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.goal-card {
  padding: 18px;
  background: rgba(31, 25, 52, 0.74);
  border: 1px solid rgba(205, 170, 255, 0.2);
  border-radius: 14px;
}

.goal-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.goal-card-top img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.goal-card-top p {
  margin: 0 0 3px;
  color: #af9fc5;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.goal-card-top h3 {
  margin: 0;
  color: #eadfff;
  font-size: 17px;
}

.goal-description {
  min-height: 68px;
  color: #c7bbd5;
  font-size: 13px;
  line-height: 1.5;
}

.goal-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.goal-status-row span {
  padding: 6px 9px;
  color: #d7c5ef;
  font-size: 10px;
  background: rgba(105, 67, 154, 0.28);
  border: 1px solid rgba(205, 170, 255, 0.18);
  border-radius: 999px;
}

.goal-status {
  color: #c3efb1 !important;
}

/* EMPTY */

.project-empty {
  grid-column: 1 / -1;
  min-height: 190px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #a99db9;
}

.project-empty span {
  color: #c697ff;
  font-size: 38px;
}

.project-empty p {
  margin: 8px 0 0;
}

/* PROJECT MODAL */

.project-modal[hidden] {
  display: none;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 35px;
  display: grid;
  place-items: center;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(6, 4, 13, 0.84);
  border: 0;
  backdrop-filter: blur(8px);
}

.project-preview-window {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 70px);
  overflow: hidden;
  background: rgba(28, 24, 48, 0.98);
  border: 1px solid rgba(205, 170, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.58);
}

.project-preview-content {
  max-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  overflow: auto;
}

.project-preview-image-wrap {
  min-height: 500px;
  padding: 22px;
  display: grid;
  place-items: center;
  background: #12101e;
}

.project-preview-image-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 165px);
  object-fit: contain;
  border-radius: 9px;
}

.project-preview-info {
  padding: 29px;
  background: rgba(38, 31, 62, 0.78);
  border-left: 1px solid rgba(205, 170, 255, 0.18);
}

.project-modal-category {
  margin: 0 0 7px;
  color: #bc9be4;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-preview-info h2 {
  margin: 0 0 13px;
  color: #d6b5ff;
  font-size: 29px;
}

.project-modal-description {
  color: #d2c8df;
  line-height: 1.65;
}

.project-modal-details {
  margin: 22px 0;
}

.project-modal-details div {
  padding: 9px 0;
  border-bottom: 1px solid rgba(205, 170, 255, 0.12);
}

.project-modal-details dt {
  margin-bottom: 4px;
  color: #9e91af;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-modal-details dd {
  margin: 0;
  color: #eee6ff;
}

.project-modal-tags {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-modal-tags span {
  padding: 6px 10px;
  color: #e5d4ff;
  font-size: 11px;
  background: rgba(113, 70, 166, 0.32);
  border: 1px solid rgba(205, 170, 255, 0.2);
  border-radius: 999px;
}

.project-modal-link {
  display: inline-block;
  padding: 10px 15px;
  color: #f0e6ff;
  font-weight: bold;
  background: rgba(124, 74, 188, 0.66);
  border: 1px solid rgba(205, 170, 255, 0.35);
  border-radius: 9px;
}

.project-modal-link[hidden] {
  display: none;
}

/* TABLET */

@media (max-width: 1050px) {
  .story-project-grid,
  .goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-project-section {
    grid-template-columns: 0.85fr 1fr;
  }
}

/* MOBILE */

@media (max-width: 800px) {
  .projects-page {
    margin: 0 auto;
  }

  .projects-content {
    padding: 15px;
  }

  .featured-project-section {
    display: block;
  }

  .featured-project-image {
    min-height: 230px;
  }

  .featured-project-info {
    padding: 22px;
  }

  .featured-project-info h2 {
    font-size: 27px;
  }

  .story-project-grid,
  .goal-grid {
    grid-template-columns: 1fr;
  }

  .story-project-description,
  .goal-description {
    min-height: 0;
  }

  .project-modal {
    padding: 12px;
  }

  .project-preview-window {
    max-height: calc(100vh - 24px);
  }

  .project-preview-content {
    max-height: calc(100vh - 65px);
    display: block;
  }

  .project-preview-image-wrap {
    min-height: 0;
    padding: 15px;
  }

  .project-preview-image-wrap img {
    max-height: 60vh;
  }

  .project-preview-info {
    padding: 21px;
    border-top: 1px solid rgba(205, 170, 255, 0.18);
    border-left: 0;
  }
}
/* ---------------------------------
   LINKS PAGE
--------------------------------- */

.links-page {
  width: min(1180px, 100%);
  margin: 32px auto;
}

.links-window {
  width: 100%;
}

.links-content {
  padding: 27px;
}

/* INTRO */

.links-intro {
  margin-bottom: 28px;
}

.links-intro h1 {
  margin: 4px 0 9px;
  font-size: clamp(34px, 5vw, 50px);
}

.links-intro p {
  max-width: 690px;
  margin-bottom: 0;
  line-height: 1.6;
}

.links-small-heading {
  margin: 0;
  color: #bda5e4;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* SECTIONS */

.links-section {
  margin-top: 30px;
}

.links-section-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.links-section-heading h2 {
  margin: 4px 0 0;
  color: #eadfff;
  font-size: 27px;
}

.links-section-heading > p {
  margin: 0;
  color: #9f94b0;
  font-size: 12px;
}

/* FEATURED LINKS */

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

.featured-link-card {
  min-width: 0;
}

.featured-link-card > a {
  height: 100%;
  padding: 22px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  background: rgba(31, 25, 52, 0.75);
  border: 1px solid rgba(205, 170, 255, 0.21);
  border-radius: 17px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.featured-link-card > a:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 170, 255, 0.55);
  box-shadow: 0 16px 31px rgba(0, 0, 0, 0.3);
}

.featured-link-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.featured-link-icon img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.featured-link-card > a:hover .featured-link-icon img {
  transform: scale(1.06);
}

.featured-link-info {
  min-width: 0;
}

.featured-link-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.link-activity {
  margin: 0 0 4px;
  color: #bc9de2;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.featured-link-info h3 {
  margin: 0;
  color: #eee5ff;
  font-size: 24px;
}

.link-username {
  margin: 5px 0 0;
  color: #a89bb9;
  font-size: 12px;
}

.link-arrow {
  color: #c895ff;
  font-size: 23px;
  transition: transform 0.2s ease;
}

.featured-link-card > a:hover .link-arrow {
  transform: translate(3px, -3px);
}

.link-description {
  margin: 15px 0;
  color: #c8bdd6;
  line-height: 1.55;
}

.visit-link {
  color: #d0acff;
  font-size: 13px;
  font-weight: bold;
}

/* OTHER LINKS */

.other-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.other-link-card > a {
  height: 100%;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(31, 25, 52, 0.7);
  border: 1px solid rgba(205, 170, 255, 0.18);
  border-radius: 14px;
  transition: 0.2s ease;
}

.other-link-card > a:hover {
  transform: translateY(-4px);
  background: rgba(49, 38, 77, 0.82);
  border-color: rgba(205, 170, 255, 0.45);
}

.other-link-card img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.other-link-info {
  min-width: 0;
  flex: 1;
}

.other-link-info p {
  margin: 0 0 3px;
  color: #a996c0;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.other-link-info h3 {
  margin: 0 0 4px;
  color: #eadfff;
  font-size: 16px;
}

.other-link-info span {
  display: block;
  overflow: hidden;
  color: #9f93ae;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.other-link-arrow {
  flex-shrink: 0;
  color: #bf90f3;
  transition: transform 0.2s ease;
}

.other-link-card > a:hover .other-link-arrow {
  transform: translate(2px, -2px);
}

/* CONTACT */

.contact-section {
  margin-top: 30px;
}

.contact-card {
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(
      135deg,
      rgba(82, 51, 125, 0.47),
      rgba(34, 27, 57, 0.8)
    );
  border: 1px solid rgba(205, 170, 255, 0.27);
  border-radius: 17px;
}

.contact-card h2 {
  margin: 4px 0 9px;
  color: #eadfff;
}

.contact-card p {
  max-width: 700px;
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-buttons {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-main-button,
.contact-secondary-button {
  min-width: 180px;
  padding: 11px 17px;
  text-align: center;
  font-weight: bold;
  border-radius: 10px;
  transition: 0.2s ease;
}

.contact-main-button {
  color: #f5ecff;
  background: rgba(132, 78, 200, 0.78);
  border: 1px solid rgba(216, 183, 255, 0.45);
}

.contact-secondary-button {
  color: #dfcff4;
  background: rgba(46, 36, 72, 0.75);
  border: 1px solid rgba(205, 170, 255, 0.22);
}

.contact-main-button:hover,
.contact-secondary-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

/* EMPTY */

.links-empty {
  grid-column: 1 / -1;
  min-height: 170px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #a99db9;
}

.links-empty span {
  color: #c697ff;
  font-size: 38px;
}

.links-empty p {
  margin: 8px 0 0;
}

/* TABLET */

@media (max-width: 1000px) {
  .other-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 800px) {
  .links-page {
    margin: 0 auto;
  }

  .links-content {
    padding: 16px;
  }

  .links-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .featured-links-grid {
    grid-template-columns: 1fr;
  }

  .featured-link-card > a {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 15px;
    padding: 18px;
  }

  .featured-link-icon img {
    width: 67px;
    height: 67px;
  }

  .featured-link-info h3 {
    font-size: 21px;
  }

  .contact-card {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-buttons {
    width: 100%;
  }

  .contact-main-button,
  .contact-secondary-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .other-links-grid {
    grid-template-columns: 1fr;
  }

  .featured-link-card > a {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 15px;
  }

  .featured-link-icon img {
    width: 55px;
    height: 55px;
  }

  .link-description {
    font-size: 13px;
  }
}