:root {
  --bg: #0d0d0e;
  --bg-soft: #111112;
  --surface: rgba(255,255,255,.035);
  --surface-hover: rgba(255,255,255,.055);

  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.14);

  --text: #f5f5f3;
  --muted: #a1a1a1;
  --dim: #666;

  --orange: #ff6b00;
  --gold: #ffb800;

  --gradient: linear-gradient(135deg, #ff6b00, #ffb800);

  --radius: 18px;
  --radius-sm: 11px;

  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 80% 0%, rgba(255,107,0,.08), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  border-bottom: 1px solid var(--border);
  background: rgba(13,13,14,.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--orange);
  font: 600 12px/1 monospace;
}

.brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: .08em;
}

.brand small {
  display: block;
  margin-top: -2px;
  color: var(--dim);
  font-size: 8px;
  letter-spacing: .28em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 12px;
  transition: color .2s ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.header-button {
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--gradient);
  color: #080808;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.header-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255,107,0,.18);
}


/* =========================
   HERO
========================= */

.hero {
  padding: 105px 0 95px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 75px;
  align-items: center;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 11px;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255,107,0,.55);
}

.intro-label {
  margin-bottom: 15px;
  color: var(--orange);
  font: 600 10px/1.4 monospace;
  letter-spacing: .13em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 650;
}

.hero h1 span {
  display: block;
  color: #777;
}

.hero-description {
  max-width: 610px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-description strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s ease;
}

.button-dark {
  background: var(--gradient);
  color: #090909;
}

.button-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,107,0,.16);
}

.text-link {
  color: var(--muted);
  font-size: 12px;
  transition: color .2s ease;
}

.text-link:hover {
  color: var(--orange);
}


/* =========================
   PROFILE CARD
========================= */

.profile-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 25px 70px rgba(0,0,0,.25);
}

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

.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient);
  color: #080808;
  font: 800 12px monospace;
}

.profile-top strong {
  display: block;
  font-size: 13px;
}

.profile-top span {
  display: block;
  color: var(--orange);
  font-size: 10px;
}

.profile-line {
  height: 1px;
  margin: 21px 0;
  background: var(--border);
}

.profile-info {
  display: grid;
  gap: 17px;
}

.profile-info span {
  display: block;
  margin-bottom: 2px;
  color: var(--dim);
  font-size: 10px;
}

.profile-info strong {
  display: block;
  color: #ddd;
  font-size: 12px;
  font-weight: 500;
}


/* =========================
   SECTIONS
========================= */

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 45px;
}

.section-heading span {
  color: var(--orange);
  font: 600 10px monospace;
}

.section-heading h2 {
  font-size: 30px;
  letter-spacing: -.04em;
  font-weight: 550;
}

.section-description {
  max-width: 590px;
  margin: -25px 0 40px;
  color: var(--muted);
  font-size: 14px;
}


/* =========================
   ABOUT
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 85px;
}

.about-lead {
  max-width: 270px;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -.04em;
}

.about-text {
  max-width: 650px;
}

.about-text p {
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}


/* =========================
   SKILLS
========================= */

.skills-section {
  border-bottom: 1px solid var(--border);
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.skill-item {
  min-height: 165px;
  padding: 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}

.skill-item:nth-child(3n + 1) {
  border-left: 1px solid var(--border);
}

.skill-item:hover {
  background: var(--surface);
}

.skill-item > span {
  color: var(--orange);
  font: 600 10px monospace;
}

.skill-item strong {
  display: block;
  margin: 17px 0 7px;
  font-size: 15px;
  font-weight: 600;
}

.skill-item p {
  max-width: 230px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.7;
}


/* =========================
   PROJECT CARDS
========================= */

.project-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}

.project-card + .project-card {
  margin-top: 24px;
}

.project-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.project-image {
  min-height: 315px;
  padding: 16px;
  border-right: 1px solid var(--border);
  background: #0a0a0b;
}

.project-preview {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 283px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #111112;
}

