*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f3f4f6;
    font-family:Arial, sans-serif;
}

/* ================= CONTAINER ================= */

.fgt-container{
    max-width:1100px;
    margin:40px auto;
    padding:20px;
}

.fgt-card{
    background:#fff;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* ================= HEADER ================= */

.fgt-header{
    display:flex;
    gap:20px;
    align-items:center;
    margin-bottom:30px;
}

.fgt-icon{
    width:80px;
    height:80px;
    background:#7c3aed;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:40px;
    border-radius:20px;
    flex-shrink:0;
}

.fgt-header h1{
    font-size:42px;
    margin-bottom:8px;
    color:#111827;
}

.fgt-header p{
    font-size:16px;
    color:#666;
    line-height:1.6;
}

/* ================= INPUT ================= */

#font_input{
    width:100%;
    height:180px;
    border:2px solid #ddd;
    border-radius:20px;
    padding:25px;
    font-size:22px;
    resize:none;
    outline:none;
    transition:0.3s;
    color:#111;
}

#font_input:focus{
    border-color:#7c3aed;
    box-shadow:0 0 0 4px rgba(124,58,237,0.1);
}

/* ================= RESULTS ================= */

.fgt-results{
    margin-top:35px;
}

/* ================= FONT BOX ================= */

.font-box{
    border:2px solid #eee;
    border-radius:20px;
    padding:22px;
    margin-bottom:22px;
    transition:0.3s;
    background:#fff;
}

.font-box:hover{
    border-color:#7c3aed;
    background:#faf7ff;
}

.font-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
    gap:15px;
}

.font-title{
    font-size:15px;
    color:#7c3aed;
    font-weight:bold;
    letter-spacing:1px;
}

.font-output{
    font-size:30px;
    color:#111827;
    line-height:1.8;
    word-break:break-word;
}

/* ================= COPY BUTTON ================= */

.copy-btn{
    border:none;
    background:#7c3aed;
    color:#fff;
    padding:11px 20px;
    border-radius:12px;
    cursor:pointer;
    font-size:14px;
    font-weight:bold;
    transition:0.3s;
}

.copy-btn:hover{
    background:#5b21b6;
    transform:translateY(-2px);
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .fgt-card{
        padding:25px;
    }

    .fgt-header{
        flex-direction:column;
        text-align:center;
    }

    .fgt-header h1{
        font-size:32px;
    }

    #font_input{
        height:150px;
        font-size:18px;
    }

    .font-output{
        font-size:24px;
    }

    .font-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .copy-btn{
        width:100%;
    }

}