:root {
  --red: #ff0000;
  --yellow: #ffdd00;
  --blue: #0066ff;
  --black: #000000;
  --white: #ffffff;
  --paper: #fff9dc;
  --shadow: 4px 4px 0 var(--black);
  --shadow-lg: 7px 7px 0 var(--black);
  --border: 4px solid var(--black);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.16) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(180deg, #fffef8 0%, #fff5ae 100%);
  color: var(--black);
}

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

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

.page-shell {
  overflow: hidden;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.section-pad {
  padding: 4.5rem 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: var(--border);
}

.navbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
}

.logo-burst {
  font-family: "Bangers", cursive;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--black);
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 0.8rem 1rem;
  clip-path: polygon(50% 0%, 61% 18%, 82% 6%, 76% 29%, 100% 30%, 82% 48%, 100% 68%, 72% 70%, 79% 94%, 56% 82%, 50% 100%, 37% 82%, 16% 94%, 22% 70%, 0% 68%, 18% 49%, 0% 30%, 24% 29%, 18% 6%, 39% 18%);
  transform: rotate(-5deg);
}

.logo-text {
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-links a,
.comic-btn,
.mini-btn {
  border: var(--border);
  box-shadow: var(--shadow);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-links a {
  padding: 0.65rem 1rem;
  background: var(--white);
}

.nav-links a:hover,
.comic-btn:hover,
.mini-btn:hover,
.call-bubble:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.34) 2px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--red) 0 48%, var(--yellow) 48% 100%);
  border-bottom: var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18px;
  background: var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
}

.eyebrow,
.section-kicker {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.pow-badge {
  display: inline-block;
  font-family: "Bangers", cursive;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--blue);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 0.5rem 1rem;
  transform: rotate(-8deg);
  margin-bottom: 1rem;
}

.hero h1,
.section-heading h2,
.about-bubble h2,
.contact-copy h2 {
  font-family: "Bangers", cursive;
  letter-spacing: 1.5px;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--white);
  -webkit-text-stroke: 2px var(--black);
}

.hero-text {
  max-width: 40rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.comic-btn,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  background: var(--yellow);
  color: var(--black);
}

.comic-btn.primary,
.mini-btn {
  background: var(--yellow);
}

.comic-btn.secondary {
  background: var(--white);
}

.hero-art {
  position: relative;
  min-height: 470px;
}

.hero-panel,
.burst-card,
.product-card,
.contact-panel,
.about-bubble {
  border: var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-panel {
  position: absolute;
  background: var(--white);
  overflow: hidden;
}

.hero-panel-top {
  inset: 1rem 1.8rem auto auto;
  width: min(82%, 380px);
  transform: rotate(4deg);
}

.hero-panel-top img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-panel-bottom {
  inset: auto auto 1rem 1rem;
  width: min(72%, 330px);
  padding: 1rem;
  transform: rotate(-4deg);
  background: var(--white);
}

.burst-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-family: "Bangers", cursive;
  font-size: 2rem;
  clip-path: polygon(50% 0%, 61% 18%, 82% 6%, 76% 29%, 100% 30%, 82% 48%, 100% 68%, 72% 70%, 79% 94%, 56% 82%, 50% 100%, 37% 82%, 16% 94%, 22% 70%, 0% 68%, 18% 49%, 0% 30%, 24% 29%, 18% 6%, 39% 18%);
  transform: rotate(-12deg);
}

.deco-text {
  position: absolute;
  font-family: "Bangers", cursive;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 3px 3px 0 var(--black);
}

.deco-1 {
  right: 0.5rem;
  bottom: 5.5rem;
  transform: rotate(9deg);
}

.deco-2 {
  left: 2rem;
  bottom: -0.5rem;
  transform: rotate(-10deg);
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading h2,
.about-bubble h2,
.contact-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
}

.section-heading p,
.about-bubble p,
.contact-copy p,
.product-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 700;
}

.products-section {
  background:
    radial-gradient(circle at 2px 2px, rgba(0, 102, 255, 0.2) 2px, transparent 0) 0 0 / 20px 20px,
    var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  position: relative;
  transform: rotate(-1.2deg);
}

