*{
box-sizing:border-box;
}


body{

font-family:'Poppins',sans-serif;

min-height:100vh;

display:flex;
flex-direction:column;   /* add this */

justify-content:center;
align-items:center;

background: linear-gradient(118deg, #FFF5FA, #F5F8FF);

margin:0;
padding:20px;

}



.container{

background:white;

width:95%;
max-width:450px;

padding:35px;

border-radius:30px;

text-align:center;

box-shadow:
0 15px 40px rgba(0,0,0,.15);

}


.legal-container {

background:white;

width:95%;

max-width:700px;

padding:40px;

border-radius:30px;

text-align:left;

box-shadow:
0 15px 40px rgba(0,0,0,.15);

}


.legal-container h1 {

text-align:center;

margin-bottom:25px;

}


.legal-container h2 {

margin-top:25px;

font-size:20px;

color:#ff6aa8;

}


.legal-container p,
.legal-container li {

line-height:1.7;

font-size:15px;

color:#555;

}



.en-container {

background:white;

width:95%;

max-width:700px;

padding:40px;

border-radius:30px;

text-align:left;

box-shadow:
0 15px 40px rgba(0,0,0,.15);

}


.en-container h1 {

text-align:center;

margin-bottom:25px;

}


.en-container h2 {

margin-top:25px;

font-size:20px;

color:#ff6aa8;

}


.en-container p,
.en-container li {

line-height:1.7;

font-size:15px;

color:#555;

}














h1{

color:#ff4fa3;

}



.subtitle{

color:#777;

font-size:15px;
margin-top:-3px;

}




/* Dropdown */

.custom-select{

position:relative;

width:100%;

margin:20px 0;

}




.selected{

background:#fff5fb;

border:2px solid #ffd0e8;

padding:14px 18px;

border-radius:18px;

cursor:pointer;

display:flex;

justify-content:space-between;

align-items:center;

font-weight:600;

color:#555;

transition:.25s;

}



.selected:hover{

border-color:#ff69b4;

background:#fff0f8;

}




.arrow{

width:11px;

height:11px;

border-right:3px solid #ff69b4;

border-bottom:3px solid #ff69b4;

transform:rotate(45deg);

margin-right:5px;

margin-top:-5px;

transition:.3s;

}



.selected.open .arrow{

transform:rotate(225deg);

margin-top:5px;

}





.options{

position:absolute;

top:65px;

left:0;

width:100%;

background:white;

border-radius:20px;

padding:10px;

box-shadow:
0 15px 35px rgba(0,0,0,.15);

display:none;

z-index:10;

max-height:300px;

overflow-y:auto;

}



.options.show{

display:block;

animation:drop .2s ease;

}




.option{

padding:12px;

border-radius:14px;

cursor:pointer;

text-align:left;

transition:.2s;

}



.option:hover{

background:#ffe3f1;

color:#ff4fa3;

}




@keyframes drop{

from{

opacity:0;

transform:translateY(-10px);

}

to{

opacity:1;

transform:translateY(0);

}

}





/* Emoji */

.emoji-box{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}



.emoji-box.change{

animation:pop .35s;

}





@keyframes pop{

0%{

transform:scale(.8);

}

50%{

transform:scale(1.15);

}

100%{

transform:scale(1);

}

}






/* Message */

.message{

height:20px;

margin:5px 0;

font-size:14px;

font-weight:600;

color:#ff4fa3;

opacity:0;

transition:.3s;

}


.message.show{

opacity:1;

}





/* Buttons */

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}




button{

border:none;

padding:12px 18px;

margin:2px;

border-radius:30px;

cursor:pointer;

font-size:15px;

font-weight:600;

color:white;

background:#df5fb2;

transition:.25s;

box-shadow:
0 5px 15px rgba(255,105,180,.25);

}



button:hover{

transform:translateY(-3px) scale(1.03);

box-shadow:
0 10px 25px rgba(255,105,180,.35);

}




button:active{

transform:scale(.95);

}





.copy{

background:#6c63ff;

}




/* Favorite Icons */