.project-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform .4s ease;
}

.project-card:hover .project-thumb {
  transform: scale(1.025);
}

.preview-header,
.preview-content,
.bot-window,
.market-grid {
  position: relative;
  z-index: 1;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  color: #aaa;
  font: 600 9px monospace;
  letter-spacing: .08em;
}

.preview-content {
  padding: 18px;
}

.preview-search {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  background: rgba(0,0,0,.45);
  color: #777;
  font-size: 10px;
}

.preview-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px;
  background: rgba(0,0,0,.35);
  color: #aaa;
  font-size: 10px;
}

.preview-row span:last-child {
  color: var(--orange);
  font-family: monospace;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 24px;
}

.market-grid div {
  height: 75px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(10,10,10,.7);
}

.bot-window {
  width: min(85%, 330px);
  margin: 45px auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15,15,16,.9);
}

.project-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--dim);
  font: 600 9px monospace;
  letter-spacing: .08em;
}

.project-meta span:last-child {
  color: var(--orange);
}

.project-details h3 {
  margin-bottom: 13px;
  font-size: 23px;
  letter-spacing: -.035em;
}

.project-details p {
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.project-tags span {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #999;
  font-size: 9px;
}

.project-button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 25px;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--gradient);
  color: #090909;
  font-size: 11px;
  font-weight: 700;
}

.project-button.maintenance {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  cursor: default;
}


/* =========================
   PAGE HERO
========================= */

.page-hero {
  padding: 100px 0 75px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 800px;
  margin-top: 12px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.06em;
}

.page-hero h1 span {
  display: block;
  color: #777;
}

.page-hero p {
  max-width: 590px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}


/* =========================
   CONTACT
========================= */

.contact-page {
  padding: 105px 0;
  min-height: calc(100vh - 74px);
}

