/* Basic layout – feel free to customize */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    width: 90%;
    background: #fff;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    text-align: center;
}

h1 { margin-bottom: .5rem; }
.item-box { margin: 1rem 0; }
.item-name { font-size: 1.3rem; font-weight: bold; }

.options {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin: 1rem 0;
}
.trade-btn {
    padding: .75rem;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid #007bff;
    background: #e7f1ff;
    border-radius: 4px;
    transition: background .2s;
}
.trade-btn:hover { background: #cde4ff; }

.message { min-height: 1.5rem; color: #555; }

.hidden { display: none; }

#restart {
    margin-top: 1rem;
    padding: .6rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
}
#restart:hover { background: #218838; }

  /* -------------------------- Weird Footer ----------------------*/
   :root {
      --lightness: 50%;
      --code-background: #ddd;
  }
   footer {
          position: absolute;
          left:20%;
          bottom:0;
          background: #FFF;
          text-align: center;
          clear: both;
          display: block;
          padding:10px;
          border: 2px dashed red;
          z-index: 20;
      }
  footer a:hover {
      display: inline-block;
      animation: 0.2s infinite alternate linear wiggle;

      background: linear-gradient(in hsl longer hue 45deg, hsl(0deg, 75%, var(--lightness)) 10%, hsl(0deg, 75%, var(--lightness)) 90%);
      background-clip: text;
      color: transparent;
  }
      @keyframes wiggle {
          from {
              transform: skewX(-8deg);
          }
          to {
              transform: skewX(8deg);
          }
      }