.favorite-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;

    background: transparent;   /* remove background */
    border: 2px solid #ff6aa8; /* keep border */

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    cursor: pointer;
    position: relative;

    color: #ff6aa8;
}


.favorite-icon:hover {
    background: #ffe6f1;
}



.favorite-icon.saved{

background:#e70d77;

color:white;

}





.favorite-icon.active{

background:#ff4fa3;

border-color:#ff4fa3;

color:white;

box-shadow:
0 8px 20px rgba(255,79,163,.35);

transform:scale(1.08);

}





/* Hint */

.hint{

font-size:13px;

color:#999;

margin-top:15px;

}





/* Favorites Panel */

.favorites-panel{

display:none;

margin-top:20px;

padding:15px;

background:#fff5fb;

border-radius:20px;

}



.favorites-panel.show{

display:block;

animation:drop .25s ease;

}





.favorite-item{

background:white;

padding:12px 15px;

border-radius:15px;

margin:8px 0;

font-size:28px;

display:flex;

justify-content:space-between;

align-items:center;

}





.clear-btn{

background:#ff6b81;

margin-top:15px;

font-size:13px;

padding:10px 18px;

}



.clear-btn:hover{

background:#ff4757;

}


/* Delete Favorite Button */

.delete-favorite{

width:32px;

height:32px;

padding:0;

margin-left:10px;

border-radius:50%;

border:2px solid #ffd0e8;

background:#fff5fb;

color:#ff4fa3;

font-size:14px;

display:flex;

align-items:center;

justify-content:center;

cursor:pointer;

box-shadow:none;

transition:.25s;

}



.delete-favorite:hover{

background:#ffffff;

color:white;

border-color:#ff4fa3;

transform:scale(1.1);

}



.delete-favorite:active{

transform:scale(.9);

}

.favorite-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 50%;
    background: #ff6b9d;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.favorite-icon {
    position: relative;
}

.favorite-category-title{

color:#ff4fa3;

font-size:15px;

margin:15px 0 8px;

font-weight:700;

}




/* =========================
   Mobile Polish
========================= */


html,
body{

overflow-x:hidden;

}



/* Favorites category headings */

.favorite-category-title{

color:#ff4fa3;

font-size:15px;

margin:15px 0 8px;

font-weight:700;

}



/* Favorites panel scrolling */

.favorites-panel{

max-height:320px;

overflow-y:auto;

}



/* Smooth scrolling */

.favorites-panel,
.options{

scroll-behavior:smooth;

}



/* Tablet and mobile */

@media(max-width:600px){


body{

padding:15px;

align-items:flex-start;

}



.container{

width:100%;

padding:25px 18px;

border-radius:25px;

margin-top:20px;

}



h1{

font-size:28px;

}



.subtitle{

font-size:13px;

}



/* Emoji */

.emoji-box{

font-size:50px;

min-height:60px;

}



/* Buttons */

.action-buttons{

gap:10px;

flex-wrap:wrap;

}



button{

padding:12px 18px;

font-size:14px;

}



.favorite-icon{

width:50px;

height:50px;

font-size:23px;

}



/* Favorites */

.favorite-item{

font-size:25px;

padding:12px;

}



.delete-favorite{

width:36px;

height:36px;

font-size:15px;

}



}



/* Small phones */

@media(max-width:380px){


.container{

padding:20px 15px;

}



.emoji-box{

font-size:42px;

}



.action-buttons{

gap:6px;

}



button{

padding:11px 14px;

font-size:13px;

}



.favorite-icon{

width:46px;

height:46px;

font-size:21px;

}

.category-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px;
    margin: 20px 0 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    scrollbar-width: thin;
}

.category-nav a {
    flex: 0 0 auto;
    padding: 8px 14px;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
}

.category-nav a:hover {
    background: #333;
    color: white;
}

html {
    scroll-behavior: smooth;
}

h2 {
    scroll-margin-top: 80px;
}

}



/* Accessibility - reduce animations */

@media(prefers-reduced-motion:reduce){


.options.show{

animation:none;

}


.favorites-panel.show{

animation:none;

}


}


.favorite-actions{

display:flex;

gap:6px;

align-items:center;

}


