/* ====== Retro Color Variables ====== */
:root {
  --color-pink: #f6cbda;
  --color-pink-hover: #FFE4E8;
  --color-purple: #7b547c;
  --color-blue: #c4c5d8;
  --color-lightblue: #dee0fa;
  --color-white: #FFFFFF;
  --color-background: #F0F6FF;
  --color-text: #333333;
  --color-shadow: #848484;

  --border-standard: 2px solid var(--color-purple);
  --box-shadow-inset: inset 1px 1px 0px var(--color-white), inset -1px -1px 0px var(--color-shadow);
  --box-shadow-outset: 1px 1px 0px var(--color-white), -1px -1px 0px var(--color-shadow);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Shantell Sans', sans-serif;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header,
.footer {
  background-color: var(--color-blue);
  padding: 20px;
  text-align: center;
  font-weight: bold;
  border-bottom: 2px solid var(--color-white);
}

.footer {
  border-top: 2px solid var(--color-white);
}

.main-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: linear-gradient(180deg, var(--color-pink), var(--color-lightblue));
}

.centered-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1600px;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
}

.sidebar,
.right-sidebar {
  flex-shrink: 0;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-wrapper {
  display: flex;
  gap: 30px;
  padding: 20px;
  background-color: var(--color-pink);
  border: var(--border-standard);
  box-shadow: var(--box-shadow-inset), var(--box-shadow-outset);
}

.left-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
}

.logo-container {
  text-align: center;
  padding: 10px;
}

.logo-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.warning-list {
  list-style: disc inside;
  background: var(--color-background);
  border: var(--border-standard);
  box-shadow: var(--box-shadow-inset);
  padding: 15px;
  font-size: 14px;
}

.vertical-line {
  width: 2px;
  background-color: var(--color-purple);
  height: 100%;
  box-shadow: 1px 0 0 var(--color-white);
}

.menu-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--color-background);
  border: var(--border-standard);
  box-shadow: var(--box-shadow-inset);
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.3s;
}

.menu-item:hover {
  background: var(--color-pink-hover);
  border-style: dashed;
}

.character-icon img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.menu-text {
  font-size: 1.25rem;
  font-weight: bold;
}

.updates-box,
.stats-box,
.buttons-box {
  background: var(--color-background);
  border: var(--border-standard);
  box-shadow: var(--box-shadow-inset);
  padding: 10px;
}

.updates-title,
.stats-title,
.buttons-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-purple);
}

.updates-list {
  list-style: none;
  font-size: 0.9rem;
  padding-left: 10px;
}

.update-date {
  font-size: 0.8rem;
  color: #666;
}

.stats-content .stat-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stat-value {
  font-family: monospace;
  background: var(--color-white);
  padding: 2px 6px;
  border: 1px solid var(--color-purple);
}

.button-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: var(--color-pink);
  padding: 10px;
  border: var(--border-standard);
  box-shadow: var(--box-shadow-inset);
}

.button-code {
  width: 100%;
  font-size: 10px;
  font-family: monospace;
  background: var(--color-background);
  border: var(--border-standard);
  padding: 5px;
  resize: none;
  color: var(--color-text);
}

.releases-box {
  background: var(--color-background);
  border: var(--border-standard);
  box-shadow: var(--box-shadow-inset);
  padding: 10px;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.releases-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-purple);
}

.release-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.release-item {
  text-align: center;
}

.release-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border: var(--border-standard);
  box-shadow: var(--box-shadow-outset);
  margin-bottom: 5px;
}

.release-links a {
  display: inline-block;
  margin: 0 5px;
  font-size: 0.85rem;
  color: var(--color-purple);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .centered-container {
    flex-direction: column;
    align-items: center;
  }
  .sidebar,
  .right-sidebar,
  .content-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .vertical-line {
    display: none;
  }
  .menu-container {
    width: 100%;
    align-items: center;
  }
  .menu-item {
    justify-content: center;
    width: 100%;
  }
}