.contact-page h1 {
  max-width: 800px;
  margin-top: 12px;
  font-size: clamp(45px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.06em;
}

.contact-page h1 span {
  display: block;
  color: #777;
}

.contact-intro {
  max-width: 570px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 850px;
  margin-top: 48px;
}

.contact-option {
  display: block;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: .2s ease;
}

.contact-option:hover {
  border-color: rgba(255,107,0,.35);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.contact-option > span {
  display: block;
  margin-bottom: 11px;
  color: var(--orange);
  font: 600 10px monospace;
  text-transform: uppercase;
}

.contact-option strong {
  display: block;
  font-size: 15px;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.contact-option small {
  display: block;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
}

.project-cta {
  max-width: 850px;
  margin-top: 25px;
  padding: 38px;
  border: 1px solid rgba(255,107,0,.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(255,107,0,.12), transparent 40%),
    var(--surface);
}

.project-cta > span {
  color: var(--orange);
  font: 600 10px monospace;
}

.project-cta h2 {
  max-width: 600px;
  margin-top: 10px;
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.project-cta p {
  max-width: 580px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
}


/* =========================
   STATEMENT
========================= */

.statement-section {
  padding: 85px 0;
  border-bottom: 1px solid var(--border);
}

.statement-section p {
  max-width: 800px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.045em;
  color: #777;
}

.statement-section strong {
  color: var(--text);
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  display: block;
  font-size: 12px;
  letter-spacing: .07em;
}

.footer-inner span {
  color: var(--dim);
  font-size: 10px;
}

.footer-inner div span {
  display: block;
  margin-top: 2px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

  .desktop-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .profile-card {
    max-width: 430px;
  }

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

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

  .skill-item:nth-child(3n + 1) {
    border-left: 0;
  }

  .skill-item:nth-child(2n + 1) {
    border-left: 1px solid var(--border);
  }

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

  .project-image {
    min-height: 270px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .project-preview {
    min-height: 235px;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 560px) {

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    height: 66px;
  }

  .header-inner {
    gap: 10px;
  }

  .header-button {
    padding: 9px 12px;
    font-size: 10px;
  }

  .hero {
    padding: 70px 0 65px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 55px);
  }

  .hero-description {
    font-size: 14px;
  }

  .profile-card {
    padding: 18px;
  }

  .section {
    padding: 65px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .skills-list {
    grid-template-columns: 1fr;
  }

  .skill-item,
  .skill-item:nth-child(2n + 1) {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .skill-item {
    min-height: auto;
    padding: 25px 22px;
  }

  .project-image {
    min-height: 220px;
    padding: 12px;
  }

  .project-preview {
    min-height: 195px;
  }

  .project-details {
    padding: 25px 21px;
  }

  .project-details h3 {
    font-size: 20px;
  }

  .page-hero,
  .contact-page {
    padding: 70px 0 60px;
  }

  .page-hero h1,
  .contact-page h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .project-cta {
    padding: 27px 22px;
  }

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

  .statement-section {
    padding: 65px 0;
  }

  .statement-section p {
    font-size: 31px;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

/* WORK MORE */

.work-more {
  margin-top: 22px;
}


/* STATEMENT CTA */

.statement-section {
  padding: 110px 0;
  border-bottom: 1px solid var(--border);
}

.statement-section p {
  max-width: 780px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #888;
}

.statement-section p strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-weight: 500;
}

.statement-action {
  margin-top: 32px;
}

.statement-action .button {
  display: inline-flex;
  align-items: center;
  padding: 13px 19px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}

.statement-action .button:hover {
  transform: translateY(-2px);
}


/* =========================================================
   CU_RIOUS TECH — PREMIUM HERO UPGRADE
========================================================= */

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 110px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 35%,
      rgba(255,107,0,.10),
      transparent 28%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(255,184,0,.045),
      transparent 30%
    ),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 90px;
}

.availability {
  padding: 7px 11px;
  border: 1px solid rgba(255,107,0,.22);
  border-radius: 999px;
  background: rgba(255,107,0,.045);
  color: #c8c8c8;
  font-size: 10px;
  letter-spacing: .04em;
}

.availability span {
  width: 6px;
  height: 6px;
  background: #ff8a2a;
  box-shadow: 0 0 12px rgba(255,107,0,.8);
}

.intro-label {
  color: #888;
  margin-bottom: 20px;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 650;
}

.hero h1 span {
  background: linear-gradient(
    90deg,
    #777 0%,
    #aaa 45%,
    #ff9b32 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 620px;
  margin-top: 30px;
  color: #9d9d9d;
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  gap: 12px;
  margin-top: 34px;
}

.button-dark {
  position: relative;
  overflow: hidden;
  padding: 13px 20px;
  border: 1px solid rgba(255,184,0,.35);
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    #ff6b00,
    #ff9f00
  );
  color: #090909;
  box-shadow:
    0 10px 30px rgba(255,107,0,.14),
    inset 0 1px rgba(255,255,255,.3);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.button-dark:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(255,107,0,.24),
    inset 0 1px rgba(255,255,255,.35);
}

.text-link {
  padding: 12px 15px;
  color: #aaa;
  transition: color .2s ease;
}

.text-link:hover {
  color: #ff9a32;
}

/* PREMIUM PROFILE CARD */

.profile-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.015)
    );
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}

.profile-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255,107,0,.13);
  filter: blur(35px);
}

.avatar {
  border-color: rgba(255,107,0,.25);
  background: linear-gradient(
    135deg,
    rgba(255,107,0,.16),
    rgba(255,184,0,.04)
  );
}

.profile-top strong {
  font-size: 14px;
}

.profile-top span {
  color: #ff9630;
}

.profile-info strong {
  color: #ddd;
}

