.container{
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.content-wrapper{
    background:#fff;
    border-radius:24px;
    padding:40px;
    box-shadow:0 20px 60px rgba(0,0,0,.12);
}

/* =========================
   HEADER
========================= */

.hero-section{
    text-align:center;
    margin-bottom:30px;
}

.hero-icon{
    width:90px;
    height:90px;
    margin:auto;
    border-radius:50%;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    color:#fff;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(251,14,118,.25);
}

.hero-section h1{
    margin:0 0 12px;
    font-size:38px;
    font-weight:800;
    color:#222;
}

.hero-section p{
    max-width:700px;
    margin:auto;
    color:#666;
    line-height:1.7;
}

/* =========================
   GENERATOR CARD
========================= */

.generator-card{
    background:#fafafa;
    border:1px solid #eee;
    border-radius:20px;
    padding:25px;
    margin-bottom:25px;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#333;
}

.form-group select,
.form-group input{
    width:100%;
    padding:14px 16px;
    border:1px solid #f3c6cf !important;
    border-radius:12px !important;
    font-size:15px;
    outline:none;
    transition:.3s;
}

.form-group select:focus,
.form-group input:focus{
    border-color:#FB0E76;
}

.generate-btn{
    width:100%;
    border:none;
    padding:16px;
    border-radius:50px !important;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.generate-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(251,14,118,.25);
}

/* =========================
   STATS
========================= */

.stats-section{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-bottom:25px;
}

.stat-card{
    background:#fafafa;
    border:1px solid #eee;
    border-radius:16px;
    padding:18px;
    display:flex;
    align-items:center;
    gap:15px;
}

.stat-icon{
    width:55px;
    height:55px;
    border-radius:50%;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.stat-card h3{
    margin:0;
    color:#FB0E76;
    font-size:24px;
}

.stat-card p{
    margin:4px 0 0;
    color:#666;
}

/* =========================
   SEARCH
========================= */

.search-section{
    margin-bottom:25px;
}

.search-section input{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
    outline:none;
    font-size:15px;
}

.search-section input:focus{
    border-color:#FB0E76;
}

/* =========================
   ACTION BUTTONS
========================= */

.actions-section{
    display:flex;
    gap:12px;
    margin-bottom:25px;
}

.actions-section button{
    flex:1;
    border:none;
    padding:14px;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
    color:#fff;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    transition:.3s;
}

.actions-section button:hover{
    opacity:.95;
    transform:translateY(-2px);
}

/* =========================
   RESULTS
========================= */

.results-section{
    min-height:350px;
    background:#fafafa;
    border:2px dashed #ddd;
    border-radius:20px;
    padding:20px;
    margin-bottom:25px;
}

.placeholder{
    text-align:center;
    padding:60px 20px;
}

.placeholder-icon{
    font-size:60px;
    margin-bottom:15px;
}

.placeholder h3{
    margin:0 0 10px;
    color:#333;
}

.placeholder p{
    color:#777;
}

/* Generated Results */

.names-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.country-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:14px;
    padding:14px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    transition:.3s;
}

.country-card:hover{
    border-color:#FB0E76;
    transform:translateY(-2px);
}

.country-left{
    display:flex;
    align-items:center;
    gap:10px;
}

.favorite-btn{
    cursor:pointer;
    font-size:20px;
    color:#ccc;
    transition:.2s;
}

.favorite-btn.active{
    color:#FFD700;
}

.country-name{
    font-weight:600;
    color:#333;
}

.copy-btn{
    border:none;
    background:#f4f4f4 !important;
    padding:8px 12px !important;
    border-radius:10px !important;
    cursor:pointer;
    transition:.2s;
}

.copy-btn:hover{
    background:#eee;
}

/* =========================
   FAVORITES
========================= */

.favorites-section{
    background:#fafafa;
    border-radius:20px;
    padding:20px;
}

.favorites-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.favorites-header h2{
    margin:0;
    font-size:22px;
}

#favoriteBadge{
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    color:#fff;
    padding:8px 14px;
    border-radius:50px;
    font-size:13px;
}

.favorites-container{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.favorite-chip{
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    color:#fff;
    padding:10px 14px;
    border-radius:50px;
    font-size:14px;
}

.empty-favorites{
    color:#777;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

    .names-grid{
        grid-template-columns:1fr;
    }

    .actions-section{
        flex-direction:column;
    }
}

@media(max-width:600px){

    .content-wrapper{
        padding:25px;
    }

    .hero-section h1{
        font-size:30px;
    }

    .stats-section{
        grid-template-columns:1fr;
    }

    .favorites-header{
        flex-direction:column;
        gap:10px;
        align-items:flex-start;
    }

    .hero-icon{
        width:75px;
        height:75px;
        font-size:36px;
    }
}

@media(max-width:400px){

    .content-wrapper{
        padding:18px;
    }

    .hero-section h1{
        font-size:26px;
    }

    .generate-btn{
        font-size:15px;
    }

    .country-card{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
}