

.footer {
  margin-top: 20px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 20px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left h3 {
  margin-bottom: 8px;
}

.footer-left p {
  color: #6b7280;
  max-width: 400px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #2563eb;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
 
  font-size: 12px;
  color: #9ca3af;
}

.footer-bottom a {

  color: #747e90;
}
.copy.success {
  background: #22c55e !important;
  color: white !important;
}
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  margin: 0;
  background: #fafafa;
  color: #111827;
}

/* HEADER */
header {
  text-align: center;
  padding: 26px 16px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

header h1 {
  margin: 0;
  font-size: 26px;
 
}

header h2 {
font-weight: lighter;  
  
}


header p {
  margin-top: 6px;
  color: #6b7280;
}

/* SELECTED BAR (FIXED OVERFLOW ISSUE) */
.selected-bar {
  position: sticky;
  top: 0;
  z-index: 50;

  margin: 12px auto;
  max-width: 700px;

  background: #000;
  border: 1px solid #e5e7eb;
  border-radius: 999px;

  padding: 10px 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* 🔥 FIX: emoji container no overflow + tight spacing */
.selected {
  display: flex;
  align-items: center;
font-size: 30px;
  gap: 0px;           /* ❗ remove spacing completely */

  flex: 1;
  min-width: 0;

  overflow-x: auto;
  white-space: nowrap;

  scrollbar-width: none;
}

.selected::-webkit-scrollbar {
  display: none;
}


.selected span {
  font-size: 30px;
  line-height: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 2px;
  border-radius: 8px;
}

/* BUTTONS */
.copy {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.copy:hover {
  background: #1d4ed8;
}

.clear {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.clear:hover {
  color: #f7d627;
}

/* CATEGORY */
.category {
  max-width: 1100px;
  margin: auto;
  padding: 24px 16px;
}

.category h2 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid #ec9a4e;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

/* CARD */
.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: 0.15s ease;
  border-radius: 16px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.emoji {
  font-size: 40px;   /* BIG emoji like screenshot */
  line-height: 1;
  margin-bottom: 10px;
}

.name {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.name-en {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.all-btn {
  font-size: 16px;
  color: #323742;
  font-weight: 500;
}



/* DETAILS */
.details {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 10px;
  color: #b1b1be;
  text-decoration: none;
}

#search {
  margin-top: 12px;
  width: 100%;
  max-width: 420px;

  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;

  outline: none;
  font-size: 14px;
}


.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 20px;

  width: 52px;
  height: 52px;

  border-radius: 50%;

  background: #9400d8;
  color: white;

  font-size: 20px;
  font-weight: bold;

  border: none;
  cursor: pointer;

  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;

  transition: all 0.25s ease;
}

/* hover effect */
.scroll-top:hover {
  background: #9f4cc5;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.5);
}

/* click feedback */
.scroll-top:active {
  transform: scale(0.95);
}


.site-description {
  max-width: 900px;
  margin: 60px auto 20px;
  padding: 20px;
  color: #374151;
}

.site-description h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111827;
}

.site-description p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #6b7280;
}

.emoji-detail {
  max-width: 600px;
  margin: 50px auto;
  text-align: center;
}

.big-emoji {
  font-size: 90px;
  margin-bottom: 20px;
}



/* HEADER */
.header-en {
    text-align: center;
    padding: 16px 10px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.emoji-page {
    font-size: 80px;
    margin-bottom: 6px;
}



/* CONTAINER */
.container-en {
    max-width: 750px;
    margin: auto;
    padding: 12px;
}

/* SECTIONS → COMPACT CARDS */
section {
    background: none;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 10px;
  
}

section h2 {
    font-size: 15px;
    margin: 0 0 6px 0;
}

/* TEXT */
section p {
    margin: 0;
    font-size: 14px;
}

/* TAGS */
.tag {
    display: inline-block;
    background: #f1f1f1;
    padding: 3px 6px;
    margin: 2px;
    border-radius: 5px;
    font-size: 13px;
}

/* RELATED EMOJIS - COMPACT GRID */
.related {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.related-item {
    text-decoration: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    font-size: 12px;
}


.related-item a {
  color:#6b7280
}

.related-item .emoji-page {
    font-size: 50px;
}

/* FOOTER */
.footer-en {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #eee;
    font-size: 13px;
}

.footer-en a {
    text-decoration: none;
    color: #333;
}

.logo-en {
  max-width: 1100px;
    font-size: 24px;
    padding:10px;
    color: #333;
    background: #fafafa;
    margin:auto
}


.copy-btn-en {
    padding: 8px 14px;
    font-size: 16px;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.copy-btn-en:hover {
    background: #f7f7f7;
    transform: translateY(-1px);
}

.copy-btn-en:active {
    transform: scale(0.98);
}

.copy-btn-en.copied {
    background: #7ddf85;
    color: #0c0101;
    border-color: #7ddf85;
}

.nav-breadcrumb {
            width: 100%;
            max-width: 1000px;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }

        .nav-breadcrumb a {
            color: #2563eb;
            text-decoration: none;
        }

        .nav-breadcrumb a:hover {
            text-decoration: underline;
        }

        .nav-breadcrumb span {
            color: var(--text-muted);
            margin: 0 0.4rem;
        }



.content-list{
background-color: #ffffff;
padding: 10px;
border-radius: 15px;
color: #4c515c;

}



.content-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.faq-item h3{
  font-weight: normal;
margin-top:0px;
margin-bottom: 5px;
}