/* ================================
   5 YEAR OLD MICROSOFT PAINT MODE
================================= */

:root {
  --primary-color: #00ff00;
  --secondary-color: #ff00ff;
  --background-color: #ffff00;
  --surface-color: #00ffff;
  --outline-color: #ff0000;
  --text-color: #0000ff;
}

/* ==================================================
   BASE
================================================== */

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;

  background: var(--background-color);
  color: var(--text-color);

  font-family: "Comic Sans MS", "Comic Sans", cursive !important;
  font-size: 18px; /* larger for mobile readability */
  font-weight: bold;
  line-height: 1.5;

  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeSpeed;
}

/* ==================================================
   LAYOUT
================================================== */

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;

  padding: 24px;
  border: 5px solid var(--outline-color);
  border-radius: 0;

  background: var(--surface-color);
  box-shadow: 8px 8px 0 #000;
}

/* ==================================================
   BRANDING
================================================== */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.title {
  font-size: 28px;
  color: var(--secondary-color);
  text-shadow: 3px 3px 0 #000;
  font-weight: bold;
}

.subtitle {
  color: #ff0000;
  font-weight: bold;
}

/* ==================================================
   GRID
================================================== */

.grid {
  margin-top: 32px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   CARDS
================================================== */

.card {
  padding: 24px;
  border: 4px solid #000;
  border-radius: 0;
  background: #ff69b4;
  box-shadow: 6px 6px 0 #000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: rotate(1deg);
}

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

.card .name {
  font-size: 16px;
  font-weight: bold;
}

.card .desc {
  font-size: 14px;
  color: #0000ff;
  line-height: 1.6;
}

/* ==================================================
   BUTTONS
================================================== */

button {
  font-family: "Comic Sans MS", "Comic Sans", cursive !important;
  font-size: 18px;
  font-weight: bold;
  border: 4px solid #000;
  padding: 10px 20px;
  cursor: pointer;
}

.buy {
  background: #ff0000;
  color: #ffff00;
  box-shadow: 5px 5px 0 #000;
}

.ghost {
  background: #00ff00;
  color: #000;
  box-shadow: 5px 5px 0 #000;
}

.buySmall {
  background: #0000ff;
  color: #fff;
  border: 4px solid #000;
}

/* ==================================================
   CHIPS
================================================== */

.balChip {
  padding: 6px 14px;
  border: 3px solid #000;
  border-radius: 0;
  background: var(--secondary-color);
  color: #000;
  font-weight: bold;
}

/* ==================================================
   FOOTER
================================================== */

.foot {
  margin-top: 32px;
  padding: 20px;
  border: 5px dotted #000;
  border-radius: 0;
  background: #ffa500;
  font-size: 18px;
  font-weight: bold;
}
