@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #211944;
  --muted: #6e6688;
  --purple: #7650cf;
  --purple-dark: #5933b3;
  --purple-soft: #eee6ff;
  --line: #e7dcff;
  --surface: rgba(255,255,255,.68);
  --shadow: 0 12px 30px rgba(91, 61, 155, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0; color: var(--ink); background: #faf8ff;
  font-family: 'DM Sans', sans-serif; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.page-glow { position: fixed; pointer-events: none; z-index: -1; border-radius: 50%; filter: blur(2px); }
.page-glow-one { width: 520px; height: 520px; right: -220px; top: 80px; background: radial-gradient(circle, rgba(206,184,255,.30), transparent 68%); }
.page-glow-two { width: 420px; height: 420px; left: -240px; top: 620px; background: radial-gradient(circle, rgba(224,211,255,.42), transparent 70%); }
.site-header {
  width: min(1320px, calc(100% - 56px)); height: 78px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  border-bottom: 1px solid rgba(221,209,247,.56);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 25px 'Space Grotesk', sans-serif; letter-spacing: -.8px; white-space: nowrap; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; background: #e9ddff; color: #6842c3; font-size: 23px; box-shadow: inset 0 0 0 1px #d8c5ff; }
.brand-mark span, .brand-underscore, .footer-brand span { color: #916be7; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #40375d; transition: .2s ease; }
.nav-link:hover, .nav-link.active { background: #eee5ff; color: #5e3ab6; }
.header-discord { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 13px; color: white; background: linear-gradient(135deg,#8559db,#6337b8); box-shadow: 0 8px 18px rgba(105,66,190,.19); font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.header-discord:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(105,66,190,.22); }
.header-discord svg, .button-outline svg { width: 18px; height: 18px; fill: currentColor; }
.external { font-size: 16px; opacity: .8; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px; border-radius: 4px; background: var(--ink); }
.section-wrap { width: min(1240px, calc(100% - 56px)); margin-left: auto; margin-right: auto; }
.hero { min-height: 390px; padding: 38px 0 24px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 42px; }
.hero-copy { padding: 10px 0 18px 24px; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; color: #8861d8; font-size: 12px; font-weight: 800; letter-spacing: 4px; }
.eyebrow span { width: 38px; height: 2px; background: #c7adff; }
.hero h1 { margin: 0; font: 700 clamp(54px, 6vw, 76px)/.98 'Space Grotesk', sans-serif; letter-spacing: -4px; }
.hero h1 span { color: #8b65df; }
.hero h2 { max-width: 560px; margin: 16px 0 14px; font: 700 clamp(19px, 2.1vw, 24px)/1.3 'Space Grotesk', sans-serif; letter-spacing: -.5px; }
.hero-copy > p { max-width: 500px; margin: 0; color: #5f5875; font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 25px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 14px; font-size: 14px; font-weight: 700; transition: .2s ease; cursor: pointer; }
.button-primary { color: #fff; background: linear-gradient(135deg,#865bdc,#6038b7); box-shadow: 0 8px 17px rgba(106,67,190,.18); }
.button-outline { color: #3b315b; background: rgba(255,255,255,.55); border-color: #b99cff; }
.button-outline:hover { background: white; }
.button-icon { font-size: 17px; }
.arrow { font-size: 18px; margin-left: 3px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 21px; color: #817997; font-size: 12px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #79c89a; box-shadow: 0 0 0 4px rgba(121,200,154,.13); }
.hero-art { position: relative; min-height: 330px; overflow: hidden; display: flex; justify-content: center; align-items: center; border-radius: 42px; background: linear-gradient(135deg,#e6d9ff 0%,#cbb4fa 55%,#bca0f0 100%); isolation: isolate; }
.hero-art::before, .hero-art::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; z-index: -1; }
.hero-art::before { width: 330px; height: 330px; right: 15px; top: -180px; }
.hero-art::after { width: 240px; height: 240px; left: -120px; bottom: -140px; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: normal; filter: none; }
.art-orbit, .art-label, .art-spark { display: none; }
.art-orbit { position: absolute; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; }
.orbit-two { width: 300px; height: 300px; }
.art-label { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.65); border-radius: 12px; color: #55418b; background: rgba(255,255,255,.62); backdrop-filter: blur(8px); font-size: 12px; font-weight: 800; box-shadow: 0 7px 18px rgba(83,55,143,.1); }
.label-minecraft { left: 7%; top: 28%; }
.label-code { right: 7%; bottom: 21%; }
.pixel-cube { font-size: 18px; color: #7651c7; }
.art-spark { position: absolute; z-index: 2; color: rgba(255,255,255,.9); text-shadow: 0 0 16px rgba(255,255,255,.8); }
.spark-one { top: 14%; right: 18%; font-size: 25px; }
.spark-two { bottom: 15%; left: 22%; font-size: 22px; }
.services-section { padding-top: 14px; }
.section-heading { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 20px; }
.section-heading span { height: 1px; flex: 1; max-width: 400px; background: linear-gradient(90deg,transparent,#d4c0ff); }
.section-heading span:last-child { background: linear-gradient(90deg,#d4c0ff,transparent); }
.section-heading h2 { margin: 0; font: 700 27px 'Space Grotesk', sans-serif; letter-spacing: -.8px; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }
.service-card { min-height: 184px; padding: 23px 15px 20px; text-align: center; border: 1px solid #e9defb; border-radius: 22px; background: rgba(255,255,255,.57); box-shadow: 0 8px 20px rgba(99,67,161,.07); transition: transform .22s, box-shadow .22s, border-color .22s; }
.service-card:hover { transform: translateY(-5px); border-color: #cbb6fa; box-shadow: 0 15px 27px rgba(99,67,161,.12); }
.service-icon { width: 48px; height: 48px; margin: 0 auto 12px; display: grid; place-items: center; color: #7951d1; }
.code-icon { font: 700 30px 'Space Grotesk',sans-serif; letter-spacing: -3px; }
.discord-icon svg { width: 43px; height: 43px; fill: #7853d0; }
.video-icon svg, .layers-icon svg { width: 42px; height: 42px; fill: none; stroke: #7853d0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.minecraft-icon { position: relative; width: 39px; height: 39px; margin-top: 5px; margin-bottom: 16px; transform: rotate(-30deg) skew(0deg,0deg); }
.minecraft-icon span { position: absolute; width: 25px; height: 25px; border: 2px solid #fff; }
.cube-top { top: -5px; left: 7px; transform: rotate(45deg) scaleY(.55); background: #9fd17a; }
.cube-front { top: 9px; left: 0; transform: skewY(30deg); background: #75ad58; }
.cube-side { top: 9px; right: 0; transform: skewY(-30deg); background: #568b45; }
.service-card h3 { margin: 0 0 8px; font: 700 15px 'Space Grotesk',sans-serif; letter-spacing: -.3px; }
.service-card p { max-width: 220px; margin: 0 auto; color: #6d6582; font-size: 12.5px; line-height: 1.55; }
.projects-section { padding-top: 37px; }
.projects-section .section-heading { margin-bottom: 9px; }
.section-intro { margin: 0 0 17px; text-align: center; color: #817994; font-size: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.project-card { overflow: hidden; border: 1px solid #e7dcf9; border-radius: 20px; background: rgba(255,255,255,.66); box-shadow: 0 8px 18px rgba(99,67,161,.06); transition: transform .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 14px 25px rgba(99,67,161,.12); }
.project-image { height: 155px; position: relative; overflow: hidden; background: #d8c9f7; }
.project-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(34,20,67,.04),rgba(34,20,67,.2)); pointer-events: none; }
.project-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.project-card:hover .project-image img { transform: scale(1.04); }
.project-tag { position: absolute; z-index: 1; left: 13px; top: 13px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: rgba(248,243,255,.92); color: #4d397c; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: #8d64df; }
.project-info { padding: 13px 16px 15px; }
.project-info h3 { margin: 0 0 4px; font: 700 14px 'Space Grotesk',sans-serif; }
.project-info span { color: #817994; font-size: 11px; }
.contact-section { padding-top: 25px; }
.contact-card { display: flex; align-items: center; gap: 17px; padding: 20px 27px; border: 1px solid #e1d3fb; border-radius: 24px; background: linear-gradient(100deg,rgba(235,224,255,.94),rgba(246,240,255,.95)); box-shadow: 0 9px 24px rgba(99,67,161,.07); }
.contact-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 17px; color: white; background: linear-gradient(135deg,#8861d9,#6740bd); }
.contact-icon svg { width: 30px; height: 30px; fill: currentColor; }
.contact-copy { flex: 1; }
.contact-copy h2 { margin: 0 0 3px; font: 700 22px 'Space Grotesk',sans-serif; }
.contact-copy p { margin: 0; color: #6f6686; font-size: 13px; }
.contact-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.discord-mini { font-size: 16px; }
.discord-handle { color: #786d91; font-size: 11px; font-weight: 600; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; padding-bottom: 27px; color: #9189a2; font-size: 11px; }
.footer-brand { color: #40345f; font: 700 18px 'Space Grotesk',sans-serif; }
.site-footer p { margin: 0; }
.site-footer > span { white-space: nowrap; }

@media (max-width: 980px) {
  .hero { gap: 25px; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-left: 0; }
  .service-grid { grid-template-columns: repeat(3,1fr); }
  .service-card { min-height: 175px; }
}
@media (max-width: 720px) {
  .site-header { width: calc(100% - 34px); height: 68px; }
  .brand { font-size: 22px; }
  .header-discord { margin-left: auto; padding: 10px 12px; font-size: 0; gap: 0; }
  .header-discord svg { width: 20px; height: 20px; }
  .header-discord .external { display: none; }
  .menu-toggle { display: block; order: 3; }
  .main-nav { display: none; position: absolute; z-index: 10; top: 61px; left: 17px; right: 17px; padding: 10px; flex-direction: column; align-items: stretch; gap: 3px; border: 1px solid #e4d8fa; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 15px 35px rgba(54,35,98,.13); }
  .main-nav.open { display: flex; }
  .nav-link { padding: 12px 14px; }
  .section-wrap { width: calc(100% - 34px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 35px; gap: 24px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: 62px; }
  .hero h2 { font-size: 20px; }
  .hero-copy > p { font-size: 14px; }
  .hero-art { min-height: 260px; border-radius: 30px; }
  .hero-art img { height: 100%; width: 100%; right: 0; }
  .label-minecraft { left: 4%; top: 22%; }
  .label-code { right: 4%; bottom: 17%; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 22px; }
  .service-grid { grid-template-columns: repeat(2,1fr); gap: 11px; }
  .service-card { min-height: 176px; padding: 19px 10px 16px; }
  .service-card h3 { font-size: 13px; }
  .service-card p { font-size: 11.5px; }
  .project-grid { grid-template-columns: 1fr; gap: 13px; }
  .project-image { height: 180px; }
  .contact-card { align-items: flex-start; flex-wrap: wrap; padding: 19px; gap: 12px; }
  .contact-icon { width: 44px; height: 44px; }
  .contact-copy { min-width: calc(100% - 62px); padding-top: 2px; }
  .contact-copy h2 { font-size: 20px; }
  .contact-actions { width: 100%; justify-content: flex-start; padding-left: 0; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; padding-top: 20px; }
  .site-footer p { order: 3; width: 100%; }
}
@media (max-width: 390px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 185px; }
  .section-heading h2 { font-size: 19px; }
}