@media (max-width: 850px) {
  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .profile-card {
    max-width: 430px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 65px 0 75px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button-dark,
  .text-link {
    text-align: center;
  }
}


/* =========================================================
   CU_RIOUS TECH — ABOUT + SKILLS UPGRADE
========================================================= */

.about-grid {
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  gap: 100px;
  align-items: start;
}

.about-lead {
  position: sticky;
  top: 120px;
  max-width: 330px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 500;
}

.about-lead::after {
  content: "";
  display: block;
  width: 55px;
  height: 2px;
  margin-top: 28px;
  background: linear-gradient(90deg, #ff6b00, #ffb800);
  border-radius: 99px;
}

.about-text {
  max-width: 680px;
}

.about-text p {
  color: #a3a3a3;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 24px;
}

.about-text strong {
  color: #f1f1f1;
  font-weight: 500;
}

/* SKILLS */

.skills-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 50%,
      rgba(255,107,0,.055),
      transparent 30%
    ),
    #080808;
}

.skills-section .container {
  padding-bottom: 78px;
}

.skills-section .section-heading {
  padding-top: 0 !important;
  margin-bottom: 42px;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.018);
}

.skill-item {
  position: relative;
  min-height: 180px;
  padding: 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.012);
  transition:
    background .25s ease,
    transform .25s ease;
}

.skill-item:nth-child(3n) {
  border-right: 0;
}

.skill-item:nth-last-child(-n+3) {
  border-bottom: 0;
}

.skill-item:hover {
  background:
    linear-gradient(
      145deg,
      rgba(255,107,0,.075),
      rgba(255,255,255,.015)
    );
}

.skill-item > span {
  color: #ff8b2b;
  font-family: monospace;
  font-size: 10px;
  opacity: .8;
}

.skill-item strong {
  margin: 25px 0 10px;
  color: #eee;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.skill-item p {
  max-width: 250px;
  color: #777;
  font-size: 12px;
  line-height: 1.75;
}

/* SECTION HEADINGS */

.section-heading {
  position: relative;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -.045em;
}

.section-heading h2::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-left: 14px;
  margin-bottom: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff6b00, #ffb800);
}

@media (max-width: 850px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-lead {
    position: static;
  }

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

  .skill-item:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .skill-item:nth-child(2n) {
    border-right: 0;
  }

  .skill-item:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--border);
  }

  .skill-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .skills-list {
    grid-template-columns: 1fr;
  }

  .skill-item,
  .skill-item:nth-child(2n),
  .skill-item:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .skill-item:last-child {
    border-bottom: 0;
  }
}


/* =========================================================
   CU_RIOUS TECH — WORK / PROJECTS UPGRADE
========================================================= */

.work-section {
  background: #080808;
}

.project-card {
  position: relative;
  grid-template-columns: 48% 1fr;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.012)
    );
  box-shadow:
    0 25px 70px rgba(0,0,0,.22),
    inset 0 1px rgba(255,255,255,.035);
  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,107,0,.28);
  box-shadow:
    0 35px 90px rgba(0,0,0,.35),
    0 0 50px rgba(255,107,0,.045);
}

.project-image {
  min-height: 370px;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(255,107,0,.08),
      transparent 45%
    ),
    #0b0b0b;
}

.project-preview {
  min-height: 328px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: #070707;
  box-shadow:
    inset 0 1px rgba(255,255,255,.035),
    0 20px 50px rgba(0,0,0,.3);
}

.project-thumb {
  opacity: .14;
  filter: saturate(.65);
  transition:
    opacity .35s ease,
    transform .5s ease;
}

.project-card:hover .project-thumb {
  opacity: .22;
  transform: scale(1.035);
}

.preview-header {
  padding: 18px 19px;
  color: #aaa;
  font-size: 9px;
}

.preview-header span:last-child {
  color: #ff9630;
}

.preview-content {
  padding: 22px;
}

.preview-search {
  padding: 13px 14px;
  border-color: rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  color: #666;
}

.preview-row {
  margin-top: 10px;
  padding: 14px;
  border-color: rgba(255,255,255,.065);
  background: rgba(255,255,255,.018);
  transition:
    border-color .2s ease,
    background .2s ease;
}

.project-card:hover .preview-row {
  border-color: rgba(255,107,0,.10);
}

