/* Feryol Studio — dark, purple, lime, soft pink */
:root {
  --bg: #0b0714;
  --bg-2: #120b1e;
  --card: #171022;
  --card-2: #1d1430;
  --ink: #f7f3ff;
  --muted: #b9aecb;
  --purple: #9b5cff;
  --purple-deep: #6d28d9;
  --lime: #c6ff3d;
  --lime-2: #d8ff70;
  --pink: #ffb6d9;
  --pink-2: #f9a8d4;
  --pink-hot: #ff8cc8;
  --stroke: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font-display: "Bangers", "Impact", cursive;
  --font-marker: "Permanent Marker", cursive;
  --font-body: "Nunito", system-ui, sans-serif;
  --radius: 22px;
  --max: 1120px;
  --nav-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--pink); }
a:hover { color: var(--lime); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--lime);
  color: #1a0d00;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(11, 7, 20, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  order: 3;
}
.logo img { height: 40px; width: auto; }

.nav-toggle {
  display: none;
  order: 1;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle:hover { background: rgba(255,255,255,.06); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  order: 2;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 2px;
  position: relative;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--lime); }
.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  transform: rotate(-2deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-lime {
  background: var(--lime);
  color: #1a1400;
  box-shadow: 0 8px 24px rgba(198, 255, 61, 0.22);
}
.btn-lime:hover { background: var(--lime-2); color: #1a1400; }
.btn-pink {
  background: var(--pink);
  color: #2a1020;
  box-shadow: 0 8px 24px rgba(255, 182, 217, 0.22);
}
.btn-pink:hover { background: #ffc8e4; color: #2a1020; }
.btn-spotify {
  background: #1db954;
  color: #04150a;
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.28);
}
.btn-spotify:hover { background: #1ed760; color: #04150a; }
.btn-instagram {
  background: #e4405f;
  color: #fffafc;
  box-shadow: 0 8px 24px rgba(228, 64, 95, 0.28);
}
.btn-instagram:hover { background: #f05170; color: #fffafc; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 96px;
}
.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 4; max-width: 38rem; }
.hero-hey {
  font-family: var(--font-marker);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  color: var(--ink);
  margin: 0 0 2px;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: fit-content;
}
.hey-arrow {
  width: 58px;
  height: 42px;
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
  transform: rotate(8deg);
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 14vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: block;
  width: fit-content;
  text-shadow: 3px 4px 0 rgba(109, 40, 217, 0.45);
}
.hero-im {
  font-size: 0.44em;
  letter-spacing: 0.03em;
  display: inline-block;
  vertical-align: top;
  margin-right: 0.06em;
  position: relative;
  top: 0.12em;
}
.hero-name .scribble {
  position: absolute;
  left: 18%;
  right: -2%;
  bottom: 4%;
  height: 0.26em;
  z-index: -1;
  pointer-events: none;
}
.hero-role {
  margin: 4px 0 22px;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 0.01em;
  font-size: clamp(0.92rem, 1.8vw, 1.08rem);
}
.hero-role span { color: var(--lime); }
.hero-visual {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.scroll-cue:hover { color: var(--lime); }
.scroll-cue svg { flex-shrink: 0; }

/* Paint blobs behind hero */
.hero-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  pointer-events: none;
  filter: blur(0.4px);
}
.blob-purple {
  width: 300px;
  height: 230px;
  background: #7c3aed;
  border-radius: 72% 48% 58% 42%;
  top: -100px;
  left: -150px;
  opacity: 0.95;
  transform: rotate(-12deg);
}
.blob-blue {
  width: 200px;
  height: 150px;
  background: #3b9bff;
  border-radius: 48% 62% 40% 70%;
  left: -130px;
  bottom: 36px;
  opacity: 0.92;
  transform: rotate(8deg);
}
.blob-coral {
  width: 170px;
  height: 420px;
  background: linear-gradient(180deg, #ff8cc8 0%, #ff7a45 70%);
  border-radius: 60% 0 0 70%;
  right: -55px;
  top: 8%;
  opacity: 0.92;
}

/* Doodle decorations */
.doodle {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.doodle-star { width: 28px; height: 28px; top: 18px; left: 46%; transform: rotate(-12deg); }
.doodle-bolt { width: 18px; height: 26px; left: 38%; top: 42%; }
.doodle-smile { width: 32px; height: 32px; left: 3%; bottom: 18%; transform: rotate(-18deg); }
.doodle-spark { width: 16px; height: 16px; right: 8%; top: 22%; }

/* Sections */
.section {
  padding: 56px 0;
  position: relative;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 22px;
}
.kicker {
  font-family: var(--font-marker);
  color: var(--pink);
  font-size: 1rem;
  margin: 0 0 4px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}
.section h2 .mark {
  position: relative;
  display: inline-block;
}
.section h2 .mark::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.08em;
  height: 0.22em;
  background: var(--lime);
  z-index: -1;
  transform: rotate(-1.5deg);
  border-radius: 2px;
}
.section h2 .mark.pink::after { background: var(--pink); }
.lede {
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 52ch;
}

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

/* Showreel */
.section-showreel {
  padding-top: 0;
  margin-top: -72px;
  position: relative;
  z-index: 5;
}
.showreel-card {
  background: #14101c;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}
.showreel-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}
.video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--stroke);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-meta p { margin: 0 0 12px; color: var(--muted); }

/* Games */
.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}
.card-cover {
  position: relative;
  background: #1a1030;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-cover .budi-float {
  position: absolute;
  right: 8px;
  bottom: 0;
  height: 92%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.45));
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.05;
}
.card .tagline { font-weight: 800; color: var(--lime); margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 12px;
  border: 2px solid transparent;
}
.chip-lime { background: var(--lime); color: #1a1400; }
.chip-lime:hover { color: #1a1400; background: var(--lime-2); }
.chip-pink { background: var(--pink); color: #2a1020; }
.chip-pink:hover { color: #2a1020; background: #ffc8e4; }
.chip-ghost {
  background: transparent;
  color: var(--muted);
  border-color: rgba(255,255,255,.16);
  cursor: default;
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--pink);
  color: #2a1020;
  border-radius: 999px;
  padding: 3px 9px;
}
.badge-purple { background: var(--purple); color: #fff; }
.badge-lime { background: var(--lime); color: #1a1400; }

.card.soon {
  background: repeating-linear-gradient(
    -45deg,
    var(--card),
    var(--card) 12px,
    #1a1328 12px,
    #1a1328 13px
  );
  border-style: dashed;
  border-color: rgba(255, 182, 217, 0.28);
  min-height: 280px;
  justify-content: center;
  text-align: center;
  padding: 28px 18px;
}
.card.soon h3 { color: var(--ink); }
.card.soon p { margin-top: 6px; }
.soon-icon { font-size: 2.2rem; margin-bottom: 8px; }

/* Music */
.music-panel {
  display: grid;
  gap: 22px;
  align-items: center;
}
.music-visual {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 18px;
  min-height: 160px;
  padding: 20px;
}
.eq {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 110px;
}
.eq i {
  width: 10px;
  border-radius: 4px 4px 0 0;
  display: block;
  background: var(--lime);
  transform-origin: bottom;
  animation: eq 1.2s ease-in-out infinite;
}
.eq i:nth-child(odd) { background: var(--pink); }
.eq i:nth-child(3n) { background: var(--purple); }
.eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 80%; animation-delay: .1s; }
.eq i:nth-child(3) { height: 55%; animation-delay: .2s; }
.eq i:nth-child(4) { height: 95%; animation-delay: .15s; }
.eq i:nth-child(5) { height: 45%; animation-delay: .25s; }
.eq i:nth-child(6) { height: 70%; animation-delay: .05s; }
.eq i:nth-child(7) { height: 86%; animation-delay: .3s; }
.eq i:nth-child(8) { height: 50%; animation-delay: .18s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
.vinyl {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--pink) 0 10px, #111 11px 22px, #1a1a1a 23px 38px, #0a0a0a 39px 52px, #222 53px 60px),
    repeating-radial-gradient(circle at 50% 50%, #111 0 2px, #1c1c1c 3px 5px);
  box-shadow: 0 0 0 6px #0a0a0a, 0 10px 30px rgba(0,0,0,.45);
  position: relative;
  animation: spin 8s linear infinite;
}
.vinyl::after {
  content: "";
  position: absolute;
  inset: 42%;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #2a1020;
}
@keyframes spin { to { transform: rotate(360deg); } }
.note {
  font-size: 2rem;
  color: var(--pink);
  animation: float 3s ease-in-out infinite;
}
.note:nth-child(2) { color: var(--lime); animation-delay: 0.6s; font-size: 1.5rem; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* Listen Now */
.listen-art {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #04150a;
}
.listen-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.listen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 16px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 12px 0 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.social-link img { width: 22px; height: 22px; }
.social-link:hover { color: var(--pink); }

/* About */
.about-grid {
  display: grid;
  gap: 22px;
}
.about-text p {
  font-size: 1.12rem;
  color: var(--ink);
  margin: 0;
}
.quote {
  margin: 0;
  padding: 22px 22px 22px 26px;
  border-left: 5px solid var(--pink);
  background: linear-gradient(90deg, rgba(255, 182, 217, 0.12), rgba(155, 92, 255, 0.06) 70%, transparent);
  border-radius: 0 18px 18px 0;
}
.quote p {
  font-family: var(--font-marker);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.quote footer {
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  color: var(--pink);
  font-size: 0.95rem;
}
.about-note { color: var(--muted); margin: 12px 0 0 !important; font-size: 1rem !important; }

/* Contact */
.contact-box {
  display: grid;
  gap: 8px;
}
.contact-box a.mail {
  color: var(--lime);
  font-weight: 800;
  font-size: 1.15rem;
  word-break: break-word;
  text-decoration: none;
}
.contact-box a.mail:hover { color: var(--pink); }


/* Skills */
.skills-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 10px;
}
.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 0;
}
.skill-logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #16101f;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 10px;
}
.skill-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.skill span {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--muted);
}
@media (min-width: 800px) {
  .skills-grid { grid-template-columns: repeat(8, 1fr); gap: 18px 16px; }
  .skill-logo { width: 72px; height: 72px; border-radius: 18px; padding: 11px; }
  .skill span { font-size: 0.78rem; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 32px 0 40px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  gap: 22px;
}
.site-footer .logo img { height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.footer-links a:hover { color: var(--pink); }
.legal { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* Inner pages */
.page-hero {
  padding: 36px 0 8px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}
.page-hero p { color: var(--muted); margin: 8px 0 0; }
.prose {
  max-width: 760px;
  padding-bottom: 48px;
}
.prose section,
.prose article {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 14px 0;
}
.prose h2 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: 1.6rem;
  margin: 0 0 8px;
  color: var(--pink);
  text-transform: none;
}
.prose .en {
  border-left: 4px solid var(--lime);
}
.crumbs { margin: 0 0 8px; font-size: 0.9rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }

.shot-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0 0;
}
.shot-row img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--stroke);
}

/* Desktop */
@media (min-width: 800px) {
  .hero { padding: 20px 0 120px; }
  .hero-grid {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.35fr);
    gap: 28px 32px;
    align-items: center;
    width: min(1240px, calc(100% - 40px));
  }
  .hero-copy { max-width: none; }
  .hero-visual {
    margin-right: -36px;
  }
  .section-showreel { margin-top: -120px; }
  .showreel-grid {
    grid-template-columns: 0.9fr 1.4fr;
    gap: 28px;
  }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .music-panel { grid-template-columns: 1fr 1.1fr; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: start;
  }
  .shot-row { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile nav */
@media (max-width: 799px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(14, 8, 24, 0.98);
    border-bottom: 1px solid var(--stroke);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 4px; }
  .hero-name { font-size: clamp(3.8rem, 18vw, 5.6rem); }
  .section-showreel { margin-top: -96px; }
  .hero { padding: 20px 0 72px; }
  .doodle-bolt, .doodle-smile { display: none; }
  .blob-coral { width: 86px; height: 260px; right: -48px; top: 70px; opacity: 0.8; }
  .blob-blue { width: 130px; height: 110px; left: -80px; bottom: 24px; }
  .blob-purple { width: 200px; height: 150px; left: -110px; top: -70px; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i, .vinyl, .note, .btn { animation: none !important; transition: none !important; }
}
