:root {
  --bg: #f5f1e6;
  --window-bg: #c0c0c0;
  --title-bg: #000080;
  --title-color: #fff;
  --shadow: #808080;
}

/* ======= BASE ======= */
body {
  background-color: var(--bg);
  font-family: "MS Sans Serif", sans-serif;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

/* ======= JANELAS PRINCIPAIS ======= */
.win-window {
  background: var(--window-bg);
  border: 2px solid black;
  box-shadow: 4px 4px var(--shadow);
  width: 400px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: 1;
}

/* ======= BARRA DE TÍTULO ======= */
.titlebar {
  background-color: var(--title-bg);
  color: var(--title-color);
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.title-controls button {
  background: #b0b0b0;
  border: 1px solid black;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* ======= CONTEÚDO ======= */
.window-body {
  padding: 10px;
  font-size: 14px;
}

/* ======= BOTÕES RETRÔ ======= */
.win-btn {
  border: 2px solid black;
  background: #dfdfdf;
  box-shadow: 2px 2px var(--shadow);
  cursor: pointer;
  margin: 4px;
}

/* ======= POSTS ======= */
.post-preview {
  border-bottom: 1px solid #888;
  padding: 5px 0;
}

.post-preview h3 {
  margin: 4px 0;
}

/* ======= JANELAS SECUNDÁRIAS (POST, CONTATO, ETC.) ======= */
.panel {
  background: var(--window-bg);
  border: 2px solid black;
  box-shadow: 4px 4px var(--shadow);
  width: 400px;
  position: fixed;
  transition: all 0.4s ease;
}

.panel .titlebar {
  background-color: var(--title-bg);
  color: var(--title-color);
  padding: 4px;
  font-weight: bold;
}

.panel-content {
  padding: 10px;
}
.win-media-btn {
  width: 40px;
  height: 40px;
  background: #dfdfdf;
  border: 2px solid black;
  box-shadow: 2px 2px var(--shadow);
  cursor: pointer;
  position: relative;
  margin-top: 8px;
}

.win-media-btn::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid black;
}

.win-media-btn:active {
  box-shadow: inset 2px 2px var(--shadow);
  background: #c0c0c0;
}