.preview-row span:last-child {
  color: #ff9630;
}

/* PROJECT DETAILS */

.project-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.project-meta {
  margin-bottom: 20px;
}

.project-meta span {
  color: #ff8d29;
  font-size: 9px;
  font-family: monospace;
  letter-spacing: .14em;
}

.project-details h3 {
  max-width: 480px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 500;
}

.project-details p {
  max-width: 520px;
  margin-top: 20px;
  color: #929292;
  font-size: 14px;
  line-height: 1.9;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.project-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #999;
  font-size: 10px;
}

.project-button {
  align-self: flex-start;
  margin-top: 30px;
  padding: 12px 16px;
  border: 1px solid rgba(255,107,0,.28);
  border-radius: 8px;
  background: rgba(255,107,0,.07);
  color: #ff9a35;
  font-size: 11px;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.project-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255,107,0,.55);
  background: linear-gradient(
    135deg,
    #ff6b00,
    #ff9f00
  );
  color: #080808;
}

.work-more {
  margin-top: 25px;
}

.work-more .text-link {
  color: #aaa;
}

.work-more .text-link:hover {
  color: #ff9630;
}

/* OTHER PROJECT PREVIEWS */

.market-grid div {
  border-color: rgba(255,255,255,.07);
  background:
    linear-gradient(
      145deg,
      rgba(255,107,0,.035),
      rgba(255,255,255,.015)
    );
}

.bot-window {
  border-color: rgba(255,255,255,.08);
  background: rgba(12,12,12,.92);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.bot-title {
  color: #ff9630;
}

@media (max-width: 850px) {
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 320px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .project-preview {
    min-height: 280px;
  }

  .project-details {
    padding: 35px;
  }
}

@media (max-width: 520px) {
  .project-image {
    min-height: 250px;
    padding: 13px;
  }

  .project-preview {
    min-height: 220px;
  }

  .preview-content {
    padding: 14px;
  }

  .project-details {
    padding: 27px 22px;
  }

  .project-details h3 {
    font-size: 28px;
  }
}


/* =========================================================
   CU_RIOUS TECH — CONTACT PAGE UPGRADE
========================================================= */

.contact-page {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 110px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(255,107,0,.10),
      transparent 30%
    ),
    radial-gradient(
      circle at 15% 80%,
      rgba(255,184,0,.045),
      transparent 28%
    ),
    var(--bg);
}

.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.contact-page .container {
  position: relative;
  z-index: 1;
}

.contact-page > .container > .intro-label {
  display: inline-block;
  margin-bottom: 24px;
}

.contact-page h1 {
  max-width: 800px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 600;
}

.contact-page h1 span {
  display: block;
  background: linear-gradient(
    90deg,
    #777,
    #aaa 45%,
    #ff9b32
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-intro {
  max-width: 620px;
  margin-top: 28px;
  color: #999;
  font-size: 15px;
  line-height: 1.9;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin-top: 55px;
}

.contact-option {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.012)
    );
  box-shadow:
    0 25px 70px rgba(0,0,0,.2),
    inset 0 1px rgba(255,255,255,.04);
  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease;
}

.contact-option::after {
  content: "→";
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: #ff9630;
  font-size: 20px;
  transition: transform .25s ease;
}

.contact-option:hover {
  transform: translateY(-5px);
  border-color: rgba(255,107,0,.30);
  background:
    linear-gradient(
      145deg,
      rgba(255,107,0,.08),
      rgba(255,255,255,.018)
    );
}

.contact-option:hover::after {
  transform: translateX(5px);
}

