body {
    font-family: 'Fredoka', sans-serif;
    background: linear-gradient(to bottom right, #fff4e6, #ffe8cc);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  .container {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background-color: #ffffffdd;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
  }
  
  h1 {
    font-size: 2.5rem;
    color: #ff8c00;
    margin-bottom: 1rem;
  }
  
  #dog-image {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    transition: opacity 0.5s ease;
    background-color: #eee;
  }
  
  #name {
    font-size: 2rem;
    color: #b25d00;
    margin: 1.2rem 0;
    min-height: 2.5rem;
  }
  
  button {
    background-color: #ff9900;
    color: white;
    font-size: 1.2rem;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 0.5rem;
  }
  
  button:hover {
    background-color: #ff7700;
    transform: scale(1.05);
  }
  
  #history, #favorites {
    margin-top: 1rem;
    text-align: left;
  }
  
  .name-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff8e1;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }
  
  .name-item span {
    font-weight: bold;
  }
  
  .name-item button {
    background-color: #ffcc80;
    color: #5d4037;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
  }
  
  .name-item button:hover {
    background-color: #ffb74d;
  }