/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body { height: 100%; }

/* ===== TWOJE TŁO (ZOSTAJE) ===== */
body {
  background-image: url("background.gif");
  background-repeat: repeat;
  background-position: center;
  background-size: cover;

  font-family: Arial, sans-serif;
  color: #1a0d14;
}

/* ===== LOGO ===== */
.top {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.logo {
  max-width: 420px;
  height: auto;
}

/* ===== CONTENT WRAP ===== */
.content {
  display: flex;
  justify-content: center;
  margin-top: 55px;
  padding-bottom: 90px;
}

/* ===== GŁÓWNE OKNO ===== */
.window {
  width: 92%;
  max-width: 900px;

  background: #ffd6ec;                 /* NIEPRZEZROCZYSTE */
  border: 4px solid #ff6fae;
  border-radius: 26px;

  padding: 18px;

  box-shadow:
    0 14px 0 rgba(0,0,0,0.18),
    inset 0 0 12px rgba(255,255,255,0.9);
}

/* ===== PASEK OKNA ===== */
.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(to bottom, #ffb3d9, #ff86bd);
  border: 2px solid #ff5fa2;
  border-radius: 16px;

  padding: 10px 14px;
  margin-bottom: 16px;

  box-shadow: 0 4px 0 #ff5fa2;
}

.window-title {
  font-weight: bold;
  letter-spacing: 1px;
}

/* fake przyciski */
.window-buttons span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 7px;
  border: 1px solid rgba(0,0,0,0.25);
}

.btn-close { background: #ff4d6d; }
.btn-min   { background: #ffd166; }
.btn-max   { background: #95d5b2; }

/* ===== HEADER “APPKI” ===== */
.app-header {
  display: flex;
  gap: 18px;

  background: linear-gradient(to bottom, #ffd0e6, #ff9fcf);
  padding: 14px;
  border-radius: 20px;
  border: 2px solid #fff;

  box-shadow: 0 4px 0 #ff6fae;
  margin-bottom: 14px;
}

.pfp-wrap {
  width: 150px;
  height: 150px;
  background: #fff;
  border: 4px solid #ffffff;
  border-radius: 16px;
  padding: 6px;
  flex: 0 0 150px;
}

.pfp {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.title-card h1 {
  font-size: 34px;
  margin-bottom: 6px;
}

.title-card p {
  font-size: 14px;
  opacity: 0.9;
}

/* ===== “PLAYER” ===== */
.music-player {
  background: #2a0016;
  color: #ff9fcf;
  border: 2px solid #ffffff;

  padding: 6px 10px;
  font-size: 13px;

  margin-bottom: 14px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-radius: 10px;
}

/* ===== DIVIDER ===== */
.divider {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 2px solid #ff6fae;
  background: repeating-linear-gradient(
    to right,
    #ff86bd,
    #ff86bd 16px,
    #ffd6ec 16px,
    #ffd6ec 32px
  );
}

/* ===== GRID ===== */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ===== MOOD BOARD (na szerokość) ===== */
.mood-board {
  grid-column: span 2;
  background: #ffffff;
  border: 3px solid #ff6fae;
  border-radius: 20px;
  padding: 10px;
}

.mood-board h2 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #ff5fa2;
  border-bottom: 2px solid #ffd0e6;
  padding-bottom: 6px;
}

.mood-board img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #ffd0e6;
}

/* ===== CONTENT BOXY ===== */
.content-box {
  background: #ffffff;                 /* pełne krycie */
  border: 3px solid #ff9fcf;
  border-radius: 16px;
  padding: 14px;
}

.content-box h2 {
  margin-top: 0;
  font-size: 22px;
  color: #ff5fa2;
  border-bottom: 2px solid #ffd0e6;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.mini-note {
  margin-top: 10px;
  background: #ffe6f2;
  border: 2px solid #ffd0e6;
  border-radius: 12px;
  padding: 8px;
}

/* scrollbox do changelog */
.scroll-box {
  height: 110px;
  overflow-y: auto;
  padding-right: 6px;
}

/* ===== STAMPS BOX ===== */
.pixel-box {
  grid-column: span 2;
  background: #ffe6f2;
  border: 3px dashed #ff6fae;
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}

.pixel-box h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ff5fa2;
}

.stamps img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin: 6px;
  border-radius: 12px;
  border: 2px solid #ff9fcf;
  background: #fff;
}

/* ===== BLINKIES / BANNERS ===== */
.blinky-container {
  grid-column: span 2;
  background: #ffffff;
  border: 3px solid #ff6fae;
  padding: 10px;
  height: 90px;
  overflow-y: auto;
  text-align: center;
  border-radius: 14px;
}

.blinky-container img {
  height: 22px;
  margin: 4px;
}

/* ===== NAV ===== */
.nav {
  margin-top: 18px;
  text-align: center;
}

.nav-btn {
  display: inline-block;
  padding: 7px 18px;
  margin: 6px;

  background: linear-gradient(to bottom, #ffffff, #ff86bd, #ff5fa2);
  border: 2px solid #ffffff;
  border-radius: 999px;

  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px #2a0016;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #ffe6f2; border-radius: 999px; }
::-webkit-scrollbar-thumb { background: #ff5fa2; border-radius: 999px; }

/* ===== MOBILE ===== */
@media (max-width: 700px) {
  .main-grid {
    grid-template-columns: 1fr;
  }

  .mood-board,
  .pixel-box,
  .blinky-container {
    grid-column: span 1;
  }

  .app-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pfp-wrap {
    width: 140px;
    height: 140px;
    flex: none;
  }
}