.contact-option > span {
  color: #ff9630;
  font: 600 10px monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-option strong {
  margin-top: 20px;
  color: #eee;
  font-size: 18px;
  font-weight: 500;
  word-break: break-word;
}

.contact-option small {
  margin-top: 8px;
  color: #777;
  font-size: 11px;
}

.project-cta {
  position: relative;
  max-width: 820px;
  margin-top: 80px;
  padding: 38px;
  border: 1px solid rgba(255,107,0,.18);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(255,107,0,.10),
      transparent 35%
    ),
    rgba(255,255,255,.018);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.project-cta > span {
  color: #ff9630;
  font: 600 10px monospace;
  letter-spacing: .15em;
}

.project-cta h2 {
  max-width: 600px;
  margin-top: 15px;
  font-size: clamp(28px, 4vw, 45px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 500;
}

.project-cta p {
  max-width: 580px;
  margin-top: 15px;
  color: #888;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 650px) {
  .contact-page {
    padding: 75px 0 90px;
  }

  .contact-options {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .contact-option {
    min-height: 165px;
  }

  .project-cta {
    margin-top: 55px;
    padding: 27px;
  }
}


/* =========================================================
   CU_RIOUS TECH — GLOBAL POLISH
========================================================= */

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* HEADER */

.site-header {
  height: 76px;
  background: rgba(5,5,5,.78);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
}

.header-inner {
  gap: 20px;
}

.brand {
  transition: opacity .2s ease;
}

.brand:hover {
  opacity: .8;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,107,0,.22);
  background: linear-gradient(
    145deg,
    rgba(255,107,0,.08),
    rgba(255,255,255,.02)
  );
  transition: border-color .2s ease;
}

.brand:hover .brand-mark {
  border-color: rgba(255,107,0,.5);
}

.brand strong {
  letter-spacing: .11em;
}

.desktop-nav {
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: #888;
  transition: color .2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: #ff8f2b;
  transition: right .25s ease;
}

.desktop-nav a:hover {
  color: #eee;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-button {
  border-color: rgba(255,107,0,.28);
  background: rgba(255,107,0,.045);
  color: #ff9a35;
  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.header-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,107,0,.55);
  background: linear-gradient(135deg,#ff6b00,#ff9f00);
  color: #080808;
}

/* PAGE HERO */

.page-hero {
  position: relative;
  padding: 105px 0 85px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(255,107,0,.075),
      transparent 30%
    ),
    var(--bg);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: rgba(255,107,0,.06);
  filter: blur(70px);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  margin-top: 15px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 600;
}

.page-hero h1 span {
  display: block;
  color: #777;
}

.page-hero p {
  max-width: 600px;
  margin-top: 25px;
  color: #999;
  font-size: 14px;
  line-height: 1.9;
}

/* STATEMENT / CTA */

.statement-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(255,107,0,.065),
      transparent 42%
    ),
    #080808;
}

.statement-section p {
  max-width: 850px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.05em;
  color: #aaa;
}

.statement-section strong {
  color: #f2f2f2;
  font-weight: 500;
}

.statement-action {
  margin-top: 30px;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(255,255,255,.07);
  background: #050505;
}

.footer-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  display: block;
  color: #ddd;
  font-size: 12px;
  letter-spacing: .1em;
}

.footer-inner span {
  color: #666;
  font-size: 10px;
}

.footer-inner > span {
  font-family: monospace;
}

/* GLOBAL FOCUS */

a:focus-visible,
button:focus-visible {
  outline: 2px solid #ff8f2b;
  outline-offset: 4px;
}

/* REDUCE MOTION */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .site-header {
    height: 68px;
  }

  .header-inner {
    gap: 10px;
  }

  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .header-button {
    padding: 8px 11px;
    font-size: 10px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand strong {
    font-size: 12px;
  }

  .brand small {
    font-size: 8px;
  }

  .footer-inner {
    min-height: 90px;
  }
}

@media (max-width: 520px) {
  .desktop-nav {
    display: none;
  }

  .header-button {
    margin-left: auto;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .statement-section {
    padding: 80px 0;
  }
}


.pteronest-preview {
  padding: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,107,0,.12), transparent 35%),
    #090909;
}

.dashboard-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
}