.copy-favorite{

width:32px;

height:32px;

padding:0;

margin:0;

border-radius:50%;

border:2px solid #c9c5ff;

background:#f5f4ff;

color:#6c63ff;

font-size:14px;

display:flex;

align-items:center;

justify-content:center;

cursor:pointer;

box-shadow:none;

}


.copy-favorite:hover{

background:#e8e5ff;

transform:scale(1.1);

}


.copy-favorite:active{

transform:scale(.9);

}


.favorite-emoji{

flex:1;

text-align:center;

}

.copy-favorite.copied{

background:#ff4fa3;

color:white;

border-color:#ff4fa3;

}

.emoji-name{
font-size:20px;
font-weight:600;
margin-bottom:15px;
color:#ff6b9d;
}


.emoji-value{
font-size:45px;
line-height:1.2;
}


.favorite-name{
font-size:14px;
font-weight:600;
color:#ff6b9d;
margin-bottom:5px;
}


.add-viewed-favorite {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ff9fc4;
    background: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}


.add-viewed-favorite {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    font-size: 15px;
    border-radius: 50%;
}

.footer {

margin-top:5px;

text-align:center;

width:100%;

}


.footer a {
    color: #ff6aa8;
    text-decoration: none;
    margin: 0 6px;
    font-size: 12px;
}


.footer a:hover {
    text-decoration: underline;
}


.footer span {
    color: #ccc;
}

.ad-container {

    width:100%;

    margin:40px auto 15px auto;

    display:flex;

    justify-content:center;

}


.ad-box {

    width:100%;

    max-width:320px;

    min-height:250px;

    background:#fafafa;

    border:1px solid #e8e8e8;

    border-radius:16px;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    overflow:hidden;

}



.ad-label {

    position:absolute;

    top:8px;

    left:50%;

    transform:translateX(-50%);

    font-size:10px;

    color:#999;

    letter-spacing:1px;

}



.ad-content {

    padding:25px;

}



.ad-content h3 {

    color:#ff6aa8;

    font-size:18px;

    margin-bottom:10px;

}



.ad-content p {

    color:#666;

    font-size:13px;

    line-height:1.5;

}



.ad-content button {

    margin-top:15px;

    padding:8px 18px;

    border:none;

    border-radius:20px;

    background:#ff6aa8;

    color:white;

    cursor:pointer;

}

/* =========================
   Categories Directory Styling
========================= */

.categories-page {
  max-width: 500px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 25px 0;
}

.category-item-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff5fb;
  border: 2px solid #ffd0e8;
  padding: 16px 20px;
  border-radius: 20px;
  text-decoration: none;
  text-align: left;
  transition: all 0.25s ease;
}

.category-item-card:hover {
  background: #fff0f8;
  border-color: #ff69b4;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 105, 180, 0.15);
}

.category-icon {
  font-size: 34px;
  min-width: 45px;
  text-align: center;
}

.category-info h3 {
  margin: 0;
  font-size: 17px;
  color: #ff4fa3;
  font-weight: 600;
}

.category-info p {
  margin: 2px 0 4px;
  font-size: 12px;
  color: #888;
}

.preview-emojis {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.5px;
}


/* =========================
   Category Combinations List Styling
========================= */

.category-combinations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.combo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfbfb;

  padding: 14px 18px;
  border-radius: 18px;
  transition: all 0.25s ease;
}

.combo-card:hover {
  border-color: #ff69b4;
  background: #fff0f8;
}

.combo-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.combo-name {
  font-size: 12px;
  font-weight: 600;
  color: #ff6b9d;
}

.combo-emoji {
  font-size: 34px;
}

