::-webkit-scrollbar {
    width: 5px;
    height: 9px;
  }
  ::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 5px;
  }

  body {
    background: #1a1919;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
  }

  h1 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: white;
  }

  .search-container {
    display: flex;
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
  }

  .emoji-search {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    outline: none;
    background: #1a1919;
    color: #ccc;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .search-button {
    padding: 1rem;
    background: #444;
    border: none;
    color: white;
    font-size: 1.1rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .search-button:hover {
    background: #666;
  }

  .emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 1rem;
    width: 100%;
    background: #000;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .emoji-item {
    font-size: 2rem;
    background: #1a1919;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s;
    position: relative;
  }

  .emoji-item:hover {
    transform: scale(1.2);
    background: #f0f0f0;
    color: #000;
  }

  .copied-message {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #4CAF50;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .copied-message.show {
    opacity: 1;
  }