:root {
  --ink: #0b1320;
  --muted: #63748a;
  --paper: #eef6ff;
  --surface: #ffffff;
  --line: #c9d9ea;
  --charcoal: #07111f;
  --cyan: #38bdf8;
  --amber: #93c5fd;
  --green: #60a5fa;
  --red: #ef6a5b;
  --shadow: 0 18px 50px rgba(16, 60, 105, 0.18);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #eaf6ff 0%, #f7fbff 32%, #eef6ff 100%);
  font-family: Inter, Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 46px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: #eaf6ff;
  background: rgba(7, 17, 31, 0.92);
  box-shadow: 0 10px 34px rgba(3, 10, 20, 0.25);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #07111f;
  border: 1px solid rgba(147, 197, 253, 0.9);
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.28);
}

.brand-mark::before {
  position: absolute;
  inset: 7px 7px 7px 12px;
  border-left: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  content: "";
}

.brand-mark::after {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border: 1px solid #07111f;
  border-radius: 1px;
  content: "";
}

.brand-mark {
  text-indent: -999px;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  color: #ffffff;
  background: #07111f;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 15px;
  color: #07111f;
  background: #dff4ff;
  border-radius: 8px;
}

.site-header.is-scrolled .nav-cta,
.site-header.is-open .nav-cta {
  color: #07111f;
  background: #eaf6ff;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(0.82) hue-rotate(172deg) contrast(1.06) brightness(0.86);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 14, 28, 0.94), rgba(6, 24, 43, 0.7) 44%, rgba(8, 35, 58, 0.24)),
    linear-gradient(180deg, rgba(6, 23, 42, 0.2), rgba(3, 12, 24, 0.84));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.availability-band .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: #0b2b4a;
}

.hero .button.primary {
  color: #03101d;
  background: #dff4ff;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(191, 219, 254, 0.5);
  background: rgba(56, 189, 248, 0.12);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.stat {
  min-height: 132px;
  padding: 30px clamp(18px, 3vw, 34px);
  background: var(--surface);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 110px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.availability-band h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.work-grid {
  display: flex;
  margin-inline: calc((100vw - min(var(--max-width), calc(100vw - 36px))) / -2);
  padding: 4px calc((100vw - min(var(--max-width), calc(100vw - 36px))) / 2) 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: calc((100vw - min(var(--max-width), calc(100vw - 36px))) / 2);
  scroll-snap-type: x mandatory;
}

.work-grid::-webkit-scrollbar {
  height: 12px;
}

.work-grid::-webkit-scrollbar-track {
  background: #d7eaff;
  border-radius: 999px;
}

.work-grid::-webkit-scrollbar-thumb {
  background: #1d4ed8;
  border: 3px solid #d7eaff;
  border-radius: 999px;
}

.capability-card,
.work-card,
.price-card,
.contribution-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(16, 60, 105, 0.1);
}

.work-card {
  flex: 0 0 min(380px, 84vw);
  scroll-snap-align: start;
}

.work-card.featured-work {
  border-color: rgba(56, 189, 248, 0.72);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.16);
}

.priority-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  color: #eaf6ff;
  background: #0b2b4a;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.capability-card {
  padding: 24px;
}

.capability-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #082f49, #38bdf8);
  border-radius: 8px;
  font-weight: 900;
}

.capability-card h3,
.work-card h3,
.price-card h3,
.contribution-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.capability-card p,
.work-card p,
.price-card p,
.contribution-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(147, 197, 253, 0.16)),
    #111d2d;
  border-radius: var(--radius) var(--radius) 0 0;
}

.video-shell iframe,
.video-shell video {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-shell video {
  display: block;
  object-fit: cover;
  background: #0b1117;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #ffffff;
  text-align: center;
}

.play-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 12px;
  color: #081015;
  background: #ffffff;
  border-radius: 50%;
  font-weight: 900;
}

.work-body,
.price-card {
  padding: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 7px 9px;
  color: #082f49;
  background: #e0f2fe;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.contribution-list {
  display: grid;
}

.game-showcase-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.game-art {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(4, 14, 28, 0.1), rgba(56, 189, 248, 0.22)),
    radial-gradient(circle at 25% 25%, rgba(56, 189, 248, 0.55), transparent 30%),
    radial-gradient(circle at 78% 35%, rgba(147, 197, 253, 0.4), transparent 34%),
    linear-gradient(145deg, #07111f, #0b2b4a 58%, #0f172a);
}