.product-card:nth-child(even) {
  transform: rotate(1.25deg);
}

.product-card:nth-child(3n) {
  transform: rotate(-2deg);
}

.big-panel {
  grid-column: span 2;
}

.wide-panel {
  grid-column: span 2;
}

.tall-panel .image-wrap img {
  aspect-ratio: 4 / 5.1;
}

.image-wrap {
  position: relative;
  border-bottom: var(--border);
  overflow: hidden;
}

.image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
}

.price-bubble {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0.6rem 0.9rem;
  background: var(--yellow);
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
  font-family: "Bangers", cursive;
  font-size: 1.65rem;
  letter-spacing: 1px;
  z-index: 2;
}

.price-bubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  right: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 12px 0 0;
  border-color: var(--black) transparent transparent transparent;
}

.price-bubble::before {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 22px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 9px 0 0;
  border-color: var(--yellow) transparent transparent transparent;
  z-index: 1;
}

.product-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
  height: 100%;
}

.product-content h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.speech-bubble {
  position: relative;
  background:
    radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.12) 2px, transparent 0) 0 0 / 16px 16px,
    var(--white);
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 1rem 1.1rem;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -18px;
  right: 22px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  transform: rotate(35deg);
}

.bubble-blue {
  background:
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.25) 2px, transparent 0) 0 0 / 16px 16px,
    var(--blue);
  color: var(--white);
}

.bubble-blue::after {
  background: var(--blue);
}

.bubble-blue strong {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.yellow-panel {
  background: #fff8b3;
}

.red-panel {
  background: #ffd0d0;
}

.blue-panel {
  background: #d7e6ff;
}

.white-panel {
  background: #ffffff;
}

.mini-btn {
  width: fit-content;
  margin-top: auto;
}

.about-section {
  background:
    linear-gradient(180deg, #fffef3 0%, #fff2a5 100%);
  border-top: var(--border);
  border-bottom: var(--border);
}

.about-bubble {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem;
  background:
    radial-gradient(circle at 2px 2px, rgba(255, 0, 0, 0.14) 2px, transparent 0) 0 0 / 20px 20px,
    var(--white);
}

.large-bubble::after {
  width: 38px;
  height: 38px;
  bottom: -22px;
  right: 70px;
}

.contact-section {
  background:
    radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.13) 2px, transparent 0) 0 0 / 20px 20px,
    linear-gradient(135deg, var(--blue) 0 55%, var(--red) 55% 100%);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--white);
  padding: 2rem;
}

.contact-copy {
  max-width: 620px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.call-bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--yellow);
  font-family: "Bangers", cursive;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.call-bubble::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: 30px;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-right: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
  transform: rotate(35deg);
}

.footer {
  background:
    radial-gradient(circle at 2px 2px, rgba(255, 221, 0, 0.3) 2px, transparent 0) 0 0 / 18px 18px,
    var(--black);
  color: var(--white);
  border-top: var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-art {
    min-height: 430px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .navbar,
  .contact-panel,
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .logo-wrap,
  .nav-links,
  .hero-actions,
  .contact-actions {
    justify-content: center;
  }

  .hero {
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-art {
    min-height: 370px;
  }

  .hero-panel-top {
    right: 50%;
    transform: translateX(50%) rotate(3deg);
    width: min(88%, 340px);
  }

  .hero-panel-bottom {
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: min(84%, 310px);
  }

  .burst-card {
    left: 1rem;
    top: -0.5rem;
    width: 110px;
    height: 110px;
    font-size: 1.55rem;
  }

  .deco-1 {
    right: 1rem;
    bottom: 5rem;
  }

  .deco-2 {
    left: 1rem;
    bottom: -0.25rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .big-panel,
  .wide-panel {
    grid-column: auto;
  }

  .about-bubble,
  .contact-panel {
    padding: 1.4rem;
  }

  .call-bubble {
    font-size: 1.45rem;
    line-height: 1.2;
  }
}
