@import url('https://fonts.googleapis.com/css2?family=DotGothic16&display=swap');

:root {
  --bg-color: #ffe4b5;
  --border-color: #ff8c00;
  --box-bg: rgba(255, 248, 238, 0.96);
  --text-color: #5d4037;
  --accent-color: #ffa500;

  /* variables que te faltaban */
  --text2: #8a5a30;
  --accent2: #fde3c8;
  --border: #f0a060;
  --title-color: #c85a10;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  background-color: var(--bg-color);
  background-image: url("https://64.media.tumblr.com/1603577fb6934a5bb99534f8135f7d89/tumblr_inline_ml9dz93Fc41qz4rgp.gif");
  background-repeat: repeat;
  background-size: auto;
  font-family: Verdana, Geneva, sans-serif;
  color: var(--text-color);
  cursor: url('https://cur.cursors-4u.net/symbols/sym-1/sym49.cur'), auto;
}

.container {
  width: 900px;
  background: rgba(255, 255, 255, 0.93);
  border: 3px solid var(--border-color);
  box-shadow: 8px 8px 0 rgba(255, 140, 0, 0.2);
  padding: 15px;
  position: relative;
  border-radius: 10px;
}

/* BANNER */
.banner {
  width: 100%;
  height: 300px;
  border: 2px solid var(--border-color);
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  background: #fdf5e6;
  border-radius: 10px;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.header-title {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 42px;
  color: #ffffff;
  text-shadow: 3px 3px 0 var(--border-color), -1px -1px 0 var(--border-color);
  font-family: 'DotGothic16', sans-serif;
  font-weight: bold;
}

/* NOTEPAD */
.notepad {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 250px;
  background: #ffffff;
  border: 2px solid #888;
  box-shadow: 2px 2px 0 #000;
  z-index: 10;
}

.notepad-title {
  background: linear-gradient(to right, #ff8c00, #ffb347);
  color: white;
  padding: 2px 5px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.notepad-content {
  padding: 10px;
  font-size: 13px;
  line-height: 1.4;
}

/* MARQUEE */
marquee {
  background: var(--accent-color);
  color: white;
  padding: 5px;
  margin-bottom: 15px;
  font-weight: bold;
  border-radius: 6px;
}

/* LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 210px 1fr 230px;
  gap: 15px;
  align-items: start;
}

.left,
.center,
.right {
  display: flex;
  flex-direction: column;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* CAJAS */
.box {
  background: var(--box-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
}

.box h2,
.box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 4px;
}

.box p {
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0;
}

.small-text {
  font-style: italic;
}

/* LINKS */
.box a {
  text-decoration: none;
  color: var(--text-color);
  display: block;
  padding: 3px 8px;
  border-radius: 4px;
  transition: 0.3s;
  margin-bottom: 3px;
}

.box a:hover {
  background: var(--accent-color);
  color: white;
  padding-left: 12px;
}

/* BLINKIES Y STAMPS */
.blinkies,
.stamps,
.neighbors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.blinkie-placeholder {
  width: 150px;
  height: 20px;
  background: #eee;
  border: 1px solid #ccc;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px;
}

.stamp-placeholder {
  width: 50px;
  height: 50px;
  background: #ddd;
  border: 1px dotted #999;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMÁGENES */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mini-box img {
  width: 150px;
  max-width: 100%;
  margin: 8px auto;
  border-radius: 4px;
}

.button-preview {
  text-align: center;
  margin-bottom: 8px;
}

.neighbors img {
  width: 88px;
  height: 31px;
  background: #eee;
  border: 1px solid #ccc;
}

/* BOTTOM */
.bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 5px;
}

/* TEXTAREA */
textarea {
  width: 100%;
  height: 55px;
  font-size: 10px;
  font-family: monospace;
  resize: none;
  margin-top: 5px;
}

/* FOOTER */
footer {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  border-top: 2px solid var(--border-color);
  padding-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 950px) {
  .container {
    width: 100%;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .row,
  .bottom {
    grid-template-columns: 1fr;
  }

  .header-title {
    font-size: 28px;
    right: 10px;
    bottom: 10px;
  }

  .notepad {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .banner {
    height: auto;
  }

  .banner img {
    height: auto;
  }
}

/* IDIOMAS */
.language-page {
  text-align: center;
  padding: 40px;
}

.lang-buttons {
  margin-top: 20px;
}

.lang-buttons a {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background: #ffa500;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid #ff8c00;
  font-weight: bold;
  transition: 0.2s;
}

.lang-buttons a:hover {
  background: #ff8c00;
  transform: scale(1.05);
}