.dashboard-label {
  display:block;
  color:#ff8a24;
  font:600 8px monospace;
  letter-spacing:.15em;
  margin-bottom:5px;
}

.dashboard-top strong {
  display:block;
  font-size:15px;
  font-weight:500;
}

.server-status {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border:1px solid rgba(74,222,128,.2);
  border-radius:6px;
  color:#72df91;
  font:600 8px monospace;
}

.server-status i {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#4ade80;
}

.server-info {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:20px;
}

.server-info div,
.resource-card,
.console-panel {
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.025);
  border-radius:8px;
}

.server-info div {
  padding:11px;
}

.server-info span,
.resource-card span {
  display:block;
  color:#555;
  font:600 8px monospace;
}

.server-info strong {
  display:block;
  margin-top:4px;
  color:#bbb;
  font-size:10px;
}

.resource-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  margin-top:10px;
}

.resource-card {
  padding:12px;
}

.resource-card strong {
  display:block;
  margin:6px 0 9px;
  font-size:13px;
}

.resource-bar {
  height:3px;
  overflow:hidden;
  border-radius:10px;
  background:#1c1c1c;
}

.resource-bar i {
  display:block;
  height:100%;
  background:linear-gradient(90deg,#ff6b00,#ffb800);
}

.console-panel {
  margin-top:10px;
  overflow:hidden;
}

.console-header {
  display:flex;
  justify-content:space-between;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  color:#777;
  font:600 8px monospace;
}

.console-header span:last-child {
  color:#4ade80;
}

.console-lines {
  display:grid;
  gap:5px;
  padding:13px;
  min-height:82px;
  background:#050505;
  color:#777;
  font:8px/1.5 monospace;
}

.console-lines span:nth-child(3) {
  color:#78d98d;
}

.server-actions {
  display:flex;
  gap:7px;
  margin-top:10px;
}

.server-actions button {
  flex:1;
  padding:8px 4px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:6px;
  background:#101010;
  color:#999;
  font:600 8px monospace;
}

.server-actions button:first-child {
  color:#72df91;
}


/* =========================================================
   CU_RIOUS TECH API DASHBOARD MOCKUP
========================================================= */

.api-dashboard-preview {
  padding: 18px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,107,0,.10), transparent 30%),
    #080808;
}

.api-topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

.api-brand {
  display:flex;
  align-items:center;
  gap:9px;
}

.api-logo {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid #292929;
  border-radius:7px;
  background:#111;
  color:#ff9a38;
  font:600 10px monospace;
}

.api-brand strong {
  display:block;
  color:#ddd;
  font-size:10px;
  letter-spacing:.06em;
}

.api-brand small {
  display:block;
  margin-top:2px;
  color:#555;
  font:7px monospace;
  letter-spacing:.12em;
}

.api-live {
  display:flex;
  align-items:center;
  gap:5px;
  color:#72df91;
  font:600 8px monospace;
}

.api-live i {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#4ade80;
}

.api-search {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:7px;
  background:#0d0d0d;
  color:#555;
  font-size:8px;
}

.api-layout {
  display:grid;
  grid-template-columns:105px 1fr;
  gap:12px;
  margin-top:12px;
}

.api-sidebar {
  padding:10px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:8px;
  background:#0c0c0c;
}

.api-sidebar-title {
  display:block;
  margin-bottom:8px;
  color:#444;
  font:600 7px monospace;
}

.api-category {
  display:flex;
  align-items:center;
  gap:5px;
  margin:3px 0;
  padding:7px 5px;
  border-radius:5px;
  color:#666;
  font:7px monospace;
}

.api-category span {
  color:#888;
}

.api-category b {
  margin-left:auto;
  color:#444;
  font-weight:400;
}

.api-category.active {
  background:rgba(255,107,0,.09);
  color:#ff9a38;
}

.api-category.active span,
.api-category.active b {
  color:#ff9a38;
}

.api-main {
  min-width:0;
}

.api-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
}

.api-heading span {
  display:block;
  color:#444;
  font:7px monospace;
}