.copy-combo {
  background: #6c63ff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

.copy-combo:hover {
  transform: scale(1.05);
  background: #5b52e0;
}

.copy-combo:active {
  transform: scale(0.95);
}


.btn-cat{

border:none;

padding:12px 14px;

margin:2px;

border-radius:30px;

cursor:pointer;

font-size:15px;

font-weight:600;

color:white;

background:#a738da;

transition:.25s;

box-shadow:
0 5px 15px rgba(255,105,180,.25);
text-decoration: none;

}

.btn-cat:hover{

transform:translateY(-3px) scale(1.03);

box-shadow:
0 10px 25px rgba(255,105,180,.35);
}


/* =========================
   Breadcrumb Navigation
========================= */

.breadcrumbs {
    display: flex;
  
    justify-content:left;
    flex-wrap: wrap;
    gap: 8px;

    padding: 12px 18px;

    border-radius: 15px;
    font-size: 14px;
    max-width: fit-content;
  
}


.breadcrumbs a {
    color: #ff69b4;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}


.breadcrumbs a:hover {
    color: #e91e8f;
    text-decoration: underline;
}


.breadcrumbs span {
    color: #999;
    font-weight: 600;
}



/* =========================
   Back To Categories Link
========================= */

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #ff69b4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}


.back-link:hover {
    color: #e91e8f;
}




/* =========================
   Related Links Section
========================= */

.related-links {
    margin: 45px 0;
    padding: 25px;
    background: linear-gradient(135deg,#fff5fb,#fff);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(255,105,180,0.12);
}


.related-links h2 {
    color: #ff69b4;
    margin-bottom: 12px;
}


.related-links p {
    color: #666;
    margin-bottom: 20px;
}




.related-category-links {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 15px;
}



.related-category-links a {

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 14px 18px;

    background: white;

    border-radius: 15px;

    color: #555;

    text-decoration: none;

    font-weight: 600;

    border: 2px solid #ffe0ef;

    transition: all 0.3s ease;

}



.related-category-links a:hover {

    background: #ff69b4;

    color: white;

    border-color: #ff69b4;

    transform: translateY(-3px);

    box-shadow: 0 5px 15px rgba(255,105,180,0.25);

}



/* =========================
   Mobile Responsive
========================= */

@media(max-width:600px){

    .breadcrumbs {

        font-size:12px;
        padding:10px 14px;

    }


    .related-links {

        padding:20px 15px;

    }


    .related-category-links {

        grid-template-columns:1fr;

    }

}


.category-nav {
    display: flex;  
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 10px;
    padding: 15px;
    background: #fff;
  
    border-radius: 12px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.category-nav a {
    display: inline-block;
    padding: 8px 14px;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.category-nav a:hover {
    background: #333;
    color: #fff;
}

/* Prevent the sticky navigation from covering the heading */
h2 {
    scroll-margin-top: 90px;
}


#scrollTopBtn {
    position: fixed;

    right: max(
        20px,
        calc((100vw - 1100px) / 2 + 15px)
    );

    bottom: 25px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #804df8;
    color: white;

    font-size: 22px;
    cursor: pointer;

    display: none;

    align-items: center;
    justify-content: center;

    z-index: 9999;
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
    background: #9b74f8;
}


#shareButton {
            margin: 20px auto;
            display: block;
            padding: 10px 20px;
            cursor: pointer;
            background-color: var(--card-bg);
            border: 1px solid #e2e8f0;
            color: #25305b;
            font-weight: 600;
            border-radius: 30px;
            font-size: 0.9rem;
            transition: all 0.2s ease;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        #shareButton:hover {
            background-color: var(--card-hover);
            border-color: var(--accent);
            transform: translateY(-1px);
        }

        .create-en{
margin-top:20px;

}

        .create-en a{
font-size:14px;
color:#df5fb2;
text-decoration: none;
}

        .create-en a:hover{

text-decoration: underline;
}


.create-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.create-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 24px;
    border-radius: 30px;

    background: #fff;
    color: #7d7d7d;

    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;

    box-shadow: 0 4px 12px rgba(255, 106, 168, 0.25);

    transition: 0.2s ease;
}

.create-btn:hover {
    background: #fefefe;
    color: #ff6aa8;
    text-decoration: none;
    transform: translateY(-1px);
}

.ai-disclaimer 
{ max-width:450px;
     
    padding: 12px 50px; border-radius: 8px; color: #666; font-size: 11px; line-height: 1.5; text-align: center;} 
    
    .ai-disclaimer-en {
    margin: 20px 0;
    padding: 12px 16px;
    background: #fff5f9;
    border: 1px solid #ffd1e2;
    border-radius: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}
    
