* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #2b1838; --ink2: #5a4566; --purple: #7d3ea8; --pink: #ff6b8b;
  --cream: #fff7ef; --orange: #ff7a1a; --orange-dark: #b44e05;
}
html { scroll-behavior: smooth; }
body { font-family: "Karla", sans-serif; background: var(--cream); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }

/* NAV */
.nav { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.brand img { height: 70px; width: 70px; }
.nav nav a { font-weight: 700; margin-left: 26px; font-size: 15px; transition: color .2s; }
.nav nav a:hover { color: var(--pink); }

/* HERO */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding-top: 30px; padding-bottom: 50px; }
h1 { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 68px; line-height: 1; color: var(--purple); }
h1 em { font-style: normal; color: var(--pink); }
.lede { font-size: 20px; line-height: 1.5; margin: 18px 0 24px; color: var(--ink2); max-width: 480px; }
.hi { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; color: var(--purple); }
.hi img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--ink); }

.feature { display: block; background: #1d1612; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(80, 30, 100, .25); transform: rotate(1.2deg); transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: rotate(0) scale(1.02); box-shadow: 0 26px 60px rgba(80, 30, 100, .32); }
.shot { aspect-ratio: 16 / 7.5; background: url(images/rivix-game.jpg) center / cover; position: relative; }
.shot .bot { position: absolute; bottom: -10px; right: 10px; height: 78%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); transition: transform .3s; }
.feature:hover .bot { transform: translateY(-8px) rotate(-3deg); }
.feature-bar { padding: 22px 28px; color: #f3ede6; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.feature h2 { font-family: "Baloo 2", sans-serif; font-size: 34px; line-height: 1; }
.feature-bar p { color: #bfb2a6; font-size: 15px; margin-top: 4px; }
.play { background: var(--orange); color: #1b0f05; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 22px; padding: 10px 26px; border-radius: 12px; box-shadow: 0 6px 0 var(--orange-dark); white-space: nowrap; }

/* TILES */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 20px; padding-bottom: 40px; }
.tile { display: block; border-radius: 24px; padding: 24px; min-height: 250px; position: relative; overflow: hidden; transition: transform .2s; }
a.tile:hover { transform: translateY(-4px); }
.tile h3 { font-family: "Baloo 2", sans-serif; font-size: 28px; line-height: 1.05; max-width: 75%; }
.tile p { margin-top: 8px; font-size: 16px; line-height: 1.4; max-width: 58%; }
.tile .go { position: absolute; left: 24px; bottom: 22px; font-weight: 700; }
.t-print { background: #cdeedd; }
.t-print img { position: absolute; right: 0; bottom: -20px; height: 190px; }
.soon { position: absolute; left: 24px; bottom: 22px; background: #fff; border-radius: 20px; padding: 4px 12px; font-weight: 700; font-size: 13px; }
.t-color { background: #ffd9e2; }
.t-color img { position: absolute; right: 16px; bottom: 16px; width: 140px; border-radius: 12px; transform: rotate(5deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.t-yt { background: #e4dcff; }
.yt { position: absolute; right: 24px; bottom: 30px; width: 120px; height: 84px; background: #ff2d2d; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 40px; }

/* ABOUT */
.about { display: flex; gap: 28px; align-items: center; padding-top: 30px; padding-bottom: 60px; }
.about img { width: 120px; height: 120px; border-radius: 50%; background: var(--ink); flex: none; }
.about h3 { font-family: "Baloo 2", sans-serif; font-size: 30px; color: var(--purple); }
.about p { font-size: 18px; line-height: 1.5; color: var(--ink2); max-width: 640px; }

/* FOOTER */
.foot { background: var(--purple); color: #fff; }
.foot-in { display: flex; justify-content: space-between; align-items: center; height: 70px; font-weight: 700; }
.social a { margin-left: 22px; }
.social a:hover { color: #ffd9e2; }

/* SMALL SCREENS */
@media (max-width: 960px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 10px; }
  h1 { font-size: 48px; }
  .feature { transform: none; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 200px; }
}
@media (max-width: 600px) {
  .brand img { height: 56px; width: 56px; }
  .nav nav a { margin-left: 12px; font-size: 13px; }
  .nav nav a[href="#coloring"] { display: none; }
  h1 { font-size: 40px; }
  .lede { font-size: 18px; }
  .feature-bar { padding: 16px 18px; }
  .feature h2 { font-size: 26px; }
  .feature-bar p { font-size: 13px; }
  .play { font-size: 18px; padding: 8px 18px; }
  .about { flex-direction: column; text-align: center; }
  .foot-in { flex-direction: column; justify-content: center; gap: 6px; height: auto; padding-top: 18px; padding-bottom: 18px; }
  .social a { margin: 0 10px; }
}