.api-heading strong {
  display:block;
  margin-top:2px;
  color:#ddd;
  font-size:11px;
  font-weight:500;
}

.api-heading button {
  padding:5px 7px;
  border:1px solid #222;
  border-radius:5px;
  background:#101010;
  color:#777;
  font:7px monospace;
}

.api-endpoints {
  display:grid;
  gap:5px;
}

.api-endpoint {
  padding:8px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:6px;
  background:#0d0d0d;
}

.api-endpoint > div {
  display:flex;
  align-items:center;
  gap:6px;
}

.api-endpoint strong {
  color:#bbb;
  font-size:8px;
  font-weight:500;
}

.api-endpoint small {
  display:block;
  margin-top:4px;
  color:#555;
  font:7px monospace;
}

.method-get,
.method-post {
  padding:2px 4px;
  border-radius:3px;
  font:600 6px monospace;
}

.method-get {
  background:rgba(74,222,128,.08);
  color:#72df91;
}

.method-post {
  background:rgba(255,107,0,.1);
  color:#ff9a38;
}

.api-response {
  margin-top:7px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  border-radius:6px;
  background:#050505;
}

.response-top {
  display:flex;
  justify-content:space-between;
  padding:6px 8px;
  border-bottom:1px solid #171717;
  color:#555;
  font:6px monospace;
}

.response-top span:last-child {
  color:#72df91;
}

.api-response pre {
  margin:0;
  padding:8px;
  color:#777;
  font:6px/1.5 monospace;
}

@media (max-width:600px) {
  .api-layout {
    grid-template-columns:90px 1fr;
  }
}


/* =========================================================
   CU_RIOUS MARKETPLACE MOCKUP
========================================================= */

.marketplace-dashboard-preview {
  padding:18px;
  background:
    radial-gradient(circle at 85% 0%, rgba(255,184,0,.10), transparent 32%),
    #080808;
}

.market-topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.market-brand {
  display:block;
  color:#ff9a38;
  font:600 7px monospace;
  letter-spacing:.12em;
}

.market-topbar strong {
  display:block;
  margin-top:3px;
  color:#ddd;
  font-size:13px;
  font-weight:500;
}

.market-user {
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border:1px solid #292929;
  border-radius:7px;
  background:#111;
  color:#aaa;
  font:9px monospace;
}

.market-search {
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:14px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:7px;
  background:#0d0d0d;
  color:#555;
  font-size:8px;
}

.market-categories {
  display:flex;
  gap:6px;
  margin-top:11px;
  overflow:hidden;
}

.market-categories span {
  padding:5px 8px;
  border:1px solid #1d1d1d;
  border-radius:5px;
  color:#666;
  white-space:nowrap;
  font:7px monospace;
}

.market-categories .selected {
  border-color:rgba(255,107,0,.3);
  background:rgba(255,107,0,.09);
  color:#ff9a38;
}

.market-products {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-top:12px;
}

.market-product {
  position:relative;
  min-width:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:7px;
  background:#0d0d0d;
}

.product-icon {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  margin-bottom:8px;
  border-radius:7px;
  background:linear-gradient(135deg,#ff6b00,#ffb800);
  color:#080808;
  font:700 12px sans-serif;
}

.product-info strong {
  display:block;
  overflow:hidden;
  color:#bbb;
  font-size:8px;
  font-weight:500;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.product-info small {
  display:block;
  margin-top:3px;
  color:#555;
  font-size:6px;
}

.market-product > b {
  display:block;
  margin-top:8px;
  color:#ff9a38;
  font:600 8px monospace;
}

.market-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:10px;
  padding:9px 10px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:6px;
  background:#0b0b0b;
}

.market-footer span {
  color:#555;
  font-size:7px;
}

.market-footer strong {
  color:#ff9a38;
  font:600 7px monospace;
}

@media (max-width:600px) {
  .market-products {
    grid-template-columns:1fr 1fr;
  }
}

