/* POMNI theme — pink circus / clown vibes */

/* ── Page — Pomni circus background ── */
html, body {
  background: #ff69b4;
  background-image: url(/img/bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Header ── */
.pomni-header {
  width: 100%;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-sizing: border-box;
  background: transparent;
  flex-shrink: 0;
}

.pomni-title {
  font-family: 'Righteous', sans-serif;
  font-size: 34px;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: 3px;
  text-shadow:
    0 3px 0 #c2185b,
    0 0 15px rgba(255, 0, 128, 0.6),
    0 0 30px rgba(255, 0, 128, 0.3);
}

.pomni-subtitle {
  font-size: 20px;
  color: #fff;
  letter-spacing: 5px;
  text-shadow:
    0 3px 0 #9c1458,
    0 0 12px rgba(255, 105, 180, 0.5);
}

.pomni-star {
  color: #ffe14d;
  font-size: 24px;
  text-shadow: 0 2px 0 #cc9900, 0 0 10px rgba(255, 225, 77, 0.5);
}

.pomni-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Buttons — hot pink circus ── */
.pomni-btn {
  font-family: 'Righteous', sans-serif;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 20px;
  border: 3px solid #ff1493;
  background: linear-gradient(180deg, #ff69b4, #ff1493);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 3px 0 #b0006a, 0 4px 8px rgba(0,0,0,0.2);
}

.pomni-btn:hover {
  background: linear-gradient(180deg, #ff8dc7, #ff3da8);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #b0006a, 0 6px 12px rgba(0,0,0,0.25);
}

.pomni-btn--outline {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 3px 0 rgba(0,0,0,0.15);
}

.pomni-btn--outline:hover {
  background: linear-gradient(180deg, #ff69b4, #ff1493);
  border-color: #ff1493;
}

.pomni-btn--action {
  font-size: 18px;
  padding: 12px 36px;
  background: linear-gradient(180deg, #ff69b4, #d4006a);
  border: 3px solid #ff1493;
  box-shadow: 0 4px 0 #8b004a, 0 5px 12px rgba(0,0,0,0.3);
}

.pomni-btn--action:hover {
  background: linear-gradient(180deg, #ff8dc7, #ff1493);
  box-shadow: 0 3px 0 #8b004a, 0 5px 12px rgba(0,0,0,0.3);
}

/* ── Game wrapper ── */
.pomni-game-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 16px;
  box-sizing: border-box;
  min-height: 0;
  overflow: visible;
}

/* Game board — wider, no transform scale to avoid clipping */
.solitaire {
  width: 95vw !important;
  min-width: 0 !important;
  max-width: 1000px !important;
  max-height: 80vh !important;
  height: auto !important;
  flex: 1 !important;
  background-color: #ffc0e0 !important;
  border-radius: 20px;
  box-shadow:
    0 0 0 4px #ff1493,
    0 0 0 8px #ff69b4,
    0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 20px !important;
  transform: none;
}

.card {
  border-radius: 5px;
  image-rendering: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.deck__pile {
  border-radius: 5px;
}

.seven, .aces {
  border-radius: 5px;
}

.finish-dest {
  box-shadow: 0 0 0 3px #ffe14d, 0 0 10px rgba(255, 225, 77, 0.5) !important;
  border-radius: 5px;
}

/* ── Footer — thin bar ── */
.pomni-footer {
  width: 100%;
  padding: 6px 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #d4006a, #8b004a);
  border-top: 2px solid #ff1493;
}

.pomni-footer .pomni-btn--action {
  font-size: 14px;
  padding: 6px 24px;
  box-shadow: 0 2px 0 #8b004a;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .pomni-header {
    justify-content: center;
    text-align: center;
  }

  .pomni-title {
    font-size: 22px;
  }

  .solitaire {
    width: 98vw !important;
    padding: 10px !important;
  }
}