.game-art::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(234, 246, 255, 0.16);
  border-radius: 8px;
  content: "";
}

.game-art:not(.has-thumbnail)::after {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 66px;
  height: 66px;
  background:
    linear-gradient(135deg, transparent 42%, rgba(255, 255, 255, 0.82) 43% 56%, transparent 57%),
    rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.game-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

.game-art.has-thumbnail::before {
  inset: 0;
  z-index: 1;
  border: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.1), rgba(7, 17, 31, 0.72)),
    linear-gradient(90deg, rgba(7, 17, 31, 0.58), transparent 62%);
}

.game-art.has-thumbnail .game-thumbnail {
  opacity: 1;
}

.game-art-glow {
  position: absolute;
  right: -44px;
  bottom: -52px;
  width: 210px;
  height: 210px;
  background: rgba(56, 189, 248, 0.28);
  border-radius: 50%;
  filter: blur(2px);
}

.game-art-title,
.game-art-meta {
  position: relative;
  z-index: 2;
}

.game-art-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.96;
}

.game-art-meta {
  margin-top: 12px;
  color: rgba(234, 246, 255, 0.74);
  font-weight: 800;
}

.game-showcase-body {
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 54px);
}

.game-showcase-body h3 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.game-showcase-body p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.price-card {
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: var(--shadow);
}

.price-card.featured::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #0f172a, #38bdf8, #1d4ed8);
}

.price {
  margin: 18px 0;
  font-size: 2.35rem;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: #344250;
  line-height: 1.5;
}

.feature-list li::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.availability-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 28px;
  align-items: center;
  padding: clamp(46px, 7vw, 76px) clamp(18px, 7vw, 92px);
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(4, 14, 28, 0.98), rgba(8, 47, 73, 0.9)),
    radial-gradient(circle at 75% 40%, rgba(56, 189, 248, 0.22), transparent 34%);
}

.availability-band p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.availability-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.availability-dot {
  width: 14px;
  height: 14px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(56, 189, 248, 0.18);
}

.availability-card span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 38px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-methods a {
  width: fit-content;
  color: #075985;
  font-weight: 800;
}

.discord-preview {
  display: flex;
  max-width: 330px;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 14px;
  color: #eaf6ff;
  background: linear-gradient(135deg, #07111f, #0c2d4b);
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(12, 45, 75, 0.18);
}

.discord-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center top;
  background: #dff4ff;
  border: 2px solid rgba(234, 246, 255, 0.88);
  border-radius: 8px;
}

.discord-preview strong,
.discord-preview span {
  display: block;
}

.discord-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.discord-preview span {
  color: rgba(234, 246, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}


.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #344250;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  color: var(--ink);
  background: #f9fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 46px);
  color: rgba(255, 255, 255, 0.68);
  background: #0b1117;
}

.site-footer a {
  color: #ffffff;
  font-weight: 800;
}

.thanks-page {
  min-height: 100svh;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(4, 14, 28, 0.92), rgba(8, 47, 73, 0.88)),
    url("assets/hero-roblox-dev.png") center / cover;
}

.thanks-screen {
  display: grid;
  min-height: 100svh;
  align-content: center;
  gap: 34px;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
}

.thanks-brand {
  width: fit-content;
}

.thanks-panel {
  display: grid;
  gap: 18px;
}

.thanks-panel h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
}

.thanks-panel p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(234, 246, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.7;
}

.thanks-panel .button {
  width: fit-content;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    color: #ffffff;
    background: var(--charcoal);
  }

  .hero {
    min-height: 88svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 13, 18, 0.9), rgba(9, 13, 18, 0.5)),
      linear-gradient(180deg, rgba(9, 13, 18, 0.15), rgba(9, 13, 18, 0.86));
  }

  .stats-band,
  .capability-grid,
  .work-grid,
  .pricing-grid,
  .availability-band,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .contribution-item {
    grid-template-columns: 1fr;
  }

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

  .game-art {
    min-height: 240px;
  }

  .contribution-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
    line-height: 0.98;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    min-height: 116px;
  }

  .availability-band {
    padding-inline: 18px;
  }

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