* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #eee;
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 100vw;
  min-height: 100vh;
  max-width: 100%;
}

/* Header Styles */
.header {
  background: white;
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.site-title {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.site-description {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
}

/* Search Bar Styles */
.search-ctn {
  display: flex;
  justify-content: center;
  margin: 2rem 1rem;
}

.search-wrapper {
  display: flex;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  gap: 0.5rem;
}

.search-input {
  flex-grow: 1;
  font-size: 1rem;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  background: white;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #ff6b9d;
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.search-btn {
  padding: 0.75rem 1.5rem;
  background: #ff6b9d;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.search-btn:hover {
  background: #ff5252;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
}

/* Main Content Styles */
.main-content {
  width: 95vw;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.combo-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Heart Font Item Styles */
.combo-ctn {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.combo-ctn:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.combo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Voting Section */
.vote-ctn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 50px;
}

.up-vote,
.down-vote {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #777;
  padding: 0.25rem;
  transition: all 0.2s ease;
}

.up-vote:hover {
  color: #4CAF50;
  transform: scale(1.1);
}

.down-vote:hover {
  color: #f44336;
  transform: scale(1.1);
}

.vote-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  min-height: 20px;
  display: flex;
  align-items: center;
}

/* Emoji Display Section */
.emoji-ctn {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.emoji-wrap {
  padding: 0.5rem;
  background: #f9f9f9;
  border-radius: 5px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emojis {
  font-size: 3rem;
  line-height: 1;
  text-align: center;
  background: transparent;
  outline: none;
  border: none;
  width: 100%;
  cursor: text;
  font-family: inherit;
}

.emojis:focus {
  background: white;
  outline: 2px solid #e91e63;
}

.emojis.dot-art {
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  line-height: 1.2;
  text-align: left;
  white-space: pre;
  overflow-x: auto;
}

.emojis.fancy-text {
  font-size: 2rem;
  letter-spacing: 1px;
}

/* Keywords */
.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.keywords a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  background: #f0f0f0;
  border-radius: 15px;
  transition: all 0.2s ease;
}

.keywords a:hover {
  background: #ff6b9d;
  color: white;
  transform: translateY(-1px);
}

/* Copy Button Section */
.copy-ctn {
  min-width: 90px;
  display: flex;
  justify-content: flex-end;
}

.copy-btn {
  background: #ff6b9d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #ff5252;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 82, 82, 0.3);
}

.copy-btn:active {
  transform: translateY(0);
}

.copy-btn.copied {
  background: #4CAF50;
}

/* Footer Styles */
.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #ff6b9d;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ff5252;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-title {
    font-size: 2.2rem;
  }

  .combo-wrapper {
    flex-wrap: wrap;
  }

  .vote-ctn {
    flex-direction: row;
    order: 2;
    min-width: auto;
    gap: 0.5rem;
  }

  .copy-ctn {
    order: 3;
    min-width: auto;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .emoji-ctn {
    order: 1;
    width: 100%;
  }

  .emojis {
    font-size: 2.5rem;
  }

  .emojis.dot-art {
    font-size: 0.8rem;
  }

  .search-wrapper {
    flex-direction: column;
  }

  .search-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.8rem;
  }

  .emojis {
    font-size: 2rem;
  }

  .combo-ctn {
    padding: 0.75rem;
  }
}
