/* ===== Radin — shared styles ===== */
:root {
  --maroon: #3d0101;
  --maroon-2: #220000;
  --red: #ff3b30;
  --red-deep: #c4161c;
  --pink: #ff7a78;
  --cream: #fff1ee;
  --ink: #1a0000;
  --card: rgba(34, 0, 0, 0.55);
  --line: rgba(255, 122, 120, 0.28);
  --radius: 22px;
  --hand: "Gochi Hand", cursive;
  --body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--cream);
  background: var(--maroon-2);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Red glow background that matches the original site */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(255, 70, 60, .95), transparent 70%),
    radial-gradient(50% 60% at 15% 80%, rgba(196, 22, 28, .9), transparent 70%),
    linear-gradient(160deg, #e0201f 0%, #a10d12 55%, #3d0101 100%);
}
/* The animated shader canvas from bg.js goes inside .bg; the gradient above is only the fallback */
.bg::after { display: none; /* grain off, to match the original */
  content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(61, 1, 1, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--hand); font-size: 30px; color: var(--pink); }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.3)); transition: transform .3s; }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.links { display: flex; gap: 6px; list-style: none; }
.links a {
  font-family: var(--hand); font-size: 24px; color: var(--pink);
  padding: 6px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.links a:hover { background: rgba(255,122,120,.14); color: var(--cream); }
.links a.active { background: var(--pink); color: var(--maroon); }
.links a.cta { border: 2px solid var(--pink); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 3px; margin: 5px 0; border-radius: 3px; background: var(--pink); transition: .3s; }

@media (max-width: 760px) {
  .burger { display: block; }
  .links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 12px 16px 20px;
    background: rgba(61,1,1,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .links a { display: block; font-size: 28px; }
  .nav.open .links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ===== Type ===== */
.hand { font-family: var(--hand); font-weight: 400; }
h1, h2, h3 { font-family: var(--hand); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(48px, 8vw, 104px); }
h2 { font-size: clamp(38px, 5.5vw, 64px); }
h3 { font-size: 30px; }
.kicker {
  display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--maroon); color: var(--pink); padding: 6px 12px; border-radius: 999px;
}
.lead { font-size: clamp(17px, 2vw, 20px); max-width: 52ch; color: #ffe0dc; }
.dark-text { color: var(--maroon); text-shadow: 0 2px 0 rgba(255,255,255,.18); }

/* ===== Buttons ===== */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--hand); font-size: 24px; padding: 10px 26px; border-radius: 16px;
  border: 0; cursor: pointer; transition: filter .15s, background .15s;
}
.btn-main { background: #9e1a1a; color: var(--cream); }
.btn-main:hover { filter: brightness(1.25); }
.btn-ghost { background: #9e1a1a; color: var(--cream); }
.btn-ghost:hover { filter: brightness(1.25); }

/* ===== Sections ===== */
section { padding: 88px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.page-head { padding: 72px 0 24px; }
.page-head .lead { margin-top: 14px; }

/* ===== Hero ===== */
.hero { padding: 40px 0 60px; }
/* Layout copied from the original Framer site: big avatar holding the PFPs, text on the right */
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 32px; min-height: calc(100vh - 72px - 100px); }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero { overflow: clip; }
.hero h1 { color: var(--ink); font-size: clamp(44px, 6.2vw, 92px); line-height: 1.12; }
.hero-art { position: relative; aspect-ratio: 817 / 940; width: min(100%, 560px); justify-self: center; }
.hero-art .avatar {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(40,0,0,.55));
  animation: bob 5s ease-in-out infinite;
}
.float-card {
  position: absolute; width: 27%; aspect-ratio: 1; overflow: hidden; z-index: 2;
  border: 3px solid var(--maroon); box-shadow: 0 16px 30px rgba(30,0,0,.5);
  background: #2a2a2a;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; }
/* sitting in the avatar's hands, like the original */
.float-card.a { left: 0; top: 38%; animation: bob 6s ease-in-out infinite -2s; }
.float-card.b { right: 0; top: 35%; animation: bob 6s ease-in-out infinite -4s; }
@keyframes bob { 50% { translate: 0 -12px; } }

.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.stats b { display: block; font-family: var(--hand); font-size: 40px; line-height: 1; color: var(--cream); }
.stats small { font-weight: 700; color: #ffd0cb; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-copy { justify-items: center; }
  .btns, .stats { justify-content: center; }
  .hero-art { width: min(380px, 86%); margin-inline: auto; }
}

/* ===== Marquee ===== */
.marquee { background: var(--maroon); border-block: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.marquee div { display: flex; gap: 40px; width: max-content; animation: slide 22s linear infinite; }
.marquee span { font-family: var(--hand); font-size: 28px; color: var(--pink); white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 40px; color: var(--cream); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ===== Cards & grids ===== */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; backdrop-filter: blur(6px);
}
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--pink); color: var(--maroon); font-size: 28px; margin-bottom: 18px;
}
.service p { color: #ffd6d1; margin-top: 8px; }

/* Work gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--hand); font-size: 22px; padding: 6px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(34,0,0,.45); color: var(--pink); border: 2px solid var(--line);
}
.chip.on { background: var(--pink); color: var(--maroon); border-color: var(--pink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.piece {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1;
  border: 3px solid var(--maroon); background: #2b2b2b; cursor: zoom-in;
  transition: transform .25s, box-shadow .25s;
}
.piece:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 20px 40px rgba(30,0,0,.5); }
.piece img { width: 100%; height: 100%; object-fit: cover; }
.piece.contain img { object-fit: contain; background: radial-gradient(circle, #ff5a4f, #8f0c10); }
.piece figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px;
  background: rgba(34,0,0,.8); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between;
  translate: 0 8px; opacity: 0; transition: .25s;
}
.piece:hover figcaption, .piece:focus-visible figcaption { translate: 0 0; opacity: 1; }
.piece figcaption em { font-style: normal; color: var(--pink); }
.piece.empty {
  cursor: pointer; display: grid; place-items: center; text-align: center;
  background: rgba(34,0,0,.35); border: 3px dashed var(--pink);
}
.piece.empty span { font-family: var(--hand); font-size: 28px; color: var(--pink); padding: 20px; }
.piece.hide { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center;
  background: rgba(10,0,0,.88); padding: 24px; cursor: zoom-out;
}
.lightbox.show { display: grid; }
.lightbox img { max-height: 86vh; border-radius: var(--radius); border: 3px solid var(--pink); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; gap: 14px; position: relative; }
.price.hot { background: var(--maroon); border: 2px solid var(--pink); transform: translateY(-10px); }
.price .tag {
  position: absolute; top: -14px; right: 20px; background: var(--pink); color: var(--maroon);
  font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.price .amount { font-family: var(--hand); font-size: 40px; line-height: 1.1; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; white-space: nowrap; }
.price .amount small { font-family: var(--body); font-size: 15px; font-weight: 700; color: #ffc9c3; }
.price ul { list-style: none; display: grid; gap: 8px; flex: 1; }
.price li { padding-left: 26px; position: relative; color: #ffe0dc; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 900; }
.price .btn { justify-content: center; }
@media (max-width: 900px) { .price.hot { transform: none; } }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--pink); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: #ffd6d1; }

/* Steps */
.steps { counter-reset: s; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream); color: var(--maroon); font-family: var(--hand); font-size: 28px; margin-bottom: 14px;
}
.step p { color: #ffd6d1; margin-top: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.socials { display: grid; gap: 12px; }
.social {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: rgba(34,0,0,.5); border: 1px solid var(--line); transition: .2s; cursor: pointer; width: 100%;
  color: inherit; font: inherit; text-align: left;
}
.social:hover { background: rgba(61,1,1,.9); border-color: var(--pink); }
.social .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--pink); color: var(--maroon); flex: none; }
.social b { display: block; }
.social small { color: #ffc9c3; }
.social .go { margin-left: auto; font-family: var(--hand); font-size: 20px; color: var(--pink); }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
input, select, textarea {
  font: inherit; color: var(--cream); background: rgba(20,0,0,.6);
  border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.note { font-size: 14px; color: #ffc9c3; }

/* Big CTA band */
.cta-band { text-align: center; }
.cta-band .card { padding: 56px 24px; display: grid; justify-items: center; gap: 18px; background: var(--maroon); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; opacity: 0; z-index: 120;
  background: var(--cream); color: var(--maroon); font-weight: 800; padding: 12px 20px; border-radius: 999px;
  transition: .25s; pointer-events: none;
}
.toast.show { translate: -50% 0; opacity: 1; }

/* Footer */
footer { border-top: 1px solid var(--line); background: rgba(34,0,0,.7); padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
footer p { color: #ffc9c3; font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .6s, translate .6s; }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: 0 0; }
}

/* UI screenshots: shown whole on a dark backdrop instead of cropped */
.piece.shot { background: radial-gradient(circle at 50% 40%, #2c2c2c, #141414); }
.piece.shot img { object-fit: contain; padding: 16px; }

/* Wide UI (HUD bars): full row, natural shape */
.gallery { grid-auto-flow: dense; }
.piece.wide { grid-column: 1 / -1; aspect-ratio: auto; }
.piece.wide img { height: auto; padding: 24px; }

/* Landscape in-game shots: two columns wide, natural shape */
.piece.half { grid-column: span 2; aspect-ratio: 1052 / 441; }
@media (max-width: 560px) { .piece.half { grid-column: auto; } }

/* ===== Contact page (platform cards) ===== */
.contact-page { padding: 72px 0 96px; text-align: center; }
.contact-title { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin-bottom: 36px; }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 640px; margin-inline: auto; }
.platform {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 30px 20px 26px; border-radius: var(--radius);
  background: rgba(34, 0, 0, .5); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--cream); font: inherit; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.platform:hover { transform: translateY(-4px); border-color: var(--pink); background: rgba(61, 1, 1, .7); }
.platform b { font-family: var(--hand); font-size: 30px; font-weight: 400; line-height: 1; margin-top: 4px; }
.p-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.p-icon svg { width: 30px; height: 30px; }
.p-handle { padding: 5px 12px; border-radius: 9px; font-weight: 700; font-size: 15px; }
.p-hint { font-size: 12px; opacity: .6; }
.platform.discord { background: rgba(40, 20, 70, .45); border-color: rgba(120, 130, 255, .35); }
.platform.discord:hover { border-color: #8f96ff; background: rgba(50, 26, 90, .6); }
.discord .p-icon { background: rgba(88, 101, 242, .3); color: #a5abff; }
.discord .p-handle { background: rgba(88, 101, 242, .22); color: #b6bbff; }
.roblox .p-icon { background: rgba(255, 241, 238, .12); color: var(--cream); }
.roblox .p-handle { color: #ffc9c3; }
.contact-note { max-width: 520px; margin: 32px auto 0; color: #ffd9d4; font-size: 15px; }
.contact-note a { text-decoration: underline; }
@media (max-width: 560px) { .platforms { grid-template-columns: 1fr; } }

/* UI pieces held in the hero */
.float-card.ui { background: radial-gradient(circle at 50% 40%, #3a0a0a, #160000); }
.float-card.ui img { object-fit: contain; padding: 7%